Bits & Bytes – Digital Music Demystified. An Introduction to Digital Music Playback

2012-12-18T09:34:07+00:00April 28th, 2012|Audio, Audio Video Technology, Features, Home|17 Comments

In the beginning, there was only live music. By 1877 Thomas Edison recorded a vocal rendition of “Mary Had A Little Lamb” on his phonograph and in time came analogue recordings on vinyl and tape. Today, we live in a digital world and though the last few years have shown a small resurgence of music on vinyl, digital formats are by far the dominant method for music storage and playback. In fact, digital music file downloads have far surpassed sales of any physical music medium, spawning a plethora of digital file formats and audio products, which continue to evolve rapidly.

For me and many other audio enthusiasts, there seems to be a greater understanding and comfort with optical-disc based music media such as CD, SACD, DVD-Audio, Blu-ray Audio etc.; they just seem to be…well…more physical, less techy and less frequent to change. However it’s hard to ignore the benefits associated with a non-disc based digital music system. With the right components in place, a digital music playback system is capable of true high-fidelity sound, allows access to your entire music library without ever looking for or changing a disc and lets you add new albums or songs to your library in just seconds, by purchasing them online. Combine these benefits with a sleek colour, touch screen remote or an iPhone/iPad/iPod touch and you’ll end up with a modern digital music system.

Before we can start considering the different digital music playback alternatives, we need to begin by understanding a little about the more prevalent digital music formats that currently exist.

Digital Music Formats
The lion’s share of digital music is in the form of PCM (Pulse Code Modulation) or LPCM (Linear PCM) audio data; however, to make labelling, cataloguing and basic organization of PCM data possible, file formats were created. Formats are like digital containers for the music data, they provide form around the raw PCM music data. Today, many formats have been created but there are three main types: uncompressed, lossless compressed and lossy compressed.

Uncompressed
Uncompressed PCM is bit-for-bit identical to the originally created digital music file. The two most popular formats are AIFF (AIF) and WAV. AIFF (Audio Interchange File Format) was developed by Apple. WAV (Waveform Audio File Format) was developed by Microsoft. Both AIF and WAV formats can contain metadata (album art, artist, song, etc.), though few software applications can retain metadata associated with the WAV format. During playback, the playback software opens the AIF / WAV container and accesses the PCM music data and metadata.

Lossless Compressed
Lossless music files use a format container and a compression algorithm program that is referred to as a codec. The codec serves to compress the PCM data by only removing redundant and predictable data. Popular lossless formats / codecs include ALAC (Apple Lossless Audio Codec), FLAC (Free Lossless Audio Codec) and WMA (Windows Media Audio) Lossless. For all intensive purposes, lossless formats maintain both the integrity, and quality of the original uncompressed file. Lossless is a hi-fidelity format.

Lossy Compressed
Lossy music also involves a format container and codec but in this case, the compression involves a removal of some of the actual PCM music data and its permanent loss. The data removed from the file is substantial with the end result being a significantly smaller data file, while maintaining a level of quality intended to satisfy the average listener. Popular lossy formats include: AAC, WMA lossy and MP3. No lossy format would or should be considered a hi-fidelity format.

With the various formats covered, we can now dive into some other aspects of digital music, namely sample rates, bits and bytes.

Sample Rates, Bits & Bytes

Sample Rates
Sound-waves are a continuous analogue wave. On the other hand, a digital sound recording is comprised of a set of digital data points. These data points are the result of a process known as sampling that involves taking rapid, successive; however, non-continuous measurements of the original analogue sound-wave. The end result is a digital facsimile of the original analogue sound-wave. Sampling is measured in cycles-per-second or Hertz (Hz) or kilo-Hertz (kHz) with the most common sampling rates being 44.1 kHz, 48 kHz, 96 kHz and 192 kHz. The CD format conforms to a 44.1 kHz sampling rate. All things held equal, the higher the sampling rate, the closer the data points lie and the greater the likeness to the original analogue sound-wave.

Bits & Bytes
A bit is a binary digit and eight bits make a byte. Bit rate is a measure of digital data transmission and is typically expressed in bits-per-second (bps) or bytes-per-second (Bps). The higher this rate, the higher the data transfer. You can think of a bit as only a little bit of a byte (1/8th). Digital music files can also have stated bit lengths, which are usually multiples of 8 – for example16-bit or 24-bit. The higher the bit length, the better.

The resolution of uncompressed and compressed lossless music files is generally quoted as: bit length (in bits) / sampling rate. For example, the CD standard would be: 16-bit / 44.1 kHz. This could be translated into a bit rate of: 16 X 2 (2ch stereo) x 44,100 Hz (cycles-per-second) = 1,411,200 bps or 1,411.2 kbps. Notice, the CD bit rate is 4.4 times greater than the highest possible MP3 lossy bit rate of 320kbps, clearly illustrating the fact that MP3 is not a hi-fidelity format. On the other side, it’s worth noting that hi-resolution (hi-res) files are those with a greater resolution than the CD standard of 16-bit / 44.1 kHz.
When downloading music, using sites such as iTunes, Napster, HD Tracks or iTrax or when ripping CDs to your music collection, to make hi-fidelity possible you want to ensure your download or rip is uncompressed or lossless. If you must compromise with lossy, then wherever possible, choose the highest bit rate, like 320 kbps, to get better sound quality.

Digital File Playback

Portable Music Player or an iPhone/iPod
Playing digital music through your stereo can be as simple as connecting a portable music player, such as an iPhone/iPod, to your stereo system – typically to the receiver, pre-amplifier or integrated amplifier. You can use the player’s headphone jack with a Y-adapter cable that has a headphone plug on one end and a stereo pair of RCA plugs on the other. The digital music files and the playback interface reside on the portable music player, so playing music is as simple as hitting the ‘play’ button on your player. However, sound quality will be poor, since in this case we are relying on the portable player’s internal digital-to-analogue converter (DAC) which is of very poor quality. Plus storage capacity is limited to that of the portable device – not good especially when it comes to higher quality lossless music files that are of considerable size.

A way to get better performance is to tap into the digital output of the portable player and connect it to your stereo via a digital Toslink or SPDIF coaxial connection. A step up is to use an external DAC between the portable music player and your stereo system. However, not many portable players have a digital output. This is where docking stations that can access the digital output of an iPhone/iPod can provide a solution. Such docking stations convert the digital output from the iPhone/iPod into a Toslink optical or SPDIF coaxial digital output that can then be connected to your stereo system or an external DAC. Examples of such docking stations for the iPhone/iPod are the Wadia 171i Transport or Cambridge Audio iD100 Digital Dock. Using this latter method, performance would only be limited by the music file quality and the DAC. Get this right and you’ll have a hi-fi and hi-rez capable system. Another similar option is to use your iPhone/iPod with an integrated amplifier that has a built in docking station that accesses the device’s digital output, such as the Peachtree iNova Amplifier. Some audio/video receivers also have a USB input compatible with the iPhone/iPod such as the Onkyo TX-NR818. The main drawbacks of this are the portable devices’ limited storage capabilities and user interface.

Computer or Laptop
Your computer or laptop (PC/Mac) can be easily used as a digital music player. As with the portable music player, a headphone output could be used but with the same limitations mentioned above. Again, the better method is to use a digital output (Toslink or SPDIF) on the computer’s soundcard to connect to the stereo system or a separate DAC. Not all soundcards have a digital output, so you could replace the soundcard or use the computer’s USB output with a USB-capable DAC (such as the Alpha Design Labs GT-40) or an integrated amplifier which offers a USB input (like the Magnum Dynalab MD 309). Be sure to investigate the USB connection capabilities such as the sample/bit rate, as they tend to vary between components. A computer provides the convenience of music storage on its hard drive and allows easy playback of digital files with software such as iTunes, Songbird, Foobar2000 or Windows Media Player. Quality is limited by the type of connection, the DAC and the quality of the music file. The main drawback of using a computer or laptop for music playback is finding a place for it near the stereo – and noisy computer fans don’t help.

Media Receivers or Streamers
A more flexible option is to transmit the digital music stored on your computer or even a compatible Network Attached Storage (NAS) hard drive to your stereo system via your home network. To use this option you will need a device that connects to your stereo system and can access your home network; such devices are usually called media receivers or streamers. Media receivers connect to your network (wirelessly or via Ethernet cable) and can stream music files from your computer or NAS hard drive via a network connection. These devices are connected to your stereo via either a standard stereo RCA cable connection or via a digital cable (Toslink / SPDIF). For the digital connection, as discussed earlier, you would need a digital input on your stereo system or an external DAC. In some cases, software may need to be loaded onto your computer to use the media receiver. Three such devices are the Logitech Squeezebox Touch, the Apple TV and the Sonos Connect with Bridge. Media servers will have different features, capabilities, compatibilities and performance parameters. For instance, the Logitech Squeezebox can handle all popular file types and resolutions but will only output to a maximum resolution of 24-bit/96 kHz, while the Apple TV can’t handle FLAC formatted files and is restricted to a maximum output resolution of 16-bit/44.1 kHz. In terms of control interfaces, the Squeezebox has its own built-in touch screen but the Apple TV and the Sonos will need to be controlled with a laptop or an iPhone/iPod/iPad. In a number of cases you can use your own library software such as iTunes. There also exist some non-essential but helpful technologies and protocols that can make compatibility and connections simpler, examples being DLNA and Apple AirPlay but we won’t get into these in this article. We also need to note that some media receivers, often termed as full-function or all-in-one, may provide a number of other features such as on-board storage, CD drives for playback and ripping, internet radio tuners and in some cases integrated amplifiers like in the case of the Naim Uniti and UnitiQute.

Media Players
Media players are essentially a media receiver without the ability to connect to a network and stream digital files from remote storage devices. Media players either have integrated storage or require plug-in storage, such as a portable hard drive or USB flash memory drive. Media players have potentially less issues with data transmission and may offer more consistent and higher performance. Along with some specialized and dedicated media players, some audio-video receivers also fit into this category, where they have USB inputs that can browse the contents of a connected USB hard drive or thumb drive. A couple examples of media players are the Bryston BDP-1 digital player or the Marantz SR7005 AVR.

Is this everything there is to know about digital music playback? Hardly, but these are the key fundamentals. Hopefully, with this information you can be better equipped to explore digital music solutions further. If after reading this article, you at least thought, “…oh, there’s more to digital music than MP3…” then I’ll consider my job done. Look out for other articles on this topic as we continue to explore the digital audio realm in future issues of CANADA HiFi. In the meantime, happy listening!

Part 2 of this article can be found here: Bits & Bytes – Digital Music Demystified. An Introduction to Digital Music Playback


  • About the Author:

    17 Comments

    1. … [Trackback]

      […] Find More Information here to that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    2. Ashdown BTA 400 manuals Jan 20, 2021 at 10:02 am

      … [Trackback]

      […] Read More here to that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    3. DevOps Service Provider Feb 7, 2021 at 12:15 pm

      … [Trackback]

      […] Read More on to that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    4. … [Trackback]

      […] Find More on on that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    5. tag heuer fake for sale Apr 2, 2021 at 4:23 pm

      … [Trackback]

      […] Read More on on that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    6. service virtualization Apr 29, 2021 at 7:48 am

      … [Trackback]

      […] There you will find 39066 additional Information to that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    7. White House Market URL May 2, 2021 at 8:16 am

      … [Trackback]

      […] Here you can find 28166 additional Information to that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    8. en iyi bet siteleri May 19, 2021 at 2:48 am

      … [Trackback]

      […] Find More on that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    9. 대밤 Jun 26, 2021 at 4:58 am

      … [Trackback]

      […] Find More on to that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    10. … [Trackback]

      […] Here you can find 12506 more Info on that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    11. effective earn more Aug 21, 2021 at 8:57 am

      … [Trackback]

      […] There you will find 45093 more Information on that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    12. kardinal stick Nov 2, 2021 at 9:59 pm

      … [Trackback]

      […] Find More on that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    13. nova88 Nov 18, 2021 at 8:18 pm

      … [Trackback]

      […] Read More Information here on that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    14. check over here Dec 13, 2021 at 7:59 pm

      … [Trackback]

      […] Find More Info here to that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    15. phygital retail strategy Jan 20, 2022 at 4:40 pm

      … [Trackback]

      […] Info on that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    16. DevOps Services Feb 8, 2022 at 2:05 pm

      … [Trackback]

      […] Read More here on that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    17. … [Trackback]

      […] Information on that Topic: novo.press/bits-bytes-digital-music-demystified-an-introduction-to-digital-music-playback/ […]

    Leave A Comment