GSoC 2022: Waveform Drawing Improvements Weekly Report

Weekly Report(7/04 - 7/10):
My code is commited to soc-2022-waveform-drawing branch which is mainly on sequencer_preview.c. It becomes more robust compared to last week’s and I have test it in the case when loading many large audio.
The benchmark I made last week is not quite reliable for there are too many background applications running in my computer. In my new benchmark, the speed of drawing improves by around 37.6%. I think this result may be more reliable than last week’s.


Next Week:
The next week I will try to implement waveform drawing system which tracks timeline playhead. The final effect is just like what Figure(a) shows. In this system, Waveform will be processed in segments. Those near the timeline playhead should be guaranteed to be drawn preferentially, which makes sure that artists view waveform “in real-time” as drawing is being processed.
figure

This will lead changes in BKE_sound_read_waveform function.

7 Likes