Filter löschen
Filter löschen

Sound audio playing and recording simultaneously

8 Ansichten (letzte 30 Tage)
Sukvasant Tantikovt
Sukvasant Tantikovt am 17 Jan. 2016
Kommentiert: Walter Roberson am 18 Jan. 2016
Is it necessary to use DAQ toolbox to realize simultaneous audio playing and recording via sound card? Can audioplayer and audiorecorder objects achieve that?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 17 Jan. 2016
It is necessary to use either DAQ or DSP to get simultaneous audio playing and recording if you want the two to be synchronized.
If you do not care about the two being synchronized, the audioplayer() play() method is asynchronous, and the audiorecorder() record() method is also asynchronous, so you can start one and then the other while still being able to react to user events.
  2 Kommentare
Sukvasant Tantikovt
Sukvasant Tantikovt am 18 Jan. 2016
I would like to use Matlab and soundcard as a tester for audio gears. Matlab generates signal and capture response simultaneously for real-time analysis.
Walter Roberson
Walter Roberson am 18 Jan. 2016
Then you probably want DSP Toolbox and configure for ASIO drivers.
If you were not using a sound card, then I would suggest DAQ, with timestamps on, so that you can do more precise analysis of latency and frequency response and phase effects.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Audio I/O and Waveform Generation finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by