bongo.cat icon indicating copy to clipboard operation
bongo.cat copied to clipboard

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

Open lbadger opened this issue 5 years ago • 0 comments

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

lbadger avatar Oct 29 '20 02:10 lbadger