I’m working on a Guitar Hero type game, and am trying to figure out a way to get a sort of practice mode in. Practice mode would essentially make the song you want to practice slower, and would let the player play the notes slower so you could practice parts of a song at a slower rate than what the actual song is.
I know that you can set the pitch of the audio to lower to slow down the song, but that makes everything sound demonic, which I don’t want. I’ve looked into time stretching with SoundTouchNet (a C# wrapper for the SoundTouch library which time stretches audio) and can’t get it to work since Unity can’t seem to load the DLLs.
Another way I could go about doing this is using something like Audacity to time stretch the audio and save each stretched version of the audio as a separate file, but that would eat up tons of memory and obviously not something I’d want to do.
Has anybody had any luck with time stretching audio in Unity? I don’t require it happening in real-time, since I could do it during a loading screen as I know time stretching audio is pretty expensive.
Thanks