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

« back to all changes in this revision

Viewing changes to examples-xml/pvsblur.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
-odac
 
5
<emphasis role="csdtag">&lt;/CsOptions&gt;</emphasis>
 
6
<emphasis role="csdtag">&lt;CsInstruments&gt;</emphasis>
 
7
 
 
8
<emphasis role="ohdr">sr</emphasis> <emphasis role="op">=</emphasis> 44100
 
9
<emphasis role="ohdr">ksmps</emphasis> <emphasis role="op">=</emphasis> 16
 
10
<emphasis role="ohdr">nchnls</emphasis> <emphasis role="op">=</emphasis> 1
 
11
<emphasis role="ohdr">0dbfs</emphasis> <emphasis role="op">=</emphasis> 1
 
12
 
 
13
<emphasis role="comment">;; example written by joachim heintz 2009</emphasis>
 
14
 
 
15
<emphasis role="oblock">instr</emphasis> 1
 
16
ifftsize        <emphasis role="op">=</emphasis>                1024
 
17
ioverlap        <emphasis role="op">=</emphasis>                ifftsize <emphasis role="op">/</emphasis> 4
 
18
iwinsize        <emphasis role="op">=</emphasis>                ifftsize
 
19
iwinshape       <emphasis role="op">=</emphasis>                1<emphasis role="comment">; von-Hann window</emphasis>
 
20
Sfile           <emphasis role="op">=</emphasis>                "fox.wav"
 
21
ain             <emphasis role="opc">soundin</emphasis> Sfile
 
22
fftin           <emphasis role="opc">pvsanal</emphasis> ain, ifftsize, ioverlap, iwinsize, iwinshape<emphasis role="comment">; fft-analysis of the audio-signal</emphasis>
 
23
fftblur <emphasis role="opc">pvsblur</emphasis> fftin, p4, 1<emphasis role="comment">; blur</emphasis>
 
24
aout            <emphasis role="opc">pvsynth</emphasis> fftblur<emphasis role="comment">; resynthesis</emphasis>
 
25
                <emphasis role="opc">out</emphasis>             aout
 
26
<emphasis role="oblock">endin</emphasis>
 
27
 
 
28
<emphasis role="csdtag">&lt;/CsInstruments&gt;</emphasis>
 
29
<emphasis role="csdtag">&lt;CsScore&gt;</emphasis>
 
30
<emphasis role="stamnt">i</emphasis> 1 0 3 0
 
31
<emphasis role="stamnt">i</emphasis> 1 3 3 .1
 
32
<emphasis role="stamnt">i</emphasis> 1 6 3 .5
 
33
<emphasis role="stamnt">e</emphasis>
 
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'