The Dittytoy engine is just a tiny layer that calls the code of the ditty 44100 per second. So the whole sound wave synthesis is done in the code of the ditty.
And another amazing ditty on Dittytoy. This is a vocoder written in javascript and performing (a small part) of the aria "Nessun Dorma" from Puccini's opera "Turandot": https://dittytoy.net/ditty/6f30b0885d
I think the cool thing about this version is that the whole sound wave (including the code for the synthesizers) is generated by one single piece of javascript (<19 kb). So it is more about the code itself than the code size.
let t=0;
synth.def(() => (255&(1|63(63&63+8Math.sin(t++/2e5)t/2e5)&100Math.tan(4Math.PIt/2e5)/4Math.sin(4Math.PI[165,220,175,262,196,147,220,165][7&(2t/2e5&12t/2e5^8t/2e5)]t/2e5)|2048(1+(1&t/4/2e5))t/2e5))/127-1).play(0,{env:one});