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

« back to all changes in this revision

Viewing changes to examples-xml/ATScross.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 for 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 ATScross.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      <emphasis role="comment">; "beats.ats" and  "fox.ats" are created by atsa</emphasis>
 
18
 
 
19
ktime   <emphasis role="opc">line</emphasis>    0, p3, 4
 
20
ktime2  <emphasis role="opc">line</emphasis>    0, p3, 4
 
21
kline   <emphasis role="opc">expseg</emphasis>  0.001, .3, 1, p3<emphasis role="op">-</emphasis>.3, 1
 
22
kline2  <emphasis role="opc">expseg</emphasis>  0.001, p3, 3
 
23
        <emphasis role="opc">ATSbufread</emphasis> ktime2, 1, "fox.ats", 20
 
24
aout    <emphasis role="opc">ATScross</emphasis>   ktime, 2, "beats.ats", 1, kline, 0.001 <emphasis role="op">*</emphasis> (4 <emphasis role="op">-</emphasis> kline2), 180
 
25
        <emphasis role="opc">outs</emphasis> aout<emphasis role="op">*</emphasis>2, aout<emphasis role="op">*</emphasis>2
 
26
 
 
27
<emphasis role="oblock">endin</emphasis>
 
28
 
 
29
<emphasis role="csdtag">&lt;/CsInstruments&gt;</emphasis>
 
30
<emphasis role="csdtag">&lt;CsScore&gt;</emphasis>
 
31
<emphasis role="comment">; sine wave.</emphasis>
 
32
<emphasis role="stamnt">f</emphasis> 1 0 16384 10 1
 
33
 
 
34
<emphasis role="stamnt">i</emphasis> 1 0 4 
 
35
<emphasis role="stamnt">e</emphasis>
 
36
<emphasis role="csdtag">&lt;/CsScore&gt;</emphasis>
 
37
<emphasis role="csdtag">&lt;/CsoundSynthesizer&gt;</emphasis>
 
38
</programlisting>
 
 
b'\\ No newline at end of file'