according to stéphane (via slack), currently implemented as [scale:XXX] for the
C++ interface:
```
hslider("name[scale:linear]", [...]); // default
hslider("name[scale:exp]", [...]); // exponential
hslider("name[scale:log]", [...]); // logarithmic, atm. not implemented in Web
IDE
```
implementations are in
https://github.com/grame-cncm/faust/blob/master-dev/architecture/faust/gui/ValueConverter.h
```
(
ValueConverter
LogValueConverter
ExpValueConverter
)
```
cheers
Till
--
Till Bovermann
https://tai-studio.org | http://lfsaw.de | https://www.instagram.com/_lfsaw/
> On 20. Jan 2021, at 13:31, Till Bovermann <[email protected]> wrote:
>
> thanks!
>
>
> out of curiosity; is there a place where I can see which scale-types are
> implemented?
>
> cheers
> Till
>
>
>
> --
> Till Bovermann
>
> https://tai-studio.org | http://lfsaw.de | https://www.instagram.com/_lfsaw/
>
>
>
>
>
>
>
>
>
>
>
>> On 20. Jan 2021, at 11:36, Stéphane Letz <[email protected]> wrote:
>>
>> scale:log are not implemented in the Faust Web IDE, added on the TODO list.
>>
>> Stéphane
>>
>>> Le 20 janv. 2021 à 09:32, Till Bovermann <[email protected]> a écrit :
>>>
>>> Hello :)
>>>
>>>
>>> I discovered that the scale identifier behaves differently in faustIDE to
>>> how it behaves in e.g. faust2caqt:
>>>
>>>
>>> // this in faustIDE
>>> peakB = hslider("[3]peakB[scale:exp]",500,50,10000,0.1);
>>>
>>> // behaves like this in faust2caqt
>>> peakB = hslider("[3]peakB[scale:log]",500,50,10000,0.1);
>>>
>>>
>>> I guess this is some kind of misunderstanding/different interpretation of
>>> the keyword somewhere?
>>>
>>>
>>> cheers
>>> Till
>>>
>>>
>>> --
>>> Till Bovermann
>>>
>>> https://tai-studio.org | http://lfsaw.de | https://www.instagram.com/_lfsaw/
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Faudiostream-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>>
>
>
>
> _______________________________________________
> Faudiostream-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users