Packagecom.noteflight.standingwave2.performance
Classpublic class PerformanceElement
InheritancePerformanceElement Inheritance Object

A PerformanceElement is an IAudioSource with a specific start index in sample frames.



Public Properties
 PropertyDefined By
  end : Number
[read-only] The ending time frame offset for the audio in this source
PerformanceElement
  endTime : Number
[read-only] The ending time offset in seconds
PerformanceElement
  source : IAudioSource
[read-only] The underlying audio source.
PerformanceElement
  start : Number
[read-only] The starting time frame offset for the audio in this source
PerformanceElement
  startTime : Number
[read-only] The starting time offset in seconds
PerformanceElement
Public Methods
 MethodDefined By
  
PerformanceElement(startTime:Number, source:IAudioSource)
Create a PerformanceElement that renders the given source at a particular time onset.
PerformanceElement
Property Detail
endproperty
end:Number  [read-only]

The ending time frame offset for the audio in this source


Implementation
    public function get end():Number
endTimeproperty 
endTime:Number  [read-only]

The ending time offset in seconds


Implementation
    public function get endTime():Number
sourceproperty 
source:IAudioSource  [read-only]

The underlying audio source.


Implementation
    public function get source():IAudioSource
startproperty 
start:Number  [read-only]

The starting time frame offset for the audio in this source


Implementation
    public function get start():Number
startTimeproperty 
startTime:Number  [read-only]

The starting time offset in seconds


Implementation
    public function get startTime():Number
Constructor Detail
PerformanceElement()Constructor
public function PerformanceElement(startTime:Number, source:IAudioSource)

Create a PerformanceElement that renders the given source at a particular time onset.

Parameters
startTime:Number — a time onset within the performance in seconds from the time origin
 
source:IAudioSource — an instance of IAudioSource