Fraction digits without scaling

Fraction digits without scaling

Postby sunmachine » 09 Oct 2013, 20:09

It would be great if we could set the fraction digits for the displayed values even if scaling is not enabled.
MacBook Pro 2.5 GHz, OS X 10.9.5
User avatar
sunmachine
 
Posts: 135
Joined: 01 Aug 2012, 20:35

Re: Fraction digits without scaling

Postby CopperPhil » 09 Oct 2013, 20:53

When the scaling is not enabled, the displayed value is the one provided by the plug-in through the VST.AU interface... It's a text string, I've no idea about its meaning...

So I could detect that the text contains only a numeric string and tweak it, but... :?
CopperPhil
 
Posts: 480
Joined: 30 Mar 2011, 15:02
Location: Brussels

Re: Fraction digits without scaling

Postby sunmachine » 09 Oct 2013, 21:31

So how does scaling work? Isn't there converting text to number involved, too?
MacBook Pro 2.5 GHz, OS X 10.9.5
User avatar
sunmachine
 
Posts: 135
Joined: 01 Aug 2012, 20:35

Re: Fraction digits without scaling

Postby CopperPhil » 09 Oct 2013, 21:35

The scaling is a simple rule of three. When scaling is activated the wrapper does not use the text string provided by the plug-in, but use instead the [0..1] real value and scale it to fit the specified min/max values.
CopperPhil
 
Posts: 480
Joined: 30 Mar 2011, 15:02
Location: Brussels

Re: Fraction digits without scaling

Postby sunmachine » 09 Oct 2013, 21:43

Ah ok, so the plug-in actually sends two values... a number and a string.
MacBook Pro 2.5 GHz, OS X 10.9.5
User avatar
sunmachine
 
Posts: 135
Joined: 01 Aug 2012, 20:35

Re: Fraction digits without scaling

Postby CopperPhil » 09 Oct 2013, 21:53

Yes indeed. The number is used by the DAW/Sequencer for automation and the text is usually a copy of what is displayed on the plug-in GUI, but not always...

So we can use the number and scale it when the text is bad. But if the plug-in is done well, the text value is more relevant.
CopperPhil
 
Posts: 480
Joined: 30 Mar 2011, 15:02
Location: Brussels


Return to Feature request

cron