Gapless Playback

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Re: Gapless Playback

Postby rubbersoul » Thu Feb 21, 2013 8:52 pm

for sure the last two or three tracks are continuous across the gap. pretty sure the first two as well as a few others flow as well.
rubbersoul
 
Posts: 127
Joined: Thu Aug 18, 2011 2:27 pm

Re: Gapless Playback

Postby daneren2005 » Thu Feb 21, 2013 9:27 pm

Ah yes the last couple of songs do flow. I was trying it on the first songs and they didn't seem to flow at all for me. In fact they seemed a bit jarring if anything. Oh well I have my test now that's all that matters :D
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Gapless Playback

Postby livinggreen » Mon Feb 25, 2013 3:37 am

+1
livinggreen
 
Posts: 2
Joined: Mon Feb 25, 2013 3:13 am

Re: Gapless Playback

Postby Goldilox » Mon Feb 25, 2013 8:55 am

Gapless playback is an absolute must for me personally as well. Thanks for working on this, daneren2005!
I'm very much into progressive/symphonic rock and it's all about concept albums in this particular genre (like - indeed, with Pink Floyd's 'Dark Side of the Moon'). It would really help me a lot if gapless playback would be implemented.

On a side note: I still have trouble playing back tracks without stuttering/audio dropping out. This has to do with downloading the track in advance. Is there a workaround for this perhaps? I've set the 'songs to preload' option from the default value of 3 to 2 and even 1, but this only seems to make matters worse.
I have this issue with the Subsonic client for Android as well as with DSub (although a bit less noticeable so it seems). On the iSub client for iOS everything works perfectly, including gapless playback.

I'm playing back all of my files as native FLAC, because I can't seem to get transcoding working at all on my Synology DS412+ and the following error message appears in the log file:
“Subsonic/transcode/ffmpeg: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory”

I am aware my last remarks are somewhat off-topic, but if anyone can point me into the right direction it would be greatly appreciated! Thank you.
Goldilox
 
Posts: 7
Joined: Mon Feb 25, 2013 8:45 am

Re: Gapless Playback

Postby daneren2005 » Mon Feb 25, 2013 5:56 pm

Well on DSub you have a choice of which one annoys you the least: stuttering or waiting for the song to start. I fixed the stuttering from background downloading (at least it seems to be fixed for me), so the remaining issue is from trying to play a file while it is downloading. If in the settings you set the buffer length to 0, it won't start playing songs until they are fully downloaded. This should get rid of the issue, but of course you will have to wait for it to finish downloading. If you increase the number of songs that are being preloaded though, it is only a issue for the first song. After that your phone should be downloading ahead of time so you won't be trying to play a song while it's downloading anymore.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Gapless Playback

Postby Goldilox » Mon Feb 25, 2013 6:11 pm

Thank you daneren2005, for your response. However - I did set the buffer to 0 and the stuttering persists. I'm on wifi, so it isn't a slow connection problem. I will try some more settings and report back here once I found out more. Thanks again!
Goldilox
 
Posts: 7
Joined: Mon Feb 25, 2013 8:45 am

Re: Gapless Playback

Postby Goldilox » Mon Feb 25, 2013 6:32 pm

The best thing to do right now, so it seems, is to download or cache the whole album (preload all the songs in advance) and after doing this, just start playing the album from the beginning. When setting the preload option to 1 song or more, the stutter issue will return. This is probably the best workaround for the moment.

The only thing I need to take care of now, is getting the transcoder to work properly. I've contacted the developer that made the Subsonic package for the Synology NAS.

Thanks again for your help. I will keep an eye on this thread from now on and will follow the developments regarding DSub in particular. Very nice app!
Goldilox
 
Posts: 7
Joined: Mon Feb 25, 2013 8:45 am

Re: Gapless Playback

Postby orock » Wed Mar 06, 2013 12:54 pm

Gapless playback from the Jukebox would greatly be appreciated.

Is this being worked on?
orock
 
Posts: 5
Joined: Wed Mar 06, 2013 12:11 pm

Re: Gapless Playback

Postby Goldilox » Mon Mar 18, 2013 4:01 pm

Thank you for the latest update! The stutter problem seems to be completely gone now! That's fantastic - however, still no gapless playback support, although it seems better now, there still is a minor gap between to tracks converging. If you can somehow manage to get this working, it's pretty much perfect! Keep up the great work.
Goldilox
 
Posts: 7
Joined: Mon Feb 25, 2013 8:45 am

Re: Gapless Playback

Postby philip550c » Fri Mar 22, 2013 9:50 pm

You can get gapless playback by using the external player
philip550c
 
Posts: 31
Joined: Mon Jun 13, 2011 8:18 pm

Re: Gapless Playback

Postby Goldilox » Tue Mar 26, 2013 7:52 am

I am using DSub, which IS an external player. :D
Goldilox
 
Posts: 7
Joined: Mon Feb 25, 2013 8:45 am

Re: Gapless Playback

Postby philip550c » Sat Mar 30, 2013 12:15 am

Goldilox wrote:I am using DSub, which IS an external player. :D

I meant on the computer, sorry
philip550c
 
Posts: 31
Joined: Mon Jun 13, 2011 8:18 pm

Re: Gapless Playback

Postby sotm31 » Tue Jan 05, 2016 6:49 pm

I would love this feature, as I am a huge head, and enjoy listening to live shows.....Just when I get into the groove, bam, space and next song.....



1,450 artists
6,733 albums
111,812 songs
1256.32 GB
8,648 hours
sotm31
 
Posts: 12
Joined: Mon Apr 23, 2012 6:10 pm

Re: Gapless Playback

Postby ibot » Mon May 02, 2016 10:29 am

+1 for crossfading feature in web and jukebox mode. Its definilty one of the most missing features. Is there any chance to get this by doing some kind of bountysource?
It seems like its more easy with native html 5 audio now.
ibot
 
Posts: 13
Joined: Sat Jan 30, 2016 12:55 pm

Re: Gapless Playback

Postby dough10 » Mon May 02, 2016 7:33 pm

You can do something like gapless with HTML5 audio element. I say something like cause HTML5 audio element cuts off just a very small bit from the end of the track making a noticeable hitch on contentious mix albums .

The theory is simple just like a dj you need 2 players. Add a eventListener to the progress event of the player and if the track is close to the end (i used 1 min from end of track in polySonic) I create a new audio element and set the src attribute which will allow the track to precache. On the audio end event you destroy the 1st audio element and start play of the second.

A crossfade effect could work similar. Precache a little bit before you start the crossfade then maybe use a setTImeout loop to decrease the volume of one player and increase the volume of the other then destroy the first player after the fade is done. A little tweaking could even get a nice curve to the fade.

downside to this is the fade could get really choppy on low end machines.
dough10
 
Posts: 38
Joined: Sat Mar 28, 2015 3:47 am

PreviousNext

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 7 guests