[linux-audio-dev] reading /dev/midi & esd

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-dev] reading /dev/midi & esd
From: est_AT_hyperreal.org
Date: ti elo    17 1999 - 11:21:41 EDT


Adam Zygmunt discourseth:
>
> One of these days I'm really going to dig into it
> to write an application to scratch a particular itch of mine, namely a
> MIDI patch librarian. I used to be able to just do this with cat
> /dev/midi00 > patchfile and hit the send button on my keyboard, but the
> default blocking/buffering behavior is different for my new soundcard
> (Ensoniq 1371-based) in both the OSS and ALSA drivers.

Have you tried playing with dd? `dd if=/dev/midi00 bs=1 of=patchfile'
might do the trick. Mmm..advanced sound apps. :9

> I haven't looked at its library, but I can't imagine esound support would
> be too tricky to add. It might be nice, too. The situation I see with
> esound though, is that's it's an all or nothing deal, as it steals the
> card all the time, that being its job. I personally vote for making as
> many applications esound-aware as possible (at least non-realtime
> dependent ones), unless its performance really isn't up to snuff, if only
> because it seems like the most efficient way to allow multiple
> applications to access the soundcard at this point. It might help out the
> OSS/ALSA question, too, as only esd would need to handle the low-level
> stuff for both.

I've seen repeated statments that esd is real-time hostile. I don't
know if this is true. I like the *general* concept and I think it
could be made real-time and network friendly.

Eric


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : pe maalis 10 2000 - 07:25:52 EST