C# Class CSharpSynth.Synthesis.Voice

Datei anzeigen Open project: deckycoss/unitymidi Class Usage Examples

Public Methods

Method 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

Method Description
resetVoice ( ) : void

Method Details

Process() public method

public Process ( float workingBuffer, int startIndex, int endIndex ) : void
workingBuffer float
startIndex int
endIndex int
return void

Start() public method

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

Stop() public method

public Stop ( ) : void
return void

StopImmediately() public method

public StopImmediately ( ) : void
return void

Voice() public method

public Voice ( StreamSynthesizer synth ) : System
synth StreamSynthesizer
return System

Voice() public method

public Voice ( StreamSynthesizer synth, CSharpSynth.Banks.Instrument inst ) : System
synth StreamSynthesizer
inst CSharpSynth.Banks.Instrument
return System

getInstrument() public method

public getInstrument ( ) : CSharpSynth.Banks.Instrument
return CSharpSynth.Banks.Instrument

getKey() public method

public getKey ( ) : CSharpSynth.Synthesis.NoteRegistryKey
return CSharpSynth.Synthesis.NoteRegistryKey

getPan() public method

public getPan ( ) : float
return float

setInstrument() public method

public setInstrument ( CSharpSynth.Banks.Instrument inst ) : void
inst CSharpSynth.Banks.Instrument
return void

setPan() public method

public setPan ( float pan ) : void
pan float
return void