Re: [LAD] Tests directly routing pc's midi-in to midi-out

From: Clemens Ladisch <clemens@email-addr-hidden>
Date: Thu Jul 15 2010 - 17:31:35 EEST

Robin Gareus wrote:
> On 07/15/2010 01:07 PM, Ralf Mardorf wrote:
>> On Thu, 2010-07-15 at 12:55 +0200, Clemens Ladisch wrote:
>>> Ralf Mardorf wrote:
>>>> dev.hpet.max-user-freq
>>>
>>> This parameter will not have any effect on anything because there is no
>>> program that uses the HPET timers from userspace.
>
> That'd be correct if Ralf would stick to 'amidiplay' and friends for his
> tests.
>
> There are a couple of audio-tools who can use either RTC or HPET for
> timing, although most of them need an option to explicitly enable it.

Jack can read the current time from /dev/hpet, but it does not use it to
generate interrupts. As far as I know, there is no program that does.

> BTW. Do you know the unit of these values?
> cat /sys/class/rtc/rtc0/max_user_freq
> cat /proc/sys/dev/hpet/max-user-freq
> are they Hz?

Yes.

>> IIRC someone on jack-devel mailing list had issues when using mplayer
>> with the value 64 and it was solved when using the value 1024.

This has nothing to do with MIDI timing; mplayer can use the RTC (not
HPET) for audio/video synchronization to work around the 100 Hz limit of
the system timer on old Linux kernels.

Regards,
Clemens
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Jul 16 20:15:26 2010

This archive was generated by hypermail 2.1.8 : Fri Jul 16 2010 - 20:15:26 EEST