Re: [linux-audio-dev] Dithering idiots

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Dithering idiots
From: rm (async_AT_cc.gatech.edu)
Date: Tue Jun 18 2002 - 04:47:40 EEST


On Mon, Jun 17, 2002 at 09:00:51PM -0300, Juan Linietsky wrote:
> For displaying waves I do the following, it may be nonstandard but it
> works
> pretty well:
> for each pixel, I average the + and - peaks of all the samples in the
> range
> of the pixel coordinate and the next one, then just draw a vertical
> line
> from the - to the + average. This basically shows accuratedly
> the envelope of the the sample in any resolution.

when you average over positive and negative numbers, it's pretty easy
to have a waveform that produces 0 average over a block of non-zero
data. the information you usually want out of the display is the
presence of audio at a max and min values (for example if you have
clipping you'd like it to be readily apparent).

                rob (working for a better audio visualization tomorrow
                                ...errr i think)

----
Robert Melby
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:     ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt4255a
Internet: async_AT_cc.gatech.edu


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Jun 18 2002 - 05:17:48 EEST