[Vorbis-dev] Algorithmic delay

Ralph Giles giles at xiph.org
Sun Feb 10 17:05:56 PST 2008


On 10-Feb-08, at 4:30 AM, Tor-Einar Jarnbjo wrote:

> It dependes on the block sizes used by the encoder and the sample  
> rate. Using those parameters, the algorithmic delay can be  
> calculated as 1.5*bsmax/samplerate. For example for block sizes 256  
> and 2048 (which are commonly used) and a sample rate of 44100sps,  
> the delay is 1.5*2048/44100 = 70ms.

Also IIRC the reference encoder has a three-block latency. This is a  
limitation of the particular encoder algorithm, not of the format  
itself, which is what Tor described.

You might check out Jean-Marc's experimental CELT codec if you need a  
general purpose low-latency audio codec.

   http://downloads.xiph.org/releases/celt/celt-0.1.0.tar.gz
   git clone http://git.xiph.org/celt.git

FWIW
  -r



More information about the Vorbis-dev mailing list