JS1k 2018 demo — "MUS1K" by xem

Draw a melody, change the base frequency, tempo and waveform, then play and export it as a tiny JS snippet useable in your mini demos!