summaryrefslogtreecommitdiff
path: root/examples-xml/outipc.csd.xml
diff options
context:
space:
mode:
Diffstat (limited to 'examples-xml/outipc.csd.xml')
-rw-r--r--examples-xml/outipc.csd.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/examples-xml/outipc.csd.xml b/examples-xml/outipc.csd.xml
new file mode 100644
index 0000000..9b08120
--- /dev/null
+++ b/examples-xml/outipc.csd.xml
@@ -0,0 +1,31 @@
+<programlisting>
+<emphasis role="csdtag">&lt;CsoundSynthesizer&gt;</emphasis>
+<emphasis role="csdtag">&lt;CsOptions&gt;</emphasis>
+<emphasis role="comment">; Select audio/midi flags here according to platform</emphasis>
+-odac -Q1 -M0 <emphasis role="comment">;;;realtime audio out and midi in and 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 outipc.wav -W ;;; for file output any platform</emphasis>
+<emphasis role="csdtag">&lt;/CsOptions&gt;</emphasis>
+<emphasis role="csdtag">&lt;CsInstruments&gt;</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="oblock">instr</emphasis> 1
+
+<emphasis role="opc">outipc</emphasis> 1, 80, 0, 127 <emphasis role="comment">;program change --> 80</emphasis>
+ikey <emphasis role="opc">notnum</emphasis>
+ivel <emphasis role="opc">veloc</emphasis>
+<emphasis role="opc">midion</emphasis> 1, ikey, ivel <emphasis role="comment">;play external synth</emphasis>
+
+<emphasis role="oblock">endin</emphasis>
+<emphasis role="csdtag">&lt;/CsInstruments&gt;</emphasis>
+<emphasis role="csdtag">&lt;CsScore&gt;</emphasis>
+<emphasis role="stamnt">f</emphasis>0 30 <emphasis role="comment">;runs 30 seconds</emphasis>
+
+<emphasis role="stamnt">e</emphasis>
+<emphasis role="csdtag">&lt;/CsScore&gt;</emphasis>
+<emphasis role="csdtag">&lt;/CsoundSynthesizer&gt;</emphasis>
+</programlisting> \ No newline at end of file