KarelAnker Posted October 18, 2015 Share Posted October 18, 2015 I'm unsure if Babylon has this feature, however this functionality is in WebAudio. It would greatly improve the sound experience if there's an implementation of WebAudio, including modifications to pitch, bass, playback speed and some other things.It would be great if Babylon could have this feature implemented in its 3D space. Quote Link to comment Share on other sites More sharing options...
KarelAnker Posted October 18, 2015 Author Share Posted October 18, 2015 It seems that Babylon already uses WebAudio, but I can't seem to find out how to use the particular pitch / bass functions. Quote Link to comment Share on other sites More sharing options...
davrous Posted October 18, 2015 Share Posted October 18, 2015 Hi, Everything implemented is documented here: http://doc.babylonjs.com/tutorials/16._Playing_sounds_and_music I'm exposing the playrate but not all you need. Can you please tell me exactly what you would need? I haven't finished everything I've planned on web audio yet. So you could help me setting up priorities. Bye,David KarelAnker 1 Quote Link to comment Share on other sites More sharing options...
Convergence Posted October 18, 2015 Share Posted October 18, 2015 Not the OP, but pitch speed would be nice to simulate the Doppler effect. Also, any chance for reverberation? Would be immersive for scenes in big halls, caves, etc. Quote Link to comment Share on other sites More sharing options...
KarelAnker Posted October 18, 2015 Author Share Posted October 18, 2015 Hi,Everything implemented is documented here: http://doc.babylonjs.com/tutorials/16._Playing_sounds_and_musicI'm exposing the playrate but not all you need. Can you please tell me exactly what you would need? I haven't finished everything I've planned on web audio yet. So you could help me setting up priorities. Bye,DavidAh . That would help with the pitch. It would be great if there's an equalizer, and more specific to my project: think of a radio in a vehicle. When you're in the car, you would hear the sound like you would normally, but when you're outside the car you hear more of the bass than all the other sounds. That's why I need an equalizer, or a way to alter the bass "volume". Quote Link to comment Share on other sites More sharing options...
davrous Posted October 18, 2015 Share Posted October 18, 2015 Ok. My objective was to work on dopler effect and convolver to let you doing such effects (cathedral, radio and so on).That's why I've ben working on SoundTracks. The idea is to apply on specific effect on a soundtrack and move a sound from a track to another based on the effect you'd like to apply. KarelAnker 1 Quote Link to comment Share on other sites More sharing options...
KarelAnker Posted October 18, 2015 Author Share Posted October 18, 2015 Ok. My objective was to work on dopler effect and convolver to let you doing such effects (cathedral, radio and so on).That's why I've ben working on SoundTracks. The idea is to apply on specific effect on a soundtrack and move a sound from a track to another based on the effect you'd like to apply.Sounds great Quote Link to comment Share on other sites More sharing options...
Wingnut Posted October 19, 2015 Share Posted October 19, 2015 Hi K! https://github.com/carlosrafaelgn/GraphicalFilterEditor http://carlosrafaelgn.com.br/GraphicalFilterEditor Push the play button, and start drawing the line graph. A pretty nice ?#-band equalizer, eh? (Wingy dances to the jungle beat.) The Web Audio API is a powerful beast. I bet it can do anything. Are YOU going to code-up the first Babylon.JS WAAPI Graphic Equalizer, KA? C'mon! I went looking-around in https://github.com/BabylonJS/Babylon.js/blob/master/src/Audio/babylon.sound.js ... found... "BABYLON.Engine.audioEngine.audioContext" WOW! GRUESOME SOUNDING NAME, huh? I'm quite sure that we can take over the world from there. Connect a few filters together, and boom... graphic equalizer, controlled with mesh knobs. Yay! Code it up, KarelAnker. I'll watch. (cuz I'm really lazy) Quote Link to comment Share on other sites More sharing options...
KarelAnker Posted October 28, 2015 Author Share Posted October 28, 2015 Hi K! https://github.com/carlosrafaelgn/GraphicalFilterEditor http://carlosrafaelgn.com.br/GraphicalFilterEditor Push the play button, and start drawing the line graph. A pretty nice ?#-band equalizer, eh? (Wingy dances to the jungle beat.) The Web Audio API is a powerful beast. I bet it can do anything. Are YOU going to code-up the first Babylon.JS WAAPI Graphic Equalizer, KA? C'mon! I went looking-around in https://github.com/BabylonJS/Babylon.js/blob/master/src/Audio/babylon.sound.js ... found... "BABYLON.Engine.audioEngine.audioContext" WOW! GRUESOME SOUNDING NAME, huh? I'm quite sure that we can take over the world from there. Connect a few filters together, and boom... graphic equalizer, controlled with mesh knobs. Yay! Code it up, KarelAnker. I'll watch. (cuz I'm really lazy)Got it working, just create a new biquad filter and pass it to the sound Wingnut 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.