summaryrefslogtreecommitdiff
path: root/examples-xml/tableimix.csd.xml
diff options
context:
space:
mode:
Diffstat (limited to 'examples-xml/tableimix.csd.xml')
-rw-r--r--examples-xml/tableimix.csd.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/examples-xml/tableimix.csd.xml b/examples-xml/tableimix.csd.xml
new file mode 100644
index 0000000..33f246b
--- /dev/null
+++ b/examples-xml/tableimix.csd.xml
@@ -0,0 +1,35 @@
+<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 <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 tableimix.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="ohdr">0dbfs</emphasis> <emphasis role="op">=</emphasis> 1
+
+gisine <emphasis role="ohdr">ftgen</emphasis> 1, 0, 256, 10, 1, 0, 0, .4 <emphasis role="comment">;sinoid</emphasis>
+gisaw <emphasis role="ohdr">ftgen</emphasis> 2, 0, 1024, 7, 0, 256, 1 <emphasis role="comment">;saw</emphasis>
+gimix <emphasis role="ohdr">ftgen</emphasis> 100, 0, 256, 7, 0, 256, 1 <emphasis role="comment">;used to mix</emphasis>
+
+<emphasis role="oblock">instr</emphasis> 1
+
+ <emphasis role="opc">tableimix</emphasis> 100, 0, 256, 1, 0, 1, 2, 0, .5
+asig <emphasis role="opc">poscil</emphasis> .5, 110, gimix <emphasis role="comment">;mix table 1 &amp; 2 </emphasis>
+ <emphasis role="opc">outs</emphasis> asig, asig
+
+<emphasis role="oblock">endin</emphasis>
+<emphasis role="csdtag">&lt;/CsInstruments&gt;</emphasis>
+<emphasis role="csdtag">&lt;CsScore&gt;</emphasis>
+
+<emphasis role="stamnt">i</emphasis>1 0 5
+<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