Class OscillatorSource

All Implemented Interfaces:
X3DChildNode, X3DNode, OscillatorSource, X3DSoundNode, X3DSoundSourceNode, X3DTimeDependentNode

public class OscillatorSource extends X3DConcreteNode implements OscillatorSource
OscillatorSource node represents an audio source generating a periodic waveform, providing a constant tone.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes. OscillatorSource node tooltip: [X3DSoundSourceNode] OscillatorSource node represents an audio source generating a periodic waveform, providing a constant tone.#10;
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:
  • Field Details

    • NAME

      public static final String NAME
      String constant NAME provides name of this element: OscillatorSource.
      See Also:
    • COMPONENT

      public static final String COMPONENT
      String constant COMPONENT defines X3D component for the OscillatorSource element: Sound
      See Also:
    • LEVEL

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

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

      public static final float DETUNE_DEFAULT_VALUE
      SFFloat field named detune has default value 0f (Java syntax) or 0 (XML syntax).
      See Also:
    • 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:
    • FREQUENCY_DEFAULT_VALUE

      public static final float FREQUENCY_DEFAULT_VALUE
      SFFloat field named frequency has default value 440f (Java syntax) or 440 (XML syntax).
      See Also:
    • 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:
    • IS_DEFAULT_VALUE

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

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

      public static final double PAUSETIME_DEFAULT_VALUE
      SFTime field named pauseTime has default value 0 (Java syntax) or 0 (XML syntax).
      See Also:
    • RESUMETIME_DEFAULT_VALUE

      public static final double RESUMETIME_DEFAULT_VALUE
      SFTime field named resumeTime has default value 0 (Java syntax) or 0 (XML syntax).
      See Also:
    • STARTTIME_DEFAULT_VALUE

      public static final double STARTTIME_DEFAULT_VALUE
      SFTime field named startTime has default value 0 (Java syntax) or 0 (XML syntax).
      See Also:
    • STOPTIME_DEFAULT_VALUE

      public static final double STOPTIME_DEFAULT_VALUE
      SFTime field named stopTime has default value 0 (Java syntax) or 0 (XML syntax).
      See Also:
    • 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, this default value is provided for informational purposes only.
      containerField_DEFAULT_VALUE = "children";
      containerField_ALLOWED_VALUES = {"children" }; type X3DUOM containerFieldChoicesSoundSource
      See Also:
    • fromField_DESCRIPTION

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

      public static final String toField_DESCRIPTION
      toField ROUTE name for SFString field named description.
      See Also:
    • fromField_DETUNE

      public static final String fromField_DETUNE
      fromField ROUTE name for SFFloat field named detune.
      See Also:
    • toField_DETUNE

      public static final String toField_DETUNE
      toField ROUTE name for SFFloat field named detune.
      See Also:
    • fromField_ELAPSEDTIME

      public static final String fromField_ELAPSEDTIME
      fromField ROUTE name for SFTime field named elapsedTime.
      See Also:
    • fromField_ENABLED

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

      public static final String toField_ENABLED
      toField ROUTE name for SFBool field named enabled.
      See Also:
    • fromField_FREQUENCY

      public static final String fromField_FREQUENCY
      fromField ROUTE name for SFFloat field named frequency.
      See Also:
    • toField_FREQUENCY

      public static final String toField_FREQUENCY
      toField ROUTE name for SFFloat field named frequency.
      See Also:
    • fromField_GAIN

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

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

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

      public static final String fromField_ISACTIVE
      fromField ROUTE name for SFBool field named isActive.
      See Also:
    • fromField_ISPAUSED

      public static final String fromField_ISPAUSED
      fromField ROUTE name for SFBool field named isPaused.
      See Also:
    • fromField_METADATA

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

      public static final String toField_METADATA
      toField ROUTE name for SFNode field named metadata.
      See Also:
    • fromField_PAUSETIME

      public static final String fromField_PAUSETIME
      fromField ROUTE name for SFTime field named pauseTime.
      See Also:
    • toField_PAUSETIME

      public static final String toField_PAUSETIME
      toField ROUTE name for SFTime field named pauseTime.
      See Also:
    • fromField_RESUMETIME

      public static final String fromField_RESUMETIME
      fromField ROUTE name for SFTime field named resumeTime.
      See Also:
    • toField_RESUMETIME

      public static final String toField_RESUMETIME
      toField ROUTE name for SFTime field named resumeTime.
      See Also:
    • fromField_STARTTIME

      public static final String fromField_STARTTIME
      fromField ROUTE name for SFTime field named startTime.
      See Also:
    • toField_STARTTIME

      public static final String toField_STARTTIME
      toField ROUTE name for SFTime field named startTime.
      See Also:
    • fromField_STOPTIME

      public static final String fromField_STOPTIME
      fromField ROUTE name for SFTime field named stopTime.
      See Also:
    • toField_STOPTIME

      public static final String toField_STOPTIME
      toField ROUTE name for SFTime field named stopTime.
      See Also:
  • Constructor Details

    • OscillatorSource

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

      public OscillatorSource(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