Filter löschen
Filter löschen

Audio Files in a Triggered Subsystem?

1 Ansicht (letzte 30 Tage)
Benjamin Petit
Benjamin Petit am 17 Mär. 2022
Kommentiert: Benjamin Petit am 19 Mär. 2022
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?

Antworten (1)

jibrahim
jibrahim am 17 Mär. 2022
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.

Kategorien

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

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by