Skip to main content

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
  1. Select a distortion function from the dropdown.
  2. Enter the path to your input audio file.
  3. The output path is auto-filled — edit it if needed.
  4. Optionally enable Save waveform plot to export a before/after PNG.
  5. 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)

Uploaded Source

Built Distribution

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

distortion_tui-0.4.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

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

Hashes for distortion_tui-0.4.0.tar.gz
Algorithm Hash digest
SHA256 a9bfca44466efcd42492180d5a3c93fe7557560a1fd7573185bfcb90504f0040
MD5 c4734bf6958a20a49a7b98ce1fe3c771
BLAKE2b-256 9ee139ce84c79801f2d87814c6cd6181fc3ddd4a55200c34201605d7821337ce

See more details on using hashes here.

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

Hashes for distortion_tui-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f66112b2bdc226b13415a51a6304bb1c0c51db16b2c6b50f4ad7a75ece3fa29
MD5 6d02090775f62cc7a7e32f4150b034ce
BLAKE2b-256 ac1db2cf204e37fa8c62e02adb52a101473794ad0df2b2fc3ad25f604ed6dd6a

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