use-tuning 0.0.1

Tuning metadata primitives for RustUse.
Documentation
  • Coverage
  • 1.67%
    1 out of 60 items documented1 out of 26 items with examples
  • Size
  • Source code size: 18.59 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.13 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-tuning

Tuning metadata primitives for RustUse.

Experimental

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

Example

use use_tuning::{ConcertPitchStandard, ReferencePitch};

let reference = ReferencePitch::new(440.0)?;

assert_eq!(reference.value(), 440.0);
assert_eq!(ConcertPitchStandard::A440.as_str(), "a440");
# Ok::<(), use_tuning::TuningError>(())

Scope

  • Tuning systems, temperament kinds, reference pitch metadata, reference notes, concert pitch standards, cents, tuning ratios, microtonal divisions, and equal temperament divisions.

Relationship to use-acoustics

use-tuning models tuning metadata only. use-acoustics owns physical sound calculations and use-wave owns wave primitives.

Non-goals

  • Wave calculation, acoustic frequency modeling, tuning engines, pitch detection, synthesis, or playback.

License

Licensed under either Apache-2.0 or MIT.