I want to create a SoundEditor with a wave form.
I want to show all samples in this wave form but samples count > 9000000 thus my program works very poorly.
please help me, for create a waveform that show all samples rapidly.
i use from MSChart for Framework 3.5 sp1
You have to approach this from the other side: you have an upper limit for the amount of detail determined by the user+screen.
So think in terms of: What data do I have (let’s say 10.000.000) and what can I show (1000 pixels wide). You then you have to simplify 1:1000. Better determine a formula for that, don’t leave it to rounding by a graphics engine.
When you add a Zoom option the ratio changes.