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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: b2ai_voice_trimkit-0.1.1.tar.gz
  • Upload date:
  • Size: 223.8 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.1.tar.gz
Algorithm Hash digest
SHA256 34a4e1a057348bd009fb0181610857f70d273e0a0b40db2521db745534146ee2
MD5 4a4f9725c13d42134547ee25880630a0
BLAKE2b-256 f1404bd40815a063c388f6dd7273c78cdb136e01a07463905862a929c96fc8ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for b2ai_voice_trimkit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a104867df26af44d8cbc86794d5dda4d7da3c192a40b7d359946812545539817
MD5 6ac9ccaab66a798e20bc95d31c45511d
BLAKE2b-256 5fc2adc186a13fd4256dff8f311f5f390ada7abcd59b2390134cd2320aa97abe

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