Debian Codegraph @

examples/noteondur2.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 ; Audio out Audio in No messages
5 -odac -iadc -d -M0 -Q1;;;RT audio I/O with MIDI in
6 </CsOptions>
7 <CsInstruments>
8
9 sr = 44100
10 kr = 4410
11 ksmps = 10
12 nchnls = 2
13
14 ; Example by Giorgio Zucco 2007
15
16 instr 1
17
18 ifund notnum
19 ivel veloc
20 idur = 1
21
22 ;chord with single key
23 noteondur2 1, ifund, ivel, idur
24 noteondur2 1, ifund+3, ivel, idur
25 noteondur2 1, ifund+7, ivel, idur
26 noteondur2 1, ifund+9, ivel, idur
27
28 endin
29
30
31
32 </CsInstruments>
33 <CsScore>
34 ; Dummy ftable
35 f 0 60
36 </CsScore>
37 </CsoundSynthesizer>
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57