I have been working on the decorrelation of audio signals while following this paper :
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.
P.S: Link to download wav files:
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)