Thank you for your answers, Oleg and Stéphane. I was wrong assuming that, at least for run-time cases, inputs could always be provided as arguments. If I'm not wrong, that is always possible with Faust-implemented functions (non-primitives).
Ciao, Dario On Sat, 1 May 2021 at 18:41, Stéphane Letz <l...@grame.fr> wrote: > > > > Le 1 mai 2021 à 18:37, Oleg Nesterov <o...@redhat.com> a écrit : > > > > Hi Dario, > > > > I can't answer authoritatively, but nobody else bothered to reply and > > I hate the fact this list has a lot of unanswered technical questions. > > > > Add Stephane. > > > > On 04/25, Dario Sanfilippo wrote: > >> > >> Hello, list. > >> > >> I may be missing something obvious but would you know why > >> > >> process(x) = x : vbargraph("test", -1, 1);compiles > >> > >> while > >> > >> process(x) = vbargraph("test", -1, 1, x); > >> > >> doesn't? > > > > Because I think this is literally syntax error. > > > > See compiler/parser/faustparser.y:701 > > > > vbargraph : VBARGRAPH LPAR uqstring PAR argument PAR > argument RPAR > > > > This means that faust simply can't parse, for example, > > > > process = 0; > > unused = vbargraph("test", 0,0,0); > > > > Oleg. > > Yes it it a syntax error, bargraph expects 3 arguments. > > Stéphane > > > > >
_______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users