> Le 1 févr. 2020 à 00:38, Daniel Chapiro <dchap...@gmail.com> a écrit :
> 
> Hi - I’m using FL 2.5.3 (OSX 10.13.6), and got this error msg with the 
> attached bowed3.dsp (it worked w/old libs, and I just put the prefixes to 
> make it work with the new libs):
> 
> Wed Jan 29 2020 19:47:14:
> ERROR in sequential composition A:B
> The number of outputs [1] of A must be equals to the number of inputs [2] of B
> 
> Here A = _,0.94999999999999996f : *; has 1 output
> while B = 
> _,\(x1).((((1,(0.59999999999999998f,(2205.0f,(192000.0f,(1.0f,fconstant(int 
> fSamplingFreq, <math.h>) : max) : min) : /) : -) : -),x1 : 
> *),((0,(0.59999999999999998f,(2205.0f,(192000.0f,(1.0f,fconstant(int 
> fSamplingFreq, <math.h>) : max) : min) : /) : -) : -),_ : *) : -)~_) : -; has 
> 2 inputs

This seem to come from this block (line 68 - 70) :

// Bow-Neck: a lowpass filter (declared in instrument.lib)      // ### how 
chose these values?
LP = *(gain) : -(in.onePole(b0,a1))     
        with{ pole = 0.6 - (0.1*22050/ma.SR); gain = 0.95; b0 = 1-pole; a1 = 
-pole; };

> 
> 1. Many of FL’s error messages are a bit cryptic, and have no reference to 
> the user’s code, so it’s very hard to know where is the error in the .dsps 
> and .libs. 
> Couldn’t FL spit the full call path, to know what was the offending code in 
> one’s .dsp? (would make both novice and expert Faust users much more 
> productive)

Yes we know that, but that’s not easy to do !
> 
> 2. Not having that call path, I just grep’d in the libraries for some of the 
> strings from the message above, and got a hit just in “math.lib”:
> 
> SR = min(192000.0, max(1.0, fconstant(int fSamplingFreq, <math.h>)));
> 
> In my .dsp I simply use the SR constant, and I don’t have any idea why FL is 
> complaining (presumably about this line in math.lib).

ma.SR is indeed defined i the mats.lib library, and will actually take the SR 
value given to the DSP at runtime.

> 
> 3. To see if it’s a bug in the library that was bundled in FL 2.3.5, I 
> replaced this library with the most recent one:
> cd ~/.FaustLive-CurrentSession-2.0
> rm Libs/*
> git clone https://github.com/grame-cncm/faustlibraries Libs
> 
> Running FL again, I got the exact same error message above.
> 
> Anybody knows how to get around this?
> 
> Thanks!
> Daniel
> 
Stéphane



_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to