Click or drag to resize

MeasureSize Class

Defines the size of a musical measure as the number of beats per note value.
Inheritance Hierarchy
SystemObject
  GSF.Media.MusicMeasureSize

Namespace: GSF.Media.Music
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.218-beta
Syntax
public class MeasureSize
View Source

The MeasureSize type exposes the following members.

Constructors
 NameDescription
Public methodMeasureSize(Int32, NoteValue) Creates a new musical measure defined as the number of beats per note value.
Public methodMeasureSize(Int32, NoteValueBritish) Creates a new musical measure defined as the number of beats per note value.
Public methodMeasureSize(Int32, Double) Creates a new musical measure defined as the number of beats per note value.
Top
Properties
 NameDescription
Public propertyBeats Gets or sets the number of beats per measure.
Public propertyNamedNoteValue Get or sets the note value, expressed in American form, representing the basic pulse of the music.
Public propertyNamedNoteValueBritish Get or sets the note value, expressed in British form, representing the basic pulse of the music.
Public propertyNoteValue Get or sets the relative note value representing the basic pulse of the music.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodValidateNoteValueAtBeat(Double, Int32) Validates that given note value will fit within this MeasureSize for specified beat.
Public methodValidateNoteValueAtBeat(NoteValue, Int32, Int32) Validates that given note value will fit within this MeasureSize for specified beat.
Public methodValidateNoteValueAtBeat(NoteValueBritish, Int32, Int32) Validates that given note value will fit within this MeasureSize for specified beat.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also