Packagecom.sonoport
Classpublic class ScrubberPitchLock
InheritanceScrubberPitchLock Inheritance com.sonoport.BaseSound
Implements IScrubberPitchLock

Plays an mp3 according to how the 'position' property is changed, while keeping the pitch constant. Works well for pitched, single-source material, for example speech.



Public Properties
 PropertyDefined By
  audioFile : Object
mp3 audio file.
ScrubberPitchLock
  muteOnReverse : Boolean
Mute on reverse motion.
ScrubberPitchLock
  noMotionFade : Boolean
Fade out if no motion.
ScrubberPitchLock
  playPosition : Number
Relative playback position in file.
ScrubberPitchLock
Public Methods
 MethodDefined By
  
Constructor
ScrubberPitchLock
Property Detail
audioFileproperty
audioFile:Object

mp3 audio file. Default is null.


Implementation
    public function get audioFile():Object
    public function set audioFile(value:Object):void
muteOnReverseproperty 
muteOnReverse:Boolean

Mute on reverse motion. Default is true.


Implementation
    public function get muteOnReverse():Boolean
    public function set muteOnReverse(value:Boolean):void
noMotionFadeproperty 
noMotionFade:Boolean

Fade out if no motion. Default is true.


Implementation
    public function get noMotionFade():Boolean
    public function set noMotionFade(value:Boolean):void
playPositionproperty 
playPosition:Number

Relative playback position in file. Default is 0. Range is [0, 1].


Implementation
    public function get playPosition():Number
    public function set playPosition(value:Number):void
Constructor Detail
ScrubberPitchLock()Constructor
public function ScrubberPitchLock()

Constructor