C# Class LibiadaMusic.ScoreModel.ValueNote

Class presenting a note value.
Inheritance: IBaseObject
ファイルを表示 Open project: intervals-mining-lab/libiada-core Class Usage Examples

Public Methods

Method Description
AddPitch ( List pitch ) : void

The add pitch.

AddPitch ( Pitch pitch ) : void

The add pitch.

Clone ( ) : IBaseObject

The clone.

Equals ( object obj ) : bool

The equals.

GetHashCode ( ) : byte[]

The get hash code.

PitchEquals ( List pitchList ) : bool

The pitch equals.

SetInstrument ( int instrument ) : void

The set instrument.

SplitNote ( Duration duration ) : List

The split note.

ValueNote ( List pitchList, Duration duration, bool triplet, Tie tie, int priority = -1 ) : System

Initializes a new instance of the ValueNote class.

ValueNote ( List midiNumbers, Duration duration, bool triplet, Tie tie, int priority = -1 ) : System

Initializes a new instance of the ValueNote class.

ValueNote ( Pitch pitch, Duration duration, bool triplet, Tie tie, int priority = -1 ) : System

Initializes a new instance of the ValueNote class.

Method Details

AddPitch() public method

The add pitch.
public AddPitch ( List pitch ) : void
pitch List /// The pitch. ///
return void

AddPitch() public method

The add pitch.
/// Thrown if pitch is null. ///
public AddPitch ( Pitch pitch ) : void
pitch Pitch /// The pitch. ///
return void

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[]

PitchEquals() public method

The pitch equals.
public PitchEquals ( List pitchList ) : bool
pitchList List /// The pitch list. ///
return bool

SetInstrument() public method

The set instrument.
public SetInstrument ( int instrument ) : void
instrument int /// The instrument. ///
return void

SplitNote() public method

The split note.
public SplitNote ( Duration duration ) : List
duration Duration /// The duration. ///
return List

ValueNote() public method

Initializes a new instance of the ValueNote class.
public ValueNote ( List pitchList, Duration duration, bool triplet, Tie tie, int priority = -1 ) : System
pitchList List /// The pitch list. ///
duration Duration /// The duration. ///
triplet bool /// The triplet. ///
tie Tie /// The tie. ///
priority int /// The priority. ///
return System

ValueNote() public method

Initializes a new instance of the ValueNote class.
public ValueNote ( List midiNumbers, Duration duration, bool triplet, Tie tie, int priority = -1 ) : System
midiNumbers List /// The midi numbers. ///
duration Duration /// The duration. ///
triplet bool /// The triplet. ///
tie Tie /// The tie. ///
priority int /// The priority. ///
return System

ValueNote() public method

Initializes a new instance of the ValueNote class.
public ValueNote ( Pitch pitch, Duration duration, bool triplet, Tie tie, int priority = -1 ) : System
pitch Pitch /// The pitch. ///
duration Duration /// The duration. ///
triplet bool /// The triplet. ///
tie Tie /// The tie. ///
priority int /// The priority. ///
return System