Skip to main content

Analyze the tuning of audio recordings

Project description

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/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

audio_tuner-0.11.2.tar.gz (38.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

audio_tuner-0.11.2-py3-none-any.whl (45.7 kB view details)

Uploaded Python 3

File details

Details for the file audio_tuner-0.11.2.tar.gz.

File metadata

  • Download URL: audio_tuner-0.11.2.tar.gz
  • Upload date:
  • Size: 38.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for audio_tuner-0.11.2.tar.gz
Algorithm Hash digest
SHA256 e377a565822a03c9b18ade9b98c779ac42974f267da9111dc09586632e031da6
MD5 4a231fede2f4b3e3cec3796571722b6a
BLAKE2b-256 052a8a63eb0d54dc7b624d2bbbd9d2020f103fa19918c88e41f7aefce06c8ff2

See more details on using hashes here.

File details

Details for the file audio_tuner-0.11.2-py3-none-any.whl.

File metadata

  • Download URL: audio_tuner-0.11.2-py3-none-any.whl
  • Upload date:
  • Size: 45.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for audio_tuner-0.11.2-py3-none-any.whl
Algorithm Hash digest
SHA256 62dec96cb6df265b61349486cae0bb5cb279162ebf07cf4107a7753ddecec665
MD5 a92e8f1809d965844c23ad86aa946bb5
BLAKE2b-256 07106196176ca1886786cbcae43496ac5de049f017e76fa9cbb17d2cdb8198b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page