Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* M-Audio Midisport 2x2 Anniversary edition, latency problem
@ 2015-04-28  8:18 Ilya Dikariev
  2015-04-28 13:30 ` Clemens Ladisch
  0 siblings, 1 reply; 6+ messages in thread
From: Ilya Dikariev @ 2015-04-28  8:18 UTC (permalink / raw)
  To: alsa-devel

Hi all,

I bought a MIDI-interface von M-Audio (see subject), but there are strange things with it on my desktop (Arch, latest kernel). The latency is about 5 seconds. If I reconnect cabels, the latency can change from 5 sec to 0.5 sec, or to ~0sec, but in 90% of all the tries, the latency stay at 3-5 sec.

I tried it on my older laptop (kernel 2.6.32 from Ubuntu 10.04) and it works! I think it's a regression. How can I help to fix this bug?

best regards,
Ilya.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: M-Audio Midisport 2x2 Anniversary edition, latency problem
  2015-04-28  8:18 M-Audio Midisport 2x2 Anniversary edition, latency problem Ilya Dikariev
@ 2015-04-28 13:30 ` Clemens Ladisch
       [not found]   ` <1430230406.500088555@f412.i.mail.ru>
  0 siblings, 1 reply; 6+ messages in thread
From: Clemens Ladisch @ 2015-04-28 13:30 UTC (permalink / raw)
  To: Ilya Dikariev, alsa-devel

Ilya Dikariev wrote:
> I bought a MIDI-interface von M-Audio (see subject), but there are
> strange things with it on my desktop (Arch, latest kernel). The
> latency is about 5 seconds.

How are you measuring the latency?


Regards,
Clemens

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: M-Audio Midisport 2x2 Anniversary edition, latency problem
       [not found]   ` <1430230406.500088555@f412.i.mail.ru>
@ 2015-04-28 16:21     ` Clemens Ladisch
       [not found]       ` <1430239699.153166263@f195.i.mail.ru>
  0 siblings, 1 reply; 6+ messages in thread
From: Clemens Ladisch @ 2015-04-28 16:21 UTC (permalink / raw)
  To: Ilya Dikariev; +Cc: alsa-devel

Ilya Dikariev wrote:
> Вторник, 28 апреля 2015, 15:30 +02:00 от Clemens Ladisch <clemens@ladisch.de>:
>> Ilya Dikariev wrote:
>>> I bought a MIDI-interface von M-Audio (see subject), but there are
>>> strange things with it on my desktop (Arch, latest kernel). The
>>> latency is about 5 seconds.
>>
>> How are you measuring the latency?
>
> I measured it only with my feeling of time.

What are the specific events between which there is an interval of
5 seconds?


Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: M-Audio Midisport 2x2 Anniversary edition, latency problem
       [not found]       ` <1430239699.153166263@f195.i.mail.ru>
@ 2015-04-29  7:14         ` Clemens Ladisch
  2015-06-14 19:01           ` Olivier
  0 siblings, 1 reply; 6+ messages in thread
From: Clemens Ladisch @ 2015-04-29  7:14 UTC (permalink / raw)
  To: Ilya Dikariev; +Cc: alsa-devel

Ilya Dikariev wrote:
>>>>> I bought a MIDI-interface von M-Audio (see subject), but there are
>>>>> strange things with it on my desktop (Arch, latest kernel). The
>>>>> latency is about 5 seconds.
>>>>
>>>> How are you measuring the latency?
>>>
>>> I measured it only with my feeling of time.
>>
>> What are the specific events between which there is an interval of
>> 5 seconds?
>
> Between I press any key on a MIDI-keyboard and I hear the sound from
> the timidity-daemon (or any other MIDI-reciever in a computer).

There are lots of components involved besides the USB/MIDI interface:
Timidity, any sound server (if you're using one), and the sound card's
drivers.

It is extremely unlikely that the USB/MIDI interface could introduce
latency, because the only way to do that would be to go to the extra
effort of storing the MIDI events in some buffer, and then transmitting
them later.

> the MIDI events from the Pitch-wheel on the keyboard arrives the MIDI-
> reciever immedietly (I saw it, when i tried to check out the output
> from the /dev/midi).

This proves that another component introduces the latency.

(Note: you could also use amidi or aseqdump to do these tests.)


How did you configure the audio output of Timidity?


Regards,
Clemens

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: M-Audio Midisport 2x2 Anniversary edition, latency problem
  2015-04-29  7:14         ` Clemens Ladisch
@ 2015-06-14 19:01           ` Olivier
  2015-06-14 19:17             ` Clemens Ladisch
  0 siblings, 1 reply; 6+ messages in thread
From: Olivier @ 2015-06-14 19:01 UTC (permalink / raw)
  To: alsa-devel



Hello

I think I have similar problem on Debian 8 Jessie, M-Audio Midisport 2x2
Anniversary edition and a synth keyboard. In my case the midi works fine for
a moment but after a moment, the latency is about 5 seconds. GMidi monitor
linked to Jack monitors note events 5 seconds later... I have to plug again
the USB cable to make it work normaly. Did you find an issue to  that?

Olivier

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: M-Audio Midisport 2x2 Anniversary edition, latency problem
  2015-06-14 19:01           ` Olivier
@ 2015-06-14 19:17             ` Clemens Ladisch
  0 siblings, 0 replies; 6+ messages in thread
From: Clemens Ladisch @ 2015-06-14 19:17 UTC (permalink / raw)
  To: Olivier, alsa-devel

Olivier wrote:
> I think I have similar problem on Debian 8 Jessie, M-Audio Midisport 2x2
> Anniversary edition and a synth keyboard. In my case the midi works fine for
> a moment but after a moment, the latency is about 5 seconds. GMidi monitor
> linked to Jack monitors note events 5 seconds later...

Do you get the same delay when monitoring with amidi or aseqdump?


Regards,
Clemens

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-06-14 19:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-28  8:18 M-Audio Midisport 2x2 Anniversary edition, latency problem Ilya Dikariev
2015-04-28 13:30 ` Clemens Ladisch
     [not found]   ` <1430230406.500088555@f412.i.mail.ru>
2015-04-28 16:21     ` Clemens Ladisch
     [not found]       ` <1430239699.153166263@f195.i.mail.ru>
2015-04-29  7:14         ` Clemens Ladisch
2015-06-14 19:01           ` Olivier
2015-06-14 19:17             ` Clemens Ladisch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox