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,753
  • 72
  • 57
  • 129
headkit
  • 3,307
  • 4
  • 53
  • 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
  • 104,054
  • 14
  • 179
  • 226