LightBlog

mardi 30 août 2016

Audio file formats explained and where to get them

ZTE Axon 7 NC 3-18

Smartphones have long since surpassed the old MP3 player when it comes to portable music, and continue to include more and more impressive audio hardware to win over the audiophile crowd – from front facing speakers, to DACs and even new USB Type-C digital audio. Of course, the other half of a good audio experience is the file type you're using, and today's smartphones can play back a wide variety of audio file formats, including the popular MP3 and FLAC formats.

If you're unsure about what the differences are between these formats and want to know how to get the most out of your smartphone's audio, then this guide will walk you though the key things to know, will help breakdown the most common audio file formats, and offer download and streaming suggestions for where to buy these files from.

Lossy vs lossless

Before we delve into specifics of the MP3 or WAV, there's a little bit of general background on digital audio that will help set the scene. Raw audio recorded in a studio and mastered onto physical media, like a CD or hard drive, is saved in a format called Pulse-code modulation (PCM). This data is uncompressed and rather large, as it stores data sample by sample to a certain degree of accuracy, known as bit-depth. Typically, this will be in the form of a 16-bit 44.1kHz stereo file at around 40MB for a 4 minute track, but these days you can find huge 24-bit files with 192kHz sample rates.

Distributing audio through the internet and squeezing tracks into new pieces of hardware with limited storage capacities makes owning a library of PCM files rather unwieldy. Portable audio file sizes needed to be made smaller.

Lossy vs Lossless Spectrum Analysis

Spectral analysis of a track, with frequency content plotted over time. If you look closely at the compressed MP3 version, you can see less data at the higher frequencies.

As such, much of the music that is distributed these days is compressed. This can be done by chopping out bits of data that we don't really need (lossy compression) or varying the sample rate/bit-depth, at the cost of some quality. Alternatively, algorithms can be implemented that re-configure the sound data into a smaller form to be de-compressed later, but without removing any data and thereby preserving sound quality (lossless compression).

Examples of lossless formats include FLAC, WavPack and ALAC. Popular lossy files are the MP3, aiff, and wma types. The table below gives you an example of the different file sizes for the most common formats.

Stereo file sizes (16-bit 44.1kHZ) WAV AIFF FLAC (typical) MP3 (320Kbps) MP3 (192Kbps)
1 min 10.6 MB 10.6 MB 6.4 MB 2.4 MB 1.4 MB
4 mins 41.6 MB 41.6 MB 24.9 MB 9.6 MB 5.6 MB
1 hour 635 MB 635 MB 381 MB 144 MB 84 MB

Without further delay, let's go through these most popular formats, explain how they work, and where you can get them from.

PCM (WAV/AIFF)

Let's start with our biggest lossless file type – Pulse Code Modulation (PCM). As we mentioned earlier, PCM files contains audio in its pursed digital form of individual samples (sample-rate) to a specific degree of accuracy (bit-depth). Therefore, PCM file sizes are directly linked to their length, bit-depth, sample rate, and the number of channels. You can use the formula below to work out the file size of any PCM file:

PCM Size = sample rate X (bits per sample /8) X time in seconds X number of channels 

PCM files are most commonly found in either WAV or AIFF formats. There are essentially Microsoft's and Apple's individual names for the same PCM data. The only real differences here are the type and format of the metadata and header information included alongside the PCM audio track. PCM files come in bit-depths of either 16, 24 or 32 bits and sample rates range from 44.1kHz up to 384kHz these days, although you'll be hard pressed to find many audio files to download at these very largest sizes. Not to mention that such files are complete overkill.

Sine Wave PCM data

In the old days of slower broadband, copying data from physical CDs was the best way to grab raw PCM audio. These days we have lightening fast broadband, and so there are a few download and streaming services that you can can find these tracks on. However given the huge file sizes, many services prefer lossless compressed formats like FLAC, which we'll get to in a just a minute.

  • HDTracks – offers a wide selection of downloads in WAV, AIFF, ALAC, and FLAC formats, with either 16-bit/44.1kHz or 24-bit/94kHz file sizes. Prices range from £16 to £20 per album.
best music streaming apps for androidSee also: 10 best music streaming apps and services for Android38

FLAC

When it comes to lossless audio downloads, FLAC (Free Lossless Audio Codec) has been growing in popularity and is now the go to format at a number of high-quality streaming services. FLAC offers exactly the same audio quality as raw PCM, but manages to compress file sizes by around 30 to 50 percent, depending on the encoder and track contents.

FLAC doesn't cut out any data to shrink its file size, instead it optimizes the way that bits of data are stored by looking for patterns. It might help to think of this as somewhat similar to a .zip or .rar file: the contents are preserved during compression and then restored to reveal the original file for playback. Apple has its own version of lossless audio which it calls ALAC.

The three services that have made the list below offer FLAC streaming and also have dedicated Android apps so that you can take your lossless collection with you on your phone or tablet.

  • Tidal – one of the better known 16-bit/44.1kHZ FLAC streaming services, with over 25 millions tracks. A monthly streaming subscription costs $19.99/£19.99/€19.99, while FLAC albums retail for between $10 and $20 typically.
  • Qobuz – offers 16-bit/44.1kHz FLAC streaming with a £19.99/€19.99 monthly subscription. Customers can also purchase 24-bit tracks as part of the £220/€220 yearly premium package. The service hosts over 30 million tracks from major and independent labels.
  • Deezer – Deezer may be best known for its 40 million song strong free music streaming service, but the company also offers a $9.99/£9.99/€9.99 monthly subscription that boosts the quality to 16-bit/44.1kHz FLAC streaming too.

Google Play Music podcasts AA 8

MP3

MP3 is certainly one of the most popular audio formats, but the standard is much derided by audio enthusiasts for cutting out content. While it's true that a bad MP3 can sound terrible, good quality MP3's offer excellent sound quality for their much smaller sizes, and are still very useful if you want to carry around a large song library or stream over slower 3G and 4G networks.

MP3 is a lossy format, but it uses clever noise shaping algorithms based on psychoacoustic effects of the human ear and brain to remove bits of music that we shouldn't be able to hear. For example, the brain can't differentiate between two frequencies that are right next to each other, the adult human ear struggles to identify the direction of high frequency sounds and begins to lose sensitivity above 16kHz, and loud sounds can mask quieter ones, so these can be removed.

MP3 works by splitting a track up into 576 sample frames, and Fast Fourier Transforms (FFT) are used to obtain frequency data from these frames. This frequency data can then be analysed for masking opportunities, where data can be quantized (rounded) to lower bit-depths to save on space, which varies based on each frame. The data needed to restore each frame is housed in a 32-bit header.

MP3 encoding exampleMp3-tech

The bit-rate determines the maximum allowed file size for each frame, and the more aggressive the compression, the more likely the algorithm is to remove something that is audible. Furthermore, this type of filtering and cutting isn't perfect and the quantization can leave behind artifacts that some people can hear. This lossy psychoacoustic compression is then followed up by a lossless Huffman coding compression that is similar to .zip or FLAC files, in order to reduce the file size further.

  • Google Play Music – Google's MP3 service offers top-notch 320Kbps files, although this can vary on a poor connection, for free with ads or $9.99 per month if you want to avoid ads. The service boasts over 18 million tracks.
  • Amazon Prime Music – The standard streaming bit-rate is set at 256kbps but the Amazon Cloud Player app can lower this if your data connection is poor. Prime Music is included as part of Amazon's $10.99 per month or $99 yearly subscription.

Spotify-2

OGG Vorbis and AAC

Now that we understand roughly how an MP3 file compresses data, we can look at some other MPEG based and similar file formats. Essentially these all use slightly different algorithms for data removable and build on the base psychoacoustic model with additional techniques. Therefore, their bit-rates are not directly comparable in terms of quality, as Vorbis offers better sounding compression at low bit-rates than MP3, but they aren't far off. That being said, MP3 encoders have been fitted with similar improvements over the years too.

For example, Ogg Vorbis is an open-source alternative to MP3 that still uses FFT and MDCT to analyze and quantize mask-able frequency information, but uses a different algorithm. Vorbis also takes the noise-floor into account to improve low bit-rate performance.

Meanwhile, AAC and AAC+, which are used by Tidal, Pandora, and YouTube, are an evolution of the MPEG (MP3) format. ACC allows for higher sample rates up to 96kHz, can dynamically switch frame lengths between 1024/960 or 128/120 samples for better resolution when required, and also performs better at lower files sizes than MP3s. However, high bit-rate MP3 reportedly still sound better.

  • Spotify – Ogg Vorbis is the format of choice here, but quality is limited to a questionable 96Kbps on mobile under normal quality, and 160Kbps on high quality or when using a desktop. Decent 320Kbps quality can only be unlocked with a $9,99 per month Premium subscription.
  • Pandora – US residents can try out Pandora's questionable AAC+ 64Kbps steaming for free, or upgrade to ad-free 192Kbps AAC if they pay a monthly $3.99 cost or $36 for the year. Pandora certainly isn't offering the best quality out there, but it is cheap.
  • Apple Music – also uses the AAC format, but at a higher 256Kbps bit-rate. Individual membership costs $9.99/£9.99/€9.99 per month for unlimited streaming of 30 million tracks, which rivals Spotify for choice.

In summary, today's streaming and music download markets cater to both ends of the consumer market. There are higher quality options for those looking to make the most of their top-notch audio hardware and lower cost streaming services that make the most of intelligent compression techniques to help consumers store large music collections or stream music on-demand over slower wireless networks.

Do you have any preference for your audio formats you use, or perhaps you have a music streaming service of choice? Let us know in the comments below.



from Android Authority http://ift.tt/2c8OwWD
via IFTTT

Amazon offers pre-order discounts on Fitbit Charge 2 and Flex 2

Amazon pre-order Fitbit Charge 2

If you pre-order the Fitbit Charge 2 or Fitbit Flex 2 on Amazon right now, you'll be able to enjoy a healthy discount on launch day. You can save a little over $35 on the $150 Fitbit Charge 2, making it $114.53, or save almost twenty bucks on the $99 Flex 2, which is available for $81.32. There's nothing special to do, just hit the links below and pre-order.

Best fitness trackers 2016 AA 2See also: Best fitness trackers14

The Fitbit Charge 2 offers continuos PurePulse heart-rate tracking throughout the day, which can be used in concert with simplified heart rate zones to maximize the effects of your workouts to target cardio, peak or fat burn. The Charge 2 packs 5-day battery life, according to Fitbit even with its built-in GPS.

You'll get all your notifications from Android or iOS on the Charge 2's OLED display, plus get a sleep tracker with a vibrating alarm. Of course, it will also track steps, distance, calories burned, floors climbed and active minutes. The Fitbit Charge 2 is available in Black, Blue, Teal and Plum colors.

The Fitbit Flex 2 is a slimmed-down, "swim-proof" fitness tracker, designed to unobtrusively blend in with bangles or other fashion accessories. The tracker module pops out so it can be thrown in a pocket or used with alternate bands. It's available in two colors – black or lavender – and it'll also get you 5-day battery life and can also track your sleep and wake you silently with a vibrating alarm.

Do you use a fitness tracker? Who makes the best one?



from Android Authority http://ift.tt/2by4SfE
via IFTTT

Do you own a smartwatch? [Poll of the Week]

Moto-360-Sport-review-AA-25-AA
Last week's poll summary: Out of over 4,000 total votes, 44% of our readers said they like Android 7.0 Nougat, but they don't think it's a huge step up from Android Marshmallow. 33% of our readers said they're very satisfied with Nougat, while 14% said they were expecting much more from this new version of Android.

Smartwatches are still a very new concept in the technology world. Most people don't actually need them, and many of them are still too expensive to justify buying. That is, for the most part. Pebble's Time and Time Steel have been dropping to around $100 as of late, and Xiaomi just unveiled a brand new GPS-connected smartwatch that runs for about $120.

There are some options out there that are just too expensive, though. The Huawei Watch, as great as it may be, still costs a few hundred dollars in most places around the web. And let's not even get started on the cost of the Apple Watch.

With all of that said, smartwatches can be very helpful in many situations. They can provide you with an easy and quick way to get information, allow you to act upon notifications without having to pull out your phone, and they can even act as decent fitness tracking companions.

So we want to know, do you own a smartwatch? If so, let us know which one you wear on your wrist in the comment section. And if you don't have a smartwatch, tell us which one you'd get if you had the chance. We look forward to hearing what you have to say!



from Android Authority http://ift.tt/2bPeQJ1
via IFTTT

Google: the Chromebook Pixel 2 has officially been retired

pixel-2015-1

The Chromebook Pixel 2 is currently out of stock in the U.S.. Unfortunately for fans of the best-looking Chromebook yet, it is permanently out of stock in the country, including via Best Buy. Google has admitted to VentureBeat that "we're committed to the Pixel program but we don't have plans to restock the Pixel 2". Hopefully, we can interpret that to mean a Pixel 3 shouldn't be too far away, but it's far from a guarantee.

chromebook pixel play storeSee also: You can now install Android apps on the Chromebook Pixel 27

The only real issue with the Chromebook Pixel successor was its high price tag. At $1,299 (along with an already discontinued $999 version), the Pixel 2 was just too much money for what you got. It was a great Chromebook to be sure, and its touch screen, performance and design were top-notch, but it just wasn't enough to stack up to the likes of the Macbook Air or other similarly-priced but better equipped Windows laptops.

Until the Pixel 3 arrives – if indeed it ever does – we've got the Android 7.0 Nougat-powered Pixel C tablet to keep our Pixel needs fulfilled. It too is a bit on the pricey side, even with that $150 discount, so hopefully if Google takes a third swing at bat it will come with a slightly lower price tag. Of course, Google's main goal with its hardware is to provide reference devices rather than make money or ship large numbers.

What do you think of the Pixel 2? Would a cheaper Pixel 3 sell better?



from Android Authority http://ift.tt/2bPl7Ts
via IFTTT

The ZTE Warp 7 looks pretty darn alluring for $100

zte warp 7

ZTE has just announced that their Warp 7 device will be available on Boost Mobile starting September 5th, and we're not gonna lie, it looks pretty stellar for the price. $99.99 for a 13MP main camera and a 5MP selfie snapper? Get out.

Okay, so obviously if you're paying less than a Benjamin Franklin for a device, then you shouldn't expect to see Earth-shattering specs. However, this device is honestly pretty robust for its price range. The 5.5-inch display is HD and surprisingly brilliant considering what you're paying for it. You'll get a little bit of glare in broad daylight, but all things considered, it's a very respectable screen.

axon-vs-honor-8See also: ZTE Axon 7 vs Honor 854

This display brings graphics to you courtesy of a 3,080 mAh battery, which is actually slightly more robust than the baseline we've come to expect for flagship models. Since the ZTE Warp 7 isn't providing you with top of the line processing and graphics per se, that means this battery can last pretty much all day long. Heck, it might even make it well into Day Two if you're not overzealous.

The Warp 7 is obviously aimed at budget users who aren't necessarily interested in the latest and greatest specs from Samsung or Apple. What's great about the modern smartphone market is that we're starting to see some diminishing returns when it comes to forking over your hard-earned cash for a flagship. Technology is getting cheaper and cheaper, which means it's easier to grab much higher tier tech at a fraction of the cost that it might have been previously.

What do you think of the ZTE Warp 7? Would you throw one hundred bucks at this device, or elect to pass? Let us know your take in the comments below!

ZTE ZMAX Pro Review 7See also: US continues easing restrictions on ZTE as previous trade concerns wane11


from Android Authority http://ift.tt/2bze11C
via IFTTT

You can now buy Samsung’s wireless IconX earbuds on Amazon

Samsung Gear IconX - Amazon

Samsung's tiny wireless earbuds – the Gear IconX – were made available on Samsung's website back in mid-July, but you can now buy them on Amazon as well. The price is the same, at $199, but it shouldn't be too long before we start seeing some sales now they're on the world's largest online marketplace.

Don't miss: Best Bluetooth earbuds of 2016

The Gear IconX are a 'truly wireless' set of earbuds. I say 'set' because they're not really a 'pair' because they are completely disconnected from one another. Unlike many other wireless headphones, the two buds are not connected with any cables at all, meaning they're lighter but also easier to lose. If you think you can keep track of both buds, though, they offer some pretty serious lightweight sports audio.

They feature a built-in hear rate monitor and fitness tracker, in-ear voice guidance, Bluetooth 4.1 LE, 4 GB of internal storage (up to 1000 songs), sweat and splash resistance, 7.84 ounce weight, Ambient Sound Mode and come in black, white and blue color options. You can control playback via buttons on the buds themselves or via a paired smartphone.

You'll get around 1.5 hours for music streamed over Bluetooth and around 3.5 hours for locally stored audio

On the music playback side, you'll get around 1.5 hours for music streamed over Bluetooth and around 3.5 hours for locally stored audio. The included carrying case also doubles as a charger, which will let you recharge the buds twice before needing charging itself. They play nicely with S Health but also other third-party fitness trackers if you're not down with Samsung's health app.

Do you prefer wireless or cabled headphones? Favorite pair right now?

BUY FROM AMAZON


from Android Authority http://ift.tt/2coy09l
via IFTTT

Xiaomi unveils the Amazfit, an affordable GPS-equipped smartwatch

xiaomi-amazfit

Xiaomi is best known for its affordable yet solidly spec'd smartphones, but its brand certainly goes way beyond just phones, with a variety of mobile accessories, tablets, fitness trackers, and more. With no signs of slowing down, Xiaomi has announced the new Amazfit smartwatch as the latest in a growing sea of Xiaomi products.

Earlier in the year Xiaomi created a smartwatch just for kids, so it's really no surprise to see them back, this time with a fitness-focused smartwatch for us grown-ups. The watch is actually technically made by Huami, a Xiaomi sub-brand, and at least for now, seems to be destined for just the Chinese market. On the software side, this watch runs its own customized OS but interacts with your Android device using the Mii Fit app.

pebble time review aa (2 of 17)See also: Best smartwatches14

All the fitness tracking perks you'd expect are present, as well as all the basics you'd expect from a smartwatch like notification support and even mobile payments via AliPay. There's also built-in GPS, which Xiaomi accomplishes using what it claims is the world's first 28nm GPS sensor.

The rest of the specs are pretty standard sounding for a smartwatch, including a 1.34-inch display with a 300 x 300 resolution, a 1.2GHz processor with 51MB RAM, 4GB storage, a heart rate sensor, IP57 water/dust resistance, and a 200 mAh battery. The battery reportedly will get around 5 days of life, of 30 hours when the GPS is turned on.

As one would expect from Xiaomi, the Amazfit is very aggressively priced, set to launch in China tomorrow for 799 Yuan, or about $120. As already mentioned, there's no set plans for a US or even European launch, though anything is possible. What do you think, if this was available in your market, would you consider it?



from Android Authority http://ift.tt/2c5i72R
via IFTTT