diff options
Diffstat (limited to 'examples-xml/gendy.csd.xml')
-rw-r--r-- | examples-xml/gendy.csd.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/examples-xml/gendy.csd.xml b/examples-xml/gendy.csd.xml new file mode 100644 index 0000000..eb21cd5 --- /dev/null +++ b/examples-xml/gendy.csd.xml @@ -0,0 +1,29 @@ +<programlisting> +<emphasis role="csdtag"><CsoundSynthesizer></emphasis> +<emphasis role="csdtag"><CsOptions></emphasis> +<emphasis role="comment">; Select audio/midi flags here according to platform</emphasis> +-odac <emphasis role="comment">;;;realtime audio out</emphasis> +<emphasis role="comment">;-iadc ;;;uncomment -iadc if realtime audio input is needed too</emphasis> +<emphasis role="comment">; For Non-realtime ouput leave only the line below:</emphasis> +<emphasis role="comment">; -o oscil.wav -W ;;; for file output any platform</emphasis> +<emphasis role="csdtag"></CsOptions></emphasis> +<emphasis role="csdtag"><CsInstruments></emphasis> + +<emphasis role="ohdr">sr</emphasis> <emphasis role="op">=</emphasis> 44100 +<emphasis role="ohdr">ksmps</emphasis> <emphasis role="op">=</emphasis> 32 +<emphasis role="ohdr">nchnls</emphasis> <emphasis role="op">=</emphasis> 2 +<emphasis role="ohdr">0dbfs</emphasis> <emphasis role="op">=</emphasis> 1 + +<emphasis role="oblock">instr</emphasis> 1 + +aout <emphasis role="opc">gendy</emphasis> 0.7, 1, 1, 1, 1, 20, 1000, 0.5, 0.5 +<emphasis role="opc">outs</emphasis> aout, aout + +<emphasis role="oblock">endin</emphasis> +<emphasis role="csdtag"></CsInstruments></emphasis> +<emphasis role="csdtag"><CsScore></emphasis> +<emphasis role="stamnt">i</emphasis>1 0 10 +<emphasis role="stamnt">e</emphasis> +<emphasis role="csdtag"></CsScore></emphasis> +<emphasis role="csdtag"></CsoundSynthesizer></emphasis> +</programlisting>
\ No newline at end of file |