Write the Squeak code to draw a box, where you play C in the fourth octave during the first line, D in the second, E in the third, and F in the fourth – as a clarinet. |
Lines of the box. This is much simpler than you're interpeting it as. A box has four sides. Draw a line, play a note, draw a second line, draw the second note, etc. 1.0 seconds duration. Mark Guzdial |
p. 246 in the book: "World doOneCycle" Mark Guzdial |