I want 4 buttons.
1.When you click PLAY a sound plays continously.
For example this sound; clicking sound
2.STOP stops the loop.
3.FASTER (interval) increases the bpm
4.SLOWER (interval) decreases the bpm
How can this be accomplished?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This won’t COMPLETELY answer your question/issue, but have you checked out the jQuery plugin
jPlayer?
UPDATE:
Looking at your question further, and listening to the sound sample you provided, it looks like you are trying to create a metronome of sorts? If you’re using JS, it’s going to be hard to make it very accurate. Even using setInterval won’t guarantee as exact an interval between sounds/clicks as you’d probably want.
Consider something server-side that will actually build a file on-the-fly and stream it to the browser.