Package | com.noteflight.standingwave2.filters |
Class | public class EchoFilter |
Inheritance | EchoFilter ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
decay : Number
The fraction of the delayed signal which is fed back into the delay line. | EchoFilter | ||
![]() | descriptor : AudioDescriptor [read-only]
The AudioDescriptor describing the audio characteristics of this source. | AbstractFilter | |
![]() | frameCount : Number [read-only]
The number of sample frames in this source. | AbstractFilter | |
period : Number
The time period of the echo in seconds. | EchoFilter | ||
![]() | position : Number [read-only]
The position of the audio cursor in this source, as a frame index. | AbstractFilter | |
![]() | source : IAudioSource
The underlying audio source for this filter. | AbstractFilter | |
wet : Number
The fraction of the output which is represented by the delayed signal. | EchoFilter |
Method | Defined By | ||
---|---|---|---|
EchoFilter(source:IAudioSource = null, period:Number = 0, wet:Number = 0.5, decay:Number = 0.5)
Create a new EchoFilter. | EchoFilter | ||
[override] | EchoFilter | ||
![]() |
Retrieve a number of sample frames from this source as a Sample object,
starting from the audio cursor position. | AbstractFilter | |
resetPosition():void [override]
Resets the audio cursor to the beginning of the source, and causes any
cursor-dependent state in the source to be initialized. | EchoFilter |
Method | Defined By | ||
---|---|---|---|
initializeState():void | EchoFilter | ||
transformChannel(data:Vector.<Number>, channel:Number, start:Number, numFrames:Number):void [override] | EchoFilter |
decay | property |
decay:Number
The fraction of the delayed signal which is fed back into the delay line.
public function get decay():Number
public function set decay(value:Number):void
period | property |
period:Number
The time period of the echo in seconds.
public function get period():Number
public function set period(value:Number):void
wet | property |
wet:Number
The fraction of the output which is represented by the delayed signal.
public function get wet():Number
public function set wet(value:Number):void
EchoFilter | () | Constructor |
public function EchoFilter(source:IAudioSource = null, period:Number = 0, wet:Number = 0.5, decay:Number = 0.5)
Create a new EchoFilter. Parameters may be changed while the filter is operating.
Parameterssource:IAudioSource (default = null ) — the underlying IAudioSource
| |
period:Number (default = 0 ) — the time period of the echo
| |
wet:Number (default = 0.5 ) — the fraction of the output which is represented by the delayed signal
| |
decay:Number (default = 0.5 ) — the fraction of the delayed signal which is fed back into the delay line
|
clone | () | method |
initializeState | () | method |
protected function initializeState():void
resetPosition | () | method |
override public function resetPosition():void
Resets the audio cursor to the beginning of the source, and causes any cursor-dependent state in the source to be initialized.
transformChannel | () | method |
override protected function transformChannel(data:Vector.<Number>, channel:Number, start:Number, numFrames:Number):void
Parameters
data:Vector.<Number> | |
channel:Number | |
start:Number | |
numFrames:Number |