C# Class AlphaSynth.Synthesis.Synthesizer

Show file Open project: CoderLine/alphaSynth Class Usage Examples

Public Methods

Method Description
AddMidiMessageProcessed ( Action listener ) : void
GetChannelExpression ( int channel ) : float
GetChannelHoldPedalStatus ( int channel ) : bool
GetChannelPan ( int channel ) : float
GetChannelPitchBend ( int channel ) : float
GetChannelVolume ( int channel ) : float
GetProgram ( int channel ) : AlphaSynth.Bank.Patch.Patch
GetProgramName ( int channel ) : string
LoadBank ( AlphaSynth.Bank.PatchBank bank ) : void
NoteOff ( int channel, int note ) : void
NoteOffAll ( bool immediate ) : void
NoteOffAllChannel ( int channel, bool immediate ) : void
NoteOn ( int channel, int note, int velocity ) : void
ProcessMidiMessage ( AlphaSynth.Midi.Event.MidiEvent e ) : void
ResetPrograms ( ) : void
ResetSynthControls ( ) : void
SetAudioChannelCount ( int channels ) : void
Stop ( ) : void
Synthesize ( ) : void
Synthesizer ( int sampleRate, int audioChannels, int bufferSize, int bufferCount, int polyphony ) : System
UnloadBank ( ) : void

Private Methods

Method Description
FillWorkingBuffer ( ) : void
FireMidiMessageProcessed ( AlphaSynth.Midi.Event.MidiEvent e ) : void
ReleaseAllHoldPedals ( ) : void
ReleaseHoldPedal ( int channel ) : void

Method Details

AddMidiMessageProcessed() public method

public AddMidiMessageProcessed ( Action listener ) : void
listener Action
return void

GetChannelExpression() public method

public GetChannelExpression ( int channel ) : float
channel int
return float

GetChannelHoldPedalStatus() public method

public GetChannelHoldPedalStatus ( int channel ) : bool
channel int
return bool

GetChannelPan() public method

public GetChannelPan ( int channel ) : float
channel int
return float

GetChannelPitchBend() public method

public GetChannelPitchBend ( int channel ) : float
channel int
return float

GetChannelVolume() public method

public GetChannelVolume ( int channel ) : float
channel int
return float

GetProgram() public method

public GetProgram ( int channel ) : AlphaSynth.Bank.Patch.Patch
channel int
return AlphaSynth.Bank.Patch.Patch

GetProgramName() public method

public GetProgramName ( int channel ) : string
channel int
return string

LoadBank() public method

public LoadBank ( AlphaSynth.Bank.PatchBank bank ) : void
bank AlphaSynth.Bank.PatchBank
return void

NoteOff() public method

public NoteOff ( int channel, int note ) : void
channel int
note int
return void

NoteOffAll() public method

public NoteOffAll ( bool immediate ) : void
immediate bool
return void

NoteOffAllChannel() public method

public NoteOffAllChannel ( int channel, bool immediate ) : void
channel int
immediate bool
return void

NoteOn() public method

public NoteOn ( int channel, int note, int velocity ) : void
channel int
note int
velocity int
return void

ProcessMidiMessage() public method

public ProcessMidiMessage ( AlphaSynth.Midi.Event.MidiEvent e ) : void
e AlphaSynth.Midi.Event.MidiEvent
return void

ResetPrograms() public method

public ResetPrograms ( ) : void
return void

ResetSynthControls() public method

public ResetSynthControls ( ) : void
return void

SetAudioChannelCount() public method

public SetAudioChannelCount ( int channels ) : void
channels int
return void

Stop() public method

public Stop ( ) : void
return void

Synthesize() public method

public Synthesize ( ) : void
return void

Synthesizer() public method

public Synthesizer ( int sampleRate, int audioChannels, int bufferSize, int bufferCount, int polyphony ) : System
sampleRate int
audioChannels int
bufferSize int
bufferCount int
polyphony int
return System

UnloadBank() public method

public UnloadBank ( ) : void
return void