Hacker News new | ask | show | jobs
by iammyIP 3570 days ago
First, it's an enourmous waste of computing resources. Second, it doesn't even work, since the 'setinterval' is unusable for audio timing. Third, what's there to show off? So Javascript got a 'PlayWav' function that you call in not so regular intervals depending on buttonstate. Simple beatbox is simple. Could aswell be 30 lines.
1 comments

Not sure why this is down voted — the demo literally does not work in my browser (Safari 10) because of the (mis)use of setInterval.
>Safari

Try a better browser first. You might as well be using IE 8. I could write a book about the things that don't work in Safari.