Latency

Need technical advice? Don't know where to find an option? Here is the right place to ask.

Moderator: Quentin

Post Reply
User avatar
singchef
Good listener
Posts: 6
Joined: 25 Oct 2010, 19:01
Location: Trinidad & Tobago

Latency

Post by singchef »

Hi,
I would like to know how I can go about fixing what I think is a latency problem. When I am doing the rhythm reading exercises using my keyboard. I find that when I press the space bar it takes too long to register with the programme. How can I fix this?
Stephen John
www.iypdalbum.com
User avatar
Quentin
EarMaster.com
Posts: 2339
Joined: 27 Apr 2007, 01:25
Location: Denmark
Contact:

Re: Latency

Post by Quentin »

Hi,
In EarMaster 6, you can simply lower the "Buffer" setting in the Audio preferences and/or increase the latency compensation value.

In EarMaster 5, go to Program Settings form the TOOLS menu, and adjust the delay setting to around 120-160ms.
- Because in Music, We're All Ears... -
User avatar
briesmith
Good listener
Posts: 8
Joined: 19 Apr 2014, 07:37

Re: Latency

Post by briesmith »

I have the same problem using the trial version of EarMaster 6 on a laptop running Windows 7. I know I am tapping right but I hear an echo clap after I've tapped and I get very low scores. I can't see a reference to buffer size on the Audio tab; there is one on Midi Devices tab but this applies to the Soundfont setting (512 currently). Is this the setting I should change?

Or should I be changing the latency settings; both currently set to 46Ms?

It would be easier if the setting issue was interactive with the setting being changed as the spacebar is tapped until they are synchronized. Especially as this is a reasonably expensive premium product.
User avatar
Quentin
EarMaster.com
Posts: 2339
Joined: 27 Apr 2007, 01:25
Location: Denmark
Contact:

Re: Latency

Post by Quentin »

You are right, it is found under the MIDI Device tab, not the Audio tab.

Changing the buffer size automatically adjusts the latency settings displayed in the upper part of the window, which is even more advanced than doing a manual calibration.

For most computers, a buffer size of 512 should work fine, but if you feel that your system is struggling, increasing the size of the buffer should help.
- Because in Music, We're All Ears... -
User avatar
briesmith
Good listener
Posts: 8
Joined: 19 Apr 2014, 07:37

Re: Latency

Post by briesmith »

Hi Quentin

There's something not right here.

I am trialling EM6 on a laptop and I especially want to practice my rhythm training but I am finding the software unusable for that purpose due to latency/response lag.

Why do I hear a late clap when I press the spacebar? Why do I need to have a clap played to me at all? Surely all I need is the metronome tick (which the clapping - because it is so late - is obscuring)?

EM6 can then show me how I am doing with its system of green ticks and left and right pointing orange arrows for early/late?

And you say that the sync function in EM6 is automatic in which case surely the values in the AUDIO and MIDI tabs should change as EM6 works out what values are needed? I can't see any sign of this happening. Sorry.

Brian
User avatar
Quentin
EarMaster.com
Posts: 2339
Joined: 27 Apr 2007, 01:25
Location: Denmark
Contact:

Re: Latency

Post by Quentin »

Hi Brian,

Changing the buffer size in the lower right corner of the MIDI Devices tab should automatically change the latency value, which is calculated internally by EarMaster on the fly.

If there is still perceivable latency, feel free to adjust the latency setting even further by increasing or lowering it.

Disabling Clapping sounds when the space bar is hit has never been requested so far, but it is indeed something that we should add as an option. It has been forwarded to the dev team.

Thanks a lot for your feedback.
- Because in Music, We're All Ears... -
User avatar
briesmith
Good listener
Posts: 8
Joined: 19 Apr 2014, 07:37

Re: Latency

Post by briesmith »

Thanks Quentin

Basically I don't think I can run your software on my laptop. I've increased the latency adjustment to 300ms - the maximum value allowed - and I still hear the system generated clap a discernible interval after I've pressed the spacebar.

It's also almost impossible to ever get the software to accept that I pressed the first spacebar in time with the first beat. I basically have to anticipate it to get it "right".

If I clap rather than press the spacebar I assume that will help because I won't get another clap? It just pretty tiring clapping through the exercises in groups of 24+ a time!

I have a midi keyboard (which also suffers from latency problems - my laptop again) but could I use that somehow to mark the notes? The spacebar's travel time (down-back up) makes it very hard to tap fast patterns.

Brian
User avatar
Quentin
EarMaster.com
Posts: 2339
Joined: 27 Apr 2007, 01:25
Location: Denmark
Contact:

Re: Latency

Post by Quentin »

You can indeed clap the rhythms using a MIDI keyboard, the CTRL key of your computer keyboard, or the left and right buttons of a mouse.

I just tried the rhythmic sight-reading activity with a Windows 7 PC with 4Gb Ram and a 2.x Ghz i5 dual processor (a very standard configuration), and with a buffer size set to 256, the latency is unnoticeable. What are the specs of your laptop?
- Because in Music, We're All Ears... -
User avatar
briesmith
Good listener
Posts: 8
Joined: 19 Apr 2014, 07:37

Re: Latency

Post by briesmith »

Spec is:
Operating System Windows 7 Professional 32-bit SP1
CPU Intel Mobile Core 2 Duo @ 1.20GHz Merom 65nm Technology
RAM 3.00GB Dual-Channel DDR2 @ 332MHz (5-5-5-15)
Graphics Intel Mobile Intel 965 Express Chipset Family (Lenovo)
Hard Drives 119GB KINGSTON SVP180S2128G (SSD)
Audio Bluetooth Hands-free Audio

While this is a reasonable spec for a laptop it's all about sound and video processing; whether you have shared or dedicated graphics and a separate soundcard rather than using the main processor to process sound.

The laptop doesn't have either of these things and uses Bluetooth to send sound to loudspeakers which imposes more overhead on the CPU. So while it's got very good hard drive capabilities (because of the SSD) it's pretty stretched everywhere else.
User avatar
Quentin
EarMaster.com
Posts: 2339
Joined: 27 Apr 2007, 01:25
Location: Denmark
Contact:

Re: Latency

Post by Quentin »

There is a good chance that the latency issue is caused by your Bluetooth speakers. Bluetooth is very often causing high latency with audio, sometimes up to a whole second. Have you tested your setup without Bluetooth speakers (connecting headphones/speakers directly to the audio output of your soundcard?
- Because in Music, We're All Ears... -
Post Reply