Effacer les filtres
Effacer les filtres

Audio Files in a Triggered Subsystem?

1 vue (au cours des 30 derniers jours)
Benjamin Petit
Benjamin Petit le 17 Mar 2022
Commenté : Benjamin Petit le 19 Mar 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?

Réponses (1)

jibrahim
jibrahim le 17 Mar 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.
  1 commentaire
Benjamin Petit
Benjamin Petit le 19 Mar 2022
Thank you, I'll try that!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Audio I/O and Waveform Generation dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by