How do I take a wav file, transform it into an array of frequency intensities every couple ms, do something with that array then transform that new array back into a wav file.
Is there a library that looks something like this
wav_data = library.read_wav('aoeu.wav') # [0, 3, 201, ... etc]
spectrum = library.get_spectrum(wav_data)
# [[0, 0, 0, .2, 0, .7, ... etc],
# [0, 0, 0, .3, 0, .8, ... etc],
# ... etc]
spectrum[:, 0] = 0 # kill the lowest frequency (assuming spectrum is a numpy array)
library.spectrum_to_wav(spectrum) # [0, 3, 201, ... etc]