Is the [scale:xx] attribute working in the IDE yet? I was able to get it
working a couple weeks ago, then this week the same code seems to break
functionality:

vol=hslider("Volume[style:knob][scale:log]",0,-70,0,0.01);
process=vol;

Strangely, the slider works at https://faust.grame.fr/ide/, but not at
https://faustide.grame.fr/.

Any help would be greatly appreciated!



On Wed, Jan 20, 2021 at 6:43 AM Till Bovermann <lf...@lfsaw.de> wrote:

> 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 <lf...@lfsaw.de> 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 <l...@grame.fr> 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 <lf...@lfsaw.de> 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
> >>> Faudiostream-users@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
> >>
> >
> >
> >
> > _______________________________________________
> > Faudiostream-users mailing list
> > Faudiostream-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
>
>
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to