I have an Asterisk SIP server when I playback an audio file (.law file, compressed to playback) , I hear a noticeable click (or sound artifact) before the playback starts. This "click" is not in the actual audio file and at the beginning of each playback command in the AL script. Should I use a different format, this is a codec issue, how do I solve this problem?
Here are some of my files:
It is difficult to say without looking at the file, but if the first sample of the file starts with something other than 0, you can get a click (because the output is 0 in a sample In - a comprehensive noise impulse). If you do not know that a sample "clean" starts, it can understand to ramp up in quantity, or search uncompressed data for zero-crossing and can start from there.
Comments
Post a Comment