Skip to main content

Module bridge

Module bridge 

Source
Expand description

Bridge — reconcile transcription, authored MIDI, the sequencer, and the sonic-token transport. Re-exports only (AU-MIDI-BRIDGE).

This lane wires already-built pieces together without reimplementing them:

Epistemic distinction preserved throughout: transcribed MIDI is a proposal (carries confidence at its source), authored / imported SMF MIDI is authoritative. See each submodule’s docs.

Re-exports§

pub use from_pitch_midi::note_events_to_timed;
pub use from_pitch_midi::NOTE_OFF_VELOCITY;
pub use from_pitch_midi::PROPOSAL_CHANNEL;
pub use from_pitch_midi::PROPOSAL_NOTE;
pub use smf_provenance::extract_smf_provenance;
pub use smf_provenance::ProvenanceKey;
pub use smf_provenance::ProvenancePair;
pub use smf_provenance::MAX_PROV_VALUE;
pub use sonic_token::midi_to_sonic_token;
pub use sonic_token::sonic_token_to_midi;
pub use sonic_token::SonicEventType;
pub use sonic_token::SONIC_MAGIC;
pub use to_note_events::pair_note_events;
pub use to_note_events::PairedNote;
pub use to_note_events::MAX_OPEN_NOTES;

Modules§

from_pitch_midi
Convert transcribed pitch→MIDI NoteEvent proposals into sequencer TimedEvent note-on / note-off pairs.
smf_provenance
Extract provenance (key, value) pairs from a parsed Standard MIDI File for NQuin emission.
sonic_token
A packed u64 SonicToken for MIDI — the qualia-audio-side bridge type.
to_note_events
Pair a stream of timed MIDI events into whole notes (note-on matched to its note-off).