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

« back to all changes in this revision

Viewing changes to examples-xml/binit.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 binit.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
 
 
16
<emphasis role="oblock">instr</emphasis> 1
 
17
<emphasis role="comment">;ain inch 1                            ; for live input</emphasis>
 
18
ain     <emphasis role="opc">diskin</emphasis>   "beats.wav", 1         <emphasis role="comment">; input signal</emphasis>
 
19
fs1,fsi2 <emphasis role="opc">pvsifd</emphasis>  ain, 2048, 512, 1              <emphasis role="comment">; ifd analysis</emphasis>
 
20
fst     <emphasis role="opc">partials</emphasis> fs1, fsi2, .003, 1, 3, 500     <emphasis role="comment">; partial tracking</emphasis>
 
21
fbins   <emphasis role="opc">binit</emphasis>    fst, 2048              <emphasis role="comment">; convert it back to bins</emphasis>
 
22
aout    <emphasis role="opc">pvsynth</emphasis>  fbins                  <emphasis role="comment">; overlap-add resynthesis</emphasis>
 
23
        <emphasis role="opc">outs</emphasis>     aout, aout
 
24
 
 
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 2
 
31
<emphasis role="stamnt">e</emphasis>
 
32
 
 
33
 
 
34
<emphasis role="csdtag">&lt;/CsScore&gt;</emphasis>
 
35
<emphasis role="csdtag">&lt;/CsoundSynthesizer&gt;</emphasis>
 
36
</programlisting>
 
 
b'\\ No newline at end of file'