You need to run the command from an elevated shell. When you try something like this:
sudo cat coolAudio.wav > /dev/audio
only the cat
command is running as root; the redirection to /dev/audio
is still being executed by the shell, which is running as your current user.
Try something like this instead:
sudo su -c 'cat coolAutio.wav > /dev/audio'