Debian Codegraph @

examples/FLpanel-sensekey.csd

raw
1 <CsoundSynthesizer>
2
3 <CsOptions>
4 ; Select audio/midi flags here according to platform
5 ; Audio out Audio in No messages
6 -odac -iadc -d ;;;RT audio I/O
7 ; For Non-realtime ouput leave only the line below:
8 ; -o FLpanel-sensekey.wav -W ;;; for file output any platform
9 </CsOptions>
10
11 <CsInstruments>
12 ; Example by Johnathan Murphy
13
14 sr = 44100
15 ksmps = 128
16 nchnls = 2
17
18
19 ; ikbdcapture flag set to 1
20 ikey init 1
21
22 FLpanel "sensekey", 740, 340, 100, 250, 2, ikey
23 gkasc, giasc FLbutBank 2, 16, 8, 700, 300, 20, 20, -1
24 FLpanelEnd
25 FLrun
26
27 instr 1
28
29 kkey sensekey
30 kprint changed kkey
31 FLsetVal kprint, kkey, giasc
32
33 endin
34
35 </CsInstruments>
36
37 <CsScore>
38 i1 0 60
39 e
40 </CsScore>
41
42 </CsoundSynthesizer>