MusicalNotes
Object Hierarchy:
Description:
public class MusicalNotes
Content:
Enums:
Constants:
Static methods:
- public static short get_note_as_midi_code (string note) throws MusicalNoteError
Get the note's MIDI code
- public static string get_note_from_midi_code (ushort midi) throws MusicalNoteError
Get the note's string from its MIDI code
- public static bool is_incomplete (string needle)
Check whether a string represents a note without octave
- public static HashSet<string> make (string incompleteNote) throws MusicalNoteError
Return all notes with a given name (map C to => C0, C1, C2, ...);
- public static bool midi_can_have_accident (ushort midi)
Check whether a given MIDI code is different of E or B
- public static bool midi_is_accident (ushort midi)
Check whether a given MIDI code is an accidental note (C#, D#, ...)
- public static bool validate (string note)
Check whether a note is valid
Creation methods: