vult-dsp / vult

Vult is a transcompiler well suited to write high-performance DSP code
https://vult-dsp.github.io/vult
Other
490 stars 25 forks source link

web playground #50

Open severak opened 1 year ago

severak commented 1 year ago

Hi, I am testing Vult and I noticed, that even if you made mistake web playground still makes sound. It made me wondering why I am getting sinewave if I am trying to do saw.

Also - error message is somewhat hidden in the lower part of screen, it should be more prominent IMHO.

modlfo commented 1 year ago

The web playground always plays the last valid code. I made it that way so I could keep playing, like a live-coding session, even if I make a mistake.

By default, the audio input to the process function is a sine wave. The idea is that, when I'm creating a effect, I can use that test signal without the need of generating one in code.

I need to rework how the error messages are displayed but I have not delved too much into web development in order to create a more effective interface.