Matlab is unable to detect the sampling frequency of Audio Interface

4 ビュー (過去 30 日間)
Ajay Kumar
Ajay Kumar 2011 年 12 月 8 日
I have an ASIO audio interface. It is running at 48000Hz. When I check rate using playrec('getDevices'), I see the default sampling rate as 44100Hz. I tried changing the sampling frequency on the device, however Matlab reads the same 44100 Hz.
Is there any way to resolve this issue?

回答 (1 件)

Daniel Shub
Daniel Shub 2011 年 12 月 9 日
One of the points of playrec, and other port audio interfaces, is to bypass the Microsoft Windows mixer. You need to set the sample rate with playrec, not with the Microsoft Windows mixer.
  6 件のコメント
Daniel Shub
Daniel Shub 2011 年 12 月 13 日
I am not sure if a loop back will let you validate the sample rate. I am pretty sure you need either a known signal or a known recording. If it is the start latency that you are worried about, I think the psychtoolbox port audio implementation is the lowest latency implementation that I have seen.
Ajay Kumar
Ajay Kumar 2011 年 12 月 14 日
I am fine for now. But, I would like to know what is it that causes difference between MOTU and other Audio Interfaces. I shall keep the question open in case someone finds a similar issue.
Thank you very much, Daniel!

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

カテゴリ

Help Center および File ExchangeSimulation, Tuning, and Visualization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by