Cavern

 Cavern4D

 Cavernize

 Debug

 FilterInterfaces

 Filters

 Format

 Helpers

 QuickEQ

 Remapping

 SpecialSources

 Spoofer

 Utilities

 Virtualizer

 Atmosphere

 AudioClip3D

 AudioListener3D

 AudioListener3DInspector

 AudioSource3D

 CavernizeRealtime

 Channel

 Clip

 Environments

 Jack

 Listener

  ActiveSources

  AttachPrioritySource(Source)

  AttachSource(Source)

  AudioQuality

  Channels

  defaultSampleRate

  DelayTarget

  DetachAllSources()

  DetachSource(Source)

  DirectLFE

  EnvironmentSize

  EnvironmentType

  GetLayoutName()

  HeadphoneVirtualizer

  Info

  IsSpherical

  IsSymmetric

  LFESeparation

  LFEVolume

  LimiterOnly

  Listener(bool)

  MaximumSources

  Normalizer

  operator bool(Listener)

  Ping()

  Position

  Range

  Render(int)

  ReplaceChannels(Channel[])

  ReplaceChannels(int)

  Rotation

  SampleRate

  ScreenSize

  UpdateRate

  Volume

 QualityModes

 Rolloffs

 SeatAdaptation

 Source

Constructor Listener(bool loadGlobals = true)

Center of a listening space. Attached Sources will be rendered relative to this object's position.
VisibilityPublic

Parameters

bool loadGlobalsLoad the global settings for all listeners. This should be false for listeners created on the fly, as this overwrites previous application settings that might have been modified.

See also

CavernUnity DLL.Cavern.Listener.EnvironmentSizeThe single most important variable defining sound space in symmetric mode, the environment scaling. Originally set by the user and applied when a Listener is created, however, overriding it in specific applications can make a huge difference. Objects inside a box this size are positioned inside the room, and defines the range of balance between left/right, front/rear, and top/bottom speakers. Does not effect directional rendering. The user's settings should be respected, thus this vector should be scaled, not completely overridden.
CavernUnity DLL.Cavern.Listener.ReplaceChannels(int channelCount) Replace the channel layout with a standard of a given channel count. The Listener will set up itself automatically with the user's saved configuration. The used audio channels can be queried through Channels, which should be respected, and the output audio channel count should be set to its length. If this is not possible, the layout could be set to a standard by the number of channels with this function.