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

« back to all changes in this revision

Viewing changes to examples-xml/trhighest.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
<emphasis role="comment">; Audio out   Audio in    No messages</emphasis>
 
6
-odac           -iadc     -d     <emphasis role="comment">;;;RT audio I/O</emphasis>
 
7
<emphasis role="comment">; For Non-realtime ouput leave only the line below:</emphasis>
 
8
<emphasis role="comment">; -o trhighest.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="comment">; Initialize the global variables.</emphasis>
 
13
<emphasis role="ohdr">sr</emphasis> <emphasis role="op">=</emphasis> 44100
 
14
<emphasis role="ohdr">kr</emphasis> <emphasis role="op">=</emphasis> 4410
 
15
<emphasis role="ohdr">ksmps</emphasis> <emphasis role="op">=</emphasis> 10
 
16
<emphasis role="ohdr">nchnls</emphasis> <emphasis role="op">=</emphasis> 2
 
17
 
 
18
 
 
19
<emphasis role="oblock">instr</emphasis> 1
 
20
 
 
21
ain     <emphasis role="opc">diskin2</emphasis> "beats.wav", 1
 
22
fs1,fsi2        <emphasis role="opc">pvsifd</emphasis> ain,2048,512,1           <emphasis role="comment">; ifd analysis</emphasis>
 
23
fst             <emphasis role="opc">partials</emphasis> fs1,fsi2,.003,1,3,500  <emphasis role="comment">; partial tracking</emphasis>
 
24
fhi,kfr,kamp    <emphasis role="opc">trhighest</emphasis> fst,1                 <emphasis role="comment">; highest freq-track </emphasis>
 
25
aout    <emphasis role="opc">tradsyn</emphasis> fhi, 1, 1, 1, 1                 <emphasis role="comment">; resynthesis of highest frequency</emphasis>
 
26
        <emphasis role="opc">outs</emphasis> aout<emphasis role="op">*</emphasis>100, aout<emphasis role="op">*</emphasis>100                   <emphasis role="comment">; compensate energy loss</emphasis>
 
27
 
 
28
<emphasis role="oblock">endin</emphasis>
 
29
 
 
30
 
 
31
<emphasis role="csdtag">&lt;/CsInstruments&gt;</emphasis>
 
32
<emphasis role="csdtag">&lt;CsScore&gt;</emphasis>
 
33
<emphasis role="stamnt">f</emphasis>1 0 8192 10 1
 
34
 
 
35
<emphasis role="stamnt">i</emphasis> 1 0 3
 
36
 
 
37
<emphasis role="stamnt">e</emphasis>
 
38
 
 
39
<emphasis role="csdtag">&lt;/CsScore&gt;</emphasis>
 
40
<emphasis role="csdtag">&lt;/CsoundSynthesizer&gt;</emphasis>
 
41
</programlisting>
 
 
b'\\ No newline at end of file'