[net.micro.mac] Music Editor: Sample MacApp Program

mss@dartvax.UUCP (Mark Sherman) (11/02/85)

We have been playing with MacApp for a while now and I would like to share
some of the things that students have written. What follows was a quick
project that implements an editor for a new kind of resource, which we call
a music resource. The goal is simple: provide a simple editor for Sound
Driver records. As a first cut, only square wave synthesis is supported. One
"edits" the musical piece using the MUSIC program and saves the resource in
a designated file. When finished, one can use one's favorite resource
manpulator to move the music resource into the desired document/application.
To use the resource in one's program, one loads the resource, locks it, and
passes the appropriately dereferenced handle to the sound driver.

Comments on the program are solicited (see the "About..." selection).
(For INFO-MAC, the program follows; for Usenet, I posted the program
on the soon-to-become defunct net.sources.mac. And we're not even going to
make a buck on it!)