My goal is to create a sketch which displays the waveform of the sounds it’s generating.
To make it easier, i would like that the example here: https://processing.org/reference/libraries/sound/SawOsc.html
would also display the waveform (the one we can see on the right) and not only to create the sound.
I assume i need the https://processing.org/reference/libraries/sound/Waveform.html class to do it but i am not getting how i can let it display the waveform of the sound generated by the sketch (without having to read this from outside).
Any suggestions? thanks