glScope 2005.08.12
This is very a simple audio oscilloscope using OpenGL, GLUT, and ALSA
|
|||||||||||||||||||
This is very a simple audio oscilloscope using OpenGL, GLUT, and ALSA. Distributed under a completely free license; this means you can do absolutely anything you want with this code. I'd appreciate if you credit me where appropriate, though.
Controls are as follows:
Left mouse button: Pan
Mid mouse button: Move trigger
Right mouse button: Scale
Space bar: Start/stop recording
t: Toggle trigger mode (rising, falling, off)
p: Print data
Esc: Exit
When you print the plot data by pressing "P", two columns of text are printed to stdout. The first column is time, the second is amplitude. The easiest way to capture this data to a file is via the command line:
./glscope > data.csv
Since there is no interface to change the audio input device that is displayed, you'll actually have to change some code if you want any other channel besides the default recording device. The important line in the code looks like this:
pcm_name = strdup("plughw:0,0");
I guess you'll have to read about ALSA to figure out how to change that string.
Feel free to email me with any questions.
tags
Download glScope 2005.08.12
Authors software
|
|
Similar software
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Other software in this category
|
|
|
|
|
|
|
|
Featured Software
jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java
Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser
GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell
- Communications
- Database
- Desktop Environment
- Games
- Internet
- Multimedia
- Office
- Programming
- Science and Engineering
- System
- Text Editing&Processing
