DV247 Forums Wayne Lotek Interview
Go Back   DV247 Forums > Technique > Recording & Mixing
Forgot Password? Join Us!
Home Register Groups FAQ Members List Calendar Search Today's Posts Mark Forums Read Go to DV247.com
New to Forums or just joined? Why not start your journey here?

Recording & Mixing Pimped rig but got no mojo? Learn from the experts here

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 3rd September 2008 , 12:13 AM
Junior Member
 
Join Date: Aug 2008
Posts: 26
Default MIDI keyboard latency??

Hi,
Having recently purchased a M-audio keystation 49e I have discovered around a half a second delay from pressing the key to hearing a sound out of my computer speakers. I am using cubase ai4 and am finding this really frustrating. I have a USB mixer if this would help? or is there another way to overcome this problem?
Thanks in advance,
Steve
SPFH73 is offline Offline
Reply With Quote
  #2 (permalink)  
Old 3rd September 2008 , 12:58 AM
Keeper o' the Keys!
 
Dave Boulden's Avatar
          
           
Join Date: Jul 2008
Location: Kent, UK.
Posts: 1,357
Default

The latency will most likely be due to the Windows drivers of your PC's built-in soundcard... if your USB mixer has ASIO drivers, then using them instead should enable to lower your latency to something usable for playing VSTi's with your keyboard.
______________________________
http://www.daveboulden.co.uk/
Dave Boulden is offline Offline
Reply With Quote
  #3 (permalink)  
Old 3rd September 2008 , 08:51 PM
Junior Member
 
Peter L Jones's Avatar
          
           
Join Date: Jul 2008
Location: London, UK
Posts: 18
Default

Just to expand on Dave's post.

The delay you're hearing isn't anything to do with the keyboard. It's there when you trigger any audio within your system. It's just that you only notice how long it takes for the audio to get out when you trigger it and expect an instant response, as if playing an acoustic instrument.

The delay is caused by using large audio buffers. These are used so to increase system performance - that is, to reduce the load on the CPU of performing frequent memory transfers between main memory and device memory. That was a necessary and useful strategy when PCs weren't as powerful as they are now. However, it's getting to the point when even Microsoft has noticed it's annoying...

ASIO drivers bypass the normal Windows drivers and, in general, allow much lower buffer sizes and lower latencies. However, some PCs with on board sound ship with ASIO drivers that aren't much better than the Windows driver or as so bug ridden as to be worthless. In these situations, ASIO4ALL may be the answer.
______________________________
M15
Peter L Jones is offline Offline
Reply With Quote
  #4 (permalink)  
Old 3rd September 2008 , 09:21 PM
Senior Member
 
Join Date: Jul 2008
Location: Northern Ireland
Posts: 181
Default

Steve, your USB mixer will not help, because the keyboard doesn't actually produce any audio, (it's a USB MIDI controller) so there's nothing for the mixer to work with.
Do you by any chance have loads of other USB stuff connected to your PC? That might influence the performance of the controller. As steve says, ASIO4ALL is worth a try - I've used it with reasonable success on a really old creaky PC to improve latency.
Stagesound is offline Offline
Reply With Quote
  #5 (permalink)  
Old 3rd September 2008 , 10:53 PM
Keeper o' the Keys!
 
Dave Boulden's Avatar
          
           
Join Date: Jul 2008
Location: Kent, UK.
Posts: 1,357
Default

Quote:
Originally Posted by Stagesound View Post
Steve, your USB mixer will not help, because the keyboard doesn't actually produce any audio, (it's a USB MIDI controller) .
Bit of a misconception going on here. I wasn't suggesting the USB mixer would handle anything from the MIDI controller direct. The MIDI controller is, I assume, controlling VST instruments on the PC. I suggested using ASIO drivers for the USB mixer acting as the soundcard for the PC to handle the playback of the audio from the VSTi as ASIO drivers handle low-latency audio much better than WDM or MME drivers as typically used to drive onboard soundcards.
______________________________
http://www.daveboulden.co.uk/
Dave Boulden is offline Offline
Reply With Quote
  #6 (permalink)  
Old 3rd September 2008 , 11:31 PM
Mic Check 1!
 
TrevCircleStudios's Avatar
          
           
Join Date: Aug 2008
Location: England
Posts: 2,094
Default

As above the main answer is probably to reduce your buffers (both hardware and playback). This will reduce it significantly. This will leave you a very small amount of latency that you might not even perceive called midi-slop. You can deal with this by holding down a key on your controller while pressing record. In theory you should see that the event happens at 0.00.00. In fact it is likely to appear at about 0.00.12. You then know that you have 20 millisecs of latency in your system. This can be dealt with either by draggin the track back or by setting your software to deal with that by commencing that track at -0.00.20. Hope this makes sense! (it's been a long day)
______________________________
You can't polish a turd!

(unless it's a jettsetty and urbane one!)
TrevCircleStudios is offline Offline
Reply With Quote
  #7 (permalink)  
Old 4th September 2008 , 12:45 AM
Senior Member
 
Join Date: Jul 2008
Location: Northern Ireland
Posts: 181
Default

[QUOTE=Dave Boulden;5891]Bit of a misconception going on here...QUOTE]
Sorry Dave - my misunderstanding!
Have you tried ASIO4ALL with your internal card? I've got a pretty crappy on-board card on one of my PC's and it works really well with it. Latency is still noticeable (claims to be around 13mS, but I have my doubts), but not a big problem.
Stagesound is offline Offline
Reply With Quote
  #8 (permalink)  
Old 4th September 2008 , 12:59 AM
Keeper o' the Keys!
 
Dave Boulden's Avatar
          
           
Join Date: Jul 2008
Location: Kent, UK.
Posts: 1,357
Default

I did try ASIO4ALL once out of curiosity, but haven't bothererd to try it again since... I always run ASIO thru my Tascam mixer.
______________________________
http://www.daveboulden.co.uk/
Dave Boulden is offline Offline
Reply With Quote
  #9 (permalink)  
Old 6th September 2008 , 05:34 PM
Junior Member
 
Join Date: Aug 2008
Posts: 26
Default

Thanks for all your help guys.
Downloaded ASIO4ALL and the latency dropped dramatically. Can now use my keyboard without any problems.
Thanks again
Steve
SPFH73 is offline Offline
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stunning new Pro Tools LE/MP plug-in for latency compensation terminal3 Pro Tools 2 20th November 2008 08:06 PM
What's your system latency? RedDavid Music Software 6 19th August 2008 12:33 PM
Your favourite keyboard/synth sound of all time? Clavinet Keyboards, Modules & Hardware Synths 16 6th August 2008 12:11 AM
Midi Reto fit Harmonia Drums & Percussion 0 24th July 2008 03:46 PM
Problems with Keyboard misslaidlaw Keyboards, Modules & Hardware Synths 2 7th July 2008 11:49 PM


All times are GMT. The time now is 12:48 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
© 1999-2008 Digital Village. All rights reserved.