#music #parser #musicxml #format #api-bindings

macro amm_macros

Abstract Music Manipulation (AMM) Rust SDK internal macros

12 releases

new 0.4.0 Nov 17, 2024
0.3.10 Nov 13, 2024

#6 in #musicxml

Download history 643/week @ 2024-10-30 322/week @ 2024-11-06 224/week @ 2024-11-13

1,189 downloads per month
Used in 2 crates (via amm_sdk)

MIT license

22KB
386 lines

amm-sdk

Abstract Music Manipulation (AMM) SDK

Under heavy development - Updates forthcoming

Under Development

  • Finish iter_timeslices() to work with playback

    • Make get_slices_for_playback(): Create implicit slices for things like glissandos and mordents
      • Determines that fastest possible timeslice and use that as the time quantization level
      • Can also select ranges of timeslices
  • Implement get_pcm_samples() on Timeslice to create audio buffer for note + mods to use in direct playback

  • Finish MIDI Reader Implementation

  • Make fully no_std compatible

  • Create WASM build

  • Add a test containing Glissandos and/or multi-note tremolos and/or implicit + explicit tempo changes

  • Finish MusicXML Reader Implementation

    • Take into account time-only attributes
    • Scan text attributes for common items (rall., etc.)
    • Scan sound attributes for items maybe not recognized otherwise (rall., etc.)
  • Remove pub(crate) from Phrase and make MultiVoice okay with this

  • Make composition timeslice iterator a real iterator (and check that staff timeslices line up correctly)

Dependencies

~235–680KB
~16K SLoC