summaryrefslogtreecommitdiff
path: root/examples-xml/STKRhodey.csd.xml
diff options
context:
space:
mode:
Diffstat (limited to 'examples-xml/STKRhodey.csd.xml')
-rw-r--r--examples-xml/STKRhodey.csd.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/examples-xml/STKRhodey.csd.xml b/examples-xml/STKRhodey.csd.xml
new file mode 100644
index 0000000..4b6d5a6
--- /dev/null
+++ b/examples-xml/STKRhodey.csd.xml
@@ -0,0 +1,36 @@
+<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">;;;RT audio out</emphasis>
+<emphasis role="comment">;-iadc ;;;uncomment -iadc if RT audio input is needed too</emphasis>
+<emphasis role="comment">; For Non-realtime ouput leave only the line below:</emphasis>
+<emphasis role="comment">; -o STKWurley.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
+
+<emphasis role="oblock">instr</emphasis> 1
+
+ifrq <emphasis role="op">=</emphasis> p4
+kndx <emphasis role="opc">line</emphasis> p5, p3, p6 <emphasis role="comment">;(FM) Modulator Index One</emphasis>
+
+asig STKRhodey <emphasis role="opc">cpspch</emphasis>(p4), 1, 2, kndx, 4, 10, 11, 100, 1, 3, 128, 75
+ <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 7.00 75 0 20
+<emphasis role="stamnt">i</emphasis> 1 + . 8.00 120 0 20
+<emphasis role="stamnt">i</emphasis> 1 + 1 6.00 50 120 20
+<emphasis role="stamnt">i</emphasis> 1 + 4 8.00 10 10 127
+<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