1) the « hidden » metadata is not implemented al all GUI managers 2) historically GI elements were defined first in the language, then metadata were added as a way to customise their rendering
3) we now think a more CSS based model would be more adapted to extent the model 4) but we lack time and resources to make all that happen for now… Stéphane > Le 25 févr. 2020 à 08:06, Jimmy Myhrman <ji...@myhrman.org> a écrit : > > On this topic I think it would be very useful if there was a more abstract > way to define parameters in Faust. Something like param(), as an alternative > to hslider() and vslider(), which both seem tightly coupled to a GUI. > > For an abstract parameter, the specific architecture could decide exactly > what the implementation should be. One clear use-case for this is when you > have multiple types of user interfaces; for example a hardware device that > has one GUI (could use vslider(), hslider()) and one physical UI with knobs > etc (could use param()). > > Currently, one has to use attributes to express different flavors of > parameters. But I think there is room for improvements in these semantics. > > /Jimmy > > > On Mon, Feb 24, 2020 at 10:37 PM Ming-Lun Lee <minglun...@rochester.edu> > wrote: > Thank you, John. I also tested [hidden:xx] before. It was not working on both > FaustLive and the Online Editor. > > Ming > > > On Mon, Feb 24, 2020 at 4:27 PM John Lynch <jlync...@u.rochester.edu> wrote: > Looking through the Faust Library just now. There is a UI metadata option > called [hidden:xx], where you enter it in the object's text parameter (Ex: > hslider("gain[hidden:xx]",1,1,0.1)")). Doesn't work on my end, and they don't > really provide an example of it in application, but I think it's what you're > looking for. It might require an external plugin or something to be used. > > -JL > > On Mon, Feb 24, 2020 at 4:13 PM Ming-Lun Lee <minglun...@rochester.edu> wrote: > I was thinking about developing synthesizers that can take MIDI messages from > an external keyboard. Then I can export to JUCE and get VST3 and AU plugins. > However, I don't need the "gain", "freq", and "gate" components shown on the > final GUI since they have no effects on the sound. I hope there will be a way > to hind these components. Thank you. > > Ming > > > On Mon, Feb 24, 2020 at 1:59 PM Stéphane Letz <l...@grame.fr> wrote: > This is no way for no to hide the GUI components in the Web editor. What is > the use-case? > > Stéphane > > > > Le 24 févr. 2020 à 15:10, Thomas Hopman <i...@sureshotstudio.nl> a écrit : > > > > In order to control freq, gain and gate with midi you'll need to set poly > > voices to at least 1. > > > > I have no idea if it is possible to hide these GUI components. > > > > with kind regards, > > > > Thomas > > > > > > Thomas Hopman - TomaTek - Paradiso - SureShot Studio > > +31 (0)6 17115051 > > > > > > Op ma 24 feb. 2020 om 13:55 schreef Ming-Lun Lee <minglun...@rochester.edu>: > > I was able to implement the following code and run it sucessfully on > > FaustLive (but could not run it with a MIDI controller using the Faust > > Online Editor): > > > > import("stdfaust.lib"); > > freq = hslider("freq",200,50,1000,0.01); > > gain = hslider("gain",0.5,0,1,0.01); > > gate = button("gate"); > > process = os.sawtooth(freq)*gain*gate; > > > > Does anyone know a way to hide these three GUI components? I also could not > > figure out why I was not able to run it on my Chrome browser after I turned > > on MIDI. Thank you. > > > > Best, > > Ming > > _______________________________________________ > > Faudiostream-users mailing list > > Faudiostream-users@lists.sourceforge.net > > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_faudiostream-2Dusers&d=DwIFaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=tAbQrNooSRb1SP0W2zN-NTZ_rgFAk7EAImW1DpkV-_w&m=7PIqbalRQcHrxoyBt0oixyTeZ-pIGf98ixeFt2E9Htg&s=ld3tp0bRLQqBMt5UgUyzpTCVMZaxGhyf8ojXF93b0Tg&e= > > > > _______________________________________________ > > Faudiostream-users mailing list > > Faudiostream-users@lists.sourceforge.net > > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_faudiostream-2Dusers&d=DwIFaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=tAbQrNooSRb1SP0W2zN-NTZ_rgFAk7EAImW1DpkV-_w&m=7PIqbalRQcHrxoyBt0oixyTeZ-pIGf98ixeFt2E9Htg&s=ld3tp0bRLQqBMt5UgUyzpTCVMZaxGhyf8ojXF93b0Tg&e= > > > > _______________________________________________ > 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