Skip to content

Project #1 for my Advanced Programming Class. Developed an Audio Visualizer in OpenFrameworks with C++

Notifications You must be signed in to change notification settings

eternero/Advanced-Programming-AudioVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PA1: Openframeworks Audiovisualizer

The objective for this first project is to complete this audiovisualizer with the help of OpenFrameworks!

What it can do out of the box

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
    • 3: Rectangle Width Visualizer (to be implemented)
    • 4: Custom Visualizer (to be implemented)

Classes

This project contains two classes that should be of your concern: ofApp and AudioVisualizer.

ofApp

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.

AudioVisualizer

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.

About

Project #1 for my Advanced Programming Class. Developed an Audio Visualizer in OpenFrameworks with C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •