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.3.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.3-py3-none-any.whl (45.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: audio_tuner-0.11.3.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.3.tar.gz
Algorithm Hash digest
SHA256 3bba2ba09e8bb4cd08ddc0158f0a905eb8cde4c5e47c0215de773dc4bbc7991c
MD5 d9d76d821a767c5d9ef39cfbfd1c49e3
BLAKE2b-256 d518845b14c30efe20e1323fc2ad90a915d2cdea542666af5375ea5b4bcbdd1e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: audio_tuner-0.11.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d781f7945a8204a575ee4474b71dafb61184dceda7d9cc81a450d18fd1574c8e
MD5 81ff43b8796cea79b84d3304e91704a3
BLAKE2b-256 acc6408a5f618dc6b92602aed5b2b6d8e8600fd4993d3f89e67bc14bc67788d4

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