I am trying to play a .ogg audio file to alert me when a rsync operation is done. However when aplay is playing the file it just creates white static noise. The manual entry only says .aiff are not supported.The specific command is aplay -f dat /usr/share/sounds/KDE-Im-Irc-Event.ogg
.ogg audio file and aplay white noise
arch linux;audio;alsa
You cannot decode ogg files with aplay. According to the man page, the only formats aplay understands are voc, wav, raw and au. My guess is that aplay interprets the ogg file as raw data, hence the white noise.Use some other program that can actually decode ogg files, e.g. mplayer, ogg123 etc.