Vizard 8 » Command Index » Vizard objects » multimedia » <multimedia:sound3D>.coneangle
8.0

<multimedia:sound3D>.coneangle

Set the inner and outer angle of the sound cone

<multimedia:sound3D>.coneangle(  
innerAngle  
outerAngle  
)  
innerAngle
outerAngle

Remarks

Set the inner and outer angle of the sound cone. The angles define a cone where the 3D sound is loudest. The cones are rotate and translate with the 3D sound object. The inter angle cone is louder than the outer angle cone.

Return Value

None

Example

ball = viz.add( 'ball.wrl' )
sound = ball.playsound( 'arrgh.wav', viz.LOOP )
sound.coneangle( 40, 180 )