C# Class LibiadaMusic.ScoreModel.Duration

длительности ноты
Inheritance: IBaseObject
Mostrar archivo Open project: intervals-mining-lab/libiada-core Class Usage Examples

Public Methods

Method Description
AddDuration ( Duration duration ) : Duration

The add duration.

Clone ( ) : IBaseObject

The clone.

Duration ( int numerator, int denominator, bool doted, int ticks ) : System

Initializes a new instance of the Duration class.

Duration ( int numerator, int denominator, int tripletnum, int tripletdenom, bool doted, int ticks ) : System

Initializes a new instance of the Duration class.

Equals ( object obj ) : bool

The equals.

GetHashCode ( ) : byte[]

The get hash code.

SubDuration ( Duration duration ) : Duration

The sub duration.

Private Methods

Method Description
PlaceDot ( ) : void

The placedot.

PlaceTriplet ( int triplnum, int tripldenom ) : void

The place triplet.

Method Details

AddDuration() public method

The add duration.
public AddDuration ( Duration duration ) : Duration
duration Duration /// The duration. ///
return Duration

Clone() public method

The clone.
public Clone ( ) : IBaseObject
return IBaseObject

Duration() public method

Initializes a new instance of the Duration class.
public Duration ( int numerator, int denominator, bool doted, int ticks ) : System
numerator int /// The numerator. ///
denominator int /// The denominator. ///
doted bool /// The doted. ///
ticks int /// The ticks. ///
return System

Duration() public method

Initializes a new instance of the Duration class.
public Duration ( int numerator, int denominator, int tripletnum, int tripletdenom, bool doted, int ticks ) : System
numerator int /// The numerator. ///
denominator int /// The denominator. ///
tripletnum int /// The tripletnum. ///
tripletdenom int /// The tripletdenom. ///
doted bool /// The doted. ///
ticks int /// The ticks. ///
return System

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

SubDuration() public method

The sub duration.
public SubDuration ( Duration duration ) : Duration
duration Duration /// The duration. ///
return Duration