pitch_calc

Crates.iopitch_calc
lib.rspitch_calc
version0.12.0
sourcesrc
created_at2014-12-11 21:55:59.344886
updated_at2020-03-29 16:22:27.598507
descriptionA library for musical pitch conversions! Provides functions and methods for converting between frequency, midi-step and letter-octave.
homepagehttps://github.com/RustAudio/pitch_calc
repositoryhttps://github.com/RustAudio/pitch_calc.git
max_upload_size
id533
size59,423
(mitchmindtree)

documentation

README

pitch_calc Build Status

A library for musical pitch conversions!

pitch_calc provides functions and methods for converting between frequency, midi-step and letter-octave.

It looks like this.

assert!(Hz(440.0).letter_octave() == (A, 4))

Types

  • Hz: "times per second".
  • LetterOctave: musical letter notation.
  • Mel: a perceptual scale of pitches judged by listeners to be equal in distance from one another.
  • Perc: Percentage of the average human hearing range (20hz - 20khz).
  • ScaledPerc: Scaled percentage of the human hearing range.
  • Step: MIDI semitone steps.
Commit count: 87

cargo fmt