Log in

View Full Version : Normalize() for 16bit audio bug


dimzon
25th January 2006, 18:25
try

DirectShowSource("myAudio.m4a")
ConvertAudioTo16bit()
Normalize()

produce distortions @ the start



DirectShowSource("myAudio.m4a")
ConvertAudioTo32bit()
Normalize()
ConvertAudioTo16bit()

plays fine

IanB
28th January 2006, 14:46
@dimzon,

Are you using version 2.5.6? In prior versions normalize had many bugs.

DirectShowSource is known to have problems seeking correctly, Normalize, because it forces 2 passes of the audio stream, unfortunatly usually exposes these shortcomings. Try using the new SeekZero=true DSS option also try using EnsureVBRMP3Sync()

Also Normalize only supports 16bit and Float samples, so your ConvertAudioTo32bit().Normalize() will internally become ConvertAudioto32bit().ConvertAudioToFloat().Normalize().