Welcome to %s forums

BrainModular Users Forum

Login Register

How to measure latency

General Discussion about whatever fits..
Post Reply
madmage
New member
Posts: 9
Contact:

Unread post by madmage » 04 May 2008, 14:14

Hi all,
finally I tried my master keyboard with Usine... it is easy and wonderful, exactly what I needed.

Anyway, I'm using the ASIO4ALL driver and it seems to me that there is a (short) latency: since the latency is short, while playing I get habit to it and I think that begin to not hearing it. I would like to know if there is a way to display the latency, so that I can tweak a bit ASIO4ALL in order to reduce it. It is not easy to do it only hearing the latency.

Thanks.

madmage
New member
Posts: 9
Contact:

Unread post by madmage » 04 May 2008, 14:20

madmage wrote:Hi all,
finally I tried my master keyboard with Usine... it is easy and wonderful, exactly what I needed.

Anyway, I'm using the ASIO4ALL driver and it seems to me that there is a (short) latency: since the latency is short, while playing I get habit to it and I think that begin to not hearing it. I would like to know if there is a way to display the latency, so that I can tweak a bit ASIO4ALL in order to reduce it. It is not easy to do it only hearing the latency.

Thanks.
Ah... another thing... I do not know if it is an ASIO4ALL fault or Usine, but I cannot hear any changes in audio production while tweaking with the ASIO4ALL panel (the one that pops up clicking on "panel" in ASIO setup), nor if stopping and starting the ASIO, nor if closing ASIO... the only way is close Usine and reopen.

User avatar
Vincent
Member
Posts: 317
Location: PACA
Contact:

Unread post by Vincent » 04 May 2008, 20:23

Hi Madmage, I don't know asio4all, but maybe try to stop first the driver from Usine's setup panel, then tweak your asio4all config, then restart the driver in Usine's setup panel...?
Yes, I've noticed that it's sometimes usefull to restart Usine.
vincent michel
composer & novelist

madmage
New member
Posts: 9
Contact:

Unread post by madmage » 04 May 2008, 20:43

Vincent wrote:Hi Madmage, I don't know asio4all, but maybe try to stop first the driver from Usine's setup panel, then tweak your asio4all config, then restart the driver in Usine's setup panel...?
Yes, I've noticed that it's sometimes usefull to restart Usine.
No, it does not work... :-(

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 04 May 2008, 21:53

the real latency depends on your driver.

let's take the buffer size (BF) in samples
for audio in->> audio out (usine as multi FX) latency = 3 x BF (always multiply the BF per 3)
for midi-in->> audio out (usine as a synth) latency = 2 x BF + 5 ms. The 5ms depends on your midi driver.

The latency depends only on your drivers not Usine itself.

with my RME I can play with a BF of 64 samples: latency = 3*64/44100 = 4ms !!
I normal situation BF = 256 samples is enough.

madmage
New member
Posts: 9
Contact:

Unread post by madmage » 06 May 2008, 14:39

senso wrote:the real latency depends on your driver.

let's take the buffer size (BF) in samples
for audio in->> audio out (usine as multi FX) latency = 3 x BF (always multiply the BF per 3)
for midi-in->> audio out (usine as a synth) latency = 2 x BF + 5 ms. The 5ms depends on your midi driver.

The latency depends only on your drivers not Usine itself.

with my RME I can play with a BF of 64 samples: latency = 3*64/44100 = 4ms !!
I normal situation BF = 256 samples is enough.
:-O ... I didn't expect this answer... cool!

But now I am curious about why multiplying *2 or *3... and if 5ms is a fixed value or it depends on something (can I have a different MIDI driver?)

What about ASIO4ALL? It has a "buffer size", a "input samples" and an "output samples" (??)

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 06 May 2008, 23:40

welcome in the marketing world!
In the real word an asio driver contains 1 buffer for input, and 2 for output. It's in the asio specification and can't be changed.
So if your driver says 'Buffer Size = 512 samples' it mean the 'total buffer size is 3 x 512'..

The midi input latency depends on the driver and the Window scheduling: generally between 2 and 5 ms.

Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests