Re: [LAD] Scopes & RMS

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Wednesday, December 21, 2011 - 3:38 pm

On Wed, Dec 21, 2011 at 04:22:48PM +0100, Robin Gareus wrote:

> http://kokkinizita.linuxaudio.org/linuxaudio/downloads/yass-0.0.2.tar.bz...

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@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Scopes &amp; RMS, Harry van Haaren, (Wed Dec 21, 2:29 am)
Re: [LAD] Scopes &amp; RMS, Robin Gareus, (Wed Dec 21, 3:23 pm)
Re: [LAD] Scopes & RMS, Fons Adriaensen, (Wed Dec 21, 3:38 pm)
Re: [LAD] Scopes &amp; RMS, Harry van Haaren, (Wed Dec 21, 3:44 pm)
Re: [LAD] Scopes &amp; RMS, Paul Davis, (Wed Dec 21, 3:30 pm)
Re: [LAD] Scopes &amp; RMS, , (Wed Dec 21, 3:38 pm)
Re: [LAD] Scopes &amp; RMS, Tristan Matthews, (Wed Dec 21, 2:34 am)
Re: [LAD] Scopes &amp; RMS, Robin Gareus, (Wed Dec 21, 4:05 pm)
Re: [LAD] Scopes &amp; RMS, Tristan Matthews, (Wed Dec 21, 5:15 pm)
Re: [LAD] Scopes &amp; RMS, Tristan Matthews, (Sat Dec 24, 5:55 am)
Re: [LAD] Scopes &amp; RMS, Robin Gareus, (Sat Dec 24, 9:54 am)
Re: [LAD] Scopes &amp; RMS, Tristan Matthews, (Sat Dec 24, 1:52 pm)
Re: [LAD] Scopes &amp; RMS, Harry van Haaren, (Sat Dec 24, 2:20 pm)