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
|
<CsoundSynthesizer>
<CsOptions>
; Select audio/midi flags here according to platform
; Audio out Audio in No messages
-odac -iadc -d ;;;RT audio I/O
; For Non-realtime ouput leave only the line below:
; -o nreverb_ftable.wav -W ;;; for file output any platform
</CsOptions>
<CsInstruments>
; Initialize the global variables.
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1
instr 1
a1 soundin "beats.wav"
a2 nreverb a1, 1.5, .75, 0, 8, 71, 4, 72
out a1 + a2 * .4
endin
</CsInstruments>
<CsScore>
; freeverb time constants, as direct (negative) sample, with arbitrary gains
f71 0 16 -2 -1116 -1188 -1277 -1356 -1422 -1491 -1557 -1617 0.8 0.79 0.78 0.77 0.76 0.75 0.74 0.73
f72 0 16 -2 -556 -441 -341 -225 0.7 0.72 0.74 0.76
i1 0 3
e
</CsScore>
</CsoundSynthesizer>
|