Results 1 to 5 of 5

Thread: [OpenAL] no sound decay over distance

  1. #1

    [OpenAL] no sound decay over distance

    Hey guy's

    I was wondering whether this is possible. I want to play all sounds with the same volume, regardless of the dinstance to the listener. So that only the direction where the sound is comming from remains.

    Any suggestions how to achieve this?

    Thanx a lot
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  2. #2

    [OpenAL] no sound decay over distance

    By having the sources near the listener at constant distance but different location around it..
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

  3. #3

    [OpenAL] no sound decay over distance

    Okay.... i thought that maybe there was some kind of parameter which allowed us to remove the decay, no matter what the distance to the source is (without affecting the position vector).

    But your idea is a very simple and effective one, i'll implement it.. thanx
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  4. #4

    [OpenAL] no sound decay over distance

    Quote Originally Posted by chronozphere
    Okay.... i thought that maybe there was some kind of parameter which allowed us to remove the decay, no matter what the distance to the source is (without affecting the position vector).

    But your idea is a very simple and effective one, i'll implement it.. thanx
    AL_ROLLOFF_FACTOR or AL_CONE_OUTER_GAIN perhaps?
    This is my game project - Top Down City:
    http://www.pascalgamedevelopment.com...y-Topic-Reboot

    My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
    http://www.pascalgamedevelopment.com...source+manager

  5. #5

    [OpenAL] no sound decay over distance

    Yeah, might be. But i need proper documentation on those. :?

    I've got the OpenAL programmers guide, but they aren't explained very well in that doc.

    Any links?
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •