| 1 |
<CsoundSynthesizer> |
| 2 |
<CsOptions> |
| 3 |
; Select audio/midi flags here according to platform |
| 4 |
-odac ;;;RT audio out |
| 5 |
;-iadc ;;;uncomment -iadc for RT audio input is needed too |
| 6 |
; For Non-realtime ouput leave only the line below: |
| 7 |
; -o ATSaddnzwav -W ;;; for file output any platform |
| 8 |
</CsOptions> |
| 9 |
<CsInstruments> |
| 10 |
|
| 11 |
; by Menno Knevel - 2021 |
| 12 |
|
| 13 |
sr = 44100 |
| 14 |
ksmps = 32 |
| 15 |
nchnls = 2 |
| 16 |
0dbfs = 1 |
| 17 |
|
| 18 |
;ATSA wants a mono file! |
| 19 |
ires system_i 1,{{ atsa Mathews.wav Mathews.ats }} ; default options |
| 20 |
|
| 21 |
instr 1 |
| 22 |
|
| 23 |
ktime line 0, p3, p3 |
| 24 |
asig ATSaddnz ktime, "Mathews.ats", 1, 4 ; only 1 noise band, the 4th noise band |
| 25 |
outs asig*2, asig*2 ;amplify |
| 26 |
endin |
| 27 |
|
| 28 |
</CsInstruments> |
| 29 |
<CsScore> |
| 30 |
i1 1 15.6 |
| 31 |
e |
| 32 |
</CsScore> |
| 33 |
</CsoundSynthesizer> |