How to get the FFT of the audio sample from videoFileReader object
古いコメントを表示
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'
回答 (1 件)
Honglei Chen
2013 年 6 月 5 日
you can do
y = fft(double(AUDIO))
カテゴリ
ヘルプ センター および File Exchange で Audio Processing Algorithm Design についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!