[…]
And who really wants the Real Thing anyway…?
PC speaker, yes, is mostly unusable, but why drop Adlib ?
Should the programmer really emulate its functionality and form
waves manually in software ? Don’t like to feel that … :< :>
Well, it’s just that you don’t have much choice. It seems like you
can get “direct” control over an Adlib compatible device through
the Linux drivers, but that’s an exception AFAIK. Normally, all you
get is a General MIDI driver with a hardcoded sound set. As if that
wasn’t bad enough, sound sets differ quite significantly between
drivers.
[…speaker.tar.gz…]
Thank you very much, I certainly will look into this.
As I understand, its synthesis is purely in software.
It includes support for two Linux “speaker APIs” as well, but yes, the
emulated mode is purely software.
[…]
I found recently that SDL mixer contains support for native MIDI.
But for some reason (license?)
Yes, it’s GPL code (not LGPL) so some projects may violate the GPL if
it’s compiled in.
it is not compiled into my Debian
package. May be I should go in that direction ?
Depends on what you want to do, and what kind of requirements you
have. Native MIDI effectively means General MIDI, and that, by
definition, means you have virtually no control whatsoever over
timbre and sound quality. Most songs do sound better on a
professional studio synth than an Adlib card, but when some
instruments are about 24 dB too loud, I’m not so sure… Better
sounds, but the mix gets totally f*cked up. I really don’t like
GM, but that’s just my personal opinion, of course.
Anyway, any GM device definitely beats the PC speaker for music, but
what about sound effects? You could do sound effects on an Adlib with
"direct" control, but with MIDI, all you have is a drum kit and some
128 patches that may sound like pretty much anything but what you
expect.
BTW, I once implemented a MIDI driver for the sound effects included
with pcspeaker and it was, uhm… interesting.
//David Olofson - Programmer, Composer, Open Source Advocate
.- The Return of Audiality! --------------------------------.
| Free/Open Source Audio Engine for use in Games or Studio. |
| RT and off-line synth. Scripting. Sample accurate timing. |
`-----------------------------------> http://audiality.org -’
— http://olofson.net — http://www.reologica.se —On Thursday 10 July 2003 10.13, Wladimir Mutel wrote: