C# Класс LibiadaMusic.ScoreModel.Pitch

высота ноты
Наследование: IBaseObject
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetMidiNumber ( ) : int

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

Описание методов

Clone() публичный Метод

The clone.
public Clone ( ) : IBaseObject
Результат IBaseObject

Equals() публичный Метод

The equals.
public Equals ( object obj ) : bool
obj object /// The object. ///
Результат bool

GetHashCode() публичный Метод

The get hash code.
public GetHashCode ( ) : byte[]
Результат byte[]

Pitch() публичный Метод

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. ///
Результат System

Pitch() публичный Метод

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. ///
Результат System