drawing waveform - converting to DB squashes it

后端 未结 1 1309
名媛妹妹
名媛妹妹 2020-12-20 08:33

I have a wave file, i have a function that retrieves 2 samples per pixel then i draw lines with them. quick and painless before i deal with zooming. i can display the amplit

相关标签:
1条回答
  • 2020-12-20 09:00

    Don't convert to dB for overviews. No one does that.

    Instead of finding the average over a block, you should find the max of the absolute value. By averaging, you will loose a lot of amplitude in your high frequency peaks.

    0 讨论(0)
提交回复
热议问题