Crates.io | pitch_calc |
lib.rs | pitch_calc |
version | 0.12.0 |
source | src |
created_at | 2014-12-11 21:55:59.344886 |
updated_at | 2020-03-29 16:22:27.598507 |
description | A library for musical pitch conversions! Provides functions and methods for converting between frequency, midi-step and letter-octave. |
homepage | https://github.com/RustAudio/pitch_calc |
repository | https://github.com/RustAudio/pitch_calc.git |
max_upload_size | |
id | 533 |
size | 59,423 |
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))