C# Class PianoKeyEmulator.AudioSintezator

Inheritance: IDisposable
Datei anzeigen Open project: DrA1ex/GuitarHelper

Public Methods

Method Description
Dispose ( ) : void
IsNotePlayed ( Note note ) : bool
PlayTone ( byte octave, Tones tone, int strength = 127 ) : int
SetInstrument ( Instruments instrument ) : void
StopAll ( ) : void
StopPlaying ( byte octave, Tones tone ) : void
StopPlaying ( int id ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

IsNotePlayed() public method

public IsNotePlayed ( Note note ) : bool
note Note
return bool

PlayTone() public method

public PlayTone ( byte octave, Tones tone, int strength = 127 ) : int
octave byte
tone Tones
strength int
return int

SetInstrument() public method

public SetInstrument ( Instruments instrument ) : void
instrument Instruments
return void

StopAll() public method

public StopAll ( ) : void
return void

StopPlaying() public method

public StopPlaying ( byte octave, Tones tone ) : void
octave byte
tone Tones
return void

StopPlaying() public method

public StopPlaying ( int id ) : void
id int
return void