OpenGL Library for Delphi,
maintained by Eric Grange,
based on Mike Lischke's GLScene.

 

Oldest known version of this page was edited on 2007-03-25 12:50:55 by DintHer []
Page view:

Reference Manual - TGLBaseSoundSource



This class is used by the TGLSMBass Sound manager or by the TGLBSoundEmitter source property. It allows the specification of the sound library and the sound name that you wish to emit.

Important TGLBaseSoundSource properties include:
soundlibrary: TGLSoundLibrary The sound library that holds the sound you want to play.
soundname: The name of the sound in the library. It is the filename of the sound without the path.
volume: Sound volume between 0 and 1
frequency: Frequency at which the sampled sound data is played back. eg. a 16KHz sample plays twice as fast with double pitch when frequency is 32000
nbloops: How many times the sound will loop
MinDistance: The minimum distance. The channel's volume is at maximum when the listener is within this distance... 0 or less = leave current.
MaxDistance: The maximum distance. The channel's volume stops decreasing when the listener is beyond this distance... 0 or less = leave current.
InsideConeAngle: The angle of the inside projection cone in degrees... 0 (no cone) - 360 (sphere), -1 = leave current.
OutsideCodeAngle: The angle of the outside projection cone in degrees... 0 (no cone) - 360 (sphere), -1 = leave current.
ConeOutsideVolume: The delta-volume outside the outer projection cone... 0 (silent) - 100 (same as inside the cone), -1 = leave current.


Demo: CVS/Demos/sound/3Dsound

Unit: GLSound

Descends from TGLCollectionItem.
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0468 seconds