1 Audio_class.xml
trac edited this page 2008-02-23 04:18:59 +01:00

The audio_class.xml defines top level OPENAL parameters for sound file classes.

Classes:

  interface
  human
  resource
  attack
  soundscapes
  fauna

Parameters and defaults for this group include:

  GAIN: 1.0
  LOOPING: N 
  PITCH: 1.0
  MIN_GAIN: 0
  MAX_GAIN: 1.0
  CONE_OUTER_GAIN: 1.0
  CONE_INNER_ANGLE: 360
  CONE_OUTER_ANGLE: 360
  PRIORITY: 60
  BUFFER: buffer_*
  VELOCITY: (For Doppler Effects*)
  SOURCE_RELATIVE: Y

See OpenAL Parameters for expanded defintitions.

audio_class.xml

interface

  \interface
  	\alarm
  • RANDOMIZE GAIN: N
  • RANOMIZE PITCH: N
  • PRIORITY: 90
  • SOURCE_RELATIVE: N

human

  \human
  	\movement
  • GAIN RANGE UPPER: 0.5
  • GAIN RANGE LOWER: 0.4
  • RANDOMIZE GAIN: Y
  • PITCH RANGE UPPER: 1.0
  • PITCH RANGE LOWER: 0.8
  • RANOMIZE PITCH: Y
  • PRIORITY: 50
  \human
  	\death
  • RANDOMIZE GAIN: N
  • RANOMIZE PITCH: N
  • PRIORITY: 50
  • SOURCE_RELATIVE: Y

resource

  \resource
  	\construction
  • GAIN RANGE UPPER:
  • GAIN RANGE LOWER:
  • RANDOMIZE GAIN: N
  • PITCH RANGE UPPER: 1.2
  • PITCH RANGE LOWER: 0.6
  • RANOMIZE PITCH: Y
  • PRIORITY: 60
  \resource
  	\gathering
  • GAIN RANGE UPPER:
  • GAIN RANGE LOWER:
  • RANDOMIZE GAIN: N
  • PITCH RANGE UPPER: 1.2
  • PITCH RANGE LOWER: 0.6
  • RANOMIZE PITCH: Y
  • PRIORITY: 60
  \resource
  	\lumbering
  • GAIN RANGE UPPER:
  • GAIN RANGE LOWER:
  • RANDOMIZE GAIN: N
  • PITCH RANGE UPPER: 1.2
  • PITCH RANGE LOWER: 0.6
  • RANOMIZE PITCH: Y
  • PRIORITY: 60
  \resource
  	\mining
  • GAIN RANGE UPPER:
  • GAIN RANGE LOWER:
  • RANDOMIZE GAIN: N
  • PITCH RANGE UPPER: 1.2
  • PITCH RANGE LOWER: 0.6
  • RANOMIZE PITCH: Y
  • PRIORITY: 60
  \resource
  	\hunting
  • GAIN RANGE UPPER:
  • GAIN RANGE LOWER:
  • RANDOMIZE GAIN: N
  • PITCH RANGE UPPER: 1.2
  • PITCH RANGE LOWER: 0.6
  • RANOMIZE PITCH: Y
  • PRIORITY: 60
  \resource
  	\farming
  • GAIN RANGE UPPER:
  • GAIN RANGE LOWER:
  • RANDOMIZE GAIN: N
  • PITCH RANGE UPPER: 1.2
  • PITCH RANGE LOWER: 0.6
  • RANOMIZE PITCH: Y
  • PRIORITY: 60
  \resource
  	\foraging
  • GAIN RANGE UPPER:
  • GAIN RANGE LOWER:
  • RANDOMIZE GAIN: N
  • PITCH RANGE UPPER: 1.2
  • PITCH RANGE LOWER: 0.6
  • RANOMIZE PITCH: Y
  • PRIORITY: 60

attack

  \attack
  	\fire
  • GAIN RANGE UPPER: 1.0
  • GAIN RANGE LOWER: 0.8
  • RANDOMIZE GAIN: Y
  • PITCH RANGE UPPER: 1.2
  • PITCH RANGE LOWER: 0.6
  • RANOMIZE PITCH: Y
  • PRIORITY: 80
  • SOURCE_RELATIVE: Y
  \attack
  	\weapon
  • GAIN RANGE UPPER: 1.0
  • GAIN RANGE LOWER: 0.8
  • RANDOMIZE GAIN: Y
  • PITCH RANGE UPPER: 1.2
  • PITCH RANGE LOWER: 0.6
  • RANOMIZE PITCH: Y
  • PRIORITY: 80
  • SOURCE_RELATIVE: Y
  \attack
  	\impact
  • GAIN RANGE UPPER: 1.0
  • GAIN RANGE LOWER: 0.8
  • RANDOMIZE GAIN: Y
  • PITCH RANGE UPPER: 1.2
  • PITCH RANGE LOWER: 0.6
  • RANOMIZE PITCH: Y
  • PRIORITY: 80
  • SOURCE_RELATIVE: Y
  \attack
  	\siege
  • GAIN RANGE UPPER: 1.0
  • GAIN RANGE LOWER: 0.8
  • RANDOMIZE GAIN: Y
  • PITCH RANGE UPPER: 1.2
  • PITCH RANGE LOWER: 0.6
  • RANOMIZE PITCH: Y
  • PRIORITY: 80
  • SOURCE_RELATIVE: Y
  \attack
  	\ship
  • GAIN RANGE UPPER: 1.0
  • GAIN RANGE LOWER: 0.8
  • RANDOMIZE GAIN: Y
  • PITCH RANGE UPPER: 1.2
  • PITCH RANGE LOWER: 0.6
  • RANOMIZE PITCH: Y
  • PRIORITY: 80
  • SOURCE_RELATIVE: Y
  \attack
  	\mounted
  • GAIN RANGE UPPER: 0.5
  • GAIN RANGE LOWER: 0.4
  • RANDOMIZE GAIN: Y
  • PITCH RANGE UPPER: 0.7
  • PITCH RANGE LOWER: 0.5
  • RANOMIZE PITCH: Y
  • PRIORITY: 50
  • SOURCE_RELATIVE: Y
  \attack
  	\destruction
  • GAIN RANGE UPPER: 1.0
  • GAIN RANGE LOWER: 0.8
  • RANDOMIZE GAIN: Y
  • PITCH RANGE UPPER: 1.2
  • PITCH RANGE LOWER: 0.4
  • RANOMIZE PITCH: Y
  • PRIORITY: 80
  • SOURCE_RELATIVE: Y

soundscapes

  \soundscapes
  	\building
  • RANDOMIZE GAIN: N
  • RANOMIZE PITCH: N
  • PRIORITY: 50
  • SOURCE_RELATIVE: Y
  \soundscapes
  	\ambient
  • RANDOMIZE GAIN: N
  • RANDOMIZE GAIN: N
  • PRIORITY: 50
  • SOURCE_RELATIVE: N
  \soundscapes
  	\water
  • RANDOMIZE GAIN: N
  • RANDOMIZE GAIN: N
  • PRIORITY: 50
  • SOURCE_RELATIVE: Y
  \soundscapes
  	\geology
  • RANDOMIZE GAIN: N
  • RANDOMIZE GAIN: N
  • PRIORITY: 50
  • SOURCE_RELATIVE: Y
  \soundscapes
  	\weather
  • RANDOMIZE GAIN: N
  • RANDOMIZE GAIN: N
  • PRIORITY: 50
  • SOURCE_RELATIVE: N

fauna

  \fauna
  	\animal
  • RANDOMIZE GAIN: N
  • RANOMIZE PITCH: N
  • PRIORITY: 50
  • SOURCE_RELATIVE: Y
  \fauna
  	\movement
  • GAIN RANGE UPPER: 0.5
  • GAIN RANGE LOWER: 0.4
  • RANDOMIZE GAIN: Y
  • PITCH RANGE UPPER: 0.7
  • PITCH RANGE LOWER: 0.5
  • RANOMIZE PITCH: Y
  • PRIORITY: 50
  • SOURCE_RELATIVE: Y
  \fauna
  	\death
  • RANDOMIZE GAIN: N
  • RANOMIZE PITCH: N
  • PRIORITY: 50
  • SOURCE_RELATIVE: Y
  \fauna
  	\attack
  • RANDOMIZE GAIN: N
  • RANOMIZE PITCH: N
  • PRIORITY: 50
  • SOURCE_RELATIVE: Y