Skip to content

Latest commit

 

History

History
56 lines (33 loc) · 1.9 KB

README.md

File metadata and controls

56 lines (33 loc) · 1.9 KB

waveformvisualizer

A basic visual audio player.

Prerequisites

Before you run the application, you need to have Python installed on your system. This app has been tested with Python 3.8 and above.

Installing Python

Follow the instructions for your operating system to install Python:

Windows

  1. Download the latest version of Python from the official website.
  2. Run the installer and make sure to check the box that says "Add Python to PATH" before installation.
  3. After installation, open Command Prompt and type python --version to confirm the installation.

macOS

  1. You can install Python using Homebrew by running brew install python in the terminal.
  2. Verify the installation with python3 --version.

Linux

  1. Most Linux distributions come with Python pre-installed. You can check the version by running python3 --version in the terminal.
  2. If it's not installed, you can usually install it with your package manager, for example sudo apt-get install python3 on Ubuntu.

Running the Application

After installing Python, you can start the server with the following command:

python -m http.server

SETUP:

Change the audio file in the audioplayer folder to your own MP3 or WAV.

Edit the script.js code to include the path for the new audio file wavesurfer.load('audioplayer/fakemusicartist-therealist.mp3');

Edit the index.html file to have the proper Artist and Track title FAKEMUSICARTIST - THE REALIST

In your CLI you run this code python -m http.server

To open the app on localhost:8000