On Mon 25 Mar 2002 at 08:36PM +1100, Sue Blake wrote: > I'd like to be able to play abc tunes on a PC speaker under unix > (FreeBSD in particular) so that, among other things, I can do some > simple pitch checking when transcribing them on my old laptop or PC. > > I use the PC speaker to give hideous alerts when unusual system > events occur, and I usually write the tunes directly in the > BASIC-like format, as explained here > >http://www.FreeBSD.org/cgi/man.cgi?query=speaker&apropos=0&sektion=0&manpath=FreeBSD+4.5-RELEASE&format=html > > Is there any software that will head me in this general direction, > even if I have to fiddle with it a bit? >
If you are prepared to do some work, you might perhaps have a look at 'midiplay', which I wrote to play MIDI files through a PC speaker. To get this working with your speaker you would need to remove the 'beep' routine (currently written in assembly) and create your own. I notice that my Linux system does not have a /dev/speaker. If this device is specific to FreeBSD, the amount of software that uses it may well be pretty limited. James Allwright To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
