Debian Codegraph @

src/Examples/FLOSS Manual Examples/04 Sound Synthesis/04E02_Powershape.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 -o dac
4 </CsOptions>
5 <CsInstruments>
6 sr = 44100
7 ksmps = 32
8 nchnls = 2
9 0dbfs = 1
10
11 instr Powershape
12 iAmp = 0.2
13 iFreq = 300
14 aIn poscil iAmp, iFreq
15 ifullscale = iAmp
16 kShapeAmount linseg 1, 1.5, 1, .5, p4, 1.5, p4, .5, p5
17 aOut powershape aIn, kShapeAmount, ifullscale
18 out aOut, aOut
19 endin
20 </CsInstruments>
21 <CsScore>
22 i "Powershape" 0 6 2.5 50
23 i "Powershape" 7 6 0.5 0.1
24 </CsScore>
25 </CsoundSynthesizer>
26 ;example by joachim heintz