COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :

Go Back   Cockos Incorporated Forums > Other Software Discussion > WDL users forum

Reply
 
Thread Tools Display Modes
Old 12-21-2019, 11:07 AM   #1
Nonlinear
Human being with feelings
 
Join Date: Apr 2018
Posts: 301
Default Multiframe bitmaps "normalized" value doesn't make sense?

How come when I have a bitmap with 3 frames I need to send value "0.7" in GetGUI()->SetControlFromPlug(int controlIdx, double normalizedValue) to get the 2nd frame to show? If the value is "normalized" why doesn't it respond like this:

frame 1: 0.0 - 0.33
frame 2: 0.34 - 0.66
frame 3: 0.67 - 1.0

If I send value 0.5, for example, I get frame 1! Can someone explain this?

Alternatively, is there any other "SetControl" function for INT rather than normalized float for bitmap controls?
Nonlinear 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 09:14 AM.


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