SDL doesnt have midi input… sdl really doesnt have midi anything.
sdl_mixer has a half-assed software midi engine (a very hacked up timidity)
However, I would like to see a real sdl midi module
I might have something to offer, eventually…
that is multiplatform,
Should be easy to fix.
and uses real hardware when possible.
Does input - I just haven’t had any reason to add MIDI output so far.
(And on nix systems, doesnt require
that blasted /dev/sequencer which is a pain in the ass for people that
have soundcards that have oss drivers that dont supply a sequencer, only a raw
/dev/midi)
Trivial (ie “fits well into my design”) - although some systems simply require something like the sequencer API for reliable timing.
Maybe you could coordinate an effort to build such a library?
Well, I have an LGPL MIDI loader/player that might be useful as a starting point. (I found it in an LGPLed FM/OPL player for old games music, and had to rewrite most of it. Might as well have rolled my own from scratch, but now it’s done anyway…)
It’s in Kobo Deluxe 0.4pre8, if you’d like to have a look. Expect a major rewrite soon, though. (I don’t think it’s a great idea to play directly from the raw MIDI data, and I would like the output in the form of timestamped events rather than callbacks, for example…)
//David
.---------------------------------------
| David Olofson
| Programmer
david.olofson at reologica.se
|
Address: |
REOLOGICA Instruments AB |
Scheelev?gen 30 |
223 63 LUND |
Sweden |
--------------------------------------- |
Phone: 046-12 77 60 |
Fax: 046-12 50 57 |
Mobil: |
E-mail: david.olofson at reologica.se
|
WWW: http://www.reologica.se
|
|
`-----> We Make Rheology RealOn Fri, 21/06/2002 14:28:55 , Patrick McFarland wrote: