arcticPigs release V1.0 helpefiles |
3D Sound |
You can enliven your animations by adding 3D sound. The term '3D' stems from the fact that the way the sound is played is dependant of the location of the listener and the sound source within your animated sequence. The location of the listener is always the same as the camera position. The location of the sound source can be linked to a bone within a model. This way your sounds will seem to come from your models. You don't need to keep track of any sound related parameters as the location of the model drives how the sound is played. You only need to set the parameters of the sound cone during the initialisation of your script.
The 3D-sound cone should be visualized as two overlapping cones sharing the same origin, but with different spread angles. The volume of the sound is strongest (and constant) inside the inner cone. Between the inner and outer cone the volume gradually drops to ambient level. Outside the outer cone the volume is ambient (and constant). The volume also depends on the distance between the camera and the origin of the sound cones. The rate at which the volume of the sound drops with distance can be set with the property distancescale. Setting this property to 0 creates 'infinite' sound: sound that remains constant in volume no matter how far it travels.
For a highly focused 'beam' of sound, use values close to these;
INNERANGLE=45 OUTERANGLE=90 VOLUME=0 OUTERVOLUME=-30
For diffuse sound, i.e. with a very small directional component, use values close to these;'
INNERANGLE=180 OUTERANGLE=360 VOLUME=0 OUTERVOLUME=-10
Last Updated: 06/22/02 |