Dear List,

I wrote the following Faust code:


import("stdfaust.lib"); 

freq = vslider("freq", 440, 20, 2000, 1);
vol = vslider("vol", 0.2, 0, 1, 0.01);

N = 200;
Npartiel = int(ma.SR / 2 / freq);
 
process= par(i, N, (i < Npartiel)*os.osci(freq*(i+1))/(i+1)) :> *(vol);


When compiling it with faustgen~ within a Max patch or using the online 
compiler on Faust website, it compiles and works perfectly.

On the contrary, when trying to compile this code with FaustLive, I get the 
following error message:

DefaultName : 1 : ERROR : syntax erro, unexpected DIV

I use FaustLive 2.46 for Mac OS.

Any idea?

Many thanks in advance.

Best,

Alain


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to