News for hackers. Stuff that matters.
Re:Bongo Cat by warenhor on Friday October 23, 2020 @08:54AM (#24868930)
In case you want (like me) to share your best art with you colleagues:

let e = $.Event('keyup'); '09090586 '.split('').map((k, i) => {setTimeout(()=>{$.play(InstrumentPerKeyEnum[k],k,e.type==="keydown")}, i * 200); setTimeout(() => {$.play(InstrumentPerKeyEnum[k],k,e.type==="keyup")}, i * 250)});

Re:Bongo Cat by shmageggy on Friday October 23, 2020 @09:32AM (#24869268)
I think bongo cat needs a MIDI interpreter
Re:Bongo Cat by boksiora on Friday October 23, 2020 @02:55PM (#24872630)
let e = $.Event('keyup'); Math.PI.toFixed(50).split('').map((k, i) => {setTimeout(()=>{$.play(InstrumentPerKeyEnum[k],k,e.type==="keydown")}, i * 200); setTimeout(() => {$.play(InstrumentPerKeyEnum[k],k,e.type==="keyup")}, i * 250)});
Re:Bongo Cat by elcomet on Friday October 23, 2020 @09:00AM (#24868994)
It's not working in the console
Re:Bongo Cat by warenhor on Friday October 23, 2020 @09:13AM (#24869109)
Indeed, I forgot to define `e` on the same line, cheers.
Re:Bongo Cat by elcomet on Friday October 23, 2020 @09:43AM (#24869372)
Nice! the ending was fun :)