Nathan Schneider wrote:
I'm trying to write a simple musical program for macosx terminal (haven't yet graduated to GUI) and not sure how to work the sounds out, especially since the included crt unit's "sound" doesn't seem to work. Basically, I'm trying to get some pitches specified as notes. Should I be approaching this by writing directly to the sound card somehow, or else maybe using sound files, or somewhere in between? any help or nudges in one direction or another would be greatly appreciated. thanks.
For using audio on Mac OS X using "Carbon" and "GPCPInterfaces" see the following docs from Apple: <http://developer.apple.com/technotes/tn/tn1198.html> <http://developer.apple.com/documentation/mac/Sound/Sound-2.html> <http://developer.apple.com/documentation/QuickTime/INMAC/SOUND/ imsoundinput.2.htm> Other docs from Apple: <http://developer.apple.com/audio/macosxaudio.html> <http://developer.apple.com/audio/quicktimeaudio.html> Detailed questions can be asked on the "maspascal" mailing list, see <http://www.pascal-central.com/maillist.html>. Regards, Adriaan van Os