0

In my view I need to visualize some audio data as waveform. I also want to make pinch-zoom in/out possible. how could that be realized? Is there any knowledge around?

Brian Tompsett - 汤莱恩
  • 5,438
  • 68
  • 55
  • 126
headkit
  • 3,297
  • 4
  • 52
  • 99

1 Answers1

1

Once you have the audio sample data, I use the approach here.

To display more or less samples than points, use interpolation or the peak sample value. Reserve a lot of time for optimization if you want good performance over many samples.

Community
  • 1
  • 1
justin
  • 103,167
  • 13
  • 178
  • 224