Repository navigation
v0.4.0
Pre-release
Pre-release
- Hz-related inputs now validate the argument before calculating
getRoundingFunctionnow returns Math.round if some broken argument is passed inPitchclass additions:- instantiation via
Pitch.fromMidi()(likefromNamedNote) octavenoteName- removed the following A4-relative getters:
.semitones.cents.ratio
- added the following methods to be relative to another
Pitchinstance or Hz:.semitonesFrom.semitonesTo.centsFrom.centsTo.ratioFrom.ratioTo
- instantiation via
- New conversions
semitonesToNoteNamesemitonesToNoteObjectcentsToNoteNamecentsToNoteObjectnamedNoteToNoteObjectratioToNoteNameratioToNoteObject
- adding
roundingMethodargument to MIDI-related functions