|
From: Stefan L. <Ste...@sn...> - 2001-11-17 21:18:02
|
Hi I've got a bit deeper into this problem, and it seems to be a more serious thing. In my sample files where these beeps occure there are, when beeps happen, 9 consecutive audio blocks filled with 0x800 (2048). In 16bit recording mode value 0x8000 indicates an error and should be replaced by 0x8001. One sequence with 1508 frames has 2 beeps. From header information there should be 1930308 samples (most frames with 1280 samples some with 1281). But 2 beeps means that there are 2 * 9 * (72bytes / (2channels * 1.5 bytesPerSample)) = 432 samples missing or filled with invalid values. 1508 frames / 25 FramesPerSecond at 32000 Hz would require 1930240. Found samples ((1930308 - 432) * 25 FramesPerSecond) / 1508 frames = 31993.97 Hz. So does that mean we may not trust the given value of samples per frame ? Do we need a on the fly resamlper to adjust such differences for playing ? -- mfg Stefan Lucke (Ste...@ep...) |