What I do for critical recordings: I simply don't use virtual instruments running on the computer, but split the MIDI signal, route only one path to the interface and the other to a cheap general-MIDI sound module.
This sounds horrible, but has neglectable latency so I can well use it for monitoring and get an as-clean-as-possible MIDI track.
Once that's recorded, latency doesn't matter anymore
and I can switch to the better-sounding virtual instruments.
Where the sound module offers insufficient quality even for monitoring, I try step by step reducing the latency.
I usually go down to 48 samples, though with that I already get stability problems when running processor-intensive plug-ins.
It's a bit of trial-and-error.
music.stackexchange.com/users/932/leftaroundabout
If you're on Windows, it's almost certainly not a hardware problem.
The situation is caused by the audio output going through the Windows mixer before going to the sound card.
That adds a significant delay.
Look in your audio application settings for ASIO or WASAPI output.
If ASIO, you need to download ASIO4ALL .
This will let your program bypass the Windows audio subsystem and talk directly to the sound card.
Using ASIO or WASAPI, the latency with my onboard sound is good enough that I can play on my MIDI keyboard without a noticeable delay.
music.stackexchange.com/users/224/Rei Miyasaka
Logic has a very simple solution for this: The low latency button (looks like a car tachimeter in main toolbar).Press
it and then record. :)
music.stackexchange.com/users/1112/Pitto
A core element of latency is often dependent on the audio interface to your PC - the sound card on your motherboard probably won't be up to the job of even semi-pro audio.
We use M-Audio for most of our stuff that goes through a PC, as we can guarantee very low latency (all the bottleneck pieces are moved off onto hardware to ensure this) (I'm not affiliated with M-Audio, but their kit works well for us as we are heavily dependent on computers in our rhythm section.)
music.stackexchange.com/users/104/Doktor Mayhem
Find in your DAW settings where you can set the buffer size, lowering this to 256 or 512 can get you down to the 20-30 ms range where there is less noticable latency.
Otherwise you can fiddle with 'Software Monitoring', and I think there is a way to make it pass directly through.
music.stackexchange.com/users/1342/eighteyes
USB is great in that it provides inexpensive connectivity options, but there is a good reason that more expensive standards exist.
This is one of them.
I'd suggest trying to get your hands on a good Firewire audio interface, such as from Avid's M-Audio line .
music.stackexchange.com/users/279/Kaelin Colclasure
I have a decent pc
and I bought a new icon ikeyboard
but it had horrible latency even after installing its driver .After
reading a few blogs all I did was just installed the ASIO4ALL and that was it , did not even had to do any configurations, my pc recognised it itself and the latency is gone.
I use sonar and it worked for me , I hope it does for you too.
Good luck
music.stackexchange.com/users/13728/Abhishek
I'm using Logic Pro (I have Snow Leopard) and I have a Korg R3 and a VB-99 as music instruments...I use usb connection on both and I would like to have suggestions and ideas to get rid of the latency when recording.Using my actual hardware with software tweakings would be lovely but also suggestions about buying new hardware that would solve the problems (cheap, if possible :) ) is appreciated.
Get rid (or die trying) of latency when using a MIDI instrument
music.stackexchange.com
<software><midi>
music.stackexchange.com/questions/4224
music.stackexchange.com/users/1112/Pitto
Using ASIO or WASAPI, the latency with the onboard sound is good enough that you can play on the MIDI keyboard without a noticeable delay. M-Audio through a PC also reduces latency. You can also find in your DAW settings where you can set the buffer size, lowering this to 256 or 512 can get you down to the 20-30 ms range where there is less noticable latency.  There are number of ways to address this issue. As far as software is concerned, you could try using ASIO or WASAPI, or alternatively, you could try reducing the buffer size in your DAW settings. Otherwise, you could try replacing your hardware with M-Audio equipment, use a Firewire Audio Interface or even use an alternative MIDI module for monitoring purposes.
You could use an additional MIDI sound module for monitoring purposes. Using ASIO or WASAPI may reduce latency enough for it not to be a problem. Using M-Audio hardward may reduce the latency enough for it not to be a problem. Reducing the buffer size in your DAW settings may fix this issue. You might want to try a good Firewire Audio Interface instead.