COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 06-04-2020, 11:03 AM   #1
SKyzZz
Human being with feelings
 
Join Date: Jun 2020
Posts: 3
Default dBMeter scale

Dear guys,

I use next ( int mMeterIdx_L, mMeterIdx_R:

Code:
    if (GetGUI()) {
        GetGUI()->SetControlFromPlug(mMeterIdx_L, peakL);
        GetGUI()->SetControlFromPlug(mMeterIdx_R, peakR);
    }
and…

Code:
bitmap = pGraphics->LoadPointerToBitmap(METER_ID, METER_FN, kMeter_N);
mMeterIdx_L = *pGraphics->AttachControl(new IBitmapControl(this, kMeterL_X, kMeterL_Y, bitmap));
mMeterIdx_R = *pGraphics->AttachControl(new IBitmapControl(this, kMeterR_X, kMeterR_Y, bitmap));
Could you please help me how I can set range dbMeter or provide me link to doc for investigate it?? For example from 0 to 32 dB

Thanks
SKyzZz is offline   Reply With Quote
Old 06-15-2020, 11:35 AM   #2
karlbifs
Human being with feelings
 
Join Date: Jun 2020
Location: Belper
Posts: 1
Default

I can't solve the overall problem but doesn't IBitmapControl have 5 parameters?
karlbifs is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.