how to control the output device of soundsc?

52 views (last 30 days)
Tom Shlomo
Tom Shlomo on 30 Jan 2020
Answered: Can Xu on 20 Sep 2021
When I use soundsc to play an audio signal, the audio is played through the speakers, even when the headphones are connected.
Other MATLAB sounds (such as errors) are played through the headphones.
How can I get soundsc to use the headphones?
(I recently moved from windows to mac. In windows it was no problem as soundsc used the output device defined by the operating system)
Tom Shlomo
Tom Shlomo on 31 Jan 2020
It's the same when I use audio player.
I should add that this problem does not always happen, sometimes I can get sound out of my headphones.
I am pretty sure this issue is related to the one described in this post.

Sign in to comment.

Answers (1)

Community Treasure Hunt

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

Start Hunting!