nednoodlehead / punge

The newer, better version of punge!
7 stars 1 forks source link

crossfade option #29

Open nednoodlehead opened 5 months ago

nednoodlehead commented 5 months ago

genuinely have no clue how this will work.

will probably have to modify the sinks / sources to make this work. would love it though

nednoodlehead commented 5 months ago

depends on this:

https://github.com/RustAudio/rodio/pull/217

i think..

nednoodlehead commented 1 month ago

This should be possible now?

Each song will have x second fade in / fade out applied, and because we now have the time_elapsed or whatever, we can change our condition for starting the new song to is song.time > x seconds until end of song.

I'm just not entirely sure if we are able to play two songs at once... 🤔

maybe it is possible to play two songs at once with 2 sinks? but it might get messed, like you alternate which sink you are using between songs. Might be a super headache and garbage for performance so idk.