OGG vs. LAME
The mode for listening to music has evolved over the years. Nowadays, people simply turn to their desktop computers, laptops and even more compact mobile devices to listen to or make music. The earlier formats, such as cassette tapes and CDs or compact discs are no match for the number of songs you can now save in your music library.
Compact discs revolutionized the music industry. The new format gave way to better sound quality and much simpler recording. Compared to cassettes, compact discs are more convenient for both listeners and music makers.
While compact discs are still popular nowadays, the demand for music availability online is growing exponentially. To match the demands of modern listeners, developers recently made a lot of new algorithms to make music available in several formats. These formats vary on sound quality so choosing the right format of music is important.
Although several formats are now available, the MPEG1 Audio Layer3, most commonly known as the MP3 is the crowd favorite. Several programs are available in encoding formats like this. Comparisons between programs encoding to MP3 are available online but the best program available so far is LAME. LAME is a software project that is available for free, and comes with no restrictions on licensing.
However, the MP3’s popularity is now being challenged by the existence of Ogg Vorbis. The Beta 3 version of Ogg Vorbis was launched in the summer of 2000 and is also popular among users. The year 2001 kicked off with the launch of the new versions of the encoders: LAME 3.88 beta and Ogg Vorbis 1.0 beta 4. Both are very different from their former versions and now we will be comparing them side by side.
Pauses are inevitable in coding nonstop albums into MP3 because files constantly need to pause both at the start and at the end of tracks. LAME corrects the beginning of files while files in Ogg Vorbis completely overlap with the original. Similar to CD-DA format, LAME code files limited to 44100 Hz sampling frequency while OGG can code files at 48000 Hz.
The purpose of coding is to reach maximum sound quality. For this reason, maximum parameters were set for both of the coders. The LAME was set in the mode of 320 Kbit and sound range of up to 22 KHz and highest quality (-q0) and allows the coder to set other parameters. For OGG, the mode was also set at the highest quality that is 350 Kbit but unlike in the, other parameters cannot be regulated.
High frequency processing is quite unusual for the highest quality coding mode. Check the samples then compare them to the original recording.
The LAME samples have delta signals that sounded like a quiet wide band where the main sound can be heard weakly, with rough sound pattering and severe high frequency distortion. For the OGG samples, the sound is more complicated since it is reminiscent not only of noise but of a highly distorted original recording with phase distortion effects. In the OGG, better processing of different ranges is evident. They appear to be more thorough as compared to the LAME where parameters are indistinguishable with psycho acoustic models for most of the subranges. It is more apparent when the AFC of the delta-signals were analyzed. The lower the signal is, the better is the sound quality on corresponding frequencies.
Results and Recommendations
The exceptionally high bitrate gave excellent sound quality but it is not favorable for high bitrates because a file streaming at 25 Mbytes/s is considered to be big. Many users prefer bitrates with 256 Kbit for a lower file size despite the lower sound quality. For this reason, we compared the sound quality of both coders in lower bitrates and estimated the losses relative to the highest bitrate. For the LAME to enhance the quality of the basic audible range, frequencies above 20 KHz were cut. We tested the LAME with a constant and a variable bitrate.
The OGG’s frequency reproduction in the 15 to 18 KHz range was much better since the LAME cut the sound at lower frequencies and in pauses between high amplitude splashes. The LAME showed better reproduction of frequencies when in the average bitrate mode than when in constant bitrate mode.
The sounding for the delta signal and the 320 Kbit mode are similar. In high frequency range, OGG samples have hoarse sounds and increase in noise is apparently heard in LAME samples.