Create new Note object instance.
Diatonic id.
Accidental (-2, -1, 0, 1 or 2).
Create new Note object instance.
Diatonic class [0, 11].
Accidental (-2, -1, 0, 1 or 2).
Octave.
Create new Note object instance.
Note letter (e.g. "C").
Accidental (-2, -1, 0, 1 or 2).
Octave.
Readonly
accidentalAccidental.
Readonly
diatonicDiatonic class
Readonly
octaveOctave.
Chromatic class getter.
Chromatic id getter.
Diatonic id getter.
Midi number getter (implemented same as chromatic id).
Note letter getter.
Format note to string presentation.
Pitchy notation.
Symbol set.
Format note to string presentation without octave number.
Symbol set.
Static
compareStatic
equalsStatic
findFind next lowest possible diatonic id that is above given bottom level.
Diatonic id to begin with.
Bottom diatonic id.
If true then add one octave if diatonic id would equal to bottom diatonic id.
Static
getGet accidental value from given accidental symbol.
Accidental symbol (e.g. "#").
Static
getGet symbol of given accidental in given symbol set (ascii/unicide).
Accidental.
Symbol set.
Static
getGet chromatic class from chromatic id.
Chromatic id.
Static
getGet chromatic id in given octave (transposes chromatic id to given octave).
Original chromatic id.
Octave.
Static
getGet chromatic note. There are number of alternatives, this function uses simple logic to choose one.
Chromatic id.
Static
getGEt diatoni class from diatonic id.
Diatonicid.
Getdiatonic class from note name.
Note name.
Static
getGet diatonic id in given octave (transposes diatonic id to given octave).
Original diatonic id.
Octave.
Static
getStatic
getGet note letter from given diatonic id.
Diatonic id.
Static
getGet octave from chromatic id.
Chromatic id.
Static
getGet octave from diatonic id.
Diatonic id.
Static
getGet scientific note name from given note name.
Note name.
Symbol set (ascii/unicode) for scientific note name.
Static
isTest if given string is valid note name.
Note name to validate.
Static
parseParse note name string to note props.
Note name to parse.
Static
removeStatic
replaceReplace accidental symbols in given string to givn symbol set (ascii/unicode).
String to replace.
Symbol set.
Static
sortStatic
validateValidate if given argument is valid accidental.
Accidental to validate.
Static
validatechromaticValidate if given argument is chromatic class.
Chromatic class to validate.
Static
validateValidate if given argument is chromatic id.
Chromatic id to validate.
Static
validateValidate if given argument is diatonic class.
Diatonic class to validate.
Static
validateValidate if given argument is diatonic id.
Diatonic id to validate.
Static
validateValidate if given argument if note letter.
Note letter to validate.
Static
validateValidate if given argument is octave.
Octave to validate.
Note class.