It concatenates your audio files. In order / randomly and with optional delay in between each of them
The program currently provides support for a range of audio file formats, including mp3, wav, flac, and ogg. It allows you to choose between sequential or random concatenation of the selected files, and you can also specify a desired delay between each audio segment.
Adding a delay can be beneficial in language learning scenarios. For instance, you can record various phrases and set them to concatenate randomly. By incorporating a few seconds of delay between each phrase, you create an opportunity to repeat the phrase after hearing it before moving on to the next one. This technique allows for improved pronunciation practice and reinforces language retention.
The Audio Concatenation app allows you to concatenate audio files in various formats. To run the app, you need to install a few dependencies and ensure that ffmpeg
is properly set up on your system.
Before running the app, make sure you have the following prerequisites installed:
- Python 3: The app is developed using Python, so you need to have Python 3 installed on your system. You can download Python from the official website: python.org.
Follow these steps to install the required dependencies:
-
Clone the repository or download the source code to your local machine.
-
Open a terminal or command prompt and navigate to the project directory.
-
Create a new Python virtual environment (optional but recommended):
python3 -m venv env
-
Activate the virtual environment:
-
For Windows:
env\Scripts\activate
-
For macOS and Linux:
source env/bin/activate
-
-
Install the dependencies using
pip
:pip install -r requirements.txt
-
Install
ffmpeg
:-
Windows:
- Download
ffmpeg
from the official website: ffmpeg.org. - Extract the downloaded archive and add the
bin
directory to your system's PATH environment variable.
- Download
-
macOS (using Homebrew):
brew install ffmpeg
-
Linux (using package manager):
sudo apt-get install ffmpeg
-
Once you have installed the dependencies, you can run the Audio Concatenation app by following these steps:
-
Ensure that you are in the project directory and the virtual environment is activated (if you created one).
-
Run the app using Python:
python Audio-Concatenator.py
-
The app window will open, allowing you to select audio files, set output options, and start the concatenation process.
-
Choose the audio files you want to concatenate by clicking the "Select Files" button.
-
Specify the output directory, output filename, output format, mixing order, and delay (if needed).
-
Click the "Start" button to begin the concatenation process.
-
Monitor the progress in the progress bar, and once completed, a message box will display the success message.
That's it! You have successfully run the Audio Concatenation app and concatenated audio files using different formats. Feel free to explore the app's features and customize it according to your requirements.