Debian Codegraph @

examples/scale2.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 ; Audio out Audio in Silent
5 -odac -iadc -d ;;;realtime output
6 </CsOptions>
7 <CsInstruments>
8
9 sr = 44100
10 ksmps = 10
11 nchnls = 2
12
13 /*--- ---*/
14
15 instr 1 ; scale test
16
17 kmod ctrl7 1, 1, 0, 1
18 printk2 kmod
19
20 kout scale2 kmod, -127, 0
21 printk2 kout
22
23 endin
24
25 /*--- ---*/
26 </CsInstruments>
27 <CsScore>
28
29 i1 0 8888
30
31 e
32 </CsScore>
33 </CsoundSynthesizer>