{"id":13603615,"url":"https://github.com/RustAudio/pitch_calc","last_synced_at":"2025-04-11T22:31:40.999Z","repository":{"id":23922670,"uuid":"27303277","full_name":"RustAudio/pitch_calc","owner":"RustAudio","description":"A library for musical pitch conversions! Provides functions and methods for converting between frequency (hz), midi-step, letter-octave and mels.","archived":false,"fork":false,"pushed_at":"2025-03-09T16:38:04.000Z","size":83,"stargazers_count":68,"open_issues_count":2,"forks_count":13,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-09T17:27:22.858Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RustAudio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2014-11-29T13:45:54.000Z","updated_at":"2025-03-09T16:38:09.000Z","dependencies_parsed_at":"2024-04-16T05:48:27.462Z","dependency_job_id":null,"html_url":"https://github.com/RustAudio/pitch_calc","commit_stats":{"total_commits":53,"total_committers":8,"mean_commits":6.625,"dds":"0.16981132075471694","last_synced_commit":"1eba91832d45e889a636f0fe88fe0bf5a5621309"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RustAudio%2Fpitch_calc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RustAudio%2Fpitch_calc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RustAudio%2Fpitch_calc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RustAudio%2Fpitch_calc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RustAudio","download_url":"https://codeload.github.com/RustAudio/pitch_calc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487689,"owners_count":21112191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T19:00:27.271Z","updated_at":"2025-04-11T22:31:40.662Z","avatar_url":"https://github.com/RustAudio.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# pitch_calc [![Build Status](https://travis-ci.org/RustAudio/pitch_calc.svg?branch=master)](https://travis-ci.org/RustAudio/pitch_calc) [![Crate info](https://img.shields.io/crates/v/pitch_calc.svg)](https://crates.io/crates/pitch_calc) [![API docs](https://img.shields.io/badge/docs.rs-pitch__calc-green.svg)](https://docs.rs/pitch_calc/)\n\nA library for musical pitch conversions!\n\n`pitch_calc` provides functions and methods for converting between frequency, midi-step and letter-octave.\n\nIt looks like this.\n\n```Rust\nassert!(Hz(440.0).letter_octave() == (A, 4))\n```\n\nTypes\n-----\n\n- [**Hz**](http://en.wikipedia.org/wiki/Hertz): \"times per second\".\n- [**LetterOctave**](http://en.wikipedia.org/wiki/Letter_notation): musical letter notation.\n- [**Mel**](http://en.wikipedia.org/wiki/Mel_scale): a perceptual scale of pitches judged by listeners to be equal in distance from one another.\n- **Perc**: Percentage of the average human hearing range (20hz - 20khz).\n- **ScaledPerc**: Scaled percentage of the human hearing range.\n- [**Step**](http://en.wikipedia.org/wiki/Semitone): MIDI semitone steps.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRustAudio%2Fpitch_calc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRustAudio%2Fpitch_calc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRustAudio%2Fpitch_calc/lists"}