Sort audio files by key.
Project description
sortbykey
Sort audio files by key
Getting Started
Pre-requisites
- Python 3.13+
- Essentia >= 2.1b6.dev1389
- xxhash >= 3.6.0
See requirements.txt for details. Python modules should be installed with pip.
Installation
It is recommended that you install this package in a Python Virtual Environment. This README will take you through how to do so.
- Clone the repository, or otherwise download the source code.
- Create a virtual environment using
python3 -m venv env/ - Activate the virtual enviroment. POSIX Bash:
source env/bin/activate. Windows PowerShell:<venv>\Scripts\Activate.ps1. Windows Batch:<venv>\Scripts\activate.bat. - Install the package using
python3 -m pip install ..
Usage
usage: sortbykey [-h] -i INPUT_DIRECTORY -o OUTPUT_DIRECTORY [-j NUM_CORES]
[-a ATONALITY_CONFIDENCE_LIMIT] [-c]
Sort audio files by key.
options:
-h, --help show this help message and exit
-i, --input INPUT_DIRECTORY
Required. Input directory for the unsorted audio
files.
-o, --output OUTPUT_DIRECTORY
Required. Output directory for the sorted audio files.
-j, --jobs NUM_CORES Number of concurrent jobs to run for analyzing.
Defaults to all but one core on multi-core machines,
one core on single-core machines.
-a, --atonality ATONALITY_CONFIDENCE_LIMIT
If the analyzer isn't confident of any key to this
percent, it will label the sample as atonal. Defaults
to 0.5.
-c, --copy Optional. Specify this flag to copy files instead of
creating links to them.
Authors
- Willow Ciesialka
License
Licensed under GNU AFFERO GENERAL PUBLIC LICENSE Version 3. See LICENSE for details.
Thanks to...
- Dakota Price
- Essentia team
- xxhash team
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sortbykey-2026.5.19.2.tar.gz.
File metadata
- Download URL: sortbykey-2026.5.19.2.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c5fd10ddd3b31708dbbbde4a4e322ad2071d15cc8030d4fc0575591f41a9b1d
|
|
| MD5 |
a091589826be37f41662e7c46dd3e5f9
|
|
| BLAKE2b-256 |
d8f8e00d934f6abea4240957c2981784015f811a6979a4907a5016ad8e04c4d9
|
File details
Details for the file sortbykey-2026.5.19.2-py3-none-any.whl.
File metadata
- Download URL: sortbykey-2026.5.19.2-py3-none-any.whl
- Upload date:
- Size: 25.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddfdf473e8172f7cf8760f4d1799ba56093c79f2e2c9c350282fb01c37af4a62
|
|
| MD5 |
4841d6b1c506c8ec31915c1e516793de
|
|
| BLAKE2b-256 |
699e1168cc11ec8e5749d29b54c574b80a6df004d0880c3c081c2e63a1d82b11
|