Skip to main content

Crate acorde_io

Crate acorde_io 

Source
Expand description

MusicXML, MIDI, ABC notation, and MuseScore (.mscz/.mscx) parsers and serializer for acorde-core Score values. Feature-gated per format; accepts &str/&[u8], never touches the filesystem.

Re-exports§

pub use musicxml::parse_musicxml;
pub use musicxml::parse_mxl;
pub use musicxml::serialize_musicxml;
pub use musicxml::serialize_musicxml_with_auto_beams;
pub use midi::parse_midi;
pub use midi::serialize_midi;
pub use midi::serialize_midi_region;

Modules§

midi
musicxml

Structs§

Diagnostic
A source-grounded note about an import or export decision.
ExportReport
Result of exporting a notation document, including conversion diagnostics.
ImportReport
Result of importing a notation document, including conversion diagnostics.

Enums§

DiagnosticSeverity
Severity of an interchange diagnostic.
Error

Constants§

REPORT_SCHEMA_VERSION
Version of the serialized import/export report contract.

Functions§

decode_xml_text
Decode an XML document’s bytes to text: UTF-8 (with or without a byte-order mark) or UTF-16 LE/BE (with a byte-order mark, or detected from the <?xml prefix). Many MusicXML files from Finale/Sibelius era tools are UTF-16; readers such as MuseScore open them.
parse_midi_with_report
parse_musicxml_with_report
parse_mxl_with_report
serialize_midi_with_report
serialize_musicxml_with_report