Optimization of MinFront, MaxFront, MinBack, MaxBack

You adjust the vertices along the major axis of each ellipsoid in order to create different effects. They are called MinFront, MaxFront, MinBack, and MaxBack. Here are some hints when adjusting these parameters:

Set the MinFront and MinBack values (the inner ellipsoid) equal to each other and equal to the physical size of the object that is producing the sound. Therefore, the sound will emanate from the center of the object, and will have the same volume no matter where you are in or on that object.

MaxFront and MaxBack values (the outer ellipsoid) should be set to the farthest distance that you want to be able to hear the sound in front of or in back of the object. Good manipulation of these parameters can increase the realism of the environment you are creating. Here are three examples:

Ambient Sound- in this example, the maxFront and minFront are equal, as are the maxBack and minBack. Therefore, there is no drop off in sound, and the volume is constant.

Fat min, Thin max- Here the music is in a room, so the min values are set to fill the room, and the max values are set so you can hear the music only if you get close to the walls, increasing in volume as you do so.

Talking Avatar- in this example, the sound source is small (the avatar's head) so the min values are set accordingly. When setting the max values, remember that a person's voice usually projects further in front than behind. Therefore, the sound's direction vector is pointed out of the avatar's mouth, and the MaxFront value is set to twice the amount of the MaxBack value.

< < _ > > > > > >