How to get the FFT of the audio sample from videoFileReader object
Mostrar comentarios más antiguos
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'
Respuestas (1)
Honglei Chen
el 5 de Jun. de 2013
you can do
y = fft(double(AUDIO))
Categorías
Más información sobre Audio Processing Algorithm Design en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!