Packagecom.noteflight.standingwave2.sources
Classpublic class SoundSource
InheritanceSoundSource Inheritance AbstractSource Inheritance Object
Implements IRandomAccessSource

A SoundSource serves as a source of stereo 44.1k sound extracted from an underlying Flash Player Sound object.



Public Properties
 PropertyDefined By
 Inheritedamplitude : Number
AbstractSource
 Inheriteddescriptor : AudioDescriptor
[read-only] Get the AudioDescriptor for this Sample.
AbstractSource
 Inheritedduration : Number
AbstractSource
 InheritedframeCount : Number
[read-only]
AbstractSource
 Inheritedposition : Number
[read-only]
AbstractSource
  sound : Sound
[read-only]
SoundSource
Protected Properties
 PropertyDefined By
 Inherited_descriptor : AudioDescriptor
Audio descriptor for this source.
AbstractSource
 Inherited_position : Number
AbstractSource
Public Methods
 MethodDefined By
  
SoundSource(sound:Sound)
SoundSource
  
[override]
SoundSource
  
getSample(numFrames:Number):Sample
[override]
SoundSource
  
getSampleRange(fromOffset:Number, toOffset:Number):Sample
SoundSource
 Inherited
AbstractSource
Protected Methods
 MethodDefined By
 Inherited
generateChannel(data:Vector.<Number>, channel:Number, numFrames:Number):void
AbstractSource
Public Constants
 ConstantDefined By
 InheritedMAX_DURATION : Number = 2.147483647E9
[static]
AbstractSource
Property Detail
soundproperty
sound:Sound  [read-only]


Implementation
    public function get sound():Sound
Constructor Detail
SoundSource()Constructor
public function SoundSource(sound:Sound)



Parameters
sound:Sound
Method Detail
clone()method
override public function clone():IAudioSource

Returns
IAudioSource
getSample()method 
override public function getSample(numFrames:Number):Sample

Parameters

numFrames:Number

Returns
Sample
getSampleRange()method 
public function getSampleRange(fromOffset:Number, toOffset:Number):Sample

Parameters

fromOffset:Number
 
toOffset:Number

Returns
Sample