| 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 temposcal.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 |
ilock = p4 |
| 19 |
itab = 1 |
| 20 |
ipitch = 1 |
| 21 |
iamp = 0.8 |
| 22 |
ktime linseg 0.3, p3/2, 0.8, p3/2, 0.3 |
| 23 |
asig temposcal ktime, iamp, ipitch, itab, ilock |
| 24 |
outs asig, asig |
| 25 |
|
| 26 |
endin |
| 27 |
</CsInstruments> |
| 28 |
<CsScore> |
| 29 |
f 1 0 0 1 "fox.wav" 0 4 0 |
| 30 |
|
| 31 |
i 1 0 3.8 0 ;no locking |
| 32 |
i 1 4 3.8 1 ;locking |
| 33 |
e |
| 34 |
</CsScore> |
| 35 |
</CsoundSynthesizer> |