Debian Codegraph @

examples/pvsynth.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 pvsynth.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 aout pvsynth fftin; resynthesis
27 outs aout, aout
28 endin
29
30 </CsInstruments>
31 <CsScore>
32 i 1 0 3
33 e
34 </CsScore>
35 </CsoundSynthesizer>