use-note
Musical note spelling metadata primitives for RustUse.
Experimental
use-note is experimental while use-music remains below version 0.3.0.
Example
use ;
let note = new?;
let octave = new?;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
# Ok::
Scope
- Note letters, accidentals, octave values, note names, note spellings, and scientific pitch notation.
- Lightweight parsing for common spellings such as
C,C#,Db,F##,Gbb,A4, andC#4.
Relationship to use-acoustics
use-note models symbolic note spellings only. Physical frequency and sound calculations belong in use-acoustics and wave behavior belongs in use-wave.
Non-goals
- Calculating frequency, wavelength, pitch detection, audio playback, MIDI I/O, or synthesis.
License
Licensed under either Apache-2.0 or MIT.