| 1 |
/* Getting Started .. Realtime Interaction: Widgets |
| 2 |
|
| 3 |
CsoundQt's Widgets provide a quick and easy way to build your customised GUI to communicate with csound's synthesis engine in realtime. |
| 4 |
To make the Widgets-Panel visible, click the Widgets symbol in the menu or press (Alt+1). |
| 5 |
|
| 6 |
*/ |
| 7 |
|
| 8 |
<CsoundSynthesizer> |
| 9 |
<CsOptions> |
| 10 |
</CsOptions> |
| 11 |
<CsInstruments> |
| 12 |
|
| 13 |
sr = 44100 |
| 14 |
ksmps = 128 |
| 15 |
nchnls = 2 |
| 16 |
0dbfs = 1 |
| 17 |
|
| 18 |
instr 1 |
| 19 |
;Nothing here... |
| 20 |
endin |
| 21 |
</CsInstruments> |
| 22 |
<CsScore> |
| 23 |
;nothing here as well ... |
| 24 |
</CsScore> |
| 25 |
</CsoundSynthesizer> |
| 26 |
; written by Andres Cabrera |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
<bsbPanel> |
| 36 |
<label>Widgets</label> |
| 37 |
<objectName/> |
| 38 |
<x>0</x> |
| 39 |
<y>0</y> |
| 40 |
<width>589</width> |
| 41 |
<height>467</height> |
| 42 |
<visible>true</visible> |
| 43 |
<uuid/> |
| 44 |
<bgcolor mode="background"> |
| 45 |
<r>7</r> |
| 46 |
<g>95</g> |
| 47 |
<b>162</b> |
| 48 |
</bgcolor> |
| 49 |
<bsbObject type="BSBLabel" version="2"> |
| 50 |
<objectName/> |
| 51 |
<x>14</x> |
| 52 |
<y>6</y> |
| 53 |
<width>210</width> |
| 54 |
<height>39</height> |
| 55 |
<uuid>{ee6146d0-64e9-4c42-98da-f5d144c2d06e}</uuid> |
| 56 |
<visible>true</visible> |
| 57 |
<midichan>0</midichan> |
| 58 |
<midicc>-3</midicc> |
| 59 |
<description/> |
| 60 |
<label>Widgets</label> |
| 61 |
<alignment>left</alignment> |
| 62 |
<valignment>top</valignment> |
| 63 |
<font>Helvetica</font> |
| 64 |
<fontsize>26</fontsize> |
| 65 |
<precision>3</precision> |
| 66 |
<color> |
| 67 |
<r>241</r> |
| 68 |
<g>241</g> |
| 69 |
<b>241</b> |
| 70 |
</color> |
| 71 |
<bgcolor mode="nobackground"> |
| 72 |
<r>255</r> |
| 73 |
<g>255</g> |
| 74 |
<b>255</b> |
| 75 |
</bgcolor> |
| 76 |
<bordermode>noborder</bordermode> |
| 77 |
<borderradius>1</borderradius> |
| 78 |
<borderwidth>0</borderwidth> |
| 79 |
</bsbObject> |
| 80 |
<bsbObject type="BSBLabel" version="2"> |
| 81 |
<objectName/> |
| 82 |
<x>11</x> |
| 83 |
<y>45</y> |
| 84 |
<width>392</width> |
| 85 |
<height>75</height> |
| 86 |
<uuid>{7300709a-a337-4357-8292-f78e20b003b4}</uuid> |
| 87 |
<visible>true</visible> |
| 88 |
<midichan>0</midichan> |
| 89 |
<midicc>-3</midicc> |
| 90 |
<description/> |
| 91 |
<label>You can create Widgets by right-clicking (or control-clicking on OS X) anywhere in the Widget Panel. Try it here:</label> |
| 92 |
<alignment>left</alignment> |
| 93 |
<valignment>top</valignment> |
| 94 |
<font>Sans Serif</font> |
| 95 |
<fontsize>14</fontsize> |
| 96 |
<precision>3</precision> |
| 97 |
<color> |
| 98 |
<r>241</r> |
| 99 |
<g>241</g> |
| 100 |
<b>241</b> |
| 101 |
</color> |
| 102 |
<bgcolor mode="nobackground"> |
| 103 |
<r>255</r> |
| 104 |
<g>255</g> |
| 105 |
<b>255</b> |
| 106 |
</bgcolor> |
| 107 |
<bordermode>false</bordermode> |
| 108 |
<borderradius>1</borderradius> |
| 109 |
<borderwidth>0</borderwidth> |
| 110 |
</bsbObject> |
| 111 |
<bsbObject type="BSBLabel" version="2"> |
| 112 |
<objectName/> |
| 113 |
<x>11</x> |
| 114 |
<y>322</y> |
| 115 |
<width>391</width> |
| 116 |
<height>140</height> |
| 117 |
<uuid>{62393637-5d87-4d05-978d-fa18be6cc92c}</uuid> |
| 118 |
<visible>true</visible> |
| 119 |
<midichan>0</midichan> |
| 120 |
<midicc>-3</midicc> |
| 121 |
<description/> |
| 122 |
<label>You can delete widgets by right-clicking the Widgets and selecting delete. Using this menu or the keyboard commands, you can also copy, paste, cut and duplicate widgets.</label> |
| 123 |
<alignment>left</alignment> |
| 124 |
<valignment>top</valignment> |
| 125 |
<font>Noto Sans</font> |
| 126 |
<fontsize>14</fontsize> |
| 127 |
<precision>3</precision> |
| 128 |
<color> |
| 129 |
<r>241</r> |
| 130 |
<g>241</g> |
| 131 |
<b>241</b> |
| 132 |
</color> |
| 133 |
<bgcolor mode="nobackground"> |
| 134 |
<r>255</r> |
| 135 |
<g>255</g> |
| 136 |
<b>255</b> |
| 137 |
</bgcolor> |
| 138 |
<bordermode>true</bordermode> |
| 139 |
<borderradius>1</borderradius> |
| 140 |
<borderwidth>1</borderwidth> |
| 141 |
</bsbObject> |
| 142 |
<bsbObject type="BSBLabel" version="2"> |
| 143 |
<objectName/> |
| 144 |
<x>10</x> |
| 145 |
<y>155</y> |
| 146 |
<width>390</width> |
| 147 |
<height>120</height> |
| 148 |
<uuid>{b38cec05-f765-43a8-9353-ddc36f0b0abd}</uuid> |
| 149 |
<visible>true</visible> |
| 150 |
<midichan>0</midichan> |
| 151 |
<midicc>-3</midicc> |
| 152 |
<description/> |
| 153 |
<label>You can move and resize widgets by entering the EDIT MODE, pressing Ctrl+E or Command+E on OS X.</label> |
| 154 |
<alignment>left</alignment> |
| 155 |
<valignment>top</valignment> |
| 156 |
<font>Noto Sans</font> |
| 157 |
<fontsize>14</fontsize> |
| 158 |
<precision>3</precision> |
| 159 |
<color> |
| 160 |
<r>241</r> |
| 161 |
<g>241</g> |
| 162 |
<b>241</b> |
| 163 |
</color> |
| 164 |
<bgcolor mode="nobackground"> |
| 165 |
<r>255</r> |
| 166 |
<g>255</g> |
| 167 |
<b>255</b> |
| 168 |
</bgcolor> |
| 169 |
<bordermode>true</bordermode> |
| 170 |
<borderradius>1</borderradius> |
| 171 |
<borderwidth>1</borderwidth> |
| 172 |
</bsbObject> |
| 173 |
</bsbPanel> |
| 174 |
<bsbPresets> |
| 175 |
</bsbPresets> |
| 176 |
<EventPanel name="Events" tempo="60.00000000" loop="8.00000000" x="320" y="218" width="604" height="322" visible="false" loopStart="0" loopEnd="0"> </EventPanel> |