use-meter 0.0.1

Meter metadata primitives for RustUse.
Documentation
  • Coverage
  • 1.69%
    1 out of 59 items documented1 out of 27 items with examples
  • Size
  • Source code size: 15.81 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.04 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-music
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-meter

Meter metadata primitives for RustUse.

Experimental

use-meter is experimental while use-music remains below version 0.3.0.

Example

use use_meter::TimeSignature;

let signature = TimeSignature::new(4, 4)?;

assert!(signature.is_common_time_like());
assert!(signature.is_simple());
# Ok::<(), use_meter::MeterError>(())

Scope

  • Time signatures, meter kinds, beat units, beats per measure, measure numbers, barlines, pickup measures, and metric accents.

Relationship to use-acoustics

use-meter models music meter metadata only. use-time owns general time primitives, and use-acoustics owns physical sound calculations.

Non-goals

  • Playback clocks, schedulers, sequencing, or general-purpose time calculations.

License

Licensed under either Apache-2.0 or MIT.