Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
I have a question

annacook
Registered User
Quote
2020-05-30 05:21:33

Hello,

I am trying to implement the following situation; I have a 3D sound that I want to behave as follows:

- from 0 to 100 m: Full volume
- from 100m to 1000m: reduce the volume (100m = maximum volume, 1000m = 0dB)

I can get to the first point using setMinDistance (), however, how can I set the 1000m limit?

Thanks,
Anna Cook


erik
Registered User
Quote
2020-05-31 10:14:14

Using the default model, I think this is not possible.
But you could probably use ESEO_LINEAR_ROLLOFF and set MinDistance to 100 and MaxDistance to 1000.

The volume is interpolated linearly between the MinDistance and MaxDistance, making it possible to adjust sounds more easily although this is not physically correct.


Maybe it works for you.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "?nternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact