| 1 |
<CsoundSynthesizer> |
| 2 |
<CsOptions> |
| 3 |
; Select audio/midi flags here according to platform |
| 4 |
-odac ;;;realtime audio out |
| 5 |
;-iadc ;;;uncomment -iadc if realtime audio input is needed too |
| 6 |
; For Non-realtime ouput leave only the line below: |
| 7 |
; -o ftlen.wav -W ;;; for file output any platform |
| 8 |
</CsOptions> |
| 9 |
<CsInstruments> |
| 10 |
|
| 11 |
sr = 44100 |
| 12 |
ksmps = 32 |
| 13 |
nchnls = 2 |
| 14 |
0dbfs =1 |
| 15 |
|
| 16 |
instr 1 |
| 17 |
|
| 18 |
ift = ftlen(p4) |
| 19 |
print ift |
| 20 |
aout loscil3 .8, 4, p4 |
| 21 |
outs aout, aout |
| 22 |
|
| 23 |
endin |
| 24 |
</CsInstruments> |
| 25 |
<CsScore> |
| 26 |
f 1 0 0 1 "fox.wav" 0 0 0 ;Csound computes tablesize |
| 27 |
f 2 0 0 1 "drumsMlp.wav" 0 0 0 ;Csound computes tablesize |
| 28 |
|
| 29 |
i 1 0 3 1 ;"fox.wav" |
| 30 |
i 1 3 3 2 ;"drumsMlp.wav" |
| 31 |
|
| 32 |
e |
| 33 |
</CsScore> |
| 34 |
</CsoundSynthesizer> |