|
NoteValueExtensions Class
|
Defines extension functions related to note value enumerations.
Inheritance Hierarchy
Namespace: GSF.Media.MusicAssembly: GSF.Media (in GSF.Media.dll) Version: 2.4.207-beta
Syntax public static class NoteValueExtensions
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type NoteValueExtensions = class end
GSF.Media.Music.NoteValueExtensions = function();
Type.createClass(
'GSF.Media.Music.NoteValueExtensions');
View SourceThe NoteValueExtensions type exposes the following members.
Methods | Name | Description |
---|
| Duration(NoteValue) |
Returns source note value duration. For example, 0.25 will be returned for
a quater note, 1.0 will be returned for a whole note, etc.
|
| Duration(NoteValueBritish) |
Returns source note value duration. For example, 0.25 will be returned for
a crotchet note, 1.0 will be returned for a semibreve note, etc.
|
| Duration(NoteValue, NoteValue) |
Returns source note value duration in terms of given reference note value.
For example, if measure size is 3/4 then reference is quarter notes and returned
value will be equivalent number of quarter notes for given source note.
|
| Duration(NoteValue, Int32) |
Returns source note value duration. For example, 0.25 will be returned for
a quater note, 1.0 will be returned for a whole note, etc.
|
| Duration(NoteValueBritish, NoteValueBritish) |
Returns source note value duration in terms of given reference note value.
For example, if measure size is 3/4 then reference is quarter notes and returned
value will be equivalent number of quarter notes for given source note.
|
| Duration(NoteValueBritish, Int32) |
Returns source note value duration. For example, 0.25 will be returned for
a crotchet note, 1.0 will be returned for a semibreve note, etc.
|
| Duration(NoteValue, NoteValue, Int32) |
Returns source note value duration in terms of given reference note value.
For example, if measure size is 3/4 then reference is quarter notes and returned
value will be equivalent number of quarter notes for given source note.
|
| Duration(NoteValueBritish, NoteValueBritish, Int32) |
Returns source note value duration in terms of given reference note value.
For example, if measure size is 3/4 then reference is quarter notes and returned
value will be equivalent number of quarter notes for given source note.
|
TopSee Also