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. A GUI front end is also available in the audio-tuner-gui package that can play and export audio 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:

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 install 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.10.0.tar.gz (34.9 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.10.0-py3-none-any.whl (41.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: audio_tuner-0.10.0.tar.gz
  • Upload date:
  • Size: 34.9 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.10.0.tar.gz
Algorithm Hash digest
SHA256 c473ef61149106b7f1f2209466f0a4f8261fe6428a96e273cba46d02ae5b9ab4
MD5 db0a11688392fc2fa7ad9228b2894e03
BLAKE2b-256 427af83b6005b1889b5df68fe2c5ff3e20217c230904aba17f9bba6fb59f1351

See more details on using hashes here.

File details

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

File metadata

  • Download URL: audio_tuner-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 41.2 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.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 822184e2333bb94b056b0fde03069d8d87954e3c4a551bc72cc6ea94d01811c6
MD5 ec21e48204305792ab032b64dece003b
BLAKE2b-256 180debaf38e0798d10f593e21520b337e3ff7dd1f164514b7a5121ed57c8285e

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