Polymer-based web component to play audio samples through Web Audio API.
bower install web-audio-sample --save
<web-audio-sample src="sine-wave.wav"></web-audio-sample>
<web-audio-sample src="sine-wave.wav" playback-rate="1.0"></web-audio-sample>
<web-audio-sample src="sine-wave.wav" autoplay></web-audio-sample>
<web-audio-sample src="sine-wave.wav" loop></web-audio-sample>
- Run
bower install
. - Use
polyserve
during development as instructed in Create a reusable element article.