How to render audio waveform?

前端 未结 5 813
后悔当初
后悔当初 2020-12-18 07:26
  1. Is there any audio/programming-related stack-exchange site?
  2. I\'m trying to make a wave form in WinForms
  3. What algorithm should I use?

F

5条回答
  •  被撕碎了的回忆
    2020-12-18 07:46

    1. Try dsp.stackexchange.com

    2. At 200 samples per pixel, there are several approaches you can try. Whatever you do, it often works best to draw each vertical line both above and below 0, ie. treat positive and negative sample values seperately. Probably the easiest is to just calculate an RMS. At such a low resolution peak values will probably give you a misleading representation of the waveform.

提交回复
热议问题