davidpraise45 / Audio-Signal-Processing

Removing background noise in a sound file
62 stars 30 forks source link

TypeError #3

Open inamdarmusab opened 3 years ago

inamdarmusab commented 3 years ago

FourierTransformation = sp.fft(array) TypeError: 'module' object is not callable

rudrathegreat commented 3 years ago

Maybe like so? -


from scipy import fft
transformedData = fft(array)
inamdarmusab commented 3 years ago

not working @rudrathegreat

rudrathegreat commented 3 years ago

hmmm.... is it the same error as before? The TypeError?

rudrathegreat commented 3 years ago

Ok I see. What you are calling is a module, not a method. You have to do something like -


from scipy.fft import fft
transformedData = fft(array)
Saurabh641444 commented 3 years ago

FourierTransformation = sp.fft(array) TypeError: 'module' object is not callable

Same error please help

rudrathegreat commented 3 years ago

did u try what I showed? I think that is the solution