1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225
|
<CsoundSynthesizer>
<CsOptions>
</CsOptions>
<CsInstruments>
sr = 44100
ksmps = 128
nchnls = 2
0dbfs = 1
instr 1
kfreq invalue "freq"
kamp invalue "amp"
asig oscil kamp, kfreq, 1
outs asig, asig
endin
</CsInstruments>
<CsScore>
f 1 0 4096 10 1 ;Sine wave
i 1 0 1000
</CsScore>
</CsoundSynthesizer>
<bsbPanel>
<label>Widgets</label>
<objectName/>
<x>608</x>
<y>211</y>
<width>408</width>
<height>357</height>
<visible>true</visible>
<uuid/>
<bgcolor mode="background">
<r>138</r>
<g>149</g>
<b>156</b>
</bgcolor>
<bsbObject version="2" type="BSBLabel">
<objectName/>
<x>102</x>
<y>4</y>
<width>202</width>
<height>41</height>
<uuid>{c5f4063e-4a46-4f9d-96db-839bea9a983f}</uuid>
<visible>true</visible>
<midichan>0</midichan>
<midicc>-3</midicc>
<label>Slider Widget</label>
<alignment>center</alignment>
<font>Arial</font>
<fontsize>24</fontsize>
<precision>3</precision>
<color>
<r>0</r>
<g>0</g>
<b>0</b>
</color>
<bgcolor mode="nobackground">
<r>191</r>
<g>204</g>
<b>234</b>
</bgcolor>
<bordermode>noborder</bordermode>
<borderradius>1</borderradius>
<borderwidth>1</borderwidth>
</bsbObject>
<bsbObject version="2" type="BSBLabel">
<objectName/>
<x>7</x>
<y>45</y>
<width>376</width>
<height>66</height>
<uuid>{7650f5b0-e83a-46a4-ba7f-45a47f71997e}</uuid>
<visible>true</visible>
<midichan>0</midichan>
<midicc>-3</midicc>
<label>Sliders are used to send and receive data from the running Csound using channels. If a slider's width is greater than its height it becomes a horizontal slider. You can set a slider's range in it's properties.</label>
<alignment>left</alignment>
<font>Arial</font>
<fontsize>12</fontsize>
<precision>3</precision>
<color>
<r>0</r>
<g>0</g>
<b>0</b>
</color>
<bgcolor mode="background">
<r>191</r>
<g>204</g>
<b>234</b>
</bgcolor>
<bordermode>noborder</bordermode>
<borderradius>5</borderradius>
<borderwidth>1</borderwidth>
</bsbObject>
<bsbObject version="2" type="BSBVSlider">
<objectName>amp</objectName>
<x>40</x>
<y>126</y>
<width>20</width>
<height>100</height>
<uuid>{a99d91b7-f92c-4044-a927-70a2943b968e}</uuid>
<visible>true</visible>
<midichan>0</midichan>
<midicc>-3</midicc>
<minimum>0.00000000</minimum>
<maximum>0.50000000</maximum>
<value>0.23500000</value>
<mode>lin</mode>
<mouseControl act="jump">continuous</mouseControl>
<resolution>-1.00000000</resolution>
<randomizable group="0">true</randomizable>
</bsbObject>
<bsbObject version="2" type="BSBHSlider">
<objectName>freq</objectName>
<x>66</x>
<y>126</y>
<width>313</width>
<height>23</height>
<uuid>{dfc109a0-ff5a-40e4-9a56-bb67e10acb6a}</uuid>
<visible>true</visible>
<midichan>0</midichan>
<midicc>-3</midicc>
<minimum>100.00000000</minimum>
<maximum>1000.00000000</maximum>
<value>689.45686901</value>
<mode>lin</mode>
<mouseControl act="jump">continuous</mouseControl>
<resolution>-1.00000000</resolution>
<randomizable group="0">true</randomizable>
</bsbObject>
<bsbObject version="2" type="BSBLabel">
<objectName/>
<x>139</x>
<y>142</y>
<width>198</width>
<height>41</height>
<uuid>{6b918bc4-f76f-460e-8f7b-5054495f2143}</uuid>
<visible>true</visible>
<midichan>0</midichan>
<midicc>-3</midicc>
<label>Frequency (from 100 to 1000 transmitting on channel 'freq'</label>
<alignment>left</alignment>
<font>Arial</font>
<fontsize>12</fontsize>
<precision>3</precision>
<color>
<r>0</r>
<g>0</g>
<b>0</b>
</color>
<bgcolor mode="nobackground">
<r>255</r>
<g>255</g>
<b>255</b>
</bgcolor>
<bordermode>noborder</bordermode>
<borderradius>1</borderradius>
<borderwidth>1</borderwidth>
</bsbObject>
<bsbObject version="2" type="BSBLabel">
<objectName/>
<x>9</x>
<y>231</y>
<width>86</width>
<height>86</height>
<uuid>{baae2608-4500-4d99-99f3-941f5e2b5a84}</uuid>
<visible>true</visible>
<midichan>0</midichan>
<midicc>-3</midicc>
<label>Amplitude (transmitting from 0 to 0.5 on channel 'amp'</label>
<alignment>center</alignment>
<font>Arial</font>
<fontsize>12</fontsize>
<precision>3</precision>
<color>
<r>0</r>
<g>0</g>
<b>0</b>
</color>
<bgcolor mode="nobackground">
<r>255</r>
<g>255</g>
<b>255</b>
</bgcolor>
<bordermode>noborder</bordermode>
<borderradius>1</borderradius>
<borderwidth>1</borderwidth>
</bsbObject>
<bsbObject version="2" type="BSBScope">
<objectName/>
<x>99</x>
<y>186</y>
<width>281</width>
<height>130</height>
<uuid>{9d18e25d-d310-4e60-9109-541fdad0d7df}</uuid>
<visible>true</visible>
<midichan>0</midichan>
<midicc>-3</midicc>
<value>-1.00000000</value>
<type>scope</type>
<zoomx>2.00000000</zoomx>
<zoomy>1.00000000</zoomy>
<dispx>1.00000000</dispx>
<dispy>1.00000000</dispy>
<mode>0.00000000</mode>
</bsbObject>
</bsbPanel>
<bsbPresets>
</bsbPresets>
<MacGUI>
ioView background {35466, 38293, 40092}
ioText {102, 4} {202, 41} label 0.000000 0.00100 "" center "Arial" 24 {0, 0, 0} {65280, 65280, 65280} nobackground noborder Slider Widget
ioText {7, 45} {377, 56} label 0.000000 0.00100 "" left "Arial" 12 {0, 0, 0} {48896, 52224, 59904} nobackground noborder Sliders are used to send and receive data from the running Csound using channels. If a slider's width is greater than its height it becomes a horizontal slider. You can set a slider's range in it's properties.
ioSlider {40, 126} {20, 100} 0.000000 0.500000 0.235000 amp
ioSlider {66, 126} {313, 23} 100.000000 1000.000000 689.456869 freq
ioText {140, 125} {198, 41} label 0.000000 0.00100 "" left "Arial" 12 {0, 0, 0} {65280, 65280, 65280} nobackground noborder Frequency (from 100 to 1000 transmitting on channel 'freq'
ioText {10, 214} {86, 86} label 0.000000 0.00100 "" center "Arial" 12 {0, 0, 0} {65280, 65280, 65280} nobackground noborder Amplitude (transmitting from 0 to 0.5 on channel 'amp'
ioGraph {99, 186} {281, 130} scope 2.000000 -1
</MacGUI>
|