Closed LFSaw closed 2 years ago
Probably related: This also happens when the meta data name contains a space.
Can you send the DSP?
Can you send the DSP?
Yes, Dario's concatenative synth is a good example https://github.com/dariosanfilippo/concatenative_granulation/blob/master/cgp.dsp
Can you send the DSP?
Yes, Dario's concatenative synth is a good example https://github.com/dariosanfilippo/concatenative_granulation/blob/master/cgp.dsp
wait no this is related to the other issue, sorry. https://github.com/grame-cncm/faust/issues/521
I finally figured this out. This is caused by the preprocessor flag -Dmydsp
getting supplied a name containing the dash either from the file name or the name
metadata field. This gets inserted into the converted cpp file when compiling and C++ freaks out because of the dash in the class name here:
To fix this, the bash script needs to sanitize the dspname before supplying it to the c++ command.
I've fixed this in the upcoming faust2sc.py
script https://github.com/madskjeldgaard/faust2sc.py
Fixed in 2fcb7aa81cfc9c453b63eb7ff4993e5c9594cc60.
with current
faust
install (2.28.8, see below), compilation of supercollider UGens breaks, if the ".dsp" filename includes a dash:reproduce error
given an arbitrary dsp file named
testdsp.dsp
resp.test-dsp.dsp
errors start with
environment