aboutsummaryrefslogtreecommitdiff
path: root/examples/bitch_average.csd
blob: 1ade2708d04edc52948bf9f76871515807632e86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<CsoundSynthesizer>
<CsOptions>
-odac
;-o/tmp/out/4.wav
</CsOptions>
<CsInstruments>

sr = 48000
kr = 48000
nchnls = 2
0dbfs = 1

instr 1	
    Sfile = "/store/Store/Documents/Audio/Audio/Random/2021/Sonics Tuned Pieces/Guitar - Plectrum Light Chorus/86.0.wav"
    ;Sfile = "/store/Store/Documents/Audio/Audio/Random/2021/Sonics Tuned Pieces/HurdyGurdy/61.0.wav"
    ;Sfile = "/tmp/t.wav"
    aL, aR diskin Sfile, 1
    aL *= 0.6
    aR *= 0.6
    p3 = filelen(Sfile) + 2
    ibase = 1600
    aL bitchpeaker aL, ibase - 2
    aR bitchpeaker aR, ibase + 2
    aL bitchwreck aL, 0.1, abs:k(oscil:k(2, 2.9))
    aR bitchwreck aR, 0.1, abs:k(oscil:k(2, 1.1))
	outs aL, aR
    
endin

</CsInstruments>
; ==============================================
<CsScore>
i1 0 60


</CsScore>
</CsoundSynthesizer>