OCR Output

34 3 SEEING, HEARING, AND TOUCHING COMPUTER ALGORITHMS...

Code Generator x
Level - Il.level- Ill.level
Save as
= > 7 Di
3 on SRE void main)
{
lt Clete | | us
Ol Deke TIEke 64 vaut DE
es Numbering: forli= D:ic ie]
a n
a int
fa(jzNjc 2.ire)
{
]
zz for( - 0; )< 4;j++)
|
f }
5 )
Ol forfi=N:ie Hier)
Dt Dee ÜEke {

A''T and 'd "keys set the } i
coespandent cycle length
- Space change lo 3 co-equal
-——T cycle.
"A" exit from to

Mir
Ol Deke 5 [JEke

Clear Fields OK

Figure 3.2. The dialogue box of the code_creator module

As aresult, a piano sound will be heard every time when the nucleus of a loop
is traversed. The outer loops will be audible in a lower pitch and the inner ones ina
higher pitch. Additionally, by applying different length delays in the case of the loops
situated on different levels, the result will be that the outer loops will have smaller
frequency sound sequences than the inner ones. For instance, the above-presented
loop skeleton will be audible as it follows (do, fa, and si sounds have been built
into the I., II. and III. level loops; the ‘_’ characters represent the lengths of pauses):

do fa fa fa fa fa fa fado fa fa fa fa fa fa fado do do do do

When the algorithm has loops in both branches of a selection, we have “parallel
loops” at the same level. So, depending on the condition, we will hear them by turns.