1

I want to apply a blackman hanning window to an audio signal (wav file). For this I need to find the discrete time signal of the wav file, because

xw(n) = x(n) * w(l).

But I have only managed to read the wavfile using scipy.io.wavfile.read. Which function will allow me find the x(n) of my wav file?

import winsound
import numpy 
winsound.PlaySound ("cat_got_tongue.wav",winsound.SND_FILENAME)
import scipy.io.wavfile
import matplotlib.pyplot as plt
rate, data = scipy.io.wavfile.read ("cat_got_tongue.wav")
window = numpy.blackman(256)
Olivia
  • 11
  • 1

0 Answers0