2
« on: October 12, 2011, 13:08:00 »
Hello,
I am very interested in learning how to properly program a waveform display in audio editing software pretty much like how it's done here in SV. I am already somewhat familiar with the Qt GUI framework. So far I have been able to load a file and have the waveform of the file displayed. However, when I zoom my function basically just scales my image in width, so it stretches the image and the resolution becomes very bad.
I would like to know how to make it, so that when I zoom-in, the level of detail is good like in SV. What is the concept behind this kind of implementation? Does it have something to do with mip-mapping perhaps?
If someone can please help me get on track with this or point me in the relevant sections of the SV source code I would really appreciate it because goind in the code is rather complicated when I don't understand the concept behind it.
Thanks for your help in advance!