C# Class AlphaSynth.Player.SynthPlayer

Show file Open project: CoderLine/alphaSynth Class Usage Examples

Public Methods

Method Description
LoadMidiBytes ( byte data ) : void
LoadMidiUrl ( string url ) : void
LoadSoundFontBytes ( byte data ) : void
LoadSoundFontUrl ( string url ) : void
Pause ( ) : void
Play ( ) : void
PlayPause ( ) : void
Stop ( ) : void
SynthPlayer ( ) : System

Protected Methods

Method Description
OnFinished ( ) : void
OnMidiLoad ( ProgressEventArgs e ) : void
OnMidiLoadFailed ( ) : void
OnMidiLoaded ( ) : void
OnPlayerStateChanged ( PlayerStateChangedEventArgs e ) : void
OnPositionChanged ( PositionChangedEventArgs e ) : void
OnReadyForPlay ( ) : void
OnSoundFontLoad ( ProgressEventArgs e ) : void
OnSoundFontLoadFailed ( ) : void
OnSoundFontLoaded ( ) : void

Private Methods

Method Description
FirePositionChanged ( int pos ) : void
OnLoaderMidiLoad ( int loaded, int total ) : void
OnLoaderSoundFontLoad ( int loaded, int total ) : void

Method Details

LoadMidiBytes() public method

public LoadMidiBytes ( byte data ) : void
data byte
return void

LoadMidiUrl() public method

public LoadMidiUrl ( string url ) : void
url string
return void

LoadSoundFontBytes() public method

public LoadSoundFontBytes ( byte data ) : void
data byte
return void

LoadSoundFontUrl() public method

public LoadSoundFontUrl ( string url ) : void
url string
return void

OnFinished() protected method

protected OnFinished ( ) : void
return void

OnMidiLoad() protected method

protected OnMidiLoad ( ProgressEventArgs e ) : void
e ProgressEventArgs
return void

OnMidiLoadFailed() protected method

protected OnMidiLoadFailed ( ) : void
return void

OnMidiLoaded() protected method

protected OnMidiLoaded ( ) : void
return void

OnPlayerStateChanged() protected method

protected OnPlayerStateChanged ( PlayerStateChangedEventArgs e ) : void
e PlayerStateChangedEventArgs
return void

OnPositionChanged() protected method

protected OnPositionChanged ( PositionChangedEventArgs e ) : void
e PositionChangedEventArgs
return void

OnReadyForPlay() protected method

protected OnReadyForPlay ( ) : void
return void

OnSoundFontLoad() protected method

protected OnSoundFontLoad ( ProgressEventArgs e ) : void
e ProgressEventArgs
return void

OnSoundFontLoadFailed() protected method

protected OnSoundFontLoadFailed ( ) : void
return void

OnSoundFontLoaded() protected method

protected OnSoundFontLoaded ( ) : void
return void

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : void
return void

PlayPause() public method

public PlayPause ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

SynthPlayer() public method

public SynthPlayer ( ) : System
return System