Saturday, August 6, 2011

Part 1 - Making Your Computer an Audiophile-Quality Music Player

Even though this subject is for music lovers who are not necessarily involved in music production, I think it is important information for music professionals as well. Whether you produce, engineer, or are 'just the musician', the better trained your ears are, the better your musical output will be. And having a trained ear involves listening to music in true high-definition. Also for vinyl lovers, this is how you can learn to love digital just as much.

Most people still listen to music on their computer through earbuds, internal speakers, or small external speakers. For serious listening they have the big entertainment system, and they may have an iPod/iPhone dock so they can play their iTunes library. But there is a growing trend of integrating the computer into the entertainment system as a main source for music (and video). Truthfully the majority of people love it. But almost everyone who is somewhat of an audiophile, especially vinyl lovers, like what they hear from the computer or iPod dock even less than CD's. We're going to talk about why that is and how it can easily be fixed. And it can be done in surprisingly affordable steps, the basic ones costing nothing but a little time.

One reason most vinyl-lovers don't like the sound of digital is that they've never really heard CD's reproduced properly and with really good converters. And even more likely they've never heard high-resolution digital audio, which is much better than CD quality. In fact, a large number of analog-only guys have come over to the digital side after hearing high-resolution digital properly reproduced. I'm not going to get in depth about your choice of speakers, amps, preamp vs. receiver etc. etc., though I will make some important points about that at the end of the final part 4. My focus will be on how to improve your computer's audio-media player (iTunes etc.), how it's going to convert digital to analog, and what kind of audio files you're feeding it.

I will be talking specifically about how to use and improve iTunes, but almost everything I'll talk about you'll find in Windows Media Player and others. I am not going to be crazy technical, except in a few cases where I'll warn you in advance. Otherwise I think anyone will understand this. So you don't get too beat up, I'll do this in four parts that you can digest one at a time before I post the next. And each successive part will make a little more improvement in your sound. This first step of part 1 involving audio files may bore audio pros who probably already know most it, but I promise you in parts 2, 3 and 4 you'll learn something you didn't know.

In part 1 we'll cover four steps:
Step 1 - Understanding digital audio file formats.
Step 2 - Importing CD's into iTunes without losing sound quality.
Step 3 - Dealing with the iPod, iPhone and mp3 players.
Step 4 - Obtaining high-definition digital audio files that are better than CD-quality.

STEP 1 - UNDERSTANDING DIGITAL AUDIO FILE FORMATS

We're not going to get overly technical, but it's important to know at least a little about audio files. If you're interested in high-quality sound, it's important to know which digital audio file formats deliver the best fidelity. Despite all the improvements I'll suggest you make to your audio player and system, all they can do is reproduce what they're fed, and if it's garbage in, it's garbage out.

The first thing to know is that we have all been sold down the river by having the data-compressed formats mp3 and m4a (iTunes AAC) crammed down our throats as the 'future of digital audio'. The ONLY advantage these files have over full quality files is they are much smaller - about 10% to 20% the size of a CD-quality audio file. But you lose considerable fidelity, which probably isn't apparent if you're listening on standard-issue earbuds or computer speakers, but on a good system it's obvious it's not right.

These formats were pushed on us for two reasons; around 1998 when mp3 was introduced large hard drives were very costly, and internet speed was comparatively slow, so mp3 player manufacturers could brag about how many songs you could store without using a lot of space, and how quickly you could download a song. But now that large hard drives are so inexpensive, and internet speeds much faster, there is no reason to data-compress your main music library. The first mistake we're correcting is sacrificing the quality of your main music library just so you can get 2000 songs on your iPod. As you'll see, you can still do that if you want, but it can be done without ruining your main music library on the computer. Even though your mp3's and AAC's played from iTunes will sound better on your hi-fi after you make my suggested improvements, you're not really going to get audiophile-quality sound until you're listening to at least CD quality files, and eventually better. And if you don't think CD's really sound better than mp3's, you'll change your mind once you hear the difference on your improved system.

THE BASICS YOU SHOULD KNOW ABOUT DIGITAL AUDIO FILES


1. Lossless Files
A lossless audio file is a full quality, full size audio file. AIFF and WAV are the two types of lossless audio files you will be seeing. They have been standards in professional production and broadcast since the 70's. The audio tracks on a CD are WAV files. The quality of a lossless file can be determined by its 'sample rate' and 'resolution', also called 'bit depth'. No need to worry about what that means, but it's simple to understand the numbers. The audio files on a CD are ALWAYS 44.1k sample rate, 16 bit resolution, which is indicated as '44.1k/16' or simply '44.1/16'. You will see only two bit depths in consumer audio - 16 and 24 bits. But sample rates can be 44.1k, 48k, 88.2k, 96k, 176.4k and 192k! With a few caveats, the higher these numbers are, the better quality the sound will be. Also the higher the numbers, the larger the file. There is no difference in sound quality between an AIFF and a WAV file. Most audio media players like iTunes and Windows Media Player can play both AIFF and WAV. We'll get into specifics about that and iPods later.



2. Lossy-Compression Files
mp3 and m4a (iTunes AAC) are 'lossy-compression' audio files. They are much smaller than full quality files - normally 10% to 20% the size - because a lot of the data is discarded, meaning the file has been 'compressed', at the expense of sound quality. You will see these files rated in numbers that indicate their 'bit rate'. For instance, 256kbps is the bit rate for the standard iTunes+ AAC. Before that, the standard was 128kbps. The higher the bit rate, the better the sound quality and the larger the file. But even the highest bit rate AAC or mp3, which is 320kbps, is still not as good as a full CD-quality file.
By comparison to WAV's and AIF's, mp3's and AAC's can be either 44.1k or 48k. All music available as downloads from music retailers in mp3 or AAC formats are 44.1k. 48k is very rare.

3. Lossless-Compression Files
'Lossless-Compression' files use around half to two-thirds the space of AIFF and WAV, but unlike mp3 and AAC the compression is done in a way that does not harm the sound quality. They are rated by the same number system as lossless files (44.1/16 etc.). The one you will see in iTunes is Apple Lossless (ALAC), and for reasons we'll discuss later this is probably the best format for home hi-fi use for now. The lossless-compression format that seems to be gaining the most popularity is FLAC. iTunes cannot play FLAC files directly yet, but it's rumored it soon will. If you create some Apple Lossless files from your CD's now, and then FLAC files later when iTunes supports it, they are completely compatible and iTunes will play from one to the other with no problem. There is no difference in sound quality between the two, but FLAC files are adjustable and can be made almost half the size of the equivalent lossless file, while ALAC's are fixed and are usually a little less than 2/3 the size of a lossless file. 
The reason some don't like using lossless-compression files is that AIFF and WAV are long-established standards that you can be sure will be playable by systems for decades to come, but not everything can play Apple Lossless or FLAC. Media Player can play FLAC but not Apple Lossless. iTunes can only play FLAC with a third party plug-in at this time. However, you can download free utilities that will convert Apple Lossless or FLAC files back into full AIFF or WAV files if you run into compatibility problems.

Many are surprised to discover that iPods/iPhones can play AIFF, WAV and Apple Lossless files. You'll find the details below. Many mp3 players can also play lossless and lossless-compression files. You'll need to check your player's spec sheet.

The next step is to get at least your favorite, most listened to CD's into your computer without harming the sound quality. Here's how to do that:

STEP 2 - IMPORTING YOUR CD'S INTO ITUNES WITHOUT LOSING QUALITY

If you don't care about details, just do this:
Insert a CD and open it in iTunes. At the bottom right click the 'Import Settings' button, which you'll also find under preferences. In this window you'll see an 'Import Using' menu. Set this to 'Apple Lossless Encoder'. At the bottom is a checkbox for selecting error correction. Even though it takes longer, this is the best setting for any file format including mp3 and AAC, especially for ripping in older scratched CD's.
If you'd prefer to use AIFF or WAV, select it in the 'Import Using' menu. You'll then see a second 'Settings' menu. Set this to 'Automatic' and turn on the error correction.

That's it! You are now importing your music without losing sound quality, but you are using a LOT more hard drive space. Here's a comparison (approximates):
For one hour of music -
44.1k/16 (CD-quality) lossless files use 650MB.
44.1k/16 lossless-compression files use 325 - 450MB.
256kbps lossy-compression files use 130MB.
128kbps lossy-compression files use 65MB.

So a good, and probably necessary thing, is to eventually buy a hard drive that will be your dedicated music vault. And soon after, get a second for backup. You can at least get started using your internal drive, and then export your library when you get an external drive. You'll find quality 500GB and 1TB drives in the $150 range, and that should be enough for most music listeners. a 1TB hard drive can hold around 2500 - 3000 hours of CD-quality lossless-compression files or 1500 hours of lossless files.

The mistake most people have already made is they have ripped their CD collection into the computer as mp3's or AAC's. And sadly, many people get rid of their CD's after doing this. Most didn't realize that importing the music would degrade the sound, because the default setting in iTunes is for AAC, just like the default in Media Player is for mp3. At least since iTunes+ was launched in 2009, the default has been for 256kbps, which was an improvement in sound quality. Prior to that, defaults were set for the God-awful 128kbps bit rate. Your library will eventually contain a mix of lossy-compression, lossless compression and possibly lossless audio files. iTunes can play between all of these, even in the same playlist, with no problem.

It's important to understand that at least for now the music you download from iTunes, Amazon etc. will still be mp3's and AAC's; the changes we made in import settings only affect CD's you are ripping in, and files you are changing from one format to another. What a lot of people don't know is that many artists already offer CD-quality 44.1/16, and even better, downloads on the band's personal site for quality-conscious fans. They may cost 10 cents more than the mp3, but it is so worth it. Also, in February 2011 Apple began talks with major labels for iTunes to be able to offer the full-quality download option. This is what we have been waiting for!!!

To see what format songs in your existing library are, select a song and get info. On the summary page you'll see kind, size and bit rate. More efficiently, looking at list view, control-click or right-click on a column header, 'Name' for instance, and you'll find Kind and Bit Rate that you can add as columns. That way as you get into ripping CD's back into your library correctly, you can sort to see what hasn't been upgraded yet. Note that in the info window it refers to resolution (number of bits) as Sample Size. 


As you explore high resolution downloads, you will find 44.1k and 48k in both 16 bit and 24 bit resolution. But once you get to 88.2k and above, they will always be 24 bit. We'll get into that in just a bit.



STEP 3 - DEALING WITH THE IPOD/IPHONE

Many aren't aware that iPhones and iPods can play AIFF or WAV files at 44.1/16 and 48/16, and Apple Lossless files at those two sample rates and either 16 or 24 bit. In playlists or shuffle mode, like iTunes they'll go happily between mp3's, AAC's and Apple Lossless/WAV/AIFF. Some mp3 players can as well, but you'll have to check the specs of your player. Yes, this means you can only get 24 hours of CD-quality Apple Lossless files on your 8GB iPod Nano. So if that's a problem, and you don't really care about getting better sound from your iPod, there's two solutions.

First, connect your iPhone/iPod and select it in iTunes. At the bottom of the summary page is a checkbox labeled 'Convert higher bit rate songs to 128kbps AAC'. When this is checked, your lossless or lossless-compression audio files will be converted to the smaller AAC's as they load into your iPod, but the original files on the computer will remain untouched. It will take a bit longer than usual, but after you get your main choices loaded you are usually only changing an album or so at a time. [edit 7/5/12] - GOOD NEWS ON THIS SUBJECT. GO TO iPhone/iPad Import News

If you are using standard issue earbuds, or just above, you will probably not hear the difference between these 128kbps and the iTunes+ 256kbps AAC's. You could hear it if you were listening over your good system, but the point is you will now have full CD quality files for that. However, if you have invested in high quality earbuds, and you've done the test and can hear the difference between 128kbps and 256kbps on them, then your only option is to create a whole new library of stuff you want on your iPod as 256kbps AAC's. Yes, this is a whipping and takes up even more space, but once you hear your digital music sounding even better on your hi-fi system than you remember the CD's sounding it'll be worth it. Also, if your earbuds are that good, and you've got anything 8GB or above in iPod space, you're probably going to want to go with the full quality Apple Lossless or AIFF files anyway. If you do create a separate AAC library for iPod use, it is MUCH faster to create them from the full quality files you've already imported rather than using the CD's, and there'll be no difference in quality.

STEP 4 - HIGH-DEFINITION, OR HIGH-RESOLUTION DIGITAL AUDO
Most music lovers will be totally satisfied with 44.1/16 CD-quality digital audio. But for those interested in true audiophile quality sound, 24 bit digital at 48k and higher sample rates is the answer. So the obvious question is, where can I get music in these better sounding formats? Besides artists offering CD-quality and better downloads on their personal sites, you will find a growing number of sites that sell music in high-definiton formats. For instance HD Tracks has an amazing selection of music available in 44.1/16 and up to 192/24 in either AIFF or FLAC files. If you don't think the second Rolling Stones album could possibly sound any better at 88.2/24 bit than it does on CD, or even mp3, you're very wrong. Though their selection is tiny compared to iTunes I would always check both, because the same album on hdtracks at 44.1/16 is almost always the same price or cheaper than the iTunes Store's inferior AAC.

Normally 88.2k and above, 24 bit audio is only available from these sites as FLAC files so they don't take so long to download. But you can download a free utility for the Mac called XLD (X-Lossless Decoder) that will convert the FLAC files to Apple Lossless, AIFF or WAV without degrading the quality, or to the best sounding mp3's or AAC's possible. And as I pointed out earlier, iTunes should support FLAC files soon anyway.

Realistically, 96k is the highest sample rate that even the most serious audiophile will probably be interested in, and 88.2/24 is ideal in my opinion. In blindfold tests listeners were not able to identify 88.2k vs. 176.4 or 192k with any consistency. Part 2 will have some VERY important information regarding playing any sample rate above 44.1k in iTunes.


*** UPDATE 1/3/12  *** It seems that a big push is happening to make 96/24 the standard for consumer hi-definition audio. As I stated above, it should be 88.2k in my opinion, and there are technical=quality reasons for that regarding production and mastering in hi-resolution and then downsampling for CD and downloads. But some mastering rooms, like DES for example, have the gear and know the secret for eliminating any difference in quality. So keep and eye on audio production news and forums, but production at 96k/24 bit would seem to be the future. 

So get busy starting the arduous task of getting your best CD's properly imported into iTunes. You may just want to leave what you've already imported as mp3's or AAC's alone for use with your iPod and start a whole new library for the high-quality files. Click Here for info on how to create separate libraries. Now that you know what files sound the best, Part 2 will cover how to get the best sound quality from iTunes itself when it plays these files. There are sneaky little settings that will degrade the sound.
A MISCONCEPTION:
The Import Setting in iTunes determines what kind of files your CD is ripped as, and it can also be used to change one audio file type to another. So a lot of people are under the misconception that they can take lossy-compression files they've already created, and covert those to a lossless file. Yes, you can do that, but it will not sound like a lossless file that you ripped straight from the CD. If fact, it will likely sound worse than the lossy-compression file you started with, it will just take up five times the disc space. You can change one lossless format to another, AIFF to WAV for example, without losing quality. You can go from lossless to lossless-compression files, and back, without losing quality. And you can go from lossless or lossless-compression to lossy-compression files, which will reduce quality. But converting lossy-compression to a lossless file does not 'get back quality'.

FOR THE HIGH-TECH CROWD:
If you want the best possible quality, the XLD (X Lossless Decoder) utility I mentioned is considered to be the best CD ripper and audio file convertor made. Its proprietary method of absolutely accurate CD ripping is called 'CDParanoia', and that kinda sums it up. Plus, besides WAV and AIFF it can create Apple Lossless, FLAC, AAC, mp3 and others in the best possible quality. Just search XLD for the free download.

1 comment:

  1. And if you don't think CD's really sound better than mp3's, you'll change your mind once you hear the difference on your improved system.hifi discussions

    ReplyDelete