Re: [LAD] Scopes & RMS

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Wed Dec 21 2011 - 17:38:23 EET

On Wed, Dec 21, 2011 at 04:22:48PM +0100, Robin Gareus wrote:
 
> http://kokkinizita.linuxaudio.org/linuxaudio/downloads/yass-0.0.2.tar.bz2
> or http://xoscope.sourceforge.net/

If there are > 1 samples per pixel yass finds the min and max samples
for each pixel and draws a vertical line from min to max.
One refinement of this (not done in yass): to compute min and max
for the next pixel, don't reset the current values but just swap
them. This ensures that lines are connected in all cases.

If you have more than one pixel per sample, and your app is a scope
(rather than just a informative waveform display in a DAW or so) you
have to resample. In a scope you have to upsample and interpolate
anyway to find the right trigger point.

Ciao,
 

-- 
FA
Vor uns liegt ein weites Tal, die Sonne scheint - ein Glitzerstrahl.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Wed Dec 21 20:15:02 2011

This archive was generated by hypermail 2.1.8 : Wed Dec 21 2011 - 20:15:02 EET