OscillatorNode

Overview

The OscillatorNode interface represents a periodic waveform, such as a sine wave. It is an AudioScheduledSourceNode audio-processing module that causes a specified frequency of a given wave to be created—in effect, a constant tone.

Location

 

channelCount    (declared in AudioNode)

 

property channelCount: Int32 read write;

 

Int32 channelCount { get; set; }

 

var channelCount: Int32 { get{} set{} }

 

Int32 channelCount { __get; __set; }

 

Property channelCount() As Int32

channelCountMode    (declared in AudioNode)

 

property channelCountMode: dynamic read write;

 

dynamic channelCountMode { get; set; }

 

var channelCountMode: dynamic { get{} set{} }

 

dynamic channelCountMode { __get; __set; }

 

Property channelCountMode() As dynamic

channelInterpretation    (declared in AudioNode)

 

property channelInterpretation: dynamic read write;

 

dynamic channelInterpretation { get; set; }

 

var channelInterpretation: dynamic { get{} set{} }

 

dynamic channelInterpretation { __get; __set; }

 

Property channelInterpretation() As dynamic

connect    (declared in AudioNode)

Allows us to connect the output of this node to be input into another node, either as audio data or as the value of an AudioParam.

 

method connect(pardestination: dynamic; paroutputIndex: dynamic; parinputIndex: dynamic): AudioNode

 

AudioNode connect(dynamic pardestination, dynamic paroutputIndex, dynamic parinputIndex)

 

func connect(_ pardestination: dynamic, _ paroutputIndex: dynamic, _ parinputIndex: dynamic) -> AudioNode

 

AudioNode connect(dynamic pardestination, dynamic paroutputIndex, dynamic parinputIndex)

 

Function connect(pardestination As dynamic, paroutputIndex As dynamic, parinputIndex As dynamic) As AudioNode

Parameters:

  • pardestination:
  • paroutputIndex:
  • parinputIndex:

context    (declared in AudioNode)

 

property context: String read;

 

String context { get; }

 

var context: String { get{} }

 

String context { __get; }

 

ReadOnly Property context() As String

detune

 

property detune: Double read write;

 

Double detune { get; set; }

 

var detune: Double { get{} set{} }

 

Double detune { __get; __set; }

 

Property detune() As Double

disconnect    (declared in AudioNode)

Allows us to disconnect the current node from another one it is already connected to.

 

method disconnect(pardestination: dynamic; paroutput: dynamic; parinput: dynamic)

 

void disconnect(dynamic pardestination, dynamic paroutput, dynamic parinput)

 

func disconnect(_ pardestination: dynamic, _ paroutput: dynamic, _ parinput: dynamic)

 

void disconnect(dynamic pardestination, dynamic paroutput, dynamic parinput)

 

Sub disconnect(pardestination As dynamic, paroutput As dynamic, parinput As dynamic)

Parameters:

  • pardestination:
  • paroutput:
  • parinput:

frequency

 

property frequency: dynamic read write;

 

dynamic frequency { get; set; }

 

var frequency: dynamic { get{} set{} }

 

dynamic frequency { __get; __set; }

 

Property frequency() As dynamic

numberOfInputs    (declared in AudioNode)

 

property numberOfInputs: dynamic read;

 

dynamic numberOfInputs { get; }

 

var numberOfInputs: dynamic { get{} }

 

dynamic numberOfInputs { __get; }

 

ReadOnly Property numberOfInputs() As dynamic

numberOfOutputs    (declared in AudioNode)

 

property numberOfOutputs: dynamic read;

 

dynamic numberOfOutputs { get; }

 

var numberOfOutputs: dynamic { get{} }

 

dynamic numberOfOutputs { __get; }

 

ReadOnly Property numberOfOutputs() As dynamic

onended

 

property onended: EventListener read write;

 

EventListener onended { get; set; }

 

var onended: EventListener { get{} set{} }

 

EventListener onended { __get; __set; }

 

Property onended() As EventListener

start    (declared in AudioScheduledSourceNode)

Schedules the node to begin playing the constant sound at the specified time. If no time is specified, the node begins playing immediately.

 

method start(parwhen: dynamic; paroffset: dynamic; parduration: dynamic)

 

void start(dynamic parwhen, dynamic paroffset, dynamic parduration)

 

func start(_ parwhen: dynamic, _ paroffset: dynamic, _ parduration: dynamic)

 

void start(dynamic parwhen, dynamic paroffset, dynamic parduration)

 

Sub start(parwhen As dynamic, paroffset As dynamic, parduration As dynamic)

Parameters:

  • parwhen:
  • paroffset:
  • parduration:

stop    (declared in AudioScheduledSourceNode)

Schedules the node to stop playing at the specified time. If no time is specified, the node stops playing at once.

 

method stop(parwhen: dynamic)

 

void stop(dynamic parwhen)

 

func stop(_ parwhen: dynamic)

 

void stop(dynamic parwhen)

 

Sub stop(parwhen As dynamic)

Parameters:

  • parwhen:

type

 

property type: dynamic read write;

 

dynamic type { get; set; }

 

var type: dynamic { get{} set{} }

 

dynamic type { __get; __set; }

 

Property type() As dynamic

 

channelCount    (declared in AudioNode)

 

property channelCount: Int32 read write;

 

Int32 channelCount { get; set; }

 

var channelCount: Int32 { get{} set{} }

 

Int32 channelCount { __get; __set; }

 

Property channelCount() As Int32

channelCountMode    (declared in AudioNode)

 

property channelCountMode: dynamic read write;

 

dynamic channelCountMode { get; set; }

 

var channelCountMode: dynamic { get{} set{} }

 

dynamic channelCountMode { __get; __set; }

 

Property channelCountMode() As dynamic

channelInterpretation    (declared in AudioNode)

 

property channelInterpretation: dynamic read write;

 

dynamic channelInterpretation { get; set; }

 

var channelInterpretation: dynamic { get{} set{} }

 

dynamic channelInterpretation { __get; __set; }

 

Property channelInterpretation() As dynamic

context    (declared in AudioNode)

 

property context: String read;

 

String context { get; }

 

var context: String { get{} }

 

String context { __get; }

 

ReadOnly Property context() As String

detune

 

property detune: Double read write;

 

Double detune { get; set; }

 

var detune: Double { get{} set{} }

 

Double detune { __get; __set; }

 

Property detune() As Double

frequency

 

property frequency: dynamic read write;

 

dynamic frequency { get; set; }

 

var frequency: dynamic { get{} set{} }

 

dynamic frequency { __get; __set; }

 

Property frequency() As dynamic

numberOfInputs    (declared in AudioNode)

 

property numberOfInputs: dynamic read;

 

dynamic numberOfInputs { get; }

 

var numberOfInputs: dynamic { get{} }

 

dynamic numberOfInputs { __get; }

 

ReadOnly Property numberOfInputs() As dynamic

numberOfOutputs    (declared in AudioNode)

 

property numberOfOutputs: dynamic read;

 

dynamic numberOfOutputs { get; }

 

var numberOfOutputs: dynamic { get{} }

 

dynamic numberOfOutputs { __get; }

 

ReadOnly Property numberOfOutputs() As dynamic

onended

 

property onended: EventListener read write;

 

EventListener onended { get; set; }

 

var onended: EventListener { get{} set{} }

 

EventListener onended { __get; __set; }

 

Property onended() As EventListener

type

 

property type: dynamic read write;

 

dynamic type { get; set; }

 

var type: dynamic { get{} set{} }

 

dynamic type { __get; __set; }

 

Property type() As dynamic

 

connect    (declared in AudioNode)

Allows us to connect the output of this node to be input into another node, either as audio data or as the value of an AudioParam.

 

method connect(pardestination: dynamic; paroutputIndex: dynamic; parinputIndex: dynamic): AudioNode

 

AudioNode connect(dynamic pardestination, dynamic paroutputIndex, dynamic parinputIndex)

 

func connect(_ pardestination: dynamic, _ paroutputIndex: dynamic, _ parinputIndex: dynamic) -> AudioNode

 

AudioNode connect(dynamic pardestination, dynamic paroutputIndex, dynamic parinputIndex)

 

Function connect(pardestination As dynamic, paroutputIndex As dynamic, parinputIndex As dynamic) As AudioNode

Parameters:

  • pardestination:
  • paroutputIndex:
  • parinputIndex:

disconnect    (declared in AudioNode)

Allows us to disconnect the current node from another one it is already connected to.

 

method disconnect(pardestination: dynamic; paroutput: dynamic; parinput: dynamic)

 

void disconnect(dynamic pardestination, dynamic paroutput, dynamic parinput)

 

func disconnect(_ pardestination: dynamic, _ paroutput: dynamic, _ parinput: dynamic)

 

void disconnect(dynamic pardestination, dynamic paroutput, dynamic parinput)

 

Sub disconnect(pardestination As dynamic, paroutput As dynamic, parinput As dynamic)

Parameters:

  • pardestination:
  • paroutput:
  • parinput:

start    (declared in AudioScheduledSourceNode)

Schedules the node to begin playing the constant sound at the specified time. If no time is specified, the node begins playing immediately.

 

method start(parwhen: dynamic; paroffset: dynamic; parduration: dynamic)

 

void start(dynamic parwhen, dynamic paroffset, dynamic parduration)

 

func start(_ parwhen: dynamic, _ paroffset: dynamic, _ parduration: dynamic)

 

void start(dynamic parwhen, dynamic paroffset, dynamic parduration)

 

Sub start(parwhen As dynamic, paroffset As dynamic, parduration As dynamic)

Parameters:

  • parwhen:
  • paroffset:
  • parduration:

stop    (declared in AudioScheduledSourceNode)

Schedules the node to stop playing at the specified time. If no time is specified, the node stops playing at once.

 

method stop(parwhen: dynamic)

 

void stop(dynamic parwhen)

 

func stop(_ parwhen: dynamic)

 

void stop(dynamic parwhen)

 

Sub stop(parwhen As dynamic)

Parameters:

  • parwhen: