How to generate auditory output using Simulink
Show older comments
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!
Answers (0)
Categories
Find more on Audio I/O and Waveform Generation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!