Hey everyone,

Unfortunately I'm having an issue where a .dsp compiles through the IDE and runs fine on my Teensy 4, but if I compile the same .dsp locally via commandline faust2teensy, it gives me errors.

I am doing faust2teensy -lib progtest.dsp

I get the following error:

In member function 'void PathBuilder::computeShortNames()':
progtest.cpp:359: error: 'to_string' is not a member of 'std'
std::string u = "/P" + std::to_string(pnum++) + str2ID(remove0x00(s));


If I compare that to the .cpp file coming from the online IDE:

                sprintf(num_buffer, "%d", pnum++);
std::string u = "/P" + std::string(num_buffer) + str2ID(remove0x00(s));



I'm using faust 2.58.11. If I manually swap that part of the code out, it does function on the teensy. But something is obviously up with faust2teensy..

Mike





Compiling for Teensy to use --delay-line-threshold ?

Hey everyone,
I've had no troubles compiling for Teensy through the online IDE, which is great!

I have a complicated program with nearly 100 fdelays and I've run into memory constraints on the Teensy 4.0. (The sketch still uploads, just freezes the Teensy once I get past a certain number of fdelays)

I read on https://faustdoc.grame.fr/manual/optimizing/ that there's a --delay-line-threshold switch that can make the memory more efficient for the delays.. great. I couldn't see a way to do this in the IDE, so I downloaded the FAUST files.



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

Reply via email to