Audio Files in a Triggered Subsystem?

조회 수: 1 (최근 30일)
Benjamin Petit
Benjamin Petit 2022년 3월 17일
댓글: Benjamin Petit 2022년 3월 19일
I'm trying to create a system where upon recieving an external input, a sound is played. The error message indicates that the sample time should be set to -1 but I cannot find an option to change this for the audio file. Is there a way to accomplish this?

답변 (1개)

jibrahim
jibrahim 2022년 3월 17일
Hi Benjamin,
You can't use this audio block in a triggered subsystem. You can try an enabled subsystem though. Both From Multimedia File block and the 'Audio Device Writer' block should work there.

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by