Follow these steps to set up the Audio Waveform Visualizer on your system:
-
Ensure you have Python 3.6 or higher installed on your system. You can download Python from python.org.
-
Clone this repository or download the source code:
git clone https://github.com/yourusername/audio-waveform-visualizer.git cd audio-waveform-visualizer
-
It's recommended to 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
- On Windows:
-
Install the required packages:
pip install -r requirements.txt
-
You're all set! You can now run the script:
python waveform_visualizer.py
-
If you encounter issues with PyAudio installation on macOS, you may need to install portaudio first:
brew install portaudio
-
On Linux, you might need to install additional system packages. For Ubuntu or Debian-based systems:
sudo apt-get install python3-dev libasound2-dev
If you encounter any other issues, please check the project's issue tracker on GitHub or create a new issue.