Re: [LAD] Scopes & RMS

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Harry van Haaren <harryhaaren@...>
Cc: The Linux Audio Developers' Mailing List <linux-audio-dev@...>
Date: Wednesday, December 21, 2011 - 3:23 pm

(sorry Harry, I missed to CC the list)
On 12/21/2011 03:29 AM, Harry van Haaren wrote:

http://kokkinizita.linuxaudio.org/linuxaudio/downloads/yass-0.0.2.tar.bz...
or http://xoscope.sourceforge.net/

> Currently I'm taking every 50th sample, and drawing a line from the

IIRC ardour uses all audio samples and lets cairo do the scaling.

> My other question is about RMS, is calculating it in its literal sense

It depends on the use-case. A traditional analog scope does that. Well,
it is not true RMS but a low-pass filter.

>Or perhaps only taking every 5th sample?

Better take the min/max of all sample that fall on a single pixel on the
time-axis and draw a box (actually a vertical line if x is the time-axis).

> Resampling the signal from 44.1 or 48k to say 11025? I'm not really sure

11025?

25 (fps) (or actually: screen update-freq aka vblank-frequency)
multiplied by the width of display in pixels is more appropriate.

Cheers!
robin
_______________________________________________
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 & RMS, Robin Gareus, (Wed Dec 21, 3:23 pm)
Re: [LAD] Scopes &amp; 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)