C# 클래스 AlphaSynth.Main.AlphaSynthWebWorkerApiBase

This class implements a JavaScript API for initializing and controlling a WebWorker based alphaSynth which uses the given player as output.
상속: SharpKit.Html.HtmlContext, IAlphaSynthAsync
파일 보기 프로젝트 열기: CoderLine/alphaSynth

공개 메소드들

메소드 설명
AlphaSynthWebWorkerApiBase ( ISynthOutput player, string alphaSynthScriptFile ) : System
GetMasterVolume ( ) : void
GetPlaybackSpeed ( ) : void
GetState ( ) : void
HandleWorkerMessage ( SharpKit.Html.DOMEvent e ) : void
IsMidiLoaded ( ) : void
IsReadyForPlay ( ) : void
IsSoundFontLoaded ( ) : void
LoadMidiBytes ( byte data ) : void
LoadMidiUrl ( string url ) : void
LoadSoundFontBytes ( byte data ) : void
LoadSoundFontUrl ( string url ) : void
On ( string events, System.Action action ) : void
Pause ( ) : void
Play ( ) : void
PlayPause ( ) : void
PlayerFinished ( ) : void
PlayerPositionChanged ( int pos ) : void
PlayerSampleRequest ( ) : void
SetLogLevel ( LogLevel level ) : void
SetMasterVolume ( float volume ) : void
SetPlaybackSpeed ( float playbackSpeed ) : void
SetPositionTick ( int tick ) : void
SetPositionTime ( int millis ) : void
Startup ( ) : void
Stop ( ) : void

비공개 메소드들

메소드 설명
CheckForReadyState ( ) : void
CreateWorkerUrl ( ) : string
Log ( LogLevel level, string message ) : void
PlayerReadyChanged ( bool isReady ) : void
QualifyUrl ( string url ) : string
TriggerEvent ( string name, object args = null ) : void

메소드 상세

AlphaSynthWebWorkerApiBase() 공개 메소드

public AlphaSynthWebWorkerApiBase ( ISynthOutput player, string alphaSynthScriptFile ) : System
player ISynthOutput
alphaSynthScriptFile string
리턴 System

GetMasterVolume() 공개 메소드

public GetMasterVolume ( ) : void
리턴 void

GetPlaybackSpeed() 공개 메소드

public GetPlaybackSpeed ( ) : void
리턴 void

GetState() 공개 메소드

public GetState ( ) : void
리턴 void

HandleWorkerMessage() 공개 메소드

public HandleWorkerMessage ( SharpKit.Html.DOMEvent e ) : void
e SharpKit.Html.DOMEvent
리턴 void

IsMidiLoaded() 공개 메소드

public IsMidiLoaded ( ) : void
리턴 void

IsReadyForPlay() 공개 메소드

public IsReadyForPlay ( ) : void
리턴 void

IsSoundFontLoaded() 공개 메소드

public IsSoundFontLoaded ( ) : void
리턴 void

LoadMidiBytes() 공개 메소드

public LoadMidiBytes ( byte data ) : void
data byte
리턴 void

LoadMidiUrl() 공개 메소드

public LoadMidiUrl ( string url ) : void
url string
리턴 void

LoadSoundFontBytes() 공개 메소드

public LoadSoundFontBytes ( byte data ) : void
data byte
리턴 void

LoadSoundFontUrl() 공개 메소드

public LoadSoundFontUrl ( string url ) : void
url string
리턴 void

On() 공개 메소드

public On ( string events, System.Action action ) : void
events string
action System.Action
리턴 void

Pause() 공개 메소드

public Pause ( ) : void
리턴 void

Play() 공개 메소드

public Play ( ) : void
리턴 void

PlayPause() 공개 메소드

public PlayPause ( ) : void
리턴 void

PlayerFinished() 공개 메소드

public PlayerFinished ( ) : void
리턴 void

PlayerPositionChanged() 공개 메소드

public PlayerPositionChanged ( int pos ) : void
pos int
리턴 void

PlayerSampleRequest() 공개 메소드

public PlayerSampleRequest ( ) : void
리턴 void

SetLogLevel() 공개 메소드

public SetLogLevel ( LogLevel level ) : void
level LogLevel
리턴 void

SetMasterVolume() 공개 메소드

public SetMasterVolume ( float volume ) : void
volume float
리턴 void

SetPlaybackSpeed() 공개 메소드

public SetPlaybackSpeed ( float playbackSpeed ) : void
playbackSpeed float
리턴 void

SetPositionTick() 공개 메소드

public SetPositionTick ( int tick ) : void
tick int
리턴 void

SetPositionTime() 공개 메소드

public SetPositionTime ( int millis ) : void
millis int
리턴 void

Startup() 공개 메소드

public Startup ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void