ryanio / focusmusic.fm

Old repository for focusmusic.fm
113 stars 19 forks source link

Option to disable cross fade? #8

Closed lolmaus closed 5 years ago

lolmaus commented 5 years ago

Cross fade makes music sound out of tune for a few seconds, every few minutes.

Very disturbing.

PS Thank you for the awesome service, I've sent you a humble donation.

ryanio commented 5 years ago

Thanks so much. Hm I don't think I have implemented any cross-fade feature. I'm not sure why that would be happening for you.

lolmaus commented 5 years ago

Could it be a default of the audio library you're using?

Cross fade means that the next track starts a few second before the current track finishes. So for a few seconds they sound both at the same time.

lolmaus commented 5 years ago

I may be imagining it... But I swear I'm hearing it often. :)

ryanio commented 5 years ago

It might be just you hehe, here is the code - audiojs calls trackEnded after the end of the currently playing track: https://github.com/ryanio/focusmusic.fm/blob/master/static/js/app.js#L61

lolmaus commented 5 years ago

Thx!

Maybe some tracks are designed to sound out of tune...

lolmaus commented 5 years ago

Ha!

Turns out, many tracks are mixes: multiple tracks assembled into a single track. And they have crossfade inside them!

For example, listen to this track between 53:30 and 54:20. Very annoying! 😅