This is a discussion on Re: OpenBSD MIDI bits within the mailing.openbsd.tech forums, part of the OpenBSD category; --> On Mon, Sep 27, 2004 at 03:48:28AM +1000, Jonathan Gray wrote: > On Sun, Sep 26, 2004 at 03:38:00PM ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On Mon, Sep 27, 2004 at 03:48:28AM +1000, Jonathan Gray wrote: > On Sun, Sep 26, 2004 at 03:38:00PM +0200, Alexandre Ratchov wrote: > > The following diff adds midi support to the eap(4) driver (from > > netbsd). I don't know if it works and i can't test it (i dont own > > such hardware). You can try it at your own risk, feel free to > > send me comments and/or dmesg. > > Needed some additional bits see below. thank you for the diff, i've forgot to include "midi.h", so my patch is doing nothing... i need more coffie. > While this works I was getting strange clipping like noises at a constant > interval while playing oggs with ogg123 when the kernel had eap midi > support, I wasn't accessing the midi port at the time. > > I guess this means the eap midi code doesn't handle interrupts like > it should? i don't know; are you getting clipping-like noises even if you never open the midi port? i mean, when you power-on the machine and then you play an ogg? > Apart from that accessing my external MT-32 synth seemed to work fine. > Some larger patches made the MT-32 complain about an overflowed buffer > I'm not quite sure what to blame for that one. They were patches > designed specifically for an MT-32 though. some midi devices are not fast enough to handle a large amount of data. If you send several sysex messages, waiting between messages may help. -- Alexandre |