Skip to contentSkip to conversation

latency with mtpav

DISCUSSION Allan Klinbail 2 participants 4 messages Jun 23, 2003 – Jun 30, 2003

lore
Share & tools
lore
#0 lore raw

Hi

(sorry for the crossposting but I'm not sure where this one should go)

In trying to test various applications with sync I have observed some serious latency problems with the mtpav driver.

Using ardour I found some serious latency when starting a recording (about half a beat at 163.7 BPM (sorry the calculations escape me trying to work out the exact latency here))

Has any9one else experienced this or can come up with a resolution for this..

(No xruns were observed by wither MusE or JACK while doing this test)

cheers

Signature · 9 lines
Allan Klinbail <[email protected]>



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
#1 lore raw

On 23 Jun 2003 23:07:44 +1000
Allan Klinbail <[email protected]> wrote:

<snip>

Quoted 9 lines

In trying to test various applications with sync I have observed some serious latency problems with the mtpav driver.

Using ardour I found some serious latency when starting a recording (about half a beat at 163.7 BPM (sorry the calculations escape me trying to work out the exact latency here))

Has any9one else experienced this or can come up with a resolution for this..

<snip>

It may be the fact that the application in question is using the RTC, and the clock just doesn't align with that tempo. Wild guess. (MIDI apps or JACK usually run it at 1024 ticks/second, so figure how that would align with 163.7 ticks/s.)

I haven't had any latency problems with the unit or the driver itself. Once, I was using the RTC as a timer as well, and the most I'd be off would be 1-4ms, and that's just because my box is kinda slow.

Signature · 12 lines
Ryan Pavlik <[email protected]>

"Another *perfectly* calculated space-time
 splice-n-splice. Now to get back to... wait a second.
 I forgot to carry the TWO!" - 8BT


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
#2 lore raw
Quoted 11 lines · Ryan Pavlik

On 23 Jun 2003 23:07:44 +1000
Allan Klinbail <[email protected]> wrote:

<snip>

Quoted 7 lines

In trying to test various applications with sync I have observed some serious latency problems with the mtpav driver.

Using ardour I found some serious latency when starting a recording (about half a beat at 163.7 BPM (sorry the calculations escape me trying to work out the exact latency here))

Quoted 5 lines
Quoted 2 lines

Has any9one else experienced this or can come up with a resolution for this..

<snip>

It may be the fact that the application in question is using the RTC,

The application is ardour

Quoted 7 lines

and the clock just doesn't align with that tempo. Wild guess. (MIDI apps or JACK usually run it at 1024 ticks/second, so figure how that would align with 163.7 ticks/s.)

I haven't had any latency problems with the unit or the driver itself. Once, I was using the RTC as a timer as well, and the most I'd be off would be 1-4ms, and that's just because my box is kinda slow.

my box is pretty quick..

Signature · 9 lines
Allan Klinbail <[email protected]>



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
#3 lore raw
In reply to Ryan Pavlik

How do I ensure my app is using the RTC timer?

Quoted 23 lines · Ryan Pavlik

On 23 Jun 2003 23:07:44 +1000
Allan Klinbail <[email protected]> wrote:

<snip>

Quoted 9 lines

In trying to test various applications with sync I have observed some serious latency problems with the mtpav driver.

Using ardour I found some serious latency when starting a recording (about half a beat at 163.7 BPM (sorry the calculations escape me trying to work out the exact latency here))

Has any9one else experienced this or can come up with a resolution for this..

<snip>

It may be the fact that the application in question is using the RTC, and the clock just doesn't align with that tempo. Wild guess. (MIDI apps or JACK usually run it at 1024 ticks/second, so figure how that would align with 163.7 ticks/s.)

I haven't had any latency problems with the unit or the driver itself. Once, I was using the RTC as a timer as well, and the most I'd be off would be 1-4ms, and that's just because my box is kinda slow.

Signature · 9 lines
Allan Klinbail <[email protected]>



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01