embed audio files via URI schema

I’d like to embed an audio file into a composition, similarly to the procedure I can embed an image, using the URI technique.
As long as I can understand, this is not allowed yet.
A possible improvement would be to add a “fetch audio” node; even simpler, to upgrade “Play audio” URL parameter in order to accept URI/data.

Thanks for the feature idea. Agreed that it could be useful.

There is a workaround if you want to embed audio with Vuo’s current functionality:

  1. Convert your audio file to a single-channel, 8bit, 48kHz raw stream, then encode it as a base64 data URI. You can do so by running the following command in Terminal (substituting in the name of your audio file):
    • echo -n 'data:;base64,' ; ffmpeg -loglevel error -nostats -i someAudioFile.mp3 -ac 1 -ar 48000 -f u8 - | base64
  2. Paste the output of that command into the input of a Fetch Data node.
  3. Do the math to convert the data bytes to audio samples. Here’s an example:
    PlayAudioUri-electriccafe.vuo (245.3 KB)