Python Audio Splitter is a simple utility designed to extract individual audio clips from a single audio file.
- Clone the repository:
git clone https://github.com/eric-hamilton/python_audio_splitter.git
- Navigate to the folder:
Optional: Setting up a virtual environment (venv) for a cleaner setup:
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment: On Windows:
venv\Scripts\activate
On macOS and Linux:
source venv/bin/activate
- Install the required packages using pip:
pip install -r requirements.txt
You have two options to run the program:
- Run the file directly:
python audio_splitter.py
- Drag and drop an audio file onto the
audio_splitter.py
script. Follow the on-screen instructions displayed in the terminal to proceed with the audio splitting process.
The individual audio clips will be saved in a folder named "output" in the same directory as the script.