Skip to content

A simple application which draws a waveform from mic input signal or saw oscillator using SDL2, opengl2 and RtAudio

License

Notifications You must be signed in to change notification settings

b1tfl0w/Waveform-Viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Waveform-Viewer

A simple application which draws a waveform from mic input signal or saw oscillator using SDL2, opengl2 and RtAudio.

Libraries used: SDL2 https://www.libsdl.org/

RtAudio https://www.music.mcgill.ca/~gary/rtaudio/index.html

OpenGL https://www.opengl.org/

//Install SDL2 and RtAudio Development libraries:

sudo apt install librtaudio-dev libsdl2-dev

//Compile on Ubuntu:

g++ -g -O0 -Wall -o program main.cpp -I/usr/include/SDL2 -I /usr/include/GL -I /usr/include -I /usr/include/rtaudio -lSDL2 -lSDL2main -lGL -lGLU -lrtaudio

//run the program:

./program

press 1 for saw wave output, and 2 for input to output.

Alt text

About

A simple application which draws a waveform from mic input signal or saw oscillator using SDL2, opengl2 and RtAudio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages