Debian Codegraph @

examples/nchnls_hw.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 -odac ;;;realtime audio out
5 -iadc ;;;realtime audio in
6 </CsOptions>
7 <CsInstruments>
8 ; by Menno Knevel - 2024
9
10 sr = 44100
11 ksmps = 32
12 nchnls = 2
13 0dbfs = 1
14
15 instr 1
16
17 idacc,iadcc nchnls_hw
18 prints "\non this machine:"
19 prints "\nnumber of outputs = %d\n", idacc
20 prints "number of inputs = %d\n\n", iadcc
21
22 endin
23
24 </CsInstruments>
25 <CsScore>
26 i1 0 0
27 e
28 </CsScore>
29 </CsoundSynthesizer>