Hi Nicolò, you are right, thank you very much! I glimpsed over attach() when reading the docs and I forgot about it. There is even the very same line I need at page 40 (http://faust.grame.fr/images/faust-quick-refere nce.pdf)... sorry about that.
This fixed it: ba = library("basic.lib"); os = library("miscoscillator.lib"); an = library("analyzer.lib"); sineOscillator = *(0.5, os.osc(440)); vumeter(x) = x : an.amp_follower(1) : ba.linear2db : hbargraph("[unit:dB]", -60, 10); process = attach(sineOscillator, vumeter(sineOscillator)); Thank you again! On Sun, 2016-11-27 at 16:43 +0100, Nicolò Balzarotti wrote: > Hi, I'm new, > > but if I remember well you should use attach() to prevent this from > happening > > Nicolò > > Il 27 novembre 2016 16:22:20 CET, Crocoduck O'Ducks <crocoduck.oducks > @gmail.com> ha scritto: > > Hi there! > > > > Probably I am doing something wrong, but I haven't been able to > > figure > > out what. I am using faust-git on Arch Linux, installed through > > AUR: > > https://aur.archlinux.org/packages/faust-git/ > > > > The package seems to be pointing to this: > > https://sourceforge.net/p/faudiostream/code/ci/master/tree/ > > > > I am attempting to split a given signal in two. One branch is to be > > routed to a program output, the other one to a dB meter. I want to > > display a dB bar graph an terminate (!) the dB meter branch, so > > that I > > only have one output for my program. > > > > I am compiling the FAUST algorithm as a standalone JACK + QT > > application with faust2jaqt. > > > > My problem is that terminating the output of vbargraph (or > > hbargraph) > > with ! prevents the graph widget from being displayed. > > > > See the following minimal code example: > > > > ba = library("basic.lib"); > > os = library("miscoscillator.lib"); > > an = library("analyzer.lib"); > > > > // Generate a sine, split it in two paths. One goes straight to one > > // output, the other through a dB meter and then gets terminated > > > > process = *(0.5, os.osc(440)) <: _, (an.amp_follower(1) : > > ba.linear2db > > : vbargraph("[unit:dB]", -60, 10) : !); > > > > Any idea on how I can have both one output and the widget? > > > > > > > > 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