This filter implementation resamples an input source by interpolating its samples
using a sampling frequency that is some factor higher or lower than its actual
sample rate. The result is a signal whose speed and pitch are both shifted relative
to the original.
descriptor:AudioDescriptor
[read-only]
Get the AudioDescriptor for this Sample.
Implementation public function get descriptor():AudioDescriptor
public var factor:Number
Resample factor
frameCount:Number
[read-only]
Get the number of sample frames in this AudioSource.
Implementation public function get frameCount():Number
position:Number
[read-only]
Implementation public function get position():Number
source:IAudioSource
The underlying audio source for this filter.
Implementation public function get source():IAudioSource
public function set source(value:IAudioSource):void
public function ResamplingFilter(source:IAudioSource = null, factor:Number = 1)
Create a new ResamplingFilter to adjust the frequency of its input.
Parameters | source:IAudioSource (default = null ) — the input source for this filter
|
|
| factor:Number (default = 1 ) — the factor by which the input frequency should be multiplied.
|
public function clone():IAudioSource
Returns public function getSample(numFrames:Number):Sample
Parameters
Returns public function getSampleRange(fromOffset:Number, toOffset:Number):Sample
Parameters
| fromOffset:Number |
|
| toOffset:Number |
Returns public function resetPosition():void
Wed Aug 25 2010, 09:54 PM -04:00