Hi all, I'm looking at audio again because I have a student doing a game project for which he wants background music to play — and I'm feeling some trepidation based on most of the audio-tagged packages on pkgs.racket-lang.org showing some test failures or other build problems.
His minimal goal is to loop a sound file from the start of play until the end, and have it work on Windows and Mac. We tried play-sound from racket/gui/base, and it almost fits: we just need to be able to kill the sound at the end, and it seems that killing the sound-playing thread is not enough. Is there a way to stop the audio? His ideal goal is to be able to play different background music depending on the room the player is in. AFAICT this is beyond play-sound's ability, at least if he wants to do smooth transitions. Is there another library which would facilitate cross-fading from one audio file to another? More generally, what are currently our best tools for incorporating music and sound effects into Racket games? Best, Jordan -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.