Debian Codegraph @

src/Scripts/Koenig-Essay/csds/B02_DIST02.csd

raw
1 <CsoundSynthesizer>
2
3 ; Id: B02_DIST02.CSD mg (2006, rev.2009)
4 ; author: marco gasperini (marcogsp at yahoo dot it)
5
6 ; G.M. Koenig
7 ; ESSAY (1957)
8
9 <CsOptions>
10 -W -f -oB02_DIST02.wav
11 </CsOptions>
12
13 <CsInstruments>
14
15 sr = 192000
16 kr = 192000
17 ksmps = 1
18 nchnls = 1
19
20 ;===========================================================
21 ; 226.2 OTHER TRANSFORMATIONS (DISTORTION & LOW-PASS FILTERING)
22 ;===========================================================
23 instr 1
24 ifile = p4
25
26 a1 diskin2 ifile, 1
27
28 adist tablei a1 , 2 , 0 , 32768 ; distortion
29
30 adist tonex adist, 5000 ; low-pass filtering
31
32 aout = adist * ampdb(90)
33
34 out aout
35 endin
36 ;===========================================================
37
38 </CsInstruments>
39 <CsScore>
40 f2 0 65536 -27 0 -1 20000 -1 45536 1 65536 1 ; waveshaping function
41
42 t0 4572 ; 76.2 cm/sec. tape speed (durations in cm)
43
44 ; p4
45 ; ifile
46 i1 0 256.5 "B01.wav" ; 6.25/50
47
48 e
49
50 </CsScore>
51 </CsoundSynthesizer>