TheGreatCodeholio / trunk_audio_glue

"Glues" wav files together in to a one mp3. Useful for creating events from trunk recorder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trunk Audio Gluer

This script combines multiple audio files into a single MP3 file. It is specifically designed to process .wav files in a given directory, sorting them based on timestamps in their filenames and optionally filtering by talkgroup IDs and a specific time range.

Features

  • Timestamp Sorting: Orders audio files based on the timestamp embedded in their filenames.
  • Talkgroup Filtering: Optionally filters files by talkgroup IDs.
  • Time Range Filtering: Optionally filters files within a specified start and end time.
  • Format Conversion: Converts .wav files to .mp3 and combines them into a single MP3 file.

Requirements

  • Python 3
  • pydub library
  • ffmpeg
  • pytz library

Before running the script, ensure you have Python 3 installed on your system. You can install the required Python libraries using pip:

pip install pydub pytz

About

"Glues" wav files together in to a one mp3. Useful for creating events from trunk recorder


Languages

Language:Python 100.0%