Sound Library Overview
The Sound Library
The tunes library complements the isdraw and asdraw packages by allowing the programmer to play a tune (or several tunes) in response to either a tick event or a key event. Our goal is to show students how a completely different kind of information can be represented as data and how musical sequences can be composed into tunes. The isdraw and isdraw libraries extend the functionality of the earlier idraw and adraw libraries.
On each tick, the programmer adds to the
At the end of the game (when either the
In the Sound Library we added the handling of mouse actions. We expect that the mouse clicked action will be used quite often. We have not experimetned with other mouse actions: entered, dragged, pressed, released, exited. We welcome comments on this functionality and examples of the use of these events.
|last updated on Wed Oct 27 17:27:07 EDT 2010||generated with DrRacket|