This Python program utilizes the Pygame and NumPy libraries to visualize the waveform of an audio file. The program also includes play and stop buttons for controlling the playback.
Make sure you have Python installed on your machine. You can install the required packages using:
pip install pygame numpy pydub
- Clone the repository:
git clone https://github.com/Elyah2035/2DVoice.git
cd $REPO_NAME
-
Change the audio file path in the script:
Replace the following line with the path to your audio file:
file_path = "VundabarAlienBlues.mp3" # Change this to your audio file
-
Run the script:
python sound2.py
I do not care