Skip to main content

Audio trimming tool for acoustic researchers with Praat/parselmouth integration

Project description

B2AI Voice Trimkit

A Streamlit-based audio trimming tool for acoustic researchers with Praat-Parselmouth integration.

Features

  • Multiple Task Types:

    • Sustained Vowel - Single segment extraction per file
    • Cough - Detect and isolate cough segments
    • Speech - Praat-based trimming to isolate voiced region
    • Breathing - Trim leading and trailing silence
    • Everything Fused - Multi-segment detection (cough, breathing, speech, vowel)
    • General-manual - Manual region selection and trimming
  • Supported Formats: .wav and .mp3 (auto-converted to WAV)

  • Interactive Waveform: Visual selection with Plotly

  • Batch Processing: Process multiple files via CSV upload

Installation

pip install b2ai-voice-trimkit

Usage

Launch the dashboard:

b2ai_voice_trimkit

CSV Format

Upload a CSV file with a column named audio_file_path:

audio_file_path
/path/to/audio1.wav
/path/to/audio2.mp3

Output Location

Trimmed files are saved in a Final_trim folder in the same directory as the original audio file.

Quitting

  • Click Quit Application in the sidebar or
  • Press Ctrl+C in the terminal

Dependencies

  • numpy, pandas, streamlit
  • praat-parselmouth
  • plotly, soundfile, librosa, pydub

License

MIT

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

b2ai_voice_trimkit-0.1.2.tar.gz (223.9 kB view details)

Uploaded Source

Built Distribution

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

b2ai_voice_trimkit-0.1.2-py3-none-any.whl (224.1 kB view details)

Uploaded Python 3

File details

Details for the file b2ai_voice_trimkit-0.1.2.tar.gz.

File metadata

  • Download URL: b2ai_voice_trimkit-0.1.2.tar.gz
  • Upload date:
  • Size: 223.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for b2ai_voice_trimkit-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9e553f306bd6f1abec179978381539bff496ab49bf46789a20e4f79437e5ab1f
MD5 160b806397ecc32cb1d2d5cd572efe2a
BLAKE2b-256 0af7c721764d5dcb5da079bf8178e31ee3df10861455480bc62f7ee101bed2fb

See more details on using hashes here.

File details

Details for the file b2ai_voice_trimkit-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for b2ai_voice_trimkit-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 512ffd7f9776d4de8aad8171a051bb6679a872685cc10199d92bbaaa166be083
MD5 2fc5cdfcbaf29e3225635ae807baf18b
BLAKE2b-256 a8148b3b6114eff2256d1d851034848cbe7efcf2929d8a77c1bbaaf05e03047e

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