Edit : July - 29. New version : v1.1. Various enhancement, to be used with the Mic plugin: https://dl.dropbox.com/u/1412774/MicrophoneC2Demo2/pode_audio_base64.1.1.zip
Still working on a client's problem, I needed the ability to load base64 audio strings. Since the "Audio" plugin from C2 doesn't allow the use of them, I created this plugin.
<img src="http://dl.dropbox.com/u/1412774/Base64AudioDemo/demo.png" border="0">
(The screenshot isn't very useful, for that kind of plugin <img src="smileys/smiley2.gif" border="0" align="middle">).
You can use base64 strings for audio files, namely OGG, MP3, and WAV (it's possible, but please don't use WAV, because the file are enormous, and prone to crash the browser...).
Since Firefox can't play mp3 files, neither Opera, don't forget to provide MP3 and OGG version of your audio. If not, when you play() the file, you are only going to hear sound in Chrome...
The demo : http://dl.dropbox.com/u/1412774/Base64AudioDemo/index.html (the sounds are from me snapping my fingers...)
The plugin : http://dl.dropbox.com/u/1412774/Base64AudioDemo/pode_audio_base64.1.0.zip
The demo : http://dl.dropbox.com/u/1412774/Base64AudioDemo/Base64AudioDemo.capx
@Ashley : is it possible to add to your todo-list the use of base64 audio with the "classical" audio plugin ? (I'll then deprecate this one).