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.1.tar.gz (6.3 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.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file distortion_tui-0.4.1.tar.gz.

File metadata

  • Download URL: distortion_tui-0.4.1.tar.gz
  • Upload date:
  • Size: 6.3 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.1.tar.gz
Algorithm Hash digest
SHA256 5e5e04ec6ede0e8829dbd0e4d2426e408158566b586c6b94ebd3d438c5ecc3d1
MD5 0dc01704f035682b5ea9b952dfbaedee
BLAKE2b-256 f0c535cbabeee9518e324dccbba3e162c88f5db99fb03d103d8d92aeb5059ab4

See more details on using hashes here.

File details

Details for the file distortion_tui-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: distortion_tui-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f2bfbfba324eb959cbd48429112da8121b35f31ff5a2fd288b8712ee70b8bfe
MD5 3b59cb4ca6bf21bb66a7ba3b17b474a8
BLAKE2b-256 86c5b167fbcfd97a3d68b0ff2e3995a08bc03a79381757d18a3a83ff71593275

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