Quickly and accurately determine the pitch and volume of a sound sample.
This crate uses a Bitstream Autocorrelation Function (BCF) invented by Joel de Guzman to determine the pitch of the sound sample.
- Determine pitch of an audio wave using Bitstream Autocorrelation (BCF)
- Try using BACF, the updated version of BCF, which uses peaks rather than zero-crossings. Evaluate Speed vs accuracy benifits / downfalls. Method differences described here.
Pitch targets all platforms that can run Rust, and contains no platform-specific code.
The current MSRV is Rust 1.85.
Any future MSRV updates will follow the Ardaku MSRV guidelines.
Copyright © 2018-2025 The Pitch Contributors.
Licensed under any of
- Apache License, Version 2.0, (LICENSE_APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- Boost Software License, Version 1.0, (LICENSE_BOOST or https://www.boost.org/LICENSE_1_0.txt)
- MIT License, (LICENSE_MIT or https://mit-license.org/)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as described above, without any additional terms or conditions.
If you want help using or contributing to this library, feel free to send me an email at aldaronlau@gmail.com.