Hello,
Question for Max faustgen~ 1.35.
I am trying to retrieve the MSP's sample rate from maths.lib or platform.lib.
—— When usingma = library("maths.lib");
ma.SR gives me the following error:
Invalid Faust code or compile options : maths.lib : 107 : ERROR : syntax error,
unexpected IDENT, expecting LPAR or DEF
I have similar issues using ma.PI or ma.EPSILON.
—— When usingimport("maths.lib")
Same error.
—— When usingimport("platform.lib")
No error and SR is right.
(I noticed platform.lib was not in in the resources of faustgen~.mxo but it
works)
—— When usingSR = min(192000.0, max(1.0, fconstant(int fSamplingFreq,
<math.h>)));
it does not always work because of some problem with "type" as far as I
remember.
Thanks !!
O.
----------------------
Olivier Pasquet
www.opasquet.fr
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users