There's a discernible difference between 44.1kHz and 48 kHz for sample rate. There's a major difference between these and 96kHz, which there's more sound concentration or richness to be heard per second. For bit depth, I can hear the difference in high and low ranges between 16bit and 24bit, while others insist that this difference can't be heard.
Ogg Vorbis & Ogg Opus are lossy codecs which offer higher resolutions and higher bit depths than mp3, and in less disk space. Opus was intended to be the successor to Vorbis. Opus use is best in streaming such as in video games, online radio and podcasts. While Opus was intended to have higher quality than Vorbis, when it comes to high fidelity, it's believed that Vorbis has higher quality than Opus. When it comes to data transmission, Opus is recommended. Speex is another lossy audio codec contained in Ogg used for speech transmission which was replaced by Opus.
Vorbis is contained in the .ogg format. .oga was intended to be Ogg for audio, and .ogv was intended to be Ogg for video. These conventions for Ogg didn't stay, and most widely used software doesn't recognize these format suffixes. The .ogg suffix is the default for Ogg sound files. Opus has previously been contained in the .ogg format, but now has its own .opus suffix. Opus can still use the .ogg suffix.
Flac is lossless like wav, and acc. However, flac uses less dataspace, which makes it great for storing lossless audio. Flac supports depths of 16bit, 24bit and 32bit.
There's also audio/mac which is a lossless codec which was opensourced to a BSD license in 2023. Unfortunately, sox and other media players don't recognize it. MAC is for Monkey's Audio Codec, and it uses .ape files. sox doesn't recognize this format. This codec may be limited to CD quality.
32bit bit depth is often used for mixing, to be converted back into lower or original bit depths. Use soxi(1) from audio/sox to see information of music files.
pls and m3u are playlist files recognized by sox: m3u was originally for mp3's. For unofficial specifications for both, from Winamp: https://forums.winamp.com/forum/tec...3345-m3u-and-pls-specification?threadid=65772. Xiph has playlist standards (https://xspf.org/) of xspf in XML, and jspf in Json. This is also not recognized by sox.
Format/Codec | Bit Depth | Sample Rate | Misc |
---|---|---|---|
2nd generation gaming | basic tones | basic tones | mono |
POTS telephony codecs | 8bit | 8kHz | mono |
8bit PC codecs (.au, .snd) | 8bit | 8kHz | stereo |
ISDN telephony codecs | 16bit | 16kHz | mono |
4th generation gaming | 16bit | 32kHz, 44.1kHz | mono |
CD | 16bit | 44.1kHz | lossless |
MP3 | 16bit | 48kHz max | lossy |
DVD video | 24bit | 96kHz max | lossy |
DVD-A (audio) | 24bit | 192kHz max | lossless |
SACD | 1bit (different standard) | 2,822.4kHz | lossless |
Bluray Audio | 24bit | 96kHz or 192kHz | lossless or lossy |
Vorbis is contained in the .ogg format. .oga was intended to be Ogg for audio, and .ogv was intended to be Ogg for video. These conventions for Ogg didn't stay, and most widely used software doesn't recognize these format suffixes. The .ogg suffix is the default for Ogg sound files. Opus has previously been contained in the .ogg format, but now has its own .opus suffix. Opus can still use the .ogg suffix.
Flac is lossless like wav, and acc. However, flac uses less dataspace, which makes it great for storing lossless audio. Flac supports depths of 16bit, 24bit and 32bit.
There's also audio/mac which is a lossless codec which was opensourced to a BSD license in 2023. Unfortunately, sox and other media players don't recognize it. MAC is for Monkey's Audio Codec, and it uses .ape files. sox doesn't recognize this format. This codec may be limited to CD quality.
32bit bit depth is often used for mixing, to be converted back into lower or original bit depths. Use soxi(1) from audio/sox to see information of music files.
pls and m3u are playlist files recognized by sox: m3u was originally for mp3's. For unofficial specifications for both, from Winamp: https://forums.winamp.com/forum/tec...3345-m3u-and-pls-specification?threadid=65772. Xiph has playlist standards (https://xspf.org/) of xspf in XML, and jspf in Json. This is also not recognized by sox.
- Speex
- Flac
- Vorbis
- Opus