HTML5 buffer and play audio with createMediaElementSource()

Asmo

New Member
I am using the audio API to get instant playback of a sound in iOS 6 in a web page. I have done it using an Ajax call, like the documentation suggested and that works great. However, I read you can do the same without the Ajax call using createMediaElementSource() http://developer.apple.com/library/...izingSounds/PlayingandSynthesizingSounds.htmlHowever, it seems that loading from an audio node in this way, you can't use the noteon(0) method - so can't actually play the sound!Has anyone got this to work? I want to create a few reusable functions that degrade to using the audio element, rather than relying on the Ajax call?
 
Back
Top