C# Class LibiadaMusic.ScoreModel.Pitch

высота ноты
Inheritance: IBaseObject
Datei anzeigen Open project: intervals-mining-lab/libiada-core Class Usage Examples

Public Methods

Method Description
Clone ( ) : IBaseObject

The clone.

Equals ( object obj ) : bool

The equals.

GetHashCode ( ) : byte[]

The get hash code.

Pitch ( int octave, char step, int alter, int instrument ) : System

Initializes a new instance of the Pitch class.

Pitch ( int midiNumber, int instrument ) : System

Initializes a new instance of the Pitch class.

Private Methods

Method Description
GetMidiNumber ( ) : int

The get midi number by param. вычисление глобального номера ноты через параметры

Method Details

Clone() public method

The clone.
public Clone ( ) : IBaseObject
return IBaseObject

Equals() public method

The equals.
public Equals ( object obj ) : bool
obj object /// The object. ///
return bool

GetHashCode() public method

The get hash code.
public GetHashCode ( ) : byte[]
return byte[]

Pitch() public method

Initializes a new instance of the Pitch class.
public Pitch ( int octave, char step, int alter, int instrument ) : System
octave int /// The octave. ///
step char /// The step. ///
alter int /// The alter. ///
instrument int /// The instrument. ///
return System

Pitch() public method

Initializes a new instance of the Pitch class.
/// Thrown if note is not recognized. ///
public Pitch ( int midiNumber, int instrument ) : System
midiNumber int /// The midi number. ///
instrument int /// The instrument. ///
return System