New Update on Google Music Now Supports Gapless Playback!!!!

adamhlj

Senior Member
Apr 24, 2010
634
61
0
Salt Lake City, UT
I just got an update today for both my Gnex and N7 and tested it out and it works!!! I am SOO happy now:D This has been bothering me for so long, but after the update, I put a live album on that is easy to tell and there were NO GAPS!!
 

MoosDiagramm

Senior Member
Dec 30, 2011
109
36
0
I'm just mildly happy. It does work for MP3 and Vorbis files, but not for AAC which I happen to use for my audio collection. Haven't tested any other formats so far.
Definitely a step in the right direction though.
 

adamhlj

Senior Member
Apr 24, 2010
634
61
0
Salt Lake City, UT
I'm just mildly happy. It does work for MP3 and Vorbis files, but not for AAC which I happen to use for my audio collection. Haven't tested any other formats so far.
Definitely a step in the right direction though.
Well, I upload my music to google music, and all higher quality music just gets converted to the highest rate MP3 anyway. But that is good to know, thanks.
 

CADude

Senior Member
Nov 29, 2011
913
632
0
I think this was done in time to appease people who buy the Nexus 4 and need a solution for music that they can't put on their phone due to the low storage space.
 

CADude

Senior Member
Nov 29, 2011
913
632
0
And gapless playback helps this how?
People with a ton of music on their computer, especially live albums, tend to love things like gapless playback. If they can't play a lot of music on their phone locally, as is the case on the Nexus 4 with its limited storage which is also needed for apps, photos, video, etc, they will buy another phone or a dedicated mp3 player. However, now that Google music has gapless playback just in time for the sale of the Nexus 4, more people will warm up to the idea of playing their music over the cloud with a Nexus 4 and they will buy it.
 

MoosDiagramm

Senior Member
Dec 30, 2011
109
36
0
This isn't related to cloud storage. Gapless playbck didn't work AT ALL in the Android music app until now, even for files stored on the device.

I've tested a different AAC encoder and the files it produced do play gaplessly.
Apparently, the gapless information stored by Nero AAC (current version 1.5.4.0) isn't supported by the Android music app. It does work an any other device/software player with gapless playback support I tried, so the problem is probably on Google's end. It even works on Apple devices.
Files produced by the Quicktime AAC encoder work fine.
 
  • Like
Reactions: Mobe1969

aeoveu

Senior Member
Nov 8, 2010
635
144
0
Does it have to be in an album or what? And is the gap less trigger stored in the file itself?

There are some tracks - not live albums - of various artists that have gap less tracks (Green Day's Holiday and Boulevard Of Broken Dreams is an example, Royksopp's Melody A.M. album is another)... So how does it great those tracks in that case? Gap less, or standard?

Cheers. And sent from my mini tractor
 

MoosDiagramm

Senior Member
Dec 30, 2011
109
36
0
You're confusing gapless with crossfade. Crossfade plays the second track before the first ends, merging them into one. Gapless just makes sure that there is no additional gap between the files, the second track is played exactly when the first ends.
As you can see, there is no reason to disable gapless for specific situations. It is never harmful.
 

aeoveu

Senior Member
Nov 8, 2010
635
144
0
I didn't mean cross fade; I know exactly what gapless playback is :) all I was curious to find out was are there certain rules where gapless playback kicks in, or does it apply on all tracks by default.

(In short - how the app knows when to remove gaps and when to treat it like normal files)

Because it was said that encoding it in AAC using Nero doesn't help, but QuickTime encoding works... So... Kinda confusing me.

sent from my mini tractor
 

highvista

Senior Member
Jul 12, 2009
249
56
0
Oregon
I didn't mean cross fade; I know exactly what gapless playback is :) all I was curious to find out was are there certain rules where gapless playback kicks in, or does it apply on all tracks by default.

(In short - how the app knows when to remove gaps and when to treat it like normal files)

Because it was said that encoding it in AAC using Nero doesn't help, but QuickTime encoding works... So... Kinda confusing me.

sent from my mini tractor
Gapless playback under Android doesn't remove any data from the files or depend on any metadata scheme. It just plays the tracks back-to-back so that any silence between tracks is due to that silence being encoded in the files themselves.

The underlying mechanism for gapless playback was added to the Android SDK for Jellybean/4.1. I added it my music app a couple months ago. I was surprised that Google didn't add this into their player at the same time that Jellybean was released.
 

aeoveu

Senior Member
Nov 8, 2010
635
144
0
Oh... So there's no gap or delay when playing the files (or switching from one file to another), right?

I thought it involved using a buffer and cutting to the next file and whatnot.

So its all normal. Thanks. :)

sent from my mini tractor
 

MoosDiagramm

Senior Member
Dec 30, 2011
109
36
0
I didn't mean cross fade; I know exactly what gapless playback is :) all I was curious to find out was are there certain rules where gapless playback kicks in, or does it apply on all tracks by default.

(In short - how the app knows when to remove gaps and when to treat it like normal files)

Because it was said that encoding it in AAC using Nero doesn't help, but QuickTime encoding works... So... Kinda confusing me.

sent from my mini tractor
Ah, now I understand what you mean.

Lossy audio compression (like MP3, AAC, whatever...) adds a bit of silence at the end and beginning of each track. It's part of how lossy audio codecs work.
In order to remove this silence during playback, modern encoding tools write some additional data to the compressed audio file that says "remove x milliseconds at the beginning and y milliseconds at the end" to restore the tracks original length. Players need to look for such data and skip the additional parts accordingly.

If you take an album that has silence at the end of tracks on the CD and convert it to MP3/AAC/whatever, it will add some more silence to it. A player that supports gaplesss playback will remove this additional silence, but keep the original silence that was on the CD.

AFAIK, there is no official standard on how to write this gapless information to the compressed audio file, so different codecs do it in a different way and developers of audio players must take a look at files produced by popular codecs to understand how each codec handles it and implement support for it.
Android 4.2 along with the latest version of the music app supports the format used by Lame MP3, Vorbis and Quicktime AAC (and probably others, these are just the ones I tested). AAC files produced by Nero AAC, which do have gapless data and work fine on other players, are not supported at the moment.
 
  • Like
Reactions: bronx623 and aeoveu

aeoveu

Senior Member
Nov 8, 2010
635
144
0
Ahhh so that's how it works. I've been a long time winamp user and use the silence remover capability in there...which does it on the fly! Never tried it with portable devices...but I think I may give it a shot this time.

Cheers! :)

sent from my mini tractor
 

aeoveu

Senior Member
Nov 8, 2010
635
144
0
Cross fading in those apps are basic i.e. they only work on a constant. Not sure if any of you guys know about this plugin for Winamp called Sqr Advanced Cross fader... it works based on the silence level of the currently paying song, and works wonderfully in most cases.

Then there are times when I end up cross fading songs myself in Winamp :p

sent from my mini tractor
 

bronx623

Member
Aug 30, 2011
29
0
0
Ah, now I understand what you mean.

Lossy audio compression (like MP3, AAC, whatever...) adds a bit of silence at the end and beginning of each track. It's part of how lossy audio codecs work.
In order to remove this silence during playback, modern encoding tools write some additional data to the compressed audio file that says "remove x milliseconds at the beginning and y milliseconds at the end" to restore the tracks original length. Players need to look for such data and skip the additional parts accordingly.

If you take an album that has silence at the end of tracks on the CD and convert it to MP3/AAC/whatever, it will add some more silence to it. A player that supports gaplesss playback will remove this additional silence, but keep the original silence that was on the CD.

AFAIK, there is no official standard on how to write this gapless information to the compressed audio file, so different codecs do it in a different way and developers of audio players must take a look at files produced by popular codecs to understand how each codec handles it and implement support for it.
Android 4.2 along with the latest version of the music app supports the format used by Lame MP3, Vorbis and Quicktime AAC (and probably others, these are just the ones I tested). AAC files produced by Nero AAC, which do have gapless data and work fine on other players, are not supported at the moment.
Very nice explanation, thank you!

So I went ahead and listened to some of my lossy mixes, still .1 second gaps between songs... it hurts :( wish the player could analyze the spectrum and fix this... guess nobody at google listens to trance :(

On the plus side, I ran a local mix that was in FLAC, and it was truly gapless! Too bad that it every 30 seconds theres a .5 second pause.....

I remember not having these problems 2004, why do I have them in 2012 :(

- sent from TW galaxy s3 4.1.1
 

michd2

Senior Member
Jan 20, 2010
164
32
0
Apeldoorn
Just use PowerAmp, you'll need to pay a few Euro's, but that player is just great! Gapless playback? Like that is a novelty! PowerAmp had Gapless playback 2 years ago already! Besides that, PowerAmp has a great Equalizer and a big deal of other settings to match it to your liking...