Reputation: 3327
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?
Upvotes: 0
Views: 446
Reputation: 104698
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.
Upvotes: 1