But i’m not sure if i’m doing it right, because I want to test with audio files (.caf and .aif), testing the latency with three kind of waves (sine, sawtooth and square).I wrote this data audio in files on my mac using Core Audio.
I just import the files into the AudaCity, and created a ping and record, but the tests show me basically the same numbers: in about 500 ms.
I want to know if exists another way to test the latency with the AudioFiles.
“Latency” isn’t about “files”.
Latency refers to the delay between the time the audio enters the computer and the time Audacity is able to record it to a track. It’s only really relevant if you are making “overdub” recordings. For most other tasks it is irrelevant.
“Latency” is a “delay” between one thing and another.
In the context of Audacity, and specifically http://manual.audacityteam.org/man/Latency_Test, “latency” refers to the “delay” between the time that audio enters the sound card and the time that the it is written (in digital format) to the hard drive.
What is the “delay” that you are wanting to measure?
Audacity does not work directly with files. Unless you have enabled the “on demand loading” feature (off by default), Audacity copies the audio data into a temporary folder as a series of small data files (usually in 32 bit float format). See here if you want more information about this: http://manual.audacityteam.org/o/man/audacity_projects.html#AUP