Try playing sounds backwards when scrubbing backwards through time #20

nwinter opened this Issue Jan 1, 2014 · 3 comments


None yet

3 participants

nwinter commented Jan 1, 2014

I don't know if this is even possible in the browser, but wouldn't it be cool if we could transform the audio on-the-fly (or maybe once for each sound when loaded) so that in app/lib/Surface:playScrubbedSounds, we can play reversed versions of the sounds? Or even fast-forwarded versions depending on the playback speed?

If anyone knows of a cool way to do this kind of audio processing on the fly performantly, it should be a ton of fun.

GlenDC commented Jan 21, 2014

Do we use a 3rd party API for audio?


Only this:

But that's really for simplified loading and playing. For reversing or otherwise manipulating sound, we'd want to do something like this:


Also, SoundJS has an example of how they get the Audio API context through their preloader here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment