A controlled randomised audio/text generator.
The program takes two arguments: the location of the task file, and the root directory of the audio files.
python generate.py /path/to/task_file.json /path/to/audio_files
This section contains the installation instructions in order to run the program. I assume that you have Python (version 3 or higher) and pip installed.
If you are working with non-.wav
files (such as .mp3
), you need to install additional tools,
such as ffmpeg. Check the documentation of Pydub
for more information.
Make sure that ffmpeg is installed and that it is added to your PATH system environment variable. You can find a guide to install it on Windows here.
Note: Sometimes a reboot of your system is required.
Open up a python virtual environment and install the packages with the following command:
pip install -r requirements.txt