Post

ListenerPointSource

ListenerPointSource

Overview

ListenerPointSource node represents position and orientation of a person listening to virtual sound in the audio scene, and provides single or multiple sound channels as output. Multiple ListenerPointSource nodes can be active for sound processing.

The ListenerPointSource node belongs to the Sound component and requires at least level 2, its default container field is children. It is available from X3D version 4.0 or higher.

Hierarchy

1
2
3
4
5
+ X3DNode
  + X3DChildNode
    + X3DTimeDependentNode
      + X3DSoundSourceNode
        + ListenerPointSource

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.

Hint

SFString [in, out] description “”

Author-provided prose that describes intended purpose of the url asset.

Hint

  • Many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as & for & ampersand character, or " for “ quotation-mark character).

SFBool [in, out] enabled TRUE

Enables/disables node operation.

SFBool [in, out] trackCurrentView FALSE

If trackCurrentView field is true then position and orientation match avatar’s (user’s) current view.

SFVec3f [in, out] position 0 0 0 (-∞,∞)

position (x, y, z in meters) relative to local coordinate system.

SFRotation [in, out] orientation 0 0 1 0 [-1,1] or (-∞,∞)

Rotation (axis, angle in radians) of listening point direction relative to default -Z axis direction in local coordinate system.

Hints

  • This is orientation change from default direction (0 0 -1) along the -X axis.
  • Complex rotations can be accomplished axis-by-axis using parent Transforms.

Warning

  • For VR/AR/MR/XR users wearing a head-mounted display (HMD), animating this field may induce motion sickness.

SFFloat [in, out] interauralDistance 0 [0,∞) not supported

The interauralDistance field is .

SFBool [in, out] dopplerEnabled FALSE not supported

dopplerEnabled enables/disables whether real-time Doppler effects (due to relation motion between sources and listeners) are computed by browser between virtual sound sources and active listening locations, then applied to received frequency at active listening locations.

Hints

Advice

Hint

See Also

This post is licensed under CC BY 4.0 by the author.