Web Audio API - expert needed
Budget: $20 – $50 USD
Looking for someone who knows the Web Audio API well...
So far I have the following page: https://audioproject15c.b-cdn.net/testing15.html
Needed:
1) I want each "Play" button to only be enabled when the corresponding audio is loaded/ready to play.
2) The "Stop" buttons currently just set the volume to zero. Is there a better way to stop audio, yet still be able to restart it without reloading the file/buffer? Or is volume to zero most efficient?
3) The "Play" buttons work the first time they're clicked. But if "Stop" is clicked, and then "Play" is re-clicked, there's an error of "Start has already been called on this AudioBufferSourceNode". Play buttons should only start the audios if they're not already started. Otherwise, the play buttons should just reset the volume to the slider value (or otherwise restart audio).
4) Volume slider should only control the active/playing audio(s), not the paused or muted ones.
5) At the bottom of the page, I would like to count the times that the audios have looped. If "stop" is pressed, it should reset to 0. If this is not possible, that's okay, let me know in your bid.
6) Do the initializeAudio1 and initializeAudio2 functions look properly written?
If any of the above aren't possible, no problem, just let me know which one(s) in your bid.
Javascript only, no jquery please And please don't merge the functions (they're separate for a reason).
Thanks for reading!
So far I have the following page: https://audioproject15c.b-cdn.net/testing15.html
Needed:
1) I want each "Play" button to only be enabled when the corresponding audio is loaded/ready to play.
2) The "Stop" buttons currently just set the volume to zero. Is there a better way to stop audio, yet still be able to restart it without reloading the file/buffer? Or is volume to zero most efficient?
3) The "Play" buttons work the first time they're clicked. But if "Stop" is clicked, and then "Play" is re-clicked, there's an error of "Start has already been called on this AudioBufferSourceNode". Play buttons should only start the audios if they're not already started. Otherwise, the play buttons should just reset the volume to the slider value (or otherwise restart audio).
4) Volume slider should only control the active/playing audio(s), not the paused or muted ones.
5) At the bottom of the page, I would like to count the times that the audios have looped. If "stop" is pressed, it should reset to 0. If this is not possible, that's okay, let me know in your bid.
6) Do the initializeAudio1 and initializeAudio2 functions look properly written?
If any of the above aren't possible, no problem, just let me know which one(s) in your bid.
Javascript only, no jquery please And please don't merge the functions (they're separate for a reason).
Thanks for reading!