Drawing waveform into Wavetable from Minim

Hello and good afternoon!
I am having some issues inserting this method into the wavetable examples in Minim library.
I’d like to draw the waveform like pure data when plotting the waveform.
Maybe with the mousePressed() function if == to LEFT plot the drawing to the wavetable itself
The wavetable methods offer a warp point that is awesome but not what I am after.
The thing will be drawing the waveform with my mouse real time.
Best, Luis