| 1 |
<CsoundSynthesizer> |
| 2 |
<CsOptions> |
| 3 |
; Select audio/midi flags here according to platform |
| 4 |
; Audio out Audio in |
| 5 |
-n ;;;no sound |
| 6 |
; For Non-realtime ouput leave only the line below: |
| 7 |
; -o pvsdisp.wav -W ;;; for file output any platform |
| 8 |
</CsOptions> |
| 9 |
<CsInstruments> |
| 10 |
|
| 11 |
sr = 44100 |
| 12 |
ksmps = 32 |
| 13 |
0dbfs = 1 |
| 14 |
nchnls = 2 |
| 15 |
|
| 16 |
instr 1 |
| 17 |
|
| 18 |
asig soundin "fox.wav" ;select a soundifle |
| 19 |
fsig pvsanal asig, 1024, 256, 1024, 1 |
| 20 |
pvsdisp fsig, 10 |
| 21 |
|
| 22 |
endin |
| 23 |
|
| 24 |
</CsInstruments> |
| 25 |
<CsScore> |
| 26 |
i 1 0 2.7 |
| 27 |
e |
| 28 |
</CsScore> |
| 29 |
</CsoundSynthesizer> |