Debian Codegraph @

examples/pvsbandp.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 ; Audio out Audio in
5 -odac ;;;RT audio I/O
6 ; For Non-realtime ouput leave only the line below:
7 ; -o pvsbandp.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 Sfile = "fox.wav"
20 klowcut = 100
21 klowfull = p4
22 khighfull = p5
23 khighcut = 2000
24 ain soundin Sfile
25 fftin pvsanal ain, 1024, 256, 1024, 1; fft-analysis of the audio-signal
26 fftbp pvsbandp fftin, klowcut, klowfull, khighfull, khighcut ; band pass
27 abp pvsynth fftbp; resynthesis
28 outs abp, abp
29 endin
30
31
32 </CsInstruments>
33 <CsScore>
34 ; lowfull highfull
35 i 1 0 3 200 1900
36 i 1 + 3 100 1500
37 e
38 </CsScore>
39 </CsoundSynthesizer>