Re: [Alsa-user] Problems with eMagic Unitor8
Brought to you by:
perex
|
From: Bruno <br...@gm...> - 2011-08-17 12:49:27
|
Hi Clement, Thanks for the response. 2011/8/13 Clemens Ladisch <cla...@go...>: > The driver doesn't try to discover anything, it just blindly sends > the initialization SysEx for one device. > > Do you have any documentation for these SysEx commands? The only thing I found is this: http://www.potm.org/software/Unitor/mididata/index.html >> I tried to write a simple C program to check if the error is >> on the Perl side, but it didn't work > > What exactly does "didn't work" mean? It was able to receive the messages (without crashing), but was not sending anything. However, I would rather assume it was because of my lack of experience with ALSA programming and not enough C skills, rather than any shortcomings of the ALSA library itself. > Use SND_SEQ_OPEN_DUPLEX in snd_seq_open. > Drop the snd_seq_event_input_pending call; snd_seq_event_input > automatically waits for new events. Thanks, will try it when I'm back home and able to check it against the hardware. Regards, Bruno |