Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play / Pause Timeline Sync Problem #197

Open
cosmobooker opened this issue May 25, 2023 · 4 comments
Open

Play / Pause Timeline Sync Problem #197

cosmobooker opened this issue May 25, 2023 · 4 comments

Comments

@cosmobooker
Copy link

I've noticed that when I pause a chapter of any given book, the app will sometimes jump the audio back a few seconds while the place in the timeline stays the same.

Ex: Chapter is 1:00:00 long, I pause at 00:30:00, I wait a minute or so, I play the chapter, the timeline continues counting up (00:30:01, etc.) but the audio is now around 10 seconds behind (equivalent to 00:29:50). I pause again, wait, play, now the audio is only around 5 seconds behind. Repeat until the play / pause cycle is instant and not delayed.

I noticed this as I like to pause at the end of paragraphs and often when I hit play, the stream will be in the last sentence or two of the paragraph instead of the end.

I expect it to play / pause like a regular music player, never separating the timeline from the actual relevant audio position. I could understand if this is a feature to allow you to be reminded of your place in the text with a few seconds of audio, but if that's the case, the timeline should reflect this (and there would hopefully be a setting to disable that feature).

Apologies for my lack of proper terminology, it's a weird issue to describe. Love the app btw!

@flackbash
Copy link
Owner

Glad you like the app :)

There is a similar issue described in #17. Can you check if your files have a variable bit rate? In that case this is a known issue, but also as far as I know an unsolvable one unless I completely ditch the Android MediaPlayer which AudioAnchor uses internally. Instead you'd have to convert your files to constant bit rate.

@cosmobooker
Copy link
Author

While #17 does sound like the same / a very similar issue, it doesn't seem to be related to whether a given .mp3 is encoded with a CBR vs a VBR. To check, I took one of the chapters I was experiencing with, ran it through an .mp3 re-encoder, and spat it out with one of their constant bitrate options, the same issue still occured.

@cosmobooker
Copy link
Author

Screenshot_20230525-203639_1
Also, not sure if this helps, but you can sometimes see this when finishing a chapter. The playtime will run past the stated length of the audio file.

@fabiomus
Copy link

Hello, first of all thank you so much for the amazing application! I've been using it for quite a while and I love it! I'm sure you spent a lot of time to make it and I really appreciate it!

However, I've too experienced all the issues described here.
I'm quite sure my audio files don't have a variable bit rate, so it must be something else.
Have you looked into it and found anything? Have you been able to reproduce the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants