public class JsOscillator extends JsAudioSourceNode implements Oscillator
CUSTOM, FINISHED_STATE, PLAYING_STATE, SAWTOOTH, SCHEDULED_STATE, SINE, SQUARE, TRIANGLE, UNSCHEDULED_STATE
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
JsOscillator() |
Modifier and Type | Method and Description |
---|---|
JsAudioParam |
getDetune() |
JsAudioParam |
getFrequency() |
int |
getPlaybackState() |
int |
getType() |
void |
noteOff(double when) |
void |
noteOn(double when) |
void |
setType(int param_type) |
void |
setWaveTable(WaveTable waveTable) |
connect, connect, disconnect, getContext, getNumberOfInputs, getNumberOfOutputs
addEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
connect, connect, disconnect, getContext, getNumberOfInputs, getNumberOfOutputs
intAt, length
numberAt
public final JsAudioParam getDetune()
getDetune
in interface Oscillator
public final JsAudioParam getFrequency()
getFrequency
in interface Oscillator
public final int getPlaybackState()
getPlaybackState
in interface Oscillator
public final int getType()
getType
in interface Oscillator
public final void setType(int param_type)
setType
in interface Oscillator
public final void noteOff(double when)
noteOff
in interface Oscillator
public final void noteOn(double when)
noteOn
in interface Oscillator
public final void setWaveTable(WaveTable waveTable)
setWaveTable
in interface Oscillator
Copyright © 2016. All rights reserved.