C# 클래스 GSF.Media.Music.MeasureSize

Defines the size of a musical measure as the number of beats per note value.
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
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