In Examples\IPlugControls, there are the IVMeterControl and IVPeakAvgMeterControl examples.
However, I want to use a bitmap VU meter, using a multi-frame stacked bitmap.
There are no IBMeterControl / IBPeakAvgMeterControl controls that I can see, and I cannot seem to get a regular IBitmapControl to react using TransmitData().
I can use SendControlValueFromDelegate() to make the VU meter move, but how do I get a value from the IPeakSender or IPeakAvgSender object to send to it?
I am probably not understanding something.
Tl;dr: What would be the best way to get a multi-frame stacked bitmap to react to RMS levels coming from the plugin’s ProcessBlock loop?
One last question: If possible, to process stereo input, and to combine that to be displayed by one VU meter (as either the average of L and R channels, or the max() of them), is there a standardised way for that, or should I do that in the audio thread, or main thread somehow?
Awesome, I’ll consider those options, see what’s best.
Thanks! I’m planning this plugin to be the end goal of an iPlug2 video tutorial series I am preparing (because it’s a relatively easy distortion-type plugin, with only some basic filtering and waveshaping going on).
It will be from the very beginnings (installing all the prerequisites (Git, iPlug2 itself, Python, VS, Reaper, …), to duplicating IPlugEffect and getting it to compile & run), and then into more advanced territory, like adding parameters, adding a background bitmap, all the way up to adding oversampling etc.