home *** CD-ROM | disk | FTP | other *** search
- NOTE: This document only describes the Sun/Solaris specific
- information you need to know. Read README as well.
-
- Using MikMod with under SunOS, Solaris, NetBSD or OpenBSD
- ---------------------------------------------------------
-
- 0. Description
-
- The above mentioned Unices use the same interface to the audio device. The
- MikMod driver for this interface is the Sun driver. It was coded by Valtteri
- Vuorikoski <vuori@sci.fi> and updated to MikMod 3 by Tor Norbye
- <tor@cs.stanford.edu>, and has been modified to work under NetBSD and OpenBSD
- by the current maintainer.
-
- 1. General notes
-
- This driver works with old sound hardware using 8 KHz mono ulaw, and with
- modern hardware using pcm mono or stereo at any frequency. If your settings
- aren't supported by the audio device, sound initialization will fail. Refer
- to the audio(7) man page for more details on your audio hardware and its
- capabilities.
-
- To force 8KHz mono ulaw sound, use the following options :
- mikmod -8 -m -f8000
-
- 2. Sun specific notes
-
- On Sun workstations, you might be interested in using the --enable-headphone
- switch to configure to force output on the headphones, since plugging the
- headphones is not enough.
-
- If you can't get MikMod to work with your hardware, you can use the raw disk
- writer first :
- mikmod -d2 -f8000 -m -8
- (assuming the raw driver is driver number 2, get its number from 'mikmod -l'
- output) and send the music.raw file to /dev/audio with sox, with the following
- command line :
- sox -t raw -c 1 -r 8000 -u -b music.raw -t raw -U -r 8000 -c 1 -b /dev/audio
-
- Or if you played in 16 bit stereo, you can convert the file to a .au file :
- audioconvert -o music.au -f sun \
- -i rate=44.1k,channels=stereo,encoding=linear16 music.raw
- and play the file :
- audioplay -p headphone -v 10 music.au
-
- 3. NetBSD specific notes
-
- Although the code should work fine under NetBSD, I don't know of any MikMod
- user running NetBSD. If you're running NetBSD, please tell me if MikMod works
- correctly or not !
-
- 4. OpenBSD specific notes
-
- The pause does not work correctly under OpenBSD, and perhaps NetBSD as well.
- Fixing this requires in-depth changes in MikMod, but hopefully this will be
- fixed in the next release. I'm also waiting for OpenBSD 2.4...
-
- 5. Legal notes
-
- Parts of the Sun driver have their roots in the SOX package by Lance Norskog
- and Jef Poskanzer, which include the following license :
-
- Sound Tools may be used for any purpose. Source distributions must include
- the copyright notices. Binary distributions must include acknowledgements
- to the creators.
- The files I wrote are copyright Lance Norskog.
- The contributed files are copyright by their respective authors.
-
- ** Copyright (C) 1989 by Jef Poskanzer.
- **
- ** Permission to use, copy, modify, and distribute this software and its
- ** documentation for any purpose and without fee is hereby granted, provided
- ** that the above copyright notice appear in all copies and that both that
- ** copyright notice and this permission notice appear in supporting
- ** documentation. This software is provided "as is" without express or
- ** implied warranty.
-
- Fix to load_xm.c to play correctly on big-endian machines by
- Sebastiaan A. Megens <samegens@xs4all.nl>.
-
- Tighter integration with the rest of the Unix mikmod package by
- Steve McIntyre <stevem@chiark.greenend.org.uk>.
-
-