<div dir="ltr"><div>how do i use either aplay or paplay and specify a device?  aplay fails because pulseaudio hogs the devices?  and paplay and it's manpage and help are no help trying to learn how to specify the desired device:<br></div><div dir="ltr"><br>$  aplay -DS7 /usr/share/sounds/alsa/Front_Center.wav<br>ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM S7<br>aplay: main:830: audio open error: No such file or directory</div><div dir="ltr">$  aplay -Dhw:S7 /usr/share/sounds/alsa/Front_Center.wav<br></div><div dir="ltr">aplay: main:830: audio open error: Device or resource busy<br>$  paplay -dhw:S7 /usr/share/sounds/alsa/Front_Center.wav<br>Stream error: Invalid argument<br>$  paplay -dS7 /usr/share/sounds/alsa/Front_Center.wav<br>Stream error: No such entity<br>$  paplay -l<br>paplay: invalid option -- 'l'<br>$  paplay -L<br>paplay: invalid option -- 'L'<br>$  cat /etc/lsb-release <br>DISTRIB_ID=Ubuntu<br>DISTRIB_RELEASE=20.04<br>DISTRIB_CODENAME=focal<br>DISTRIB_DESCRIPTION="Ubuntu Focal Fossa (development branch)"<br>$  dpkg-query -W alsa-utils<br>alsa-utils      1.2.2-1ubuntu1<br>$  dpkg-query -W pulseaudio-utils<br>pulseaudio-utils        1:13.99.1-1ubuntu2</div></div>