[Faudiostream-users] global slider
Hi all, struggling again with basics... I'd like to have one 'global' vslider in my gui x = vslider("x",-18,-40,0,1); and use x in various defined functions (which might have gui objects in various hgroups). How do I do it? If I use x in different functions, various instances of x are displayed and used. Thanks, Klaus ___ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users
Re: [Faudiostream-users] global slider
Possibly read the FAQ here: https://faustdoc.grame.fr/manual/faq/#surprising-effects-of-vgrouphgroup-on-how-controls-and-parameters-work Stéphane > Le 19 mai 2022 à 19:11, Klaus Scheuermann a écrit : > > Hi all, struggling again with basics... > > I'd like to have one 'global' vslider in my gui > x = vslider("x",-18,-40,0,1); > and use x in various defined functions (which might have gui objects in > various hgroups). How do I do it? > > If I use x in different functions, various instances of x are displayed > and used. > > Thanks, > Klaus > > > > ___ > 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
Re: [Faudiostream-users] global slider
'surprisingly' moving up the slider in hirachy with ../../ worked ;) Thanks Stéphane! On Thu, 2022-05-19 at 20:01 +0200, Stéphane Letz wrote: > Possibly read the FAQ here: > https://faustdoc.grame.fr/manual/faq/#surprising-effects-of-vgrouphgroup-on-how-controls-and-parameters-work > > Stéphane > > > Le 19 mai 2022 à 19:11, Klaus Scheuermann a > > écrit : > > > > Hi all, struggling again with basics... > > > > I'd like to have one 'global' vslider in my gui > > x = vslider("x",-18,-40,0,1); > > and use x in various defined functions (which might have gui > > objects in > > various hgroups). How do I do it? > > > > If I use x in different functions, various instances of x are > > displayed > > and used. > > > > Thanks, > > Klaus > > > > > > > > ___ > > 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