Debian Codegraph @

examples/FLpanel.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 ;;;RT audio I/O
6 ; For Non-realtime ouput leave only the line below:
7 ; -o FLpanel.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 ; Creates an empty window panel
12 sr = 44100
13 kr = 441
14 ksmps = 100
15 nchnls = 1
16
17 ; Panel height in pixels
18 ipanelheight = 900
19 ; Panel width in pixels
20 ipanelwidth = 400
21 ; Horizontal position of the panel on screen in pixels
22 ix = 50
23 ; Vertical position of the panel on screen in pixels
24 iy = 50
25
26 FLpanel "A Window Panel", ipanelheight, ipanelwidth, ix, iy
27 ; End of panel contents
28 FLpanelEnd
29
30 ;Run the widget thread!
31 FLrun
32
33 instr 1
34 endin
35
36
37 </CsInstruments>
38 <CsScore>
39
40 ; 'Dummy' score event of 1 hour.
41 f 0 3600
42 e
43
44
45 </CsScore>
46 </CsoundSynthesizer>