Hi, I really like the sound system in blender, but it’s a bit too simple.
For example, I have a room with some bouncing balls, and I want them to create sound when they hit something. That part is easy with logic bricks, but there is two problems with that.
The sound is too monotonous, but that can also be solved with some logics I recently found out.
It makes the same sound no matter how hard the ball is hitting the floor.
I wonder if it’s hard to make a python script where you can use multiple sounds to “randomize” it a bit, and control the volume by how hard the object is colliding.
If that is possible, and you can combine it with the fancy 3D sound, I think the sound effects would sound incredibly realistic!
And realism is fun, isn’t it?
Hope I get some answers, i’ve not got myself into learning python yet, unfortunately… It’s so useful in GE
I am not very familiar with sound system for Blender 2.6, but from what I have seen it seems quite nice even without accessing all of the features through python.
Use 3D sound with doppler effect and distance attenuation - it will add some variety of the same sound. You need to have a mono sound file to be able to use 3D sound effects.
Distance attenuation is just a term of the sound getting more silent away from the audio source. It should be already working if you enable 3D sound. There are some parameters to tweak, but I usually just leave them as they are.
For some reason I can’t set volume through python, ( not working) but if that would work you could have different volumes depending on velocity and hit power,those are possible in python!
I will try and make a blend file.