How to get the FFT of the audio sample from videoFileReader object
Afficher commentaires plus anciens
I am a beginner in Matlab and I wanted to get the power spectrum values from the audio sample of a given frame in a video. I tried doing this.
[I,AUDIO] = step(videoFReader)
y = fft(AUDIO)
but it is giving me an error undefined function 'fft' for input agruments of type 'int16'
Réponses (1)
Honglei Chen
le 5 Juin 2013
you can do
y = fft(double(AUDIO))
Catégories
En savoir plus sur Audio Processing Algorithm Design dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!