On Wed, Dec 21, 2011 at 04:22:48PM +0100, Robin Gareus wrote:
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.
Vor uns liegt ein weites Tal, die Sonne scheint - ein Glitzerstrahl.
Linux-audio-dev mailing list