Closed glennflanagan closed 9 years ago
Oh! Uh! Yeah, THREE.Audio
is pretty limited right now. Shouldn't be hard to implement though! :)
That's cool. I'm pretty novice when it comes to javascript stuff. I'll let you know if I manage to figure it out. :-)
Perhaps of interest: http://mohayonao.github.io/timbre.js/ https://github.com/mohayonao/timbre.js/
Examples: http://mohayonao.github.io/timbre.js/reich.html http://mohayonao.github.io/timbre.js/satie.html
Used from within the editor: http://threejs.org/editor/#app=https://gist.githubusercontent.com/walden-/98d41536d2e2e431a387/raw/7a7995623856a9d2624c1d4e1ebf942285e8c582/arkanoid.app.json
I found the API and docs a bit confusing, but this is very powerful web audio synthesis stuff. It would be neat to integrate 3D audio in that library and then use it with three.js.
mrdoob: btw: The author of that library lives in Osaka, Japan. I saw on your twitter feed that you visit that country sometimes. Perhaps you could have a chat with him :-)
Used from within the editor: http://threejs.org/editor/#app=https://gist.githubusercontent.com/walden-/98d41536d2e2e431a387/raw/7a7995623856a9d2624c1d4e1ebf942285e8c582/arkanoid.app.json
Haha! Wow! Ok, we need a way to include libraries... :)
Implemented in #6233.
I'm looking to implement some sound effects into a game and I've been looking into the THREE.Audio object. I've got the sound effect loading into my scene but it just plays on load.
Is there any way of controlling the playback so the sound effect plays on an event of my choosing?