Debian Codegraph @

src/Examples/FLOSS Manual Examples/05 Sound Modification/05F02_Wvshp_bit_crunch.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 -odac
4 </CsOptions>
5 <CsInstruments>
6 sr = 44100
7 ksmps = 32
8 nchnls = 2
9 0dbfs = 1
10
11 giTrnsFnc ftgen 0, 0, 4, -7, -1, 3, 1
12
13 instr 1
14 aAmp soundin "fox.wav"
15 aIndx = (aAmp + 1) / 2
16 aWavShp table aIndx, giTrnsFnc, 1
17 out aWavShp, aWavShp
18 endin
19
20 </CsInstruments>
21 <CsScore>
22 i 1 0 2.767
23 </CsScore>
24 </CsoundSynthesizer>
25 ;example by joachim heintz