C# Class LibiadaMusic.ScoreModel.MidiNumberManager

The midi number manager.
Datei anzeigen Open project: intervals-mining-lab/libiada-core

Public Methods

Method Description
GetAlterFromMidiNumber ( int midiNumber ) : int

The get alter from midi number.

GetOctaveFromMidiNumber ( int midiNumber ) : int

The get octave from midi number.

GetStepFromMidiNumber ( int midiNumber ) : int

The get step from midi number.

StepToNoteSymbol ( int step ) : char

The step to note symbol.

Method Details

GetAlterFromMidiNumber() public static method

The get alter from midi number.
public static GetAlterFromMidiNumber ( int midiNumber ) : int
midiNumber int /// The midi number. ///
return int

GetOctaveFromMidiNumber() public static method

The get octave from midi number.
public static GetOctaveFromMidiNumber ( int midiNumber ) : int
midiNumber int /// The midi number. ///
return int

GetStepFromMidiNumber() public static method

The get step from midi number.
/// Thrown if step is invalid. ///
public static GetStepFromMidiNumber ( int midiNumber ) : int
midiNumber int /// The midi number. ///
return int

StepToNoteSymbol() public static method

The step to note symbol.
/// Thrown if step is invalid. ///
public static StepToNoteSymbol ( int step ) : char
step int /// The step. ///
return char