Class AudioDestination

All Implemented Interfaces:
X3DChildNode, X3DNode, AudioDestination, X3DSoundDestinationNode, X3DSoundNode

public class AudioDestination extends X3DConcreteNode implements AudioDestination
AudioDestination node represents the final audio destination and is what user ultimately hears, typically from the speakers of user device.

X3D node tooltip: (X3D version 4.0 draft) [X3DSoundDestinationNode] AudioDestination node represents the final audio destination and is what user ultimately hears, typically from the speakers of user device. An AudioDestinationNode representing the audio hardware end-point (the normal case) can potentially output more than 2 channels of audio if the audio hardware is multi-channel.
Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also:
X3D Abstract Specification: AudioDestination, X3D Tooltips: AudioDestination, X3D Scene Authoring Hints
  • Field Details

    • CHANNELCOUNTMODE_MAX

      public static final String CHANNELCOUNTMODE_MAX
      SFString field named channelCountMode with X3DUOM simpleType channelCountModeChoices and with X3DUOM baseType SFString can equal this value "max" (Java syntax) or max (XML syntax).
      See Also:
      XML Schema: channelCountModeChoices, Constant Field Values
    • CHANNELCOUNTMODE_CLAMPED_MAX

      public static final String CHANNELCOUNTMODE_CLAMPED_MAX
      SFString field named channelCountMode with X3DUOM simpleType channelCountModeChoices and with X3DUOM baseType SFString can equal this value "clamped-max" (Java syntax) or clamped-max (XML syntax).
      See Also:
      XML Schema: channelCountModeChoices, Constant Field Values
    • CHANNELCOUNTMODE_EXPLICIT

      public static final String CHANNELCOUNTMODE_EXPLICIT
      SFString field named channelCountMode with X3DUOM simpleType channelCountModeChoices and with X3DUOM baseType SFString can equal this value "explicit" (Java syntax) or explicit (XML syntax).
      See Also:
      XML Schema: channelCountModeChoices, Constant Field Values
    • CHANNELINTERPRETATION_SPEAKERS

      public static final String CHANNELINTERPRETATION_SPEAKERS
      SFString field named channelInterpretation with X3DUOM simpleType channelInterpretationChoices and with X3DUOM baseType SFString can equal this value "speakers" (Java syntax) or speakers (XML syntax).
      See Also:
      XML Schema: channelInterpretationChoices, Constant Field Values
    • CHANNELINTERPRETATION_DISCRETE

      public static final String CHANNELINTERPRETATION_DISCRETE
      SFString field named channelInterpretation with X3DUOM simpleType channelInterpretationChoices and with X3DUOM baseType SFString can equal this value "discrete" (Java syntax) or discrete (XML syntax).
      See Also:
      XML Schema: channelInterpretationChoices, Constant Field Values
    • NAME

      public static final String NAME
      String constant NAME provides name of this element: AudioDestination.
      See Also:
      Constant Field Values
    • COMPONENT

      public static final String COMPONENT
      String constant COMPONENT defines X3D component for the AudioDestination element: Sound
      See Also:
      Constant Field Values
    • LEVEL

      public static final int LEVEL
      Integer constant LEVEL provides default X3D Sound component level for this element: 2
      See Also:
      Constant Field Values
    • CHANNELCOUNTMODE_DEFAULT_VALUE

      public static final String CHANNELCOUNTMODE_DEFAULT_VALUE
      SFString field named channelCountMode has default value "max" (Java syntax) or max (XML syntax).
      See Also:
      Constant Field Values
    • CHANNELINTERPRETATION_DEFAULT_VALUE

      public static final String CHANNELINTERPRETATION_DEFAULT_VALUE
      SFString field named channelInterpretation has default value "speakers" (Java syntax) or speakers (XML syntax).
      See Also:
      Constant Field Values
    • DESCRIPTION_DEFAULT_VALUE

      public static final String DESCRIPTION_DEFAULT_VALUE
      SFString field named description has default value equal to an empty string.
      See Also:
      Constant Field Values
    • ENABLED_DEFAULT_VALUE

      public static final boolean ENABLED_DEFAULT_VALUE
      SFBool field named enabled has default value true (Java syntax) or true (XML syntax).
      See Also:
      Constant Field Values
    • GAIN_DEFAULT_VALUE

      public static final float GAIN_DEFAULT_VALUE
      SFFloat field named gain has default value 1f (Java syntax) or 1 (XML syntax).
      See Also:
      Constant Field Values
    • IS_DEFAULT_VALUE

      public static final IS IS_DEFAULT_VALUE
      SFNode field named IS has default value null (Java syntax) or NULL (XML syntax).
    • MAXCHANNELCOUNT_DEFAULT_VALUE

      public static final int MAXCHANNELCOUNT_DEFAULT_VALUE
      SFInt32 field named maxChannelCount has default value 2 (Java syntax) or 2 (XML syntax).
      See Also:
      Constant Field Values
    • METADATA_DEFAULT_VALUE

      public static final X3DMetadataObject METADATA_DEFAULT_VALUE
      SFNode field named metadata has default value null (Java syntax) or NULL (XML syntax).
    • containerField_DEFAULT_VALUE

      public static final String containerField_DEFAULT_VALUE
      containerField describes typical field relationship of a node to its parent. Usage is not ordinarily needed when using this API, default value is provided for informational purposes.
      See Also:
      X3D Scene Authoring Hints: containerField, X3D Unified Object Model (X3DUOM), Constant Field Values
    • fromField_CHANNELCOUNT

      public static final String fromField_CHANNELCOUNT
      fromField ROUTE name for SFInt32 field named channelCount.
      See Also:
      Constant Field Values
    • fromField_CHANNELCOUNTMODE

      public static final String fromField_CHANNELCOUNTMODE
      fromField ROUTE name for SFString field named channelCountMode.
      See Also:
      Constant Field Values
    • toField_CHANNELCOUNTMODE

      public static final String toField_CHANNELCOUNTMODE
      toField ROUTE name for SFString field named channelCountMode.
      See Also:
      Constant Field Values
    • fromField_CHANNELINTERPRETATION

      public static final String fromField_CHANNELINTERPRETATION
      fromField ROUTE name for SFString field named channelInterpretation.
      See Also:
      Constant Field Values
    • toField_CHANNELINTERPRETATION

      public static final String toField_CHANNELINTERPRETATION
      toField ROUTE name for SFString field named channelInterpretation.
      See Also:
      Constant Field Values
    • fromField_CHILDREN

      public static final String fromField_CHILDREN
      fromField ROUTE name for MFNode field named children.
      See Also:
      Constant Field Values
    • toField_CHILDREN

      public static final String toField_CHILDREN
      toField ROUTE name for MFNode field named children.
      See Also:
      Constant Field Values
    • fromField_DESCRIPTION

      public static final String fromField_DESCRIPTION
      fromField ROUTE name for SFString field named description.
      See Also:
      Constant Field Values
    • toField_DESCRIPTION

      public static final String toField_DESCRIPTION
      toField ROUTE name for SFString field named description.
      See Also:
      Constant Field Values
    • fromField_ENABLED

      public static final String fromField_ENABLED
      fromField ROUTE name for SFBool field named enabled.
      See Also:
      Constant Field Values
    • toField_ENABLED

      public static final String toField_ENABLED
      toField ROUTE name for SFBool field named enabled.
      See Also:
      Constant Field Values
    • fromField_GAIN

      public static final String fromField_GAIN
      fromField ROUTE name for SFFloat field named gain.
      See Also:
      Constant Field Values
    • toField_GAIN

      public static final String toField_GAIN
      toField ROUTE name for SFFloat field named gain.
      See Also:
      Constant Field Values
    • fromField_IS

      public static final String fromField_IS
      fromField ROUTE name for SFNode field named IS.
      See Also:
      Constant Field Values
    • fromField_ISACTIVE

      public static final String fromField_ISACTIVE
      fromField ROUTE name for SFBool field named isActive.
      See Also:
      Constant Field Values
    • fromField_MAXCHANNELCOUNT

      public static final String fromField_MAXCHANNELCOUNT
      fromField ROUTE name for SFInt32 field named maxChannelCount.
      See Also:
      Constant Field Values
    • toField_MAXCHANNELCOUNT

      public static final String toField_MAXCHANNELCOUNT
      toField ROUTE name for SFInt32 field named maxChannelCount.
      See Also:
      Constant Field Values
    • fromField_MEDIADEVICEID

      public static final String fromField_MEDIADEVICEID
      fromField ROUTE name for SFString field named mediaDeviceID.
      See Also:
      Constant Field Values
    • fromField_METADATA

      public static final String fromField_METADATA
      fromField ROUTE name for SFNode field named metadata.
      See Also:
      Constant Field Values
    • toField_METADATA

      public static final String toField_METADATA
      toField ROUTE name for SFNode field named metadata.
      See Also:
      Constant Field Values
  • Constructor Details

    • AudioDestination

      public AudioDestination()
      Constructor for AudioDestination to initialize member variables with default values.
    • AudioDestination

      public AudioDestination(String DEFlabel)
      Utility constructor that assigns DEF label after initializing member variables with default values.
      Parameters:
      DEFlabel - unique DEF name for this X3D node
  • Method Details