# Why there is static noise and voice distortion after convolving it with impulse response?

I have been working on the decorrelation of audio signals while following this paper :

The Decorrelation of Audio Signals and Its Impact on Spatial Imagery

So far I have generated impulse responses in such a way that magnitude is 1 in all frequency spectrum, while random phase generation between -π to π. I correlated these signals and I am getting the required correlation.

Now moving on, when I convolve this impulse response with my audio signal, results in the case of decorrelation are good but the audio becomes noisy and distorted. I am attaching the reference wav file and decorrelated wav file.

Some points regarding computation:

• All audio data computations are in float range [-1.0:1.0].
• I am using Python to perform all the calculations
• The input reference file is in Short (PCM 16 bit) format which is converted to float range [-1.0:1.0].

I have saved convolved_decorrelated_output.wav in both formats PCM 16 bit short and Float as mentioned above. Still getting the same results. So there are no issues regarding data type conversion as per my knowledge.
Any help will be appreciated.
Regards,

https://www.researchgate.net/post/Why_there_is_static_noise_and_voice_distortion_after_convolving_it_with_impulse_response

Impulse Response:

Convolution_code:

resultant_chunk = list()
for chunk in data_chunks:
resultant_chunk.append(np.convolve(chunk,impulse1,mode="same"))

resultant_chunk = np.hstack(resultant_chunk)
# diff = len(resultant_chunk) - len(data)|
diff = len(resultant_chunk) - len(recorded_data)
resultant_chunk = resultant_chunk[:-diff]
len(resultant_chunk)

• How long is your audio? and how long is your inpulse response? – Bob Mar 4 at 9:18
• are you sure you aren't clipping? – Marcus Müller Mar 4 at 11:07
• @user12750353, Audio length is approximately 6 seconds at a sampling rate of 48000. I have made 21 ms of chunks for replicating streaming in real-time. My Impulse response is also of length 21ms i.e 1024 samples. – Khubaib Ahmad Mar 4 at 11:08
• @MarcusMüller No sir, there seems no clipping because the recorded sound is from the laptop, and while visualizing the audio file in Audacity and In data (array) form, there is no clipping. It's more like robotic sound with static noise added. – Khubaib Ahmad Mar 4 at 11:10
• yeah, that sounds exactly like what happens when you drastically clip. Make sure none of the floating point values leaving your convolution are outside [-1,1]; other than that, you're asking us to debug your system, which you only tell us about, but don't show, so that'll be hard. – Marcus Müller Mar 4 at 11:13