| 1 |
<CsoundSynthesizer> |
| 2 |
<CsOptions> |
| 3 |
-odac -m128 |
| 4 |
</CsOptions> |
| 5 |
<CsInstruments> |
| 6 |
nchnls = 2 |
| 7 |
ksmps = 128 |
| 8 |
0dbfs = 1 |
| 9 |
|
| 10 |
;Get the ASCII key number |
| 11 |
;Example for CsoundQt |
| 12 |
;joachim heintz && andrés cabrera mar 2010 / feb 2011 |
| 13 |
|
| 14 |
|
| 15 |
strset 11, "Thank you!" |
| 16 |
strset 12, "My goodness!" |
| 17 |
strset 13, "Oh my god!" |
| 18 |
strset 14, "Why?" |
| 19 |
strset 15, "You did what you must." |
| 20 |
strset 21, "is a very meaningful" |
| 21 |
strset 22, "is a totally senseless" |
| 22 |
strset 23, "is a deeply religious" |
| 23 |
strset 24, "is a rather useless" |
| 24 |
strset 25, "is a somewhat symbolic" |
| 25 |
strset 26, "is nothing more than a" |
| 26 |
strset 27, "is obviously a strange" |
| 27 |
strset 28, "is an enourmously irrational" |
| 28 |
|
| 29 |
seed 0 |
| 30 |
gicount = 0 |
| 31 |
gimodel ftgen 0, 0, 32, -2, 1,1,0, .7,2,0, .5,3,0, .3,4,0, .1,5,0, .05,6,0, .02,7,0; partial model |
| 32 |
|
| 33 |
|
| 34 |
opcode TypeIn, 0, k |
| 35 |
;displays type-in request |
| 36 |
konoff xin |
| 37 |
if konoff == 1 then |
| 38 |
ktrig metro 1 |
| 39 |
kplease init 0 |
| 40 |
if ktrig == 1 then |
| 41 |
kplease = kplease + 1 |
| 42 |
endif |
| 43 |
if kplease % 2 == 1 then |
| 44 |
outvalue "typein1", "TYPE" |
| 45 |
else |
| 46 |
outvalue "typein1", "" |
| 47 |
endif |
| 48 |
if kplease % 2 == 0 then |
| 49 |
outvalue "typein2", "NOW!" |
| 50 |
else |
| 51 |
outvalue "typein2", "" |
| 52 |
endif |
| 53 |
else |
| 54 |
outvalue "typein1", "" |
| 55 |
outvalue "typein2", "" |
| 56 |
endif |
| 57 |
endop |
| 58 |
|
| 59 |
opcode RandInts_i, i, ii |
| 60 |
;random integer between ival1 and ival2 (both included) |
| 61 |
ival1, ival2 xin |
| 62 |
if ival1 < ival2 then |
| 63 |
imin = ival1 |
| 64 |
imax = ival2 |
| 65 |
else |
| 66 |
imin = ival2 |
| 67 |
imax = ival1 |
| 68 |
endif |
| 69 |
imin = (imin < 0 ? imin-0.9999 : imin) |
| 70 |
imax = (imax < 0 ? imax : imax+0.9999) |
| 71 |
ires random imin, imax |
| 72 |
xout int(ires) |
| 73 |
endop |
| 74 |
|
| 75 |
opcode TabMkCp_i, i, i |
| 76 |
;creates a function table icop which is a copy of isrc, and returns its number |
| 77 |
isrc xin |
| 78 |
isrclen = ftlen(isrc) |
| 79 |
icop ftgen 0, 0, -isrclen, -2, 0 |
| 80 |
tableicopy icop, isrc |
| 81 |
xout icop |
| 82 |
endop |
| 83 |
|
| 84 |
opcode ChangeTable, i, iipo |
| 85 |
;copies iftin, changes its value randomly in the range +- iperc percent, and returns it as iftout |
| 86 |
;ihop = which is the next element (1=next (= default), 2=the second to come, etc) |
| 87 |
;istart = at which index to start (default = 0) |
| 88 |
iftin, iperc, ihop, istart xin |
| 89 |
iftout TabMkCp_i iftin |
| 90 |
indx = istart |
| 91 |
loop: |
| 92 |
if indx >= ftlen(iftin)-1 igoto end |
| 93 |
ival tab_i indx, iftout |
| 94 |
irand random -iperc, iperc |
| 95 |
inew = ival + (irand/100) * ival |
| 96 |
tabw_i inew, indx, iftout |
| 97 |
indx = indx + ihop |
| 98 |
igoto loop |
| 99 |
end: xout iftout |
| 100 |
endop |
| 101 |
|
| 102 |
opcode KeyOnce, kk, kkk |
| 103 |
;returns '1' just in the k-cycle a certain key has been pressed (kdown) or released (kup) |
| 104 |
key, kd, kascii xin ;sensekey output and ascii code of the key (e.g. 32 for space) |
| 105 |
knew changed key |
| 106 |
kdown = (key == kascii && knew == 1 && kd == 1 ? 1 : 0) |
| 107 |
kup = (key == kascii && knew == 1 && kd == 0 ? 1 : 0) |
| 108 |
xout kdown, kup |
| 109 |
endop |
| 110 |
|
| 111 |
|
| 112 |
instr 1 |
| 113 |
;;GET SPEED AND ESTIMATE THE USER'S AGE |
| 114 |
kspeed invalue "speed" |
| 115 |
kyears = 20*kspeed*1.8^kspeed |
| 116 |
kmonths = 10^kspeed % 12 |
| 117 |
Sage sprintfk "Age estimated from your speed selection:\n%d years, %d months, %d days.", kyears, kmonths, 10^kspeed % 30 |
| 118 |
outvalue "age", Sage |
| 119 |
;;TURN ON TYPE-IN DISPLAY PROMPT |
| 120 |
konoff init 1 |
| 121 |
TypeIn konoff |
| 122 |
|
| 123 |
kchr, kkeydown sensekey |
| 124 |
|
| 125 |
;;CALL INSTR 10 IF SOMETHING NEW HAS BEEN TYPED |
| 126 |
kdwn, k0 KeyOnce kchr, kkeydown, kchr |
| 127 |
if kchr != 0 && kdwn == 1 then |
| 128 |
konoff = 0 |
| 129 |
event "i", 10, 0.1, kspeed*24, kchr |
| 130 |
endif |
| 131 |
endin |
| 132 |
|
| 133 |
instr 2 ;;CLEAR DISPLAYS WHEN NECESSARY |
| 134 |
|
| 135 |
outvalue "thanks", "" |
| 136 |
outvalue "youtyped", "" |
| 137 |
outvalue "showchar1", "" |
| 138 |
outvalue "ascii1", "" |
| 139 |
outvalue "showascii1", "" |
| 140 |
outvalue "asyouwill", "" |
| 141 |
outvalue "showchar2", "" |
| 142 |
outvalue "isavery", "" |
| 143 |
outvalue "theby", "" |
| 144 |
outvalue "showascii2", "" |
| 145 |
outvalue "isatotally", "" |
| 146 |
outvalue ".", "" |
| 147 |
outvalue "!", "" |
| 148 |
turnoff |
| 149 |
endin |
| 150 |
|
| 151 |
instr 10 |
| 152 |
event_i "i", 2, 0, .1 ;clear display first |
| 153 |
;;GENERATE A NOTE |
| 154 |
;PITCH AND ENVELOPE |
| 155 |
ipch RandInts_i 0, 45; 46 steps per octave |
| 156 |
ioct RandInts_i 0, 2; 3 octaves |
| 157 |
ifreq = 200 * 2^ioct * 2^(ipch/46); lowest pitch = 200 Hz |
| 158 |
iupdown RandInts_i 0, 1; 0 = gliss up, 1 = gliss down |
| 159 |
iglissrel1 RandInts_i 2, 5 |
| 160 |
iglissrel = 1/iglissrel1; gliss is 1/2, 1/3, 1/4 or 1/5 higher or lower |
| 161 |
iglissfreq = (iupdown == 0 ? ifreq + ifreq*iglissrel : ifreq - ifreq*iglissrel) |
| 162 |
idur = p3 * iglissrel * .2; duration of the tone |
| 163 |
afreq expseg ifreq, idur, iglissfreq; frequency with glissando |
| 164 |
ivol1 RandInts_i 2, 5 |
| 165 |
ivol = 0dbfs/ivol1; volume as 1/2, 1/3, 1/4 or 1/5 0dbfs |
| 166 |
aenv transeg ivol, idur, -iglissrel, 0, p3-idur, 0, 0; envelope |
| 167 |
;;FUNCTION TABLE AND REVERB |
| 168 |
ipercparts = 50; how many percent maximum change of partials in gimodel |
| 169 |
ipercstrs = 100; how many percent maximum change of strengths in gimodel |
| 170 |
iftparts ChangeTable gimodel, ipercparts, 3, 1; change the partial values according to ipercparts |
| 171 |
iftstrngs ChangeTable iftparts, ipercstrs, 3, 0; change the strenghtes of the partials |
| 172 |
iftsound ftgen 0, 0, 4096, 34, iftstrngs, 7, 1; calculate the resulting function table |
| 173 |
asound oscili aenv, afreq, iftsound |
| 174 |
iromsiz random .5, .9; choose random value for freeverb's roomsize |
| 175 |
aL, aR freeverb asound, asound, iromsiz, .5; apply reverb |
| 176 |
outs aL, aR ; send sound out |
| 177 |
|
| 178 |
|
| 179 |
;;GENERATE IMPORTANT INFORMATION FOR THE USER |
| 180 |
if gicount == 0 then; at the first time use these values |
| 181 |
ithanks = 11 |
| 182 |
isavery = 21 |
| 183 |
isatotally = 23 |
| 184 |
else ; at following times use random choices |
| 185 |
ithanks RandInts_i 11, 15 |
| 186 |
isavery RandInts_i 21, 28 |
| 187 |
isatotally RandInts_i 21, 28 |
| 188 |
endif |
| 189 |
gicount = gicount + 1; for knowing it's now the second time |
| 190 |
ichr = p4; ascii code for actual character |
| 191 |
ispeed = p3/36; speed |
| 192 |
Schar sprintf "%c", ichr; string with the typed character |
| 193 |
Sascii sprintf "%d", ichr; string with the ascii code |
| 194 |
|
| 195 |
Sthanks strget ithanks |
| 196 |
Sisavery strget isavery |
| 197 |
Sisavery strcat Sisavery, " character." |
| 198 |
|
| 199 |
Sisatotally strget isatotally |
| 200 |
if isatotally == isavery then |
| 201 |
Sisatotally strcat Sisatotally, " number, too." |
| 202 |
else |
| 203 |
Sisatotally strcat Sisatotally, " number." |
| 204 |
endif |
| 205 |
|
| 206 |
;;SHOW SEQUENTIAL OUTPUT |
| 207 |
ishow = ispeed/4 ;speed of progression |
| 208 |
;call i 20 at the different starting times |
| 209 |
S1 sprintf "i 20 %f 1 1 \"%s\"", ishow, Sthanks |
| 210 |
S2 sprintf "i 20 %f 1 2 \"\"", ishow*10 |
| 211 |
S3 sprintf "i 20 %f 1 3 \"%s\"", ishow*20, Schar |
| 212 |
S4 sprintf "i 20 %f 1 4 \"\"", ishow*35 |
| 213 |
S5 sprintf "i 20 %f 1 5 \"\"", ishow*50 |
| 214 |
S6 sprintf "i 20 %f 1 6 \"%s\"", ishow*60, Sascii |
| 215 |
S7 sprintf "i 20 %f 1 7 \"\"", ishow*65 |
| 216 |
S8 sprintf "i 20 %f 1 8 \"\"", ishow*90 |
| 217 |
S9 sprintf "i 20 %f 1 9 \"%s\"", ishow*150, Schar |
| 218 |
S10 sprintf "i 20 %f 1 10 \"%s\"", ishow*160, Sisavery |
| 219 |
S11 sprintf "i 20 %f 1 11 \"\"", ishow*180 |
| 220 |
S12 sprintf "i 20 %f 1 12 \"%s\"", ishow*210, Sascii |
| 221 |
S13 sprintf "i 20 %f 1 13 \"%s\"", ishow*230, Sisatotally |
| 222 |
scoreline_i S1 |
| 223 |
scoreline_i S2 |
| 224 |
scoreline_i S3 |
| 225 |
scoreline_i S4 |
| 226 |
scoreline_i S5 |
| 227 |
scoreline_i S6 |
| 228 |
scoreline_i S7 |
| 229 |
scoreline_i S8 |
| 230 |
scoreline_i S9 |
| 231 |
scoreline_i S10 |
| 232 |
scoreline_i S11 |
| 233 |
scoreline_i S12 |
| 234 |
scoreline_i S13 |
| 235 |
endin |
| 236 |
|
| 237 |
instr 20 ;send text |
| 238 |
ichannel = p4 |
| 239 |
Stext = p5 |
| 240 |
if ichannel == 1 then |
| 241 |
outvalue "thanks", Stext |
| 242 |
elseif ichannel == 2 then |
| 243 |
outvalue "youtyped", "You typed the character" |
| 244 |
elseif ichannel == 3 then |
| 245 |
outvalue "showchar1", Stext |
| 246 |
elseif ichannel == 4 then |
| 247 |
outvalue ".", "." |
| 248 |
elseif ichannel == 5 then |
| 249 |
outvalue "ascii1", "The ASCII code of this character is" |
| 250 |
elseif ichannel == 6 then |
| 251 |
outvalue "showascii1", Stext |
| 252 |
elseif ichannel == 7 then |
| 253 |
outvalue "!", "!" |
| 254 |
elseif ichannel == 8 then |
| 255 |
outvalue "asyouwill", "As you will certainly have heard by the unique tone which is presented here for the first time as the result of long research from all times and cultures at least on earth" |
| 256 |
elseif ichannel == 9 then |
| 257 |
outvalue "showchar2", Stext |
| 258 |
elseif ichannel == 10 then |
| 259 |
outvalue "isavery", Stext |
| 260 |
elseif ichannel == 11 then |
| 261 |
outvalue "theby", "The number, which for many reasons is specially related to this character, " |
| 262 |
elseif ichannel == 12 then |
| 263 |
outvalue "showascii2", Stext |
| 264 |
elseif ichannel == 13 then |
| 265 |
outvalue "isatotally", Stext |
| 266 |
endif |
| 267 |
turnoff |
| 268 |
endin |
| 269 |
|
| 270 |
</CsInstruments> |
| 271 |
<CsScore> |
| 272 |
i 2 0 1 |
| 273 |
i 1 0 36000; spend 10 hours in profund research and listen to the voice of the truth |
| 274 |
e |
| 275 |
</CsScore> |
| 276 |
</CsoundSynthesizer> |
| 277 |
<bsbPanel> |
| 278 |
<label>Widgets</label> |
| 279 |
<objectName/> |
| 280 |
<x>335</x> |
| 281 |
<y>145</y> |
| 282 |
<width>821</width> |
| 283 |
<height>593</height> |
| 284 |
<visible>true</visible> |
| 285 |
<uuid/> |
| 286 |
<bgcolor mode="background"> |
| 287 |
<r>170</r> |
| 288 |
<g>170</g> |
| 289 |
<b>127</b> |
| 290 |
</bgcolor> |
| 291 |
<bsbObject version="2" type="BSBDisplay"> |
| 292 |
<objectName>showascii1</objectName> |
| 293 |
<x>359</x> |
| 294 |
<y>326</y> |
| 295 |
<width>49</width> |
| 296 |
<height>33</height> |
| 297 |
<uuid>{a55e0ce0-8c52-4047-bf13-0b1ba20e7fab}</uuid> |
| 298 |
<visible>true</visible> |
| 299 |
<midichan>0</midichan> |
| 300 |
<midicc>-3</midicc> |
| 301 |
<label>104</label> |
| 302 |
<alignment>left</alignment> |
| 303 |
<font>Lucida Grande</font> |
| 304 |
<fontsize>18</fontsize> |
| 305 |
<precision>3</precision> |
| 306 |
<color> |
| 307 |
<r>0</r> |
| 308 |
<g>0</g> |
| 309 |
<b>0</b> |
| 310 |
</color> |
| 311 |
<bgcolor mode="nobackground"> |
| 312 |
<r>255</r> |
| 313 |
<g>255</g> |
| 314 |
<b>255</b> |
| 315 |
</bgcolor> |
| 316 |
<bordermode>noborder</bordermode> |
| 317 |
<borderradius>1</borderradius> |
| 318 |
<borderwidth>1</borderwidth> |
| 319 |
</bsbObject> |
| 320 |
<bsbObject version="2" type="BSBDisplay"> |
| 321 |
<objectName>showchar1</objectName> |
| 322 |
<x>359</x> |
| 323 |
<y>288</y> |
| 324 |
<width>31</width> |
| 325 |
<height>30</height> |
| 326 |
<uuid>{8532d68c-d5df-4af5-b42c-112356c3b1c6}</uuid> |
| 327 |
<visible>true</visible> |
| 328 |
<midichan>0</midichan> |
| 329 |
<midicc>-3</midicc> |
| 330 |
<label>h</label> |
| 331 |
<alignment>left</alignment> |
| 332 |
<font>Lucida Grande</font> |
| 333 |
<fontsize>18</fontsize> |
| 334 |
<precision>3</precision> |
| 335 |
<color> |
| 336 |
<r>0</r> |
| 337 |
<g>0</g> |
| 338 |
<b>0</b> |
| 339 |
</color> |
| 340 |
<bgcolor mode="nobackground"> |
| 341 |
<r>255</r> |
| 342 |
<g>255</g> |
| 343 |
<b>255</b> |
| 344 |
</bgcolor> |
| 345 |
<bordermode>noborder</bordermode> |
| 346 |
<borderradius>1</borderradius> |
| 347 |
<borderwidth>1</borderwidth> |
| 348 |
</bsbObject> |
| 349 |
<bsbObject version="2" type="BSBDisplay"> |
| 350 |
<objectName>typein1</objectName> |
| 351 |
<x>119</x> |
| 352 |
<y>184</y> |
| 353 |
<width>102</width> |
| 354 |
<height>49</height> |
| 355 |
<uuid>{46574579-d664-4984-87d8-c253e399baac}</uuid> |
| 356 |
<visible>true</visible> |
| 357 |
<midichan>0</midichan> |
| 358 |
<midicc>-3</midicc> |
| 359 |
<label/> |
| 360 |
<alignment>right</alignment> |
| 361 |
<font>Lucida Grande</font> |
| 362 |
<fontsize>30</fontsize> |
| 363 |
<precision>3</precision> |
| 364 |
<color> |
| 365 |
<r>0</r> |
| 366 |
<g>0</g> |
| 367 |
<b>0</b> |
| 368 |
</color> |
| 369 |
<bgcolor mode="nobackground"> |
| 370 |
<r>255</r> |
| 371 |
<g>255</g> |
| 372 |
<b>255</b> |
| 373 |
</bgcolor> |
| 374 |
<bordermode>noborder</bordermode> |
| 375 |
<borderradius>1</borderradius> |
| 376 |
<borderwidth>1</borderwidth> |
| 377 |
</bsbObject> |
| 378 |
<bsbObject version="2" type="BSBDisplay"> |
| 379 |
<objectName>typein2</objectName> |
| 380 |
<x>223</x> |
| 381 |
<y>183</y> |
| 382 |
<width>103</width> |
| 383 |
<height>49</height> |
| 384 |
<uuid>{87b2b136-82f1-40b7-9039-e8e77395e512}</uuid> |
| 385 |
<visible>true</visible> |
| 386 |
<midichan>0</midichan> |
| 387 |
<midicc>-3</midicc> |
| 388 |
<label/> |
| 389 |
<alignment>left</alignment> |
| 390 |
<font>Lucida Grande</font> |
| 391 |
<fontsize>30</fontsize> |
| 392 |
<precision>3</precision> |
| 393 |
<color> |
| 394 |
<r>0</r> |
| 395 |
<g>0</g> |
| 396 |
<b>0</b> |
| 397 |
</color> |
| 398 |
<bgcolor mode="nobackground"> |
| 399 |
<r>255</r> |
| 400 |
<g>255</g> |
| 401 |
<b>255</b> |
| 402 |
</bgcolor> |
| 403 |
<bordermode>noborder</bordermode> |
| 404 |
<borderradius>1</borderradius> |
| 405 |
<borderwidth>1</borderwidth> |
| 406 |
</bsbObject> |
| 407 |
<bsbObject version="2" type="BSBDisplay"> |
| 408 |
<objectName>thanks</objectName> |
| 409 |
<x>62</x> |
| 410 |
<y>242</y> |
| 411 |
<width>394</width> |
| 412 |
<height>33</height> |
| 413 |
<uuid>{0752771e-37c3-49e2-b666-f2b41a1c5bcf}</uuid> |
| 414 |
<visible>true</visible> |
| 415 |
<midichan>0</midichan> |
| 416 |
<midicc>0</midicc> |
| 417 |
<label>Thank you!</label> |
| 418 |
<alignment>center</alignment> |
| 419 |
<font>DejaVu Sans</font> |
| 420 |
<fontsize>18</fontsize> |
| 421 |
<precision>3</precision> |
| 422 |
<color> |
| 423 |
<r>0</r> |
| 424 |
<g>0</g> |
| 425 |
<b>0</b> |
| 426 |
</color> |
| 427 |
<bgcolor mode="nobackground"> |
| 428 |
<r>255</r> |
| 429 |
<g>255</g> |
| 430 |
<b>255</b> |
| 431 |
</bgcolor> |
| 432 |
<bordermode>noborder</bordermode> |
| 433 |
<borderradius>1</borderradius> |
| 434 |
<borderwidth>1</borderwidth> |
| 435 |
</bsbObject> |
| 436 |
<bsbObject version="2" type="BSBDisplay"> |
| 437 |
<objectName>youtyped</objectName> |
| 438 |
<x>79</x> |
| 439 |
<y>290</y> |
| 440 |
<width>275</width> |
| 441 |
<height>30</height> |
| 442 |
<uuid>{69c3c6d8-c4c0-4b64-a861-35735d0fcae0}</uuid> |
| 443 |
<visible>true</visible> |
| 444 |
<midichan>0</midichan> |
| 445 |
<midicc>-3</midicc> |
| 446 |
<label>You typed the character</label> |
| 447 |
<alignment>right</alignment> |
| 448 |
<font>Lucida Grande</font> |
| 449 |
<fontsize>14</fontsize> |
| 450 |
<precision>3</precision> |
| 451 |
<color> |
| 452 |
<r>0</r> |
| 453 |
<g>0</g> |
| 454 |
<b>0</b> |
| 455 |
</color> |
| 456 |
<bgcolor mode="nobackground"> |
| 457 |
<r>255</r> |
| 458 |
<g>255</g> |
| 459 |
<b>255</b> |
| 460 |
</bgcolor> |
| 461 |
<bordermode>noborder</bordermode> |
| 462 |
<borderradius>1</borderradius> |
| 463 |
<borderwidth>1</borderwidth> |
| 464 |
</bsbObject> |
| 465 |
<bsbObject version="2" type="BSBDisplay"> |
| 466 |
<objectName>asyouwill</objectName> |
| 467 |
<x>65</x> |
| 468 |
<y>374</y> |
| 469 |
<width>391</width> |
| 470 |
<height>76</height> |
| 471 |
<uuid>{027dd6d8-79fe-4004-a52b-9205a9a8d176}</uuid> |
| 472 |
<visible>true</visible> |
| 473 |
<midichan>0</midichan> |
| 474 |
<midicc>-3</midicc> |
| 475 |
<label>As you will certainly have heard by the unique tone which is presented here for the first time as the result of long research from all times and cultures at least on earth</label> |
| 476 |
<alignment>center</alignment> |
| 477 |
<font>Lucida Grande</font> |
| 478 |
<fontsize>14</fontsize> |
| 479 |
<precision>3</precision> |
| 480 |
<color> |
| 481 |
<r>0</r> |
| 482 |
<g>0</g> |
| 483 |
<b>0</b> |
| 484 |
</color> |
| 485 |
<bgcolor mode="nobackground"> |
| 486 |
<r>255</r> |
| 487 |
<g>255</g> |
| 488 |
<b>255</b> |
| 489 |
</bgcolor> |
| 490 |
<bordermode>noborder</bordermode> |
| 491 |
<borderradius>1</borderradius> |
| 492 |
<borderwidth>1</borderwidth> |
| 493 |
</bsbObject> |
| 494 |
<bsbObject version="2" type="BSBDisplay"> |
| 495 |
<objectName>ascii1</objectName> |
| 496 |
<x>82</x> |
| 497 |
<y>328</y> |
| 498 |
<width>275</width> |
| 499 |
<height>30</height> |
| 500 |
<uuid>{1b8bc0dc-fc3c-4f85-b5a0-f041d7b5db79}</uuid> |
| 501 |
<visible>true</visible> |
| 502 |
<midichan>0</midichan> |
| 503 |
<midicc>-3</midicc> |
| 504 |
<label>The ASCII code of this character is</label> |
| 505 |
<alignment>right</alignment> |
| 506 |
<font>Lucida Grande</font> |
| 507 |
<fontsize>14</fontsize> |
| 508 |
<precision>3</precision> |
| 509 |
<color> |
| 510 |
<r>0</r> |
| 511 |
<g>0</g> |
| 512 |
<b>0</b> |
| 513 |
</color> |
| 514 |
<bgcolor mode="nobackground"> |
| 515 |
<r>255</r> |
| 516 |
<g>255</g> |
| 517 |
<b>255</b> |
| 518 |
</bgcolor> |
| 519 |
<bordermode>noborder</bordermode> |
| 520 |
<borderradius>1</borderradius> |
| 521 |
<borderwidth>1</borderwidth> |
| 522 |
</bsbObject> |
| 523 |
<bsbObject version="2" type="BSBDisplay"> |
| 524 |
<objectName>showchar2</objectName> |
| 525 |
<x>96</x> |
| 526 |
<y>451</y> |
| 527 |
<width>38</width> |
| 528 |
<height>30</height> |
| 529 |
<uuid>{3dc69a6f-7567-4667-ad9e-c938ae55d612}</uuid> |
| 530 |
<visible>true</visible> |
| 531 |
<midichan>0</midichan> |
| 532 |
<midicc>-3</midicc> |
| 533 |
<label/> |
| 534 |
<alignment>right</alignment> |
| 535 |
<font>Lucida Grande</font> |
| 536 |
<fontsize>18</fontsize> |
| 537 |
<precision>3</precision> |
| 538 |
<color> |
| 539 |
<r>0</r> |
| 540 |
<g>0</g> |
| 541 |
<b>0</b> |
| 542 |
</color> |
| 543 |
<bgcolor mode="nobackground"> |
| 544 |
<r>255</r> |
| 545 |
<g>255</g> |
| 546 |
<b>255</b> |
| 547 |
</bgcolor> |
| 548 |
<bordermode>noborder</bordermode> |
| 549 |
<borderradius>1</borderradius> |
| 550 |
<borderwidth>1</borderwidth> |
| 551 |
</bsbObject> |
| 552 |
<bsbObject version="2" type="BSBDisplay"> |
| 553 |
<objectName>isavery</objectName> |
| 554 |
<x>137</x> |
| 555 |
<y>453</y> |
| 556 |
<width>275</width> |
| 557 |
<height>30</height> |
| 558 |
<uuid>{78ff5969-7917-4dba-afe9-507d6124be33}</uuid> |
| 559 |
<visible>true</visible> |
| 560 |
<midichan>0</midichan> |
| 561 |
<midicc>-3</midicc> |
| 562 |
<label/> |
| 563 |
<alignment>left</alignment> |
| 564 |
<font>Lucida Grande</font> |
| 565 |
<fontsize>14</fontsize> |
| 566 |
<precision>3</precision> |
| 567 |
<color> |
| 568 |
<r>0</r> |
| 569 |
<g>0</g> |
| 570 |
<b>0</b> |
| 571 |
</color> |
| 572 |
<bgcolor mode="nobackground"> |
| 573 |
<r>255</r> |
| 574 |
<g>255</g> |
| 575 |
<b>255</b> |
| 576 |
</bgcolor> |
| 577 |
<bordermode>noborder</bordermode> |
| 578 |
<borderradius>1</borderradius> |
| 579 |
<borderwidth>1</borderwidth> |
| 580 |
</bsbObject> |
| 581 |
<bsbObject version="2" type="BSBDisplay"> |
| 582 |
<objectName>isatotally</objectName> |
| 583 |
<x>139</x> |
| 584 |
<y>546</y> |
| 585 |
<width>275</width> |
| 586 |
<height>30</height> |
| 587 |
<uuid>{2b58f46d-0510-439e-a835-9fed0d30f81e}</uuid> |
| 588 |
<visible>true</visible> |
| 589 |
<midichan>0</midichan> |
| 590 |
<midicc>-3</midicc> |
| 591 |
<label/> |
| 592 |
<alignment>left</alignment> |
| 593 |
<font>Lucida Grande</font> |
| 594 |
<fontsize>14</fontsize> |
| 595 |
<precision>3</precision> |
| 596 |
<color> |
| 597 |
<r>0</r> |
| 598 |
<g>0</g> |
| 599 |
<b>0</b> |
| 600 |
</color> |
| 601 |
<bgcolor mode="nobackground"> |
| 602 |
<r>255</r> |
| 603 |
<g>255</g> |
| 604 |
<b>255</b> |
| 605 |
</bgcolor> |
| 606 |
<bordermode>noborder</bordermode> |
| 607 |
<borderradius>1</borderradius> |
| 608 |
<borderwidth>1</borderwidth> |
| 609 |
</bsbObject> |
| 610 |
<bsbObject version="2" type="BSBDisplay"> |
| 611 |
<objectName>theby</objectName> |
| 612 |
<x>66</x> |
| 613 |
<y>492</y> |
| 614 |
<width>382</width> |
| 615 |
<height>47</height> |
| 616 |
<uuid>{ca22476a-8dc2-4288-912f-4cfa3cf1eb6f}</uuid> |
| 617 |
<visible>true</visible> |
| 618 |
<midichan>0</midichan> |
| 619 |
<midicc>-3</midicc> |
| 620 |
<label/> |
| 621 |
<alignment>left</alignment> |
| 622 |
<font>Lucida Grande</font> |
| 623 |
<fontsize>14</fontsize> |
| 624 |
<precision>3</precision> |
| 625 |
<color> |
| 626 |
<r>0</r> |
| 627 |
<g>0</g> |
| 628 |
<b>0</b> |
| 629 |
</color> |
| 630 |
<bgcolor mode="nobackground"> |
| 631 |
<r>255</r> |
| 632 |
<g>255</g> |
| 633 |
<b>255</b> |
| 634 |
</bgcolor> |
| 635 |
<bordermode>noborder</bordermode> |
| 636 |
<borderradius>1</borderradius> |
| 637 |
<borderwidth>1</borderwidth> |
| 638 |
</bsbObject> |
| 639 |
<bsbObject version="2" type="BSBDisplay"> |
| 640 |
<objectName>showascii2</objectName> |
| 641 |
<x>78</x> |
| 642 |
<y>544</y> |
| 643 |
<width>59</width> |
| 644 |
<height>33</height> |
| 645 |
<uuid>{a9301c1b-f6c8-4a21-af60-f8ee6557ada2}</uuid> |
| 646 |
<visible>true</visible> |
| 647 |
<midichan>0</midichan> |
| 648 |
<midicc>-3</midicc> |
| 649 |
<label/> |
| 650 |
<alignment>right</alignment> |
| 651 |
<font>Lucida Grande</font> |
| 652 |
<fontsize>18</fontsize> |
| 653 |
<precision>3</precision> |
| 654 |
<color> |
| 655 |
<r>0</r> |
| 656 |
<g>0</g> |
| 657 |
<b>0</b> |
| 658 |
</color> |
| 659 |
<bgcolor mode="nobackground"> |
| 660 |
<r>255</r> |
| 661 |
<g>255</g> |
| 662 |
<b>255</b> |
| 663 |
</bgcolor> |
| 664 |
<bordermode>noborder</bordermode> |
| 665 |
<borderradius>1</borderradius> |
| 666 |
<borderwidth>1</borderwidth> |
| 667 |
</bsbObject> |
| 668 |
<bsbObject version="2" type="BSBDisplay"> |
| 669 |
<objectName>.</objectName> |
| 670 |
<x>375</x> |
| 671 |
<y>290</y> |
| 672 |
<width>41</width> |
| 673 |
<height>30</height> |
| 674 |
<uuid>{43373687-936d-468d-9260-f7396ab1061c}</uuid> |
| 675 |
<visible>true</visible> |
| 676 |
<midichan>0</midichan> |
| 677 |
<midicc>-3</midicc> |
| 678 |
<label>.</label> |
| 679 |
<alignment>left</alignment> |
| 680 |
<font>Lucida Grande</font> |
| 681 |
<fontsize>14</fontsize> |
| 682 |
<precision>3</precision> |
| 683 |
<color> |
| 684 |
<r>0</r> |
| 685 |
<g>0</g> |
| 686 |
<b>0</b> |
| 687 |
</color> |
| 688 |
<bgcolor mode="nobackground"> |
| 689 |
<r>255</r> |
| 690 |
<g>255</g> |
| 691 |
<b>255</b> |
| 692 |
</bgcolor> |
| 693 |
<bordermode>noborder</bordermode> |
| 694 |
<borderradius>1</borderradius> |
| 695 |
<borderwidth>1</borderwidth> |
| 696 |
</bsbObject> |
| 697 |
<bsbObject version="2" type="BSBDisplay"> |
| 698 |
<objectName>!</objectName> |
| 699 |
<x>393</x> |
| 700 |
<y>328</y> |
| 701 |
<width>41</width> |
| 702 |
<height>30</height> |
| 703 |
<uuid>{81764181-1f22-48a4-9a9a-293419d282b1}</uuid> |
| 704 |
<visible>true</visible> |
| 705 |
<midichan>0</midichan> |
| 706 |
<midicc>-3</midicc> |
| 707 |
<label>!</label> |
| 708 |
<alignment>left</alignment> |
| 709 |
<font>Lucida Grande</font> |
| 710 |
<fontsize>14</fontsize> |
| 711 |
<precision>3</precision> |
| 712 |
<color> |
| 713 |
<r>0</r> |
| 714 |
<g>0</g> |
| 715 |
<b>0</b> |
| 716 |
</color> |
| 717 |
<bgcolor mode="nobackground"> |
| 718 |
<r>255</r> |
| 719 |
<g>255</g> |
| 720 |
<b>255</b> |
| 721 |
</bgcolor> |
| 722 |
<bordermode>noborder</bordermode> |
| 723 |
<borderradius>1</borderradius> |
| 724 |
<borderwidth>1</borderwidth> |
| 725 |
</bsbObject> |
| 726 |
<bsbObject version="2" type="BSBLabel"> |
| 727 |
<objectName/> |
| 728 |
<x>49</x> |
| 729 |
<y>16</y> |
| 730 |
<width>721</width> |
| 731 |
<height>41</height> |
| 732 |
<uuid>{041fe329-d209-4e3d-ad7a-56e9abf09631}</uuid> |
| 733 |
<visible>true</visible> |
| 734 |
<midichan>0</midichan> |
| 735 |
<midicc>-3</midicc> |
| 736 |
<label>Get the ASCII Code of a Character</label> |
| 737 |
<alignment>center</alignment> |
| 738 |
<font>Lucida Grande</font> |
| 739 |
<fontsize>22</fontsize> |
| 740 |
<precision>3</precision> |
| 741 |
<color> |
| 742 |
<r>0</r> |
| 743 |
<g>0</g> |
| 744 |
<b>0</b> |
| 745 |
</color> |
| 746 |
<bgcolor mode="nobackground"> |
| 747 |
<r>255</r> |
| 748 |
<g>255</g> |
| 749 |
<b>255</b> |
| 750 |
</bgcolor> |
| 751 |
<bordermode>noborder</bordermode> |
| 752 |
<borderradius>1</borderradius> |
| 753 |
<borderwidth>1</borderwidth> |
| 754 |
</bsbObject> |
| 755 |
<bsbObject version="2" type="BSBLabel"> |
| 756 |
<objectName/> |
| 757 |
<x>48</x> |
| 758 |
<y>55</y> |
| 759 |
<width>722</width> |
| 760 |
<height>58</height> |
| 761 |
<uuid>{6a149d69-516e-49ac-8253-16e048b92ceb}</uuid> |
| 762 |
<visible>true</visible> |
| 763 |
<midichan>0</midichan> |
| 764 |
<midicc>-3</midicc> |
| 765 |
<label>And learn a lot more about the symbolic function of characters and numbers. |
| 766 |
This can be very important for your future life.</label> |
| 767 |
<alignment>center</alignment> |
| 768 |
<font>Lucida Grande</font> |
| 769 |
<fontsize>18</fontsize> |
| 770 |
<precision>3</precision> |
| 771 |
<color> |
| 772 |
<r>0</r> |
| 773 |
<g>0</g> |
| 774 |
<b>0</b> |
| 775 |
</color> |
| 776 |
<bgcolor mode="nobackground"> |
| 777 |
<r>255</r> |
| 778 |
<g>255</g> |
| 779 |
<b>255</b> |
| 780 |
</bgcolor> |
| 781 |
<bordermode>noborder</bordermode> |
| 782 |
<borderradius>1</borderradius> |
| 783 |
<borderwidth>1</borderwidth> |
| 784 |
</bsbObject> |
| 785 |
<bsbObject version="2" type="BSBLabel"> |
| 786 |
<objectName/> |
| 787 |
<x>47</x> |
| 788 |
<y>112</y> |
| 789 |
<width>724</width> |
| 790 |
<height>48</height> |
| 791 |
<uuid>{98fcf679-a848-4a34-996b-9ce180492cb6}</uuid> |
| 792 |
<visible>true</visible> |
| 793 |
<midichan>0</midichan> |
| 794 |
<midicc>-3</midicc> |
| 795 |
<label>First, select your personal speed at the slider on the right. |
| 796 |
Then, press the Start button.</label> |
| 797 |
<alignment>center</alignment> |
| 798 |
<font>Lucida Grande</font> |
| 799 |
<fontsize>14</fontsize> |
| 800 |
<precision>3</precision> |
| 801 |
<color> |
| 802 |
<r>0</r> |
| 803 |
<g>0</g> |
| 804 |
<b>0</b> |
| 805 |
</color> |
| 806 |
<bgcolor mode="nobackground"> |
| 807 |
<r>255</r> |
| 808 |
<g>255</g> |
| 809 |
<b>255</b> |
| 810 |
</bgcolor> |
| 811 |
<bordermode>noborder</bordermode> |
| 812 |
<borderradius>1</borderradius> |
| 813 |
<borderwidth>1</borderwidth> |
| 814 |
</bsbObject> |
| 815 |
<bsbObject version="2" type="BSBHSlider"> |
| 816 |
<objectName>speed</objectName> |
| 817 |
<x>514</x> |
| 818 |
<y>222</y> |
| 819 |
<width>259</width> |
| 820 |
<height>27</height> |
| 821 |
<uuid>{05335d5c-63bc-43c9-80fb-d041d424167b}</uuid> |
| 822 |
<visible>true</visible> |
| 823 |
<midichan>0</midichan> |
| 824 |
<midicc>0</midicc> |
| 825 |
<minimum>0.10000000</minimum> |
| 826 |
<maximum>2.00000000</maximum> |
| 827 |
<value>0.74555985</value> |
| 828 |
<mode>lin</mode> |
| 829 |
<mouseControl act="jump">continuous</mouseControl> |
| 830 |
<resolution>-1.00000000</resolution> |
| 831 |
<randomizable group="0">false</randomizable> |
| 832 |
</bsbObject> |
| 833 |
<bsbObject version="2" type="BSBLabel"> |
| 834 |
<objectName/> |
| 835 |
<x>513</x> |
| 836 |
<y>192</y> |
| 837 |
<width>260</width> |
| 838 |
<height>25</height> |
| 839 |
<uuid>{79ee3261-6f9b-4714-9126-bba72b4d5d3b}</uuid> |
| 840 |
<visible>true</visible> |
| 841 |
<midichan>0</midichan> |
| 842 |
<midicc>-3</midicc> |
| 843 |
<label>Select Your Personal Speed of Messages</label> |
| 844 |
<alignment>center</alignment> |
| 845 |
<font>Lucida Grande</font> |
| 846 |
<fontsize>12</fontsize> |
| 847 |
<precision>3</precision> |
| 848 |
<color> |
| 849 |
<r>0</r> |
| 850 |
<g>0</g> |
| 851 |
<b>0</b> |
| 852 |
</color> |
| 853 |
<bgcolor mode="nobackground"> |
| 854 |
<r>255</r> |
| 855 |
<g>255</g> |
| 856 |
<b>255</b> |
| 857 |
</bgcolor> |
| 858 |
<bordermode>noborder</bordermode> |
| 859 |
<borderradius>1</borderradius> |
| 860 |
<borderwidth>1</borderwidth> |
| 861 |
</bsbObject> |
| 862 |
<bsbObject version="2" type="BSBDisplay"> |
| 863 |
<objectName>age</objectName> |
| 864 |
<x>514</x> |
| 865 |
<y>277</y> |
| 866 |
<width>259</width> |
| 867 |
<height>97</height> |
| 868 |
<uuid>{e0e9bba2-2adf-4981-af08-9bd45d2be198}</uuid> |
| 869 |
<visible>true</visible> |
| 870 |
<midichan>0</midichan> |
| 871 |
<midicc>-3</midicc> |
| 872 |
<label>Age estimated from your speed selection: |
| 873 |
23 years, 6 months, 6 days.</label> |
| 874 |
<alignment>center</alignment> |
| 875 |
<font>Lucida Grande</font> |
| 876 |
<fontsize>14</fontsize> |
| 877 |
<precision>3</precision> |
| 878 |
<color> |
| 879 |
<r>0</r> |
| 880 |
<g>0</g> |
| 881 |
<b>0</b> |
| 882 |
</color> |
| 883 |
<bgcolor mode="nobackground"> |
| 884 |
<r>255</r> |
| 885 |
<g>255</g> |
| 886 |
<b>255</b> |
| 887 |
</bgcolor> |
| 888 |
<bordermode>noborder</bordermode> |
| 889 |
<borderradius>1</borderradius> |
| 890 |
<borderwidth>1</borderwidth> |
| 891 |
</bsbObject> |
| 892 |
<bsbObject version="2" type="BSBButton"> |
| 893 |
<objectName>_Play</objectName> |
| 894 |
<x>513</x> |
| 895 |
<y>373</y> |
| 896 |
<width>261</width> |
| 897 |
<height>28</height> |
| 898 |
<uuid>{0ad23d88-6832-4d56-8ca4-b3ecac93a75e}</uuid> |
| 899 |
<visible>true</visible> |
| 900 |
<midichan>0</midichan> |
| 901 |
<midicc>-3</midicc> |
| 902 |
<type>value</type> |
| 903 |
<pressedValue>1.00000000</pressedValue> |
| 904 |
<stringvalue/> |
| 905 |
<text>Start</text> |
| 906 |
<image>/</image> |
| 907 |
<eventLine>i1 0 10</eventLine> |
| 908 |
<latch>false</latch> |
| 909 |
<latched>false</latched> |
| 910 |
</bsbObject> |
| 911 |
</bsbPanel> |
| 912 |
<bsbPresets> |
| 913 |
</bsbPresets> |
| 914 |
<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="360" y="248" width="596" height="322" visible="false" loopStart="0" loopEnd="0"> </EventPanel> |