Add your description here
Project description
distortion-tui
A terminal-based TUI for applying audio distortion functions to WAV files.
Installation
uvx distortion-tui
Usage
Launch the TUI:
uvx distortion-tui
- Select a distortion function from the dropdown.
- Enter the path to your input audio file.
- The output path is auto-filled — edit it if needed.
- Optionally enable Save waveform plot to export a before/after PNG.
- Press Process.
Available distortion functions
| Function | Description |
|---|---|
| Isochronous Time Warping | Resamples each cycle of the waveform to the average cycle length, making the waveform isochronous |
| Infinite Peak Clipping | Replaces every sample with +1 or −1 based on its sign |
Using the library directly
The distortion functions can also be used programmatically:
import librosa
import soundfile
import distortion_tui
waveform, sr = librosa.load("input.wav", sr=None)
processed = distortion_tui.isochronous_time_warping(waveform)
soundfile.write("output.wav", processed, sr)
Changelog
See CHANGELOG.md.
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
distortion_tui-0.4.0.tar.gz
(5.9 kB
view details)
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 distortion_tui-0.4.0.tar.gz.
File metadata
- Download URL: distortion_tui-0.4.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9bfca44466efcd42492180d5a3c93fe7557560a1fd7573185bfcb90504f0040
|
|
| MD5 |
c4734bf6958a20a49a7b98ce1fe3c771
|
|
| BLAKE2b-256 |
9ee139ce84c79801f2d87814c6cd6181fc3ddd4a55200c34201605d7821337ce
|
File details
Details for the file distortion_tui-0.4.0-py3-none-any.whl.
File metadata
- Download URL: distortion_tui-0.4.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f66112b2bdc226b13415a51a6304bb1c0c51db16b2c6b50f4ad7a75ece3fa29
|
|
| MD5 |
6d02090775f62cc7a7e32f4150b034ce
|
|
| BLAKE2b-256 |
ac1db2cf204e37fa8c62e02adb52a101473794ad0df2b2fc3ad25f604ed6dd6a
|