C# Class AlphaSynth.Main.AlphaSynthWebAudioOutput

This class implements a HTML5 Web Audio API based audio output device for alphaSynth. It can be controlled via a JS API.
Inheritance: ISynthOutput
Show file Open project: CoderLine/alphaSynth

Public Methods

Method Description
AddSamples ( AlphaSynth.Ds.SampleArray f ) : void
Open ( ) : void
Pause ( ) : void
Play ( ) : void
Seek ( int position ) : void
SequencerFinished ( ) : void
SetPlaybackSpeed ( float playbackSpeed ) : void
Stop ( ) : void

Protected Methods

Method Description
OnReadyChanged ( bool isReady ) : void

Private Methods

Method Description
GenerateSound ( SharpKit.Html.DOMEvent e ) : void
RequestBuffers ( ) : void

Method Details

AddSamples() public method

public AddSamples ( AlphaSynth.Ds.SampleArray f ) : void
f AlphaSynth.Ds.SampleArray
return void

OnReadyChanged() protected method

protected OnReadyChanged ( bool isReady ) : void
isReady bool
return void

Open() public method

public Open ( ) : void
return void

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : void
return void

Seek() public method

public Seek ( int position ) : void
position int
return void

SequencerFinished() public method

public SequencerFinished ( ) : void
return void

SetPlaybackSpeed() public method

public SetPlaybackSpeed ( float playbackSpeed ) : void
playbackSpeed float
return void

Stop() public method

public Stop ( ) : void
return void