Debian Codegraph @

examples/pvsblur.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 ; Audio out Audio in
5 -odac ;;;RT audio out
6 ; For Non-realtime ouput leave only the line below:
7 ; -o pvsblur.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 sr = 44100
12 ksmps = 32
13 nchnls = 2
14 0dbfs = 1
15
16 ;; example written by joachim heintz 2009
17
18 instr 1
19 ifftsize = 1024
20 ioverlap = ifftsize / 4
21 iwinsize = ifftsize
22 iwinshape = 1 ; von-Hann window
23 Sfile = "fox.wav"
24 ain soundin Sfile
25 fftin pvsanal ain, ifftsize, ioverlap, iwinsize, iwinshape; fft-analysis of the audio-signal
26 fftblur pvsblur fftin, p4, 1; blur
27 aout pvsynth fftblur; resynthesis
28 outs aout, aout
29 endin
30
31 </CsInstruments>
32 <CsScore>
33 i 1 0 3 0
34 i 1 3 3 .1
35 i 1 6 3.5 .5
36 e
37 </CsScore>
38 </CsoundSynthesizer>