How to generate auditory output using Simulink
Afficher commentaires plus anciens
Dear all, I'd like my Simulink-model to generate an auditory output (e.g., a beep). I figured the 'to audio device'-block from the DSP System Toolbox/Signal Processing Sinks would work, either in combination with a wav-file using the 'From Multimedia File'-block or with a sine-wave using the 'Signal From Workspace'-block. The principle seems to work. But I am not able to let the simulink model generate the auditory output once I've set my fixed step size to the desirable 0.001. Any suggestions how I can use a wav.file with a different sample time as the fundamental sample time of the model and keep the characteristics (i.e., pitch/ duration etc) of the sound?? Thank you for your help!
Réponses (0)
Catégories
En savoir plus sur Audio I/O and Waveform Generation dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!