As detailed in the Faust intro [15], we create an 8-voiced MIDI synthesizer for pd as follows:
faust -xml -a puredata.cpp -o eks_pd.cpp eks.dsp g++ -DPD -Wall -g -shared -Dmydsp=eks -o eks~.pd_linux eks_pd.cpp faust2pd -s eks.dsp.xmlThe last line produces eks_pd.pd which can be loaded into pd. In addition to the basic three MIDI-control parameters (gate, freq, and gain), we have the following additional parameters that are brought out as sliders in pd: