| 1 |
<CsoundSynthesizer> |
| 2 |
<CsOptions> |
| 3 |
</CsOptions> |
| 4 |
<CsInstruments> |
| 5 |
|
| 6 |
sr = 44100 |
| 7 |
ksmps = 128 |
| 8 |
nchnls = 2 |
| 9 |
0dbfs = 1 |
| 10 |
|
| 11 |
instr 1 ; Schedule triggering of the instruments |
| 12 |
event_i "i", 2, 0, 1 |
| 13 |
event_i "i", 3, 2, 1 |
| 14 |
event_i "i", 4, 4, 1 |
| 15 |
endin |
| 16 |
|
| 17 |
instr 2 |
| 18 |
outvalue "text", "hello" |
| 19 |
turnoff |
| 20 |
endin |
| 21 |
|
| 22 |
instr 3 |
| 23 |
outvalue "text", "world!" |
| 24 |
turnoff |
| 25 |
endin |
| 26 |
|
| 27 |
instr 4 |
| 28 |
outvalue "text", "" |
| 29 |
turnoff |
| 30 |
endin |
| 31 |
|
| 32 |
instr 5 |
| 33 |
Stext invalue "newtext" |
| 34 |
outvalue "newtext2", Stext |
| 35 |
turnoff |
| 36 |
endin |
| 37 |
|
| 38 |
</CsInstruments> |
| 39 |
<CsScore> |
| 40 |
f 0 3600 |
| 41 |
i 1 0 1 |
| 42 |
|
| 43 |
</CsScore> |
| 44 |
</CsoundSynthesizer> |
| 45 |
<bsbPanel> |
| 46 |
<label>Widgets</label> |
| 47 |
<objectName/> |
| 48 |
<x>526</x> |
| 49 |
<y>244</y> |
| 50 |
<width>400</width> |
| 51 |
<height>215</height> |
| 52 |
<visible>true</visible> |
| 53 |
<uuid/> |
| 54 |
<bgcolor mode="background"> |
| 55 |
<r>170</r> |
| 56 |
<g>170</g> |
| 57 |
<b>127</b> |
| 58 |
</bgcolor> |
| 59 |
<bsbObject type="BSBLabel" version="2"> |
| 60 |
<objectName/> |
| 61 |
<x>184</x> |
| 62 |
<y>4</y> |
| 63 |
<width>187</width> |
| 64 |
<height>160</height> |
| 65 |
<uuid>{6d07505e-2f8f-4008-b92d-931960181272}</uuid> |
| 66 |
<visible>true</visible> |
| 67 |
<midichan>0</midichan> |
| 68 |
<midicc>0</midicc> |
| 69 |
<description/> |
| 70 |
<label>Bidirectional</label> |
| 71 |
<alignment>left</alignment> |
| 72 |
<valignment>top</valignment> |
| 73 |
<font>Arial</font> |
| 74 |
<fontsize>10</fontsize> |
| 75 |
<precision>3</precision> |
| 76 |
<color> |
| 77 |
<r>0</r> |
| 78 |
<g>0</g> |
| 79 |
<b>0</b> |
| 80 |
</color> |
| 81 |
<bgcolor mode="nobackground"> |
| 82 |
<r>255</r> |
| 83 |
<g>255</g> |
| 84 |
<b>255</b> |
| 85 |
</bgcolor> |
| 86 |
<bordermode>border</bordermode> |
| 87 |
<borderradius>4</borderradius> |
| 88 |
<borderwidth>1</borderwidth> |
| 89 |
</bsbObject> |
| 90 |
<bsbObject type="BSBLabel" version="2"> |
| 91 |
<objectName/> |
| 92 |
<x>13</x> |
| 93 |
<y>4</y> |
| 94 |
<width>143</width> |
| 95 |
<height>159</height> |
| 96 |
<uuid>{c70af99b-02b9-4385-9006-d86acfdc99a7}</uuid> |
| 97 |
<visible>true</visible> |
| 98 |
<midichan>0</midichan> |
| 99 |
<midicc>0</midicc> |
| 100 |
<description/> |
| 101 |
<label>From Csound</label> |
| 102 |
<alignment>left</alignment> |
| 103 |
<valignment>top</valignment> |
| 104 |
<font>Arial</font> |
| 105 |
<fontsize>10</fontsize> |
| 106 |
<precision>3</precision> |
| 107 |
<color> |
| 108 |
<r>0</r> |
| 109 |
<g>0</g> |
| 110 |
<b>0</b> |
| 111 |
</color> |
| 112 |
<bgcolor mode="nobackground"> |
| 113 |
<r>255</r> |
| 114 |
<g>255</g> |
| 115 |
<b>255</b> |
| 116 |
</bgcolor> |
| 117 |
<bordermode>border</bordermode> |
| 118 |
<borderradius>4</borderradius> |
| 119 |
<borderwidth>1</borderwidth> |
| 120 |
</bsbObject> |
| 121 |
<bsbObject type="BSBLabel" version="2"> |
| 122 |
<objectName>text</objectName> |
| 123 |
<x>23</x> |
| 124 |
<y>28</y> |
| 125 |
<width>120</width> |
| 126 |
<height>60</height> |
| 127 |
<uuid>{a22f0ffb-eb18-498f-bcf6-5f224cf453f8}</uuid> |
| 128 |
<visible>true</visible> |
| 129 |
<midichan>0</midichan> |
| 130 |
<midicc>-3</midicc> |
| 131 |
<description/> |
| 132 |
<label/> |
| 133 |
<alignment>center</alignment> |
| 134 |
<valignment>top</valignment> |
| 135 |
<font>Arial</font> |
| 136 |
<fontsize>32</fontsize> |
| 137 |
<precision>3</precision> |
| 138 |
<color> |
| 139 |
<r>0</r> |
| 140 |
<g>0</g> |
| 141 |
<b>0</b> |
| 142 |
</color> |
| 143 |
<bgcolor mode="background"> |
| 144 |
<r>221</r> |
| 145 |
<g>218</g> |
| 146 |
<b>185</b> |
| 147 |
</bgcolor> |
| 148 |
<bordermode>border</bordermode> |
| 149 |
<borderradius>10</borderradius> |
| 150 |
<borderwidth>5</borderwidth> |
| 151 |
</bsbObject> |
| 152 |
<bsbObject type="BSBButton" version="2"> |
| 153 |
<objectName>button1</objectName> |
| 154 |
<x>30</x> |
| 155 |
<y>98</y> |
| 156 |
<width>100</width> |
| 157 |
<height>40</height> |
| 158 |
<uuid>{d43733ec-7666-41ef-9791-c8a4243a970f}</uuid> |
| 159 |
<visible>true</visible> |
| 160 |
<midichan>0</midichan> |
| 161 |
<midicc>-3</midicc> |
| 162 |
<description/> |
| 163 |
<type>event</type> |
| 164 |
<pressedValue>1.00000000</pressedValue> |
| 165 |
<stringvalue/> |
| 166 |
<text>Do it again!</text> |
| 167 |
<image>/</image> |
| 168 |
<eventLine>i1 0 1</eventLine> |
| 169 |
<latch>false</latch> |
| 170 |
<momentaryMidiButton>false</momentaryMidiButton> |
| 171 |
<latched>false</latched> |
| 172 |
<fontsize>10</fontsize> |
| 173 |
</bsbObject> |
| 174 |
<bsbObject type="BSBLineEdit" version="2"> |
| 175 |
<objectName>newtext</objectName> |
| 176 |
<x>197</x> |
| 177 |
<y>36</y> |
| 178 |
<width>155</width> |
| 179 |
<height>28</height> |
| 180 |
<uuid>{0099d584-ea13-403e-a054-8f4f27a583fd}</uuid> |
| 181 |
<visible>true</visible> |
| 182 |
<midichan>0</midichan> |
| 183 |
<midicc>0</midicc> |
| 184 |
<description/> |
| 185 |
<label>Type something</label> |
| 186 |
<alignment>left</alignment> |
| 187 |
<font>Liberation Sans</font> |
| 188 |
<fontsize>10</fontsize> |
| 189 |
<precision>3</precision> |
| 190 |
<color> |
| 191 |
<r>0</r> |
| 192 |
<g>0</g> |
| 193 |
<b>0</b> |
| 194 |
</color> |
| 195 |
<bgcolor mode="nobackground"> |
| 196 |
<r>242</r> |
| 197 |
<g>241</g> |
| 198 |
<b>240</b> |
| 199 |
</bgcolor> |
| 200 |
<background>nobackground</background> |
| 201 |
</bsbObject> |
| 202 |
<bsbObject type="BSBButton" version="2"> |
| 203 |
<objectName/> |
| 204 |
<x>197</x> |
| 205 |
<y>73</y> |
| 206 |
<width>157</width> |
| 207 |
<height>31</height> |
| 208 |
<uuid>{1500ee14-9464-4880-9ffe-7e694aaedd9c}</uuid> |
| 209 |
<visible>true</visible> |
| 210 |
<midichan>0</midichan> |
| 211 |
<midicc>0</midicc> |
| 212 |
<description/> |
| 213 |
<type>event</type> |
| 214 |
<pressedValue>1.00000000</pressedValue> |
| 215 |
<stringvalue/> |
| 216 |
<text>Now press here</text> |
| 217 |
<image>/</image> |
| 218 |
<eventLine>i5 0 1</eventLine> |
| 219 |
<latch>false</latch> |
| 220 |
<momentaryMidiButton>false</momentaryMidiButton> |
| 221 |
<latched>false</latched> |
| 222 |
<fontsize>10</fontsize> |
| 223 |
</bsbObject> |
| 224 |
<bsbObject type="BSBDisplay" version="2"> |
| 225 |
<objectName>newtext2</objectName> |
| 226 |
<x>198</x> |
| 227 |
<y>109</y> |
| 228 |
<width>157</width> |
| 229 |
<height>34</height> |
| 230 |
<uuid>{96db6328-fbc0-4de5-b709-22eab61db06b}</uuid> |
| 231 |
<visible>true</visible> |
| 232 |
<midichan>0</midichan> |
| 233 |
<midicc>0</midicc> |
| 234 |
<description/> |
| 235 |
<label/> |
| 236 |
<alignment>center</alignment> |
| 237 |
<valignment>top</valignment> |
| 238 |
<font>Arial</font> |
| 239 |
<fontsize>12</fontsize> |
| 240 |
<precision>3</precision> |
| 241 |
<color> |
| 242 |
<r>0</r> |
| 243 |
<g>0</g> |
| 244 |
<b>0</b> |
| 245 |
</color> |
| 246 |
<bgcolor mode="nobackground"> |
| 247 |
<r>255</r> |
| 248 |
<g>255</g> |
| 249 |
<b>255</b> |
| 250 |
</bgcolor> |
| 251 |
<bordermode>border</bordermode> |
| 252 |
<borderradius>5</borderradius> |
| 253 |
<borderwidth>1</borderwidth> |
| 254 |
</bsbObject> |
| 255 |
</bsbPanel> |
| 256 |
<bsbPresets> |
| 257 |
</bsbPresets> |