Hi,
I'm developing a voice controlled synthesizer, that is: a synth that
follows the melody and spectrum of your voice.
https://github.com/magnetophon/VoiceOfFaust
It's working out great, except I'm having trouble compiling in some
cases:
-in faust 0.9.67 faust2jack with any .dsp gives me:
/home/bart/source/faust-0.9.67/examples/noise.dsp.cpp: In member
function ‘std::string PathUI::buildPath(const string&)’:
/home/bart/source/faust-0.9.67/examples/noise.dsp.cpp:276:53: error:
‘replace’ was not declared in this scope
/home/bart/source/faust-0.9.67/examples/noise;
-in any faust version
faust2jaqt -osc
with any .dsp gives me:
/usr/bin/ld: cannot find -lOSCFaust
/usr/bin/ld: cannot find -loscpack
collect2: error: ld returned 1 exit status
For reliable pitch tracking, I use an external tracker trough OSC, so
that kind of rules out both faust2jaqt and faust 0.9.67 for me.
0.9.67 does seem to be installed OK, cause I can do faust2jaqt without
-osc just fine.
-in faust 0.9.65 I can do a normal compile:
faust2jack -osc VocSynth.dsp
and it works great, except my dsp is growing too big for a single core
of my CPU.
-if I try to compile for multi-processor with:
faust2jack -osc -omp VocSynth.dsp
I get a program that has around four times the CPU-usage of the
single-core version.
-and with:
faust2jack -osc -sch VocSynth.dsp
I get:
VocSynth.dsp.cpp:4763:17: warning: this decimal constant is unsigned
only in ISO C90 [enabled by default]
And then, after a long wait:
cc1plus: out of memory allocating 11851896bytes after a total of
1229139968 bytes
Looking at htop confirms this.
The only way I've managed to compile for multi-processor is by editing
faust2jack to say:
MYGCCFLAGS="-Os $MARCH -mfpmath=sse -msse -msse2 -msse3 -ffast-math
-ftree-vectorize"
and then calling it with:
./faust2jack -osc VocSynth.dsp -time -sch -vs 1024 -lv 1 -lt -t 99999
This leaves me with a program that uses around 1.5 times the CPU of the
single core version, but at least it spreads it nicely over the cores.
I'm on debian wheezy (==debian stable), so I might just have outdated
library's or something. Even so, shouldn't the faust installer check
that?
What could be going on?
How do I find a solution?
Cheers,
Bart.
------------------------------------------------------------------------------
Slashdot TV. Video for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users