Calculating Latency - Gearslutz.com

Gearslutz.com

All Advertisers
Go Back   Gearslutz.com > The Forums > Music computers


Calculating Latency

New Reply New Reply Thread Tools Search this Thread
Old 30th July 2006   #1
Gear maniac
 
tone4407's Avatar
 
Joined: Dec 2005
Posts: 176

Thread Starter
Calculating Latency

Hey. When I'm using instrument plug-ins, I always check the latency before starting a beat. Its kind of a drag and very time consuming doing it everytime. So my question is this...

Will latency vary depending on CPU speed, or is it based soley upon the plugin itself?

Say I calculated latency for NI Battery and its 500ms. Will it be 500ms everytime? Or could it be 450ms one time because my CPU is lacking speed.

I figure if its the same amount of latency everytime, I can write the latency times down and I can get my project started quicker.
tone4407 is offline   Reply With Quote
Old 30th July 2006   #2
Lives for gear
 
Joined: May 2004
Location: canada
Posts: 3,998

with respect there are no simplistic answers to this.
latency can depend on many factors. your pc itself...and how its configged.
the sound device and drivers your useing, the inner workings possibly of your host software and vst's/vsti's etc. and how the two interract at a technical level.
where folks often make a mistake is trying to load too many plug in instances on a poorly configged or underpowered pc.
the only solution is to run tests. you can mitigate problems by properly configuring the fastest pc you can afford and use the lowest latency sound device you can find , as well as use low latency plug ins.
plug in instruments can consume a lot of resources of a pc, and bring an underpowered one to its knees. especially with lots of instances.
because of their real time nature. what is your pc ?? config ??
i'll let you in on a little secret...my industry, the computer industry has been plagued for years with problems in running real time applications.
right thru the mainframe, minicomputer, and now the pc era.
i lost more than a few hairs debugging mainframe and mini systems.
basically the machines of each era were never powerfull enough to do everything the end users often wanted to do.
particularly related to high volumes of real time transactions.
try developing a real time banking system sometime with millions of transactions per hour. very very complex.
which is why atm's go down sometimes.
similarly with audio... lots of real time and time dependent processes occurring.
only recently at the pc level would i say the pc itself has reached sufficient processing capability to achieve the type of performance that users are demanding. and its only going to get better with the coming of multiple cores
in processors and new architectures.
__________________
i'm just a dumb computer engr (ret'd)...."quantum computing is the future"
running a native software studio daw...Powertracks and Reaper on amd.
new cockney album released http://therockingbloodbrothers.blogspot.com/
my other little songs www.motagator.com/bmanning
manning1 is offline   Reply With Quote
Old 30th July 2006   #3
Gear maniac
 
tone4407's Avatar
 
Joined: Dec 2005
Posts: 176

Thread Starter
I'm in the process of finishing my new PC. It has an AMD Athlon 64 3800 processor running at 2ghz. Its a dual core processor as well. I'll have 2 gigs of RAM, upgradeable to 4 gigs. I feel that this setup should be sufficient for computer based sequencing.

Thanks for all the info!
tone4407 is offline   Reply With Quote
Old 30th July 2006   #4
Gear Head
 
bradyvickers's Avatar
 
Joined: Jul 2006
Location: North Dakota
Posts: 50

I'm not sure what kind of latency your talking about. But regardless it will always vary. Sometimes significantly so. Whereas the latency of an AD or DA is normally the same at all times (and most are around 2ms), the latency within your DAW will vary depending on CPU load, HDD seek times, Front Side Bus speeds, etc. If your refering to the latency when trying to monitor through a virtual instrument like NI Battery, this would be the latency of your DAW combined with the latency of the DA conversion to get to your ears. So to answer your question, finally , there is no consistent number you can "plugin" for the latency of your DAW.
bradyvickers is offline   Reply With Quote
Old 30th July 2006   #5
Mac Moderator
 
Geert van den Berg's Avatar
 
Joined: May 2003
Location: Amsterdam
Posts: 3,454

I disagree...

The latency is determined by the buffersizes that you set in your software and the D/A converter and offcourse if you're tracking also the A/D's come into play.

If you set the drivers for your audio interface to a lower buffer you get less latency but then your computers CPU needs to do more calculations in a shorter timespan thus you'll have a bigger cpu load and it will perform less stable.

The buffersize is not variable, so your latency is fixed. If your computer can't keep up, you just get CPU overload errors and your audio playback will s.t.u.t.t.e.r.

So back to the original question, the latency is always the same for Battery if you leave your drivers set at the same buffersize, if you make the buffer larger you'll get more latency. (if you go above a buffersize of 128 most people find the responsive of VI's too slow) and you need to keep working at the same sample rate, because this also affects the latency, higher sample rates have less latency (but again put more strain on your CPU).
Geert van den Berg is offline   Reply With Quote
Old 30th July 2006   #6
Lives for gear
 
Methlab's Avatar
 
Joined: Jul 2004
Location: Orlando
Posts: 3,686

If you have a PC, why don't you use Nuendo? Latency won't really be an issue with PDC.
__________________
Professionally played Basslines for $35 a Track. www.professionalbassguitar.com
Methlab is offline   Reply With Quote
Old 30th July 2006   #7
Gear Guru
 
theblue1's Avatar
 
Joined: Mar 2005
Location: Long Beach, CA
Posts: 15,095

Interesting how some PT users just seem to assume the whole world uses PT and often don't mention their platform even when it's extremely pertinent to their request for information or help.

But, in this case, of course... I guess we pretty well can guess that tone4407 is using PT LE since he does not appear to have full automatic plug compensation and PT LE is the last major DAW that has failed to adequately address that crucial requirement for modern recording.


Still... for those of us who choose NOT to live in the "company town" of PT, it can't help but be at least faintly amusing.
theblue1 is offline   Reply With Quote
Old 30th July 2006   #8
Mac Moderator
 
Geert van den Berg's Avatar
 
Joined: May 2003
Location: Amsterdam
Posts: 3,454

Well even if he would use Nuendo/Cubase/Logic, delay compensation would not help him while recording the VI's, then you still have to lower your buffersizes. But on playback it's nice to be able to switch to a higher buffer on these compensated systems.
Geert van den Berg is offline   Reply With Quote
Old 30th July 2006   #9
Gear Guru
 
theblue1's Avatar
 
Joined: Mar 2005
Location: Long Beach, CA
Posts: 15,095

Doh!

Good point, Geert!

I think I must CERTAINLY need more coffee...


theblue1 is offline   Reply With Quote
New Reply New Reply Submit Thread to Facebook Facebook  Submit Thread to Twitter Twitter  Submit Thread to LinkedIn LinkedIn 



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread starter Forum Replies Last Post
Latency tduk Music computers 10 25th July 2006 06:30 PM
LATENCY danna Music computers 3 5th July 2006 03:08 PM
UAD-"What Latency?" + other PT-LE latency results BradG So much gear, so little time! 16 29th March 2006 01:52 AM
Latency Hope209 Music computers 6 25th March 2006 11:38 PM
Nice on-line utility for calculating disk space Alécio Costa Music computers 0 21st November 2004 04:14 AM


All times are GMT +1. The time now is 07:42 AM.

Home - Search Forum - Contact Us - Terms Of Use - Advertise on Gearslutz - All Advertisers - Archive - Top
 
 
Powered by vBulletin®
Gearslutz.com LTD - UK Company Number 7597610.
Registered Office - 35 Ballards Lane, London, N3 1XW.
Hosted by Nimbus Hosting.

SEO by vBSEO ©2010, Crawlability, Inc.