C# Class AudioSynthesis.Synthesis.Synthesizer

Afficher le fichier Open project: n-yoda/unity-midi Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
ConvertWorkingBuffer ( byte to, float from ) : void
FillWorkingBuffer ( ) : void

Method Details

GetChannelExpression() public méthode

public GetChannelExpression ( int channel ) : float
channel int
Résultat float

GetChannelHoldPedalStatus() public méthode

public GetChannelHoldPedalStatus ( int channel ) : bool
channel int
Résultat bool

GetChannelPan() public méthode

public GetChannelPan ( int channel ) : float
channel int
Résultat float

GetChannelPitchBend() public méthode

public GetChannelPitchBend ( int channel ) : float
channel int
Résultat float

GetChannelVolume() public méthode

public GetChannelVolume ( int channel ) : float
channel int
Résultat float

GetNext() public méthode

public GetNext ( ) : void
Résultat void

GetNext() public méthode

public GetNext ( byte buffer ) : void
buffer byte
Résultat void

GetProgram() public méthode

public GetProgram ( int channel ) : AudioSynthesis.Bank.Patches.Patch
channel int
Résultat AudioSynthesis.Bank.Patches.Patch

GetProgramName() public méthode

public GetProgramName ( int channel ) : string
channel int
Résultat string

IsLittleEndian() public méthode

public IsLittleEndian ( ) : bool
Résultat bool

LoadBank() public méthode

public LoadBank ( IResource bankFile ) : void
bankFile IResource
Résultat void

LoadBank() public méthode

public LoadBank ( AudioSynthesis.Bank.PatchBank bank ) : void
bank AudioSynthesis.Bank.PatchBank
Résultat void

ResetPrograms() public méthode

public ResetPrograms ( ) : void
Résultat void

ResetSynthControls() public méthode

public ResetSynthControls ( ) : void
Résultat void

SetAudioChannelCount() public méthode

public SetAudioChannelCount ( int channels ) : void
channels int
Résultat void

SetEndianMode() public méthode

public SetEndianMode ( bool isLittleEndian ) : void
isLittleEndian bool
Résultat void

Synthesizer() public méthode

public Synthesizer ( int sampleRate, int audioChannels ) : System
sampleRate int
audioChannels int
Résultat System

Synthesizer() public méthode

public Synthesizer ( int sampleRate, int audioChannels, int bufferSize, int bufferCount ) : System
sampleRate int
audioChannels int
bufferSize int
bufferCount int
Résultat System

Synthesizer() public méthode

public Synthesizer ( int sampleRate, int audioChannels, int bufferSize, int bufferCount, int polyphony ) : System
sampleRate int
audioChannels int
bufferSize int
bufferCount int
polyphony int
Résultat System

UnloadBank() public méthode

public UnloadBank ( ) : void
Résultat void