Re: [Audacity-nyquist] [Audacity-quality] Floating point input from slider widget
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: Roger D. <rb...@cs...> - 2010-08-27 20:00:19
|
hi, I avoided the list to reduce confusing people, but I don't understand your suggestion below. There are certainly cases where one would want to pass an int to a Nyquist function, so converting all ints to floats doesn't sound wise. Allowing and parsing "float" as equivalent to "real" and making sure that real values get passed into Nyquist as reals (with decimal points) sounds like a good idea. -Roger On 8/27/10 2:56 PM, Vaughan Johnson wrote: > * "float" controls being treated at int. That's what Edgar was going to > patch. I see where to do that (Nyquist.cpp line 285). Currently, not > just "float" but anything other than "real" is assumed to be an "int" > slider. Sure we want to change it to just ignore the control? Is that > more likely to help a Nyquist developer find the error? If so, I'll go > ahead and do it -- no need for a patch. |