This project is the step 1 of the main project Real-time audio processing. Please refer to the README of main project for more information.
Thomas Hézard - Audio scientist and developer
www.thomashezard.com
thomas.hezard [at] thz.fr
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
This folder contains a self-sufficient Python script audio_processor.py
. The present version of the code does nothing but copying audio data from an input audio file into an output audio file.
Your goal is to implement modify this script to replace the data copy with the audio processing algorithm you chose. All you have to do is to replace line 35 with your code.
This project can be run in a pre-configured environment on replit: Run on replit.
Clicking the Run
button will run the script audio_processor.py
, which reads the audio file Marimba.wav
, processes its audio data, and writes the resulting audio data in the audio file output.wav
.
If the Run
button does not work, go to the console and run
python audio_processor.py
This project has been written for Python >= 3.7
, necessary packages are detailed in requirements.txt
.
After having installed and setup Python
, you can install all necessary packages with pip
:
pip install -r requirements.txt
or conda
:
conda install --file requirements.txt
Once your environement is ready, you can execute the Python script with the command
python audio_processor.py
Alternatively, you can open this directory in your favourite Python IDE and work form there.