The 2024 Wheel Reinvention Jam is in 16 days. September 23-29, 2024. More info

Plotting

Jens

One of my wishlist-items for BEdit has been plotting, especially when dealing with wav-files. Is the sound popping because of my audio mixer or is the file not set up for looping?

How do you plot from the console version of BEdit? Well, you really don't plot on the console directly. Consoles are just not enough for that level of graphics (I did not attempt ASCII art "plotting"), so instead the plots get exported to another file format... but which?

As there aren't really any standardized plot format (unless you count CSV) I though a simple SVG image export would suffice. No need to rasterize the a bitmap and zooming wouldn't degrade the quality. However, after exporting a short WAV plot (about 30k samples), the browser was still showing loading UI after several minutes. I also tried OBJ file format but Paint3D was just as slow.

For the last week or so I've been working on a custom HTML to display the plotted data. A plot file containing around 3.5 million samples will display (after an initial load time of < 10 seconds) without noticeable latency.

Now I've told you about it, but if you want me to show it - a short clip of the UI: https://www.youtube.com/watch?v=HlzS8Evjxfc

Glad you're back on BEdit.

10 seconds still seems like a long load time. Did you plan to have the visualization in the GUI ?

Yes - originally I was intending on only having it for the GUI but I felt having core features like this hidden behind a pay-wall is just bad manners.