Aleksi Strandberg wrote:

Hi,


Anyone have experience with audio waveform drawing?

Currently what i've done:
I have a 512 pixels wide picture.
i divide the PCM data to 512 blocks, and from each block i count the average (i also tested maximum) However, this doesn't draw correct waveform display, when compared to pro sound editors.

Any ideas?


Regards,
Aleksi Strandberg

Aleksi:

As sound intesity measures are non-linear you may need a non-linear average. A good place to start might be an RMS average.

Good luck.
Jim Payne
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to