C# Класс GSF.Media.Music.MeasureSize

Defines the size of a musical measure as the number of beats per note value.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
MeasureSize ( int beats, NoteValue noteValue ) : System

Creates a new musical measure defined as the number of beats per note value.

MeasureSize ( int beats, NoteValueBritish noteValue ) : System

Creates a new musical measure defined as the number of beats per note value.

MeasureSize ( int beats, double noteValue ) : System

Creates a new musical measure defined as the number of beats per note value.

ValidateNoteValueAtBeat ( NoteValue noteValue, int beat, int dots ) : void

Validates that given note value will fit within this MeasureSize for specified beat.

ValidateNoteValueAtBeat ( NoteValueBritish noteValue, int beat, int dots ) : void

Validates that given note value will fit within this MeasureSize for specified beat.

ValidateNoteValueAtBeat ( double noteValue, int beat ) : void

Validates that given note value will fit within this MeasureSize for specified beat.

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

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

Creates a new musical measure defined as the number of beats per note value.
public MeasureSize ( int beats, NoteValue noteValue ) : System
beats int A representing the beats.
noteValue NoteValue A representing the note value.
Результат System

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

Creates a new musical measure defined as the number of beats per note value.
public MeasureSize ( int beats, NoteValueBritish noteValue ) : System
beats int A representing the beats.
noteValue NoteValueBritish A representing the note value.
Результат System

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

Creates a new musical measure defined as the number of beats per note value.
public MeasureSize ( int beats, double noteValue ) : System
beats int A representing the beats.
noteValue double A representing the note value.
Результат System

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

Validates that given note value will fit within this MeasureSize for specified beat.
public ValidateNoteValueAtBeat ( NoteValue noteValue, int beat, int dots ) : void
noteValue NoteValue Named note value to validate.
beat int Beat within in measure where note value is trying to fit.
dots int Dot length extensions to apply to named note value.
Результат void

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

Validates that given note value will fit within this MeasureSize for specified beat.
public ValidateNoteValueAtBeat ( NoteValueBritish noteValue, int beat, int dots ) : void
noteValue NoteValueBritish Named note value to validate.
beat int Beat within in measure where note value is trying to fit.
dots int Dot length extensions to apply to named note value.
Результат void

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

Validates that given note value will fit within this MeasureSize for specified beat.
public ValidateNoteValueAtBeat ( double noteValue, int beat ) : void
noteValue double Note value (i.e., length) to validate.
beat int Beat within in measure where note value is trying to fit.
Результат void