Sound Specialists Poulsbo WA

Latency, the time between hitting a note and hearing it, occurs when you plug your guitars into computers and process the sound with amp simulators. This article is about the measures you could take to solve the problem. If you are annoyed by this problem, this article is right for you.

Karen Hesterly Piano Studio
Bremerton, WA
 
Puget Sound Chamber Music Workshop
(206) 536-8443
Seattle WA
Seattle, WA

Data Provided by:
Music Center of The Northwest
(206) 526-8443
Seattle WA
Seattle, WA

Data Provided by:
Midsummer Musical Retreat
12345 Lake City Way NE
Seattle, WA
 
Seattle Music School
(206) 789-5967
8740 13th Ave NW
Seattle, WA

Data Provided by:
Puget Sound Chamber Music Workshop
PO Box 30757
Seattle, WA
 
Music Center of The Northwest
Seattle, WA
 
Midsummer Musical Retreat
(203) 324-6689
Seattle WA
Seattle, WA

Data Provided by:
Cornish College of the Arts
1000 Lenora St.
Seattle, WA
 
Sound Expressions Piano Studio
(206) 781-6952
9527 Evanston Ave N
Seattle, WA

Data Provided by:
Data Provided by:

Lowering Latency

WHEN YOU PLUG YOUR GUITAR INTO A COMPUTER and process the sound with amp simulators, you’ll experience latency—the time between hitting a note and hearing it. Actually, you experience it with amps, too. Sound travels at about one foot per millisecond, so if your amp is five feet away, there’s about a 5ms delay before you hear the note you just played.

The main reason for latency is the computer’s need for a sample buffer. Audio is a continuous process—you can’t have any interruptions. But computers do a zillion things at once—check the keyboard, send signals to the monitor, arbitrate priorities, etc.—so the computer stores several milliseconds of audio samples in a memory buffer. If the computer has to rush off to some other task, there’s some audio in reserve, so audio can continue streaming. If the buffer runs out of samples, your audio will crackle, pop, or die altogether. Not good. But increasing buffer size means more latency. So, you have to find the sweet spot between minimum latency and maximum reliability.

Finding the Sweet Spot

The spec for latency is given either in milliseconds or samples. Milliseconds are more convenient, but most interfaces use samples. Does it matter? No, because all you care about is finding the sweet spot. So…

• Set your audio interface hardware buffer for 512 samples.

• Verify that you can play audio without it crapping out.

• Lower the audio interface latency a little bit at a time—256 samples, then 192, then 128, and so on—until the audio performance deteriorates.

• Now you know how low you can’t go. Increase the buffer size until the audio is reliable again.

Latency-Decreasing Tactics

• For lowest latency on a Mac, use Core Audio interfaces. For Windows, use ASIO interfaces. (Note: Windows programs typically let you choose various interface protocols such as DirectX, MME, and WDM, but choose ASIO—never “emulated” ASIO—for the lowest latency.)

• Faster computers let you get away with lower latencies.

• A program doesn’t have lower latency just because it says it does—use your ears! Some programs list only input latency, but there’s output latency, as well.

• The more your computer has to do, the harder it is to get low latency. Running an amp sim in stand-alone mode, where the computer devotes all its resources to the sim, gives the lowest latency. Run the sim as a plug-in in a DAW that’s running a zillion tracks, plug-ins, and virtual instruments, and you’ll need to increase the sample buffer size. Savvy recordists cut guitar parts through sims early on to ensure low latency. Then, after the guitar parts are done, they increase the latency to handle a progressively more complex project.

Click here to read the rest of the article from Guitar Player


Guitar Player is a trademark of New Bay Media, LLC. All material published on www.guitarplayer.com is copyrighted @2009 by New Bay Media, LLC. All rights reserved