Property | Defined By | ||
---|---|---|---|
cpuLoading : Number [static] [read-only] CPU loading [%] | MIDIPlayer | ||
driver : SiONDriver [static] [read-only] SiON driver to play | MIDIPlayer | ||
isPaused : Boolean [static] [read-only] Is paused ? | MIDIPlayer | ||
isPlaying : Boolean [static] [read-only] Is playing ? | MIDIPlayer | ||
position : Number [static] Playing position [sec] | MIDIPlayer | ||
tempo : Number [static] [read-only] tempo | MIDIPlayer | ||
volume : Number Playing volume [0-1] | MIDIPlayer |
Method | Defined By | ||
---|---|---|---|
[static] load MIDI file without sounding
| MIDIPlayer | ||
pause(fadeOutTime:Number = 0):void [static] pause
| MIDIPlayer | ||
[static] play MIDI file
| MIDIPlayer | ||
resume(fadeInTime:Number = 0):void [static] resume pausing
| MIDIPlayer | ||
stop(fadeOutTime:Number = 0):void [static] stop
| MIDIPlayer |
cpuLoading | property |
cpuLoading:Number
[read-only] CPU loading [%]
public static function get cpuLoading():Number
driver | property |
driver:SiONDriver
[read-only] SiON driver to play
public static function get driver():SiONDriver
isPaused | property |
isPaused:Boolean
[read-only] Is paused ?
public static function get isPaused():Boolean
isPlaying | property |
isPlaying:Boolean
[read-only] Is playing ?
public static function get isPlaying():Boolean
position | property |
position:Number
Playing position [sec]
public static function get position():Number
public static function set position(value:Number):void
tempo | property |
tempo:Number
[read-only] tempo
public static function get tempo():Number
volume | property |
volume:Number
Playing volume [0-1]
public function get volume():Number
public function set volume(value:Number):void
load | () | method |
public static function load(url:String):SMFData
load MIDI file without sounding
Parameters
url:String — MIDI file's URL
|
SMFData — SMFData object to load
|
pause | () | method |
public static function pause(fadeOutTime:Number = 0):void
pause
Parameters
fadeOutTime:Number (default = 0 ) — fade out time [second]
|
play | () | method |
public static function play(url:String, fadeInTime:Number = 0):SMFData
play MIDI file
Parameters
url:String — MIDI file's URL
| |
fadeInTime:Number (default = 0 ) — fade in time [second]
|
SMFData — SMFData object to play
|
resume | () | method |
public static function resume(fadeInTime:Number = 0):void
resume pausing
Parameters
fadeInTime:Number (default = 0 ) — fade in time [second]
|
stop | () | method |
public static function stop(fadeOutTime:Number = 0):void
stop
Parameters
fadeOutTime:Number (default = 0 ) — fade out time [second]
|