iOS/Csound iOS Swift Examples/Csound iOS SwiftExamples/recordTest.csd
raw| 1 | <CsoundSynthesizer> |
| 2 | <CsOptions> |
| 3 | -o dac |
| 4 | -d |
| 5 | -i adc |
| 6 | </CsOptions> |
| 7 | <CsInstruments> |
| 8 | |
| 9 | sr = 44100 |
| 10 | ksmps = 64 |
| 11 | nchnls = 2 |
| 12 | 0dbfs = 1 |
| 13 | |
| 14 | instr 1 |
| 15 | kgain chnget "gain" |
| 16 | asig1,asig2 ins |
| 17 | chnset asig1, "meter" |
| 18 | asig1 = asig1 * kgain |
| 19 | asig2 = asig2 * kgain |
| 20 | outs asig1, asig2 |
| 21 | endin |
| 22 | |
| 23 | </CsInstruments> |
| 24 | <CsScore> |
| 25 | |
| 26 | i1 0 360000 |
| 27 | |
| 28 | </CsScore> |
| 29 | </CsoundSynthesizer> |