Everytime I use the audiowrite and audioread function, it adds some noise to my original signal. Does this happen just to me?

3 ビュー (過去 30 日間)
Frequency response plot of the signal before audio writing:
Frequency response plot of the signal after audio writing:
PS : The frequencies peaks of the signal are 20, 20.5 and 21KHz respectively.
  3 件のコメント
Visweshwar Srinivasan
Visweshwar Srinivasan 2018 年 6 月 8 日
編集済み: Visweshwar Srinivasan 2018 年 6 月 8 日
Thanks for the reply, the class of the variables used is double, both before writing and after reading. The range of this signal is 0 and 2.1369, which means the modulus(maximum) of this signal is greater than 1, so is this because the signal is getting clipped due to this fact? Also, I have plotted frequencies from 0 to fs, where fs is the sampling frequency (44.1KHz). The frequency peaks are 20, 20.5 and 21 KHz, and the other part is due to complex conjugate symmetry of the signal.
Visweshwar Srinivasan
Visweshwar Srinivasan 2018 年 6 月 8 日
Thanks a lot, sir! The problem got solved now.

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2018 年 6 月 8 日
The data is getting clipped on output because audiowrite() clips double values that are outside the range -1 to +1

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAudio I/O and Waveform Generation についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by