Audiokinetic Wwise Knowledge Base

How to make 3D sounds priority dependent on distance

Sound priority is specified in the Advanced Settings tab of the property editor. It plays a role in determining which sounds are stopped and which are not when the playback limit is reached.

You may also specify a priority offset based on distance. To do so, simply check the "Offset priority by" checkbox and set the priority offset that will be applied when the object is at "max distance" (defined in the 3D positioning's attenuation dialog). Linear interpolation is performed in order to determine the effective priority at any given distance.

For example, say you have a sound which "max distance" is 50 units. If you set the sound's priority to 100, and the "Offset at max distance" to -80, the sound's effective priority will be:

  • 100 when it is right next to the listener;
  • 60 when it is 25 units away from the listener;
  • 20 when it is 50 units away or more from the listener.



Article Details

Last Updated
25th o February, 2010

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions (0 votes)

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

Related Articles

No related articles were found.

Attachments

No attachments were found.

Continue