Debian Codegraph @

examples/FLbox.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 FLbox.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 sr = 44100
12 kr = 441
13 ksmps = 100
14 nchnls = 1
15
16 FLpanel "Text Box", 700, 400, 50, 50
17 ; Box border type (7=embossed box)
18 itype = 7
19 ; Font type (10='Times Bold')
20 ifont = 10
21 ; Font size
22 isize = 20
23 ; Width of the flbox
24 iwidth = 400
25 ; Height of the flbox
26 iheight = 30
27 ; Distance of the left edge of the flbox
28 ; from the left edge of the panel
29 ix = 150
30 ; Distance of the upper edge of the flbox
31 ; from the upper edge of the panel
32 iy = 100
33
34 ih3 FLbox "Use Text Boxes For Labelling", itype, ifont, isize, iwidth, iheight, ix, iy
35 ; End of panel contents
36 FLpanelEnd
37 ; Run the widget thread!
38 FLrun
39
40 instr 1
41 endin
42
43
44 </CsInstruments>
45 <CsScore>
46
47 ; Real-time performance for 1 hour.
48 f 0 3600
49 e
50
51
52 </CsScore>
53 </CsoundSynthesizer>