The objective for this first project is to complete this audiovisualizer with the help of openFrameworks!
After compiling and running the project for the first time, you should be able to do a couple of things:
- Using the "P" key, you should be able to play music from "beat.wav"
- Using different number keys, you can visualize the music in different ways:
- 1: Rectangle Height Visualizer
- 2: Circle Radius Visualizer
- 4: Custom Visualizer (to be implemented)
This project contains two classes that should be of your concern: ofApp and AudioVisualizer.
This is the class that brings most things together. Here, you will find the code that causes the audio to play and pause. It is also to where the visualization happens. Here, you can observe how the code to change between modes works, and how the song is actually played.
The AudioVisualizer class provides us with the data needed to do the visualization. Using some of the tools OpenFrameworks provides us and math, we can obtain information such as the amplitude of the sound.
Please fill out the information below for each member of the team:
Fernando L. Pizarro Diaz : fernando.pizarro1@upr.edu
Veliana Agrait Rodriguez : veliana.agrait@upr.edu