I did some improvement in plot.cpp here: https://github.com/grame-cncm/faust/commit/2579d27c83d97b9598c065d9cd22944c573e32fd
Now to test in float: faust -a plot.cpp -o testdouble.cpp test.dsp g++ -Wall -g -lm -lpthread testdouble.cpp -o a.out will compile all in « float » (that is the internal sample type in the generated C++ code, as well as the architecture FAUSTFLOAT) faust -double -a plot.cpp -o testdouble.cpp test.dsp g++ -Wall -g -lm -lpthread testdouble.cpp -DFAUSTFLOAT=double -o a.out will compile all in « double » (that is the internal sample type in the generated C++ code, done with the -double parameter given at Faust compile time, as well as the architecture FAUSTFLOAT given with -DFAUSTFLOAT=double at g++ compile time). Please report if it solve your problems. Stéphane > Le 17 janv. 2019 à 12:53, Dario Sanfilippo <sanfilippo.da...@gmail.com> a > écrit : > > Hello, list. > > Is there an easy way to use the existing architectures to plot (double prec.) > signals using gnuplot? > > I've also tried changing the precision of the printf functions in plot.cpp > but I still get a single precision output when running > > > faust -double -a plot.cpp -o testdouble.cpp test.dsp > > g++ -Wall -g -lm -lpthread testdouble.cpp -o a.out > > Are the constants on the svg diagrams always single precision? > > Thanks for your help. > > Dario > > _______________________________________________ > Faudiostream-users mailing list > Faudiostream-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/faudiostream-users _______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users