gives the name of the default audio output device attached to the computer.


$DefaultAudioOutputDevice
gives the name of the default audio output device attached to the computer.
Details

- $DefaultAudioOutputDevice can be set to any available device listed in $AudioOutputDevices. The value is preserved across Wolfram Language sessions.
- If not set explicitly or if cleared, $DefaultAudioOutputDevice is effectively taken to be the same as the system settings.
- Typical settings include:
-
Automatic automatically chosen "SystemSetting" same as system settings "devname" an explicit device
Examples
open all close allScope (2)
Check the list of available devices using $AudioOutputDevices:
Related Guides
Text
Wolfram Research (2016), $DefaultAudioOutputDevice, Wolfram Language function, https://reference.wolfram.com/language/ref/$DefaultAudioOutputDevice.html (updated 2017).
CMS
Wolfram Language. 2016. "$DefaultAudioOutputDevice." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2017. https://reference.wolfram.com/language/ref/$DefaultAudioOutputDevice.html.
APA
Wolfram Language. (2016). $DefaultAudioOutputDevice. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$DefaultAudioOutputDevice.html
BibTeX
@misc{reference.wolfram_2025_$defaultaudiooutputdevice, author="Wolfram Research", title="{$DefaultAudioOutputDevice}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/$DefaultAudioOutputDevice.html}", note=[Accessed: 11-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_$defaultaudiooutputdevice, organization={Wolfram Research}, title={$DefaultAudioOutputDevice}, year={2017}, url={https://reference.wolfram.com/language/ref/$DefaultAudioOutputDevice.html}, note=[Accessed: 11-August-2025]}