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

Try playing sounds backwards when scrubbing backwards through time #20

Open
nwinter opened this Issue Jan 1, 2014 · 3 comments

Comments

Projects
None yet
3 participants
@nwinter
Contributor

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

This comment has been minimized.

Show comment
Hide comment
@GlenDC

GlenDC Jan 21, 2014

Contributor

Do we use a 3rd party API for audio?

Contributor

GlenDC commented Jan 21, 2014

Do we use a 3rd party API for audio?

@sderickson

This comment has been minimized.

Show comment
Hide comment
@sderickson

sderickson Jan 21, 2014

Contributor

Only this: http://www.createjs.com/Docs/SoundJS/modules/SoundJS.html

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

http://stackoverflow.com/questions/9874167/how-can-i-play-audio-in-reverse-with-web-audio-api

Contributor

sderickson commented Jan 21, 2014

Only this: http://www.createjs.com/Docs/SoundJS/modules/SoundJS.html

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

http://stackoverflow.com/questions/9874167/how-can-i-play-audio-in-reverse-with-web-audio-api

@sderickson

This comment has been minimized.

Show comment
Hide comment
@sderickson

sderickson Jan 21, 2014

Contributor

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

http://www.createjs.com/Demos/SoundJS/MusicVisualizer.html

Contributor

sderickson commented Jan 21, 2014

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

http://www.createjs.com/Demos/SoundJS/MusicVisualizer.html

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