Skip to main content

Command line Tuner

Project description

TunEd

Description

TunEd is a command-line tuning tool.

Dependencies

  • Python >= 3.12
  • sounddevice >= 0.4.6
  • numpy >= 1.26.4
  • scypy >= 1.16.1
  • librosa >= 0.11.0
  • aubio >= 0.4.9

TunEd use sounddevice library to stream audio from your computer's microphone.

sounddevice need install of PortAudio.

  • For Debian / Ubuntu Linux:
~$ apt-get install portaudio19-dev python-all-dev

Installation

Using pip:

~ $ pip install tuned

With source:

~ $ git clone https://framagit.org/drd/tuned.git

Install requirements:

~ $ pip install -r requirements_dev.txt

To create a python package, go to inside tuned directory:

~ $ cd tuned

Build the package in an isolated environment, generating a source-distribution and wheel in the directory dist/ (https://build.pypa.io/en/stable/):

~$ python -m build

To install it:

~ $ pip install ./dist/tuned-0.3.0-py3-none-any.whl

Usage

Launch TunEd with standard tuning frequency (@440㎐):

~$ tuned

To set a different tuning frequency:

~$ tuned -f 442

To change the detection mode:

  • Chord detection:

Identifies the played chord and details its component notes.

~$ tuned -m chord
  • Note detection (default value):

Detects the played note and shows its tuning accuracy.

~$ tuned -m note

You can change the information to display:

~$ tuned -v
  • -v: Show precision (current value between played note and target note).
  • -vv: Show precision and current note frequency.
  • -vvv: Show precision, frequency and current level signal.
  • -vvvv: Show precision, frequency, level signal and the execution time of the played note calculation.

Authors

License

TunEd is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

TunEd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

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

tuned-0.4.0.tar.gz (32.6 kB view details)

Uploaded Source

Built Distribution

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

tuned-0.4.0-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

Details for the file tuned-0.4.0.tar.gz.

File metadata

  • Download URL: tuned-0.4.0.tar.gz
  • Upload date:
  • Size: 32.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tuned-0.4.0.tar.gz
Algorithm Hash digest
SHA256 eaa7de8045cc954da4a35db86656bb59cdf33954a7a106f8620ade78ca965652
MD5 3903c491b2dace8085a56c0e8ea367e6
BLAKE2b-256 84507278b3bffb60d023a4e4985240ad90af93c960c177f514b192623d2eb7b2

See more details on using hashes here.

File details

Details for the file tuned-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: tuned-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 39.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tuned-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7ff1d03de9599c5d1a036933af6614f74278eb00ff7138e15b6d1b89b3def35
MD5 5c937fd9da35b622ca12dccaa2c08b5e
BLAKE2b-256 b9a50daea54bd0376f31a0f97e12daaad9ce89e07bd6a4a46cd2d2d7a348b372

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