필터 지우기
필터 지우기

[Simulink] Play and record audio simultaneusly

조회 수: 3 (최근 30일)
José M. Requena Plens
José M. Requena Plens 2020년 7월 8일
댓글: José M. Requena Plens 2020년 7월 15일
Hello,
I'm trying to design a model that can play and record sound simultaneously, something like the audioPlayerRecorder object. Is it possible to do it in Simulink?
I have a full-duplex sound card, I have verified that it works with audioPlayerRecorder, but in the blocks I can only put 'Audio Device Writer' and 'Audio Device Reader' separately and does not work, plays for a few milliseconds and then only receives.
Any idea how to do it in Simulink?
Thanks
Note: I'm a newbie with Simulink, sorry if the question is simple.

채택된 답변

Carlos Sanchis
Carlos Sanchis 2020년 7월 15일
After looking at the model with Professor Requena, we've concluded the issue was the sample time of the noise source, which was set to a few seconds. With a sample time of 0.0001 seconds, this works well.
  댓글 수: 1
José M. Requena Plens
José M. Requena Plens 2020년 7월 15일
That's right. The solution was simple, but I didn't see it. Thank you very much!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by