[LAD] Real-time plotting of audio/ oscilloscope.

Will Light visinin at gmail.com
Thu Jun 17 17:59:12 UTC 2010


you could also do something with openGL that would be fairly
efficient...I know a fellow who implemented something very similar to
this for an iPhone oscilloscope.

you'll most certainly want to copy the samples into a
ringbuffer...doing the GUI work from the realtime thread is just
asking for trouble.  off in the GUI thread, read the samples from the
ringbuffer and push them to the graphics card as a vertex buffer
object.  should keep things pretty speedy...

-w



More information about the Linux-audio-dev mailing list