here's my code, but i don't know how to apply convolution to a stereo audio signal, i could only apply it to one channel instead of both, so i want to know if is possible to apply convolution between an array 1d to an aray 2d (stereo audio signal)
import numpy as np
import soundfile as sf
import sounddevice as sd
delay=22050
x, FS = sf.read('acdc-stereo.wav', dtype='float')
print(x)
zeros = np.zeros(delay-1,dtype='float')
h = np.concatenate(([1],zeros,[0.3]))
print('Processing..')
y = np.convolve(x[:,0],h, mode="full")
newaudio=(y,FS)
print(y)
print('Playing original signal')
sd.play(x,FS)
sd.wait()
print("playing output signal")
sd.play(newaudio)
sd.wait()