~ubuntu-branches/ubuntu/trusty/csound-manual/trusty-proposed

« back to all changes in this revision

Viewing changes to examples-xml/STKMandolin.csd.xml

  • Committer: Bazaar Package Importer
  • Author(s): Felipe Sateler
  • Date: 2011-08-01 22:21:58 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110801222158-90kslkp5ujci2f5d
Tags: 1:5.13~dfsg-1
* New upstream release
 - Add Menno Knevel to the copyright file
 - Refresh patch 2000-stripped-opcodes.diff
 - Update copyright hints file
* Update Vcs-* headers
* Bump Standards-Version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<programlisting>
 
2
<emphasis role="csdtag">&lt;CsoundSynthesizer&gt;</emphasis>
 
3
<emphasis role="csdtag">&lt;CsOptions&gt;</emphasis>
 
4
<emphasis role="comment">; Select audio/midi flags here according to platform</emphasis>
 
5
-odac     <emphasis role="comment">;;;RT audio out</emphasis>
 
6
<emphasis role="comment">;-iadc    ;;;uncomment -iadc if RT audio input is needed too</emphasis>
 
7
<emphasis role="comment">; For Non-realtime ouput leave only the line below:</emphasis>
 
8
<emphasis role="comment">; -o STKMandolin.wav -W ;;; for file output any platform</emphasis>
 
9
<emphasis role="csdtag">&lt;/CsOptions&gt;</emphasis>
 
10
<emphasis role="csdtag">&lt;CsInstruments&gt;</emphasis>
 
11
 
 
12
<emphasis role="ohdr">sr</emphasis> <emphasis role="op">=</emphasis> 44100
 
13
<emphasis role="ohdr">ksmps</emphasis> <emphasis role="op">=</emphasis> 32
 
14
<emphasis role="ohdr">nchnls</emphasis> <emphasis role="op">=</emphasis> 2
 
15
<emphasis role="ohdr">0dbfs</emphasis> <emphasis role="op">=</emphasis> 1
 
16
 
 
17
<emphasis role="oblock">instr</emphasis> 1
 
18
 
 
19
ifrq    <emphasis role="op">=</emphasis>        p4
 
20
kbody   <emphasis role="opc">line</emphasis>    p5, p3, p6                      <emphasis role="comment">;body size</emphasis>
 
21
ksus    <emphasis role="op">=</emphasis>        p7                              <emphasis role="comment">;sustain</emphasis>
 
22
 
 
23
asig    STKMandolin <emphasis role="opc">cpspch</emphasis>(ifrq), 1, 2, kbody, 4, 10, 11, ksus, 1, 100, 128, 100
 
24
        <emphasis role="opc">outs</emphasis> asig, asig
 
25
<emphasis role="oblock">endin</emphasis>
 
26
 
 
27
<emphasis role="csdtag">&lt;/CsInstruments&gt;</emphasis>
 
28
<emphasis role="csdtag">&lt;CsScore&gt;</emphasis>
 
29
 
 
30
<emphasis role="stamnt">i</emphasis> 1 0 .3 7.00 100 0 20
 
31
<emphasis role="stamnt">i</emphasis> 1 + .  8.00 10 100 20
 
32
<emphasis role="stamnt">i</emphasis> 1 + .  8.00 100 0 120
 
33
<emphasis role="stamnt">i</emphasis> 1 + 4  8.00 10 10 127
 
34
<emphasis role="stamnt">e</emphasis>
 
35
<emphasis role="csdtag">&lt;/CsScore&gt;</emphasis>
 
36
<emphasis role="csdtag">&lt;/CsoundSynthesizer&gt;</emphasis>
 
37
</programlisting>
 
 
b'\\ No newline at end of file'