Hi,
There is an algorithmic delay when u decode with the speex.....
basically, if u encode a 'abc.wav' file to 'abc.spx' and then decode it back to some 'xyz.wav', u get a delay in at the starting in the 'xyz.wav' compared to 'abc.wav'
I did some experiments with a 16KHz speech file....
by default speex encode it at a default bit-rate(i.e. 27800 bps in my case, I saw it thru Verbose mode) I dont get a delay, i.e. the files 'abc.wav' and 'xyz.wav' are aligned sample by sample and I get a fairly small residual...
But when I force it to encode at a bit rate of 13000 bps and 6500 bps, I get a delay at the starting....
In the case of 6500 bps I get a delay of around 1ms.
Could you please explain it to me why there is no delay in the default mode and there is a delay at lower bit-rates.... (I didnt check for a bit-rate higher than 27800 bps)