Power spectrum of audio signal

31 ビュー (過去 30 日間)
Quant.Phys42
Quant.Phys42 2019 年 12 月 7 日
回答済み: Roshni Garnayak 2019 年 12 月 11 日
If i have an audio file, an .m4a file for example, how do i plot the power spectrum of such a signal (without redundant data) with the frequency axis in Hz given that the audio signal is sampled at 40000 Hz?

回答 (1 件)

Roshni Garnayak
Roshni Garnayak 2019 年 12 月 11 日
To import the audio file into MATLAB workspace, use the ‘audioread’ function. Refer to the link below to get the details of ‘audioread’ function:
To obtain the power spectrum of the audio signal, refer to the following links:
The first link gives examples of power spectrum computation for audio signals. The second link is about the ‘dspdata.psd’ function which computes the power spectral density.

カテゴリ

Help Center および File ExchangeAudio Processing Algorithm Design についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by