Externalizable / bongo.cat

Hit the bongos like Bongo Cat!
https://bongo.cat
MIT License
3.21k stars 423 forks source link

Using jQuery events allow a song to be played from an array #155

Open lbadger opened 3 years ago

lbadger commented 3 years ago

First parameter is the note or key and the second is the length

$.song(['t:200','p:200','t:200','p:200','t:200','p:200','t:200','p:200','t:200','p:200','t:200','p:200','t:200','p:200','t:200','p:200','y:200','p:200','y:200','p:200','y:200','p:200','y:200','p:200','e:200','p:200','e:200','p:200','e:200','p:200','e:200','p:200','t:200','p:200','t:200','p:200','t:200','p:200','t:200','p:200','t:200','p:200','t:200','p:200','t:200','p:200','t:200','p:200','y:200','p:200','y:200','p:200','y:200','p:200','y:200','p:200','e:200','p:200','e:200','p:200','e:200','p:200','e:200','p:200',' :500'
]);
$.song(['5:500','5:500','6:500','8:500','8:500','6:500','5:500','3:500','1:500','1:500','3:500','5:500','5:500','3:500','3:500','5:500','5:500','6:500','8:500','8:500','6:500','5:500','3:500','1:500','1:500','3:500','5:500','3:500','1:500','1:500','3:500','3:500','5:500','1:500','3:500','5:500','6:500','5:500','1:500','3:500','5:500','6:500','5:500','3:500','1:500','3:500','1:500']);

Here is an example! https://youtu.be/zXBV3eu4Z-A