Re: [LAD] sequencer and sysex again

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Sat Jun 07 2008 - 14:14:34 EEST

On Sat, Jun 07, 2008 at 12:20:23AM +0200, rdxesy@email-addr-hidden wrote:

> ...
> note that this just asks for params 512-639 (the first loop
> of the previous posting is commented)
>
> so, after receiving param 590 i receive only every fifth or
> fourth param, the rest is gone void.
> this is repeatable, everytime. i receive every single param
> correctly until and including param 590, then i receive
> params with jumps in between, 4 or five params big.

This could be either the request or the reply
getting lost. The way to find out is to check
the replies using a completely separate receiver
or any other way to monitor a physical midi stream.

> when i add back usleep(10000); to the request loop, i get
> all params in correct order but only up and including to
> param 612. repeatable, always.

This could well be due to entirely different causes as the
first problem.
 
I'd first try to get the version with the usleep() working,
and then attack the other problem.

Could you try to remove *all* interaction with gtk in
midi_callback(). Just print the received events with
printf() and run your app from a terminal.

Ciao,

-- 
FA
Laboratorio di Acustica ed Elettroacustica
Parma, Italia
Lascia la spina, cogli la rosa.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Sat Jun 7 16:15:01 2008

This archive was generated by hypermail 2.1.8 : Sat Jun 07 2008 - 16:15:01 EEST