C# Class CSharpSynth.Synthesis.Voice

Afficher le fichier Open project: deckycoss/unitymidi Class Usage Examples

Méthodes publiques

Méthode Description
Process ( float workingBuffer, int startIndex, int endIndex ) : void
Start ( int channel, int note, int velocity ) : void
Stop ( ) : void
StopImmediately ( ) : void
Voice ( StreamSynthesizer synth ) : System
Voice ( StreamSynthesizer synth, CSharpSynth.Banks.Instrument inst ) : System
getInstrument ( ) : CSharpSynth.Banks.Instrument
getKey ( ) : CSharpSynth.Synthesis.NoteRegistryKey
getPan ( ) : float
setInstrument ( CSharpSynth.Banks.Instrument inst ) : void
setPan ( float pan ) : void

Private Methods

Méthode Description
resetVoice ( ) : void

Method Details

Process() public méthode

public Process ( float workingBuffer, int startIndex, int endIndex ) : void
workingBuffer float
startIndex int
endIndex int
Résultat void

Start() public méthode

public Start ( int channel, int note, int velocity ) : void
channel int
note int
velocity int
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

StopImmediately() public méthode

public StopImmediately ( ) : void
Résultat void

Voice() public méthode

public Voice ( StreamSynthesizer synth ) : System
synth StreamSynthesizer
Résultat System

Voice() public méthode

public Voice ( StreamSynthesizer synth, CSharpSynth.Banks.Instrument inst ) : System
synth StreamSynthesizer
inst CSharpSynth.Banks.Instrument
Résultat System

getInstrument() public méthode

public getInstrument ( ) : CSharpSynth.Banks.Instrument
Résultat CSharpSynth.Banks.Instrument

getKey() public méthode

public getKey ( ) : CSharpSynth.Synthesis.NoteRegistryKey
Résultat CSharpSynth.Synthesis.NoteRegistryKey

getPan() public méthode

public getPan ( ) : float
Résultat float

setInstrument() public méthode

public setInstrument ( CSharpSynth.Banks.Instrument inst ) : void
inst CSharpSynth.Banks.Instrument
Résultat void

setPan() public méthode

public setPan ( float pan ) : void
pan float
Résultat void