Skip to main content

Audio Tuner

A tool for musicians that analyzes and corrects the pitch of recorded audio.

This package provides the python library and a simple CLI front end, and can be used to analyze audio frequencies. A GUI front end is also available in the audio-tuner-gui package that can analyze audio and then play and export it with the pitch corrected.

Motivation

A surprisingly high proportion of recorded music doesn’t conform to any standard tuning system. You expect an A4 to be 440 Hz, but when you try to play along you realize it’s not. Audio Tuner is a tool for measuring the frequencies in an audio recording so it can be corrected if necessary. It’s designed to be convenient enough to use that you can do it with a musical instrument strapped to you.

The primary use case is to correct the tuning of your favorite songs so you can practice playing an instrument by playing along with them, but it can be used in any situation where you need to analyze and correct the pitch of a recording.

What it’s not

Audio Tuner is not autotune. It pitch corrects entire songs, not individual notes.

CLI Usage

Type ‘tuner’ at a shell prompt followed by the name(s) of the file(s) you want to analyze.

For more detailed usage information, run:

tuner --help

Dependencies

Audio Tuner requires Python version 3.11 or higher and libmpv2. In addition, The following dependencies will be installed automatically by pip or pipx:

On Windows, namedpipe will also be installed.

Note that pip is not able to install libmpv2. If your operating system has a package manager, use that to install it. See the documentation for details.

Audio Tuner can be configured to use ffmpeg and ffprobe instead of libmpv2, but this is not recommended if you intend to use the GUI.

Free as in Freedom

Audio Tuner is licensed under the GNU General Public License version 3 or later.

See What is Free Software? and Copyleft: Pragmatic Idealism.

Versioning

Audio Tuner attempts to use Semantic Versioning, but with PEP 440 compatible version numbers.

New versions of the base Audio Tuner package and Audio Tuner GUI are released at the same time with the same version numbers. The API is already reasonably stable, but of course nothing’s guaranteed until it reaches version 1.0.0.

See Also

audio-tuner-gui: https://pypi.org/project/audio-tuner-gui/

Metadata

Release files for audio-tuner 0.12.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for audio-tuner 0.12.1
File Size Uploaded Provenance Actions
audio_tuner-0.12.1.tar.gz 39.5 kB Without provenance Details for audio_tuner-0.12.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for audio-tuner 0.12.1
File Interpreter ABI Platform Actions
audio_tuner-0.12.1-py3-none-any.whl Python 3 none any Details for audio_tuner-0.12.1-py3-none-any.whl

Total release size: 86.1 kB

Release files / audio_tuner-0.12.1.tar.gz

Download URL audio_tuner-0.12.1.tar.gz
Size 39.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3b97892bcf9c15fe3cfa3ca51f609ccd57d5c894c6ae4711839a6a757351805d
BLAKE2b-256 checksum
How to use checksums
4354430a5a9e28c9e11f19ee7642194bfcbd8975762ffcd2f94846ab7a0e3faf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / audio_tuner-0.12.1-py3-none-any.whl

Download URL audio_tuner-0.12.1-py3-none-any.whl
Size 46.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4e7a2a16ad94a6b426a26f4f811708b6ee82c1c0fc9b6b5457105ddc4c6c235
BLAKE2b-256 checksum
How to use checksums
fa16bc4e324b2bb84e56ac5d85bd56d5f04c271f9188017fa6413f8c5446326c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for audio-tuner 0.12.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page