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

fons at kokkinizita.net fons at kokkinizita.net
Thu Jun 17 14:41:57 UTC 2010


On Thu, Jun 17, 2010 at 04:09:08AM -0400, Jeremy wrote:

> Yes, I'll bet that's my problem. Is it because writing to the screen is high
> bandwidth but high latency?   Or is it just not possible to draw anywhere
> near every sample?

Plotting a waveform with 48kHz samples per second is not that
difficult and it doesn't require HW acceleration or esoteric
hardware.

But *what* do you want to see ? Of one thing you can be sure:
the information contained in 48k samples per second will 
overload the visual parts of your brain. If the waveform
is more or less cyclic for some time, you can set a trigger
level and display small fragments - that is what a scope
is doing. In the other case the only thing that makes much
sense is display longer fragments, and then the only info
you get from this the amplitude envelope.

Ciao,

-- 
FA

O tu, che porte, correndo si ?
E guerra e morte !



More information about the Linux-audio-dev mailing list