C# Class AlphaSynth.Bank.Patch.Sf2Patch

Inheritance: AlphaSynth.Bank.Patch.Patch
Datei anzeigen Open project: CoderLine/alphaSynth Class Usage Examples

Public Methods

Method Description
Load ( AlphaSynth.Sf2.Sf2Region region, AssetManager assets ) : void
Process ( AlphaSynth.Synthesis.VoiceParameters voiceparams, int startIndex, int endIndex ) : void
Sf2Patch ( string name ) : System
Start ( AlphaSynth.Synthesis.VoiceParameters voiceparams ) : bool
Stop ( AlphaSynth.Synthesis.VoiceParameters voiceparams ) : void

Private Methods

Method Description
CalculateModulator ( SourceTypeEnum s, TransformEnum t, DirectionEnum d, PolarityEnum p, int value, int min, int max ) : double
LoadEnvelopes ( AlphaSynth.Sf2.Sf2Region region ) : void
LoadFilter ( AlphaSynth.Sf2.Sf2Region region ) : void
LoadGen ( AlphaSynth.Sf2.Sf2Region region, AssetManager assets ) : void
LoadLfos ( AlphaSynth.Sf2.Sf2Region region ) : void

Method Details

Load() public method

public Load ( AlphaSynth.Sf2.Sf2Region region, AssetManager assets ) : void
region AlphaSynth.Sf2.Sf2Region
assets AssetManager
return void

Process() public method

public Process ( AlphaSynth.Synthesis.VoiceParameters voiceparams, int startIndex, int endIndex ) : void
voiceparams AlphaSynth.Synthesis.VoiceParameters
startIndex int
endIndex int
return void

Sf2Patch() public method

public Sf2Patch ( string name ) : System
name string
return System

Start() public method

public Start ( AlphaSynth.Synthesis.VoiceParameters voiceparams ) : bool
voiceparams AlphaSynth.Synthesis.VoiceParameters
return bool

Stop() public method

public Stop ( AlphaSynth.Synthesis.VoiceParameters voiceparams ) : void
voiceparams AlphaSynth.Synthesis.VoiceParameters
return void