Core engine (wauvio/core)
theory.hpp — notes and frequencies
Namespace wauvio::theory.
midi_to_freq(int midi_note)→440 · 2^((n−69)/12)(equal temperament, A4 = 440 Hz, MIDI 69).theory::notescontainsconstexpr doublefrequencies namedC0 … B9, with sharps spelledCs,Ds,Fs,Gs,As(e.g.notes::Cs4,notes::A4 = 440.0), andREST = 0.0.
REST is meaningful to seq: frequencies below 1 Hz render as silence of the note's duration.
Full API listing
The note table is ~120 constants; see wauvio/core/theory.hpp. Flats are not defined: use the enharmonic sharp.