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

crossfade option #29

Open
nednoodlehead opened this issue Apr 4, 2024 · 2 comments
Open

crossfade option #29

nednoodlehead opened this issue Apr 4, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@nednoodlehead
Copy link
Owner

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
Copy link
Owner Author

depends on this:

RustAudio/rodio#217

i think..

@nednoodlehead nednoodlehead added the enhancement New feature or request label Jul 16, 2024
@nednoodlehead
Copy link
Owner Author

nednoodlehead commented Aug 15, 2024

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.

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

No branches or pull requests

1 participant