C# Class AudioSynthesis.Synthesis.Synthesizer

Show file Open project: n-yoda/unity-midi Class Usage Examples

Public Methods

Method Description
GetChannelExpression ( int channel ) : float
GetChannelHoldPedalStatus ( int channel ) : bool
GetChannelPan ( int channel ) : float
GetChannelPitchBend ( int channel ) : float
GetChannelVolume ( int channel ) : float
GetNext ( ) : void
GetNext ( byte buffer ) : void
GetProgram ( int channel ) : AudioSynthesis.Bank.Patches.Patch
GetProgramName ( int channel ) : string
IsLittleEndian ( ) : bool
LoadBank ( IResource bankFile ) : void
LoadBank ( AudioSynthesis.Bank.PatchBank bank ) : void
ResetPrograms ( ) : void
ResetSynthControls ( ) : void
SetAudioChannelCount ( int channels ) : void
SetEndianMode ( bool isLittleEndian ) : void
Synthesizer ( int sampleRate, int audioChannels ) : System
Synthesizer ( int sampleRate, int audioChannels, int bufferSize, int bufferCount ) : System
Synthesizer ( int sampleRate, int audioChannels, int bufferSize, int bufferCount, int polyphony ) : System
UnloadBank ( ) : void

Private Methods

Method Description
ConvertWorkingBuffer ( byte to, float from ) : void
FillWorkingBuffer ( ) : void

Method Details

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

GetNext() public method

public GetNext ( ) : void
return void

GetNext() public method

public GetNext ( byte buffer ) : void
buffer byte
return void

GetProgram() public method

public GetProgram ( int channel ) : AudioSynthesis.Bank.Patches.Patch
channel int
return AudioSynthesis.Bank.Patches.Patch

GetProgramName() public method

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

IsLittleEndian() public method

public IsLittleEndian ( ) : bool
return bool

LoadBank() public method

public LoadBank ( IResource bankFile ) : void
bankFile IResource
return void

LoadBank() public method

public LoadBank ( AudioSynthesis.Bank.PatchBank bank ) : void
bank AudioSynthesis.Bank.PatchBank
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

SetEndianMode() public method

public SetEndianMode ( bool isLittleEndian ) : void
isLittleEndian bool
return void

Synthesizer() public method

public Synthesizer ( int sampleRate, int audioChannels ) : System
sampleRate int
audioChannels int
return System

Synthesizer() public method

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

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