PeriodicWave
Overview
PeriodicWave defines a periodic waveform that can be used to shape the output of an Oscillator.#10;
The PeriodicWave node belongs to the Sound component and requires at least support level 2, its default container field is periodicWave. It is available from X3D version 4.0 or higher.
Hierarchy
1
2
3
4
+ X3DNode
+ X3DChildNode
+ X3DSoundNode
+ PeriodicWave
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.
SFString [in, out] type “SQUARE” [“SINE”, “SQUARE”, “SAWTOOTH”, “TRIANGLE”, “CUSTOM”]
The type field specifies shape of waveform to play, which can be one of several provided values or else ‘custom’ to indicate that real and imaginary coefficient arrays define a custom waveform.
Hint
MFFloat [in, out] optionsReal [ ] (-∞,∞)
Real coefficients for defining a waveform.
Warning
- Array lengths for optionsReal and optionsImag must match.
MFFloat [in, out] optionsImag [ ] (-∞,∞)
Imaginary coefficients for defining a waveform.
Warning
- Array lengths for optionsReal and optionsImag must match.