Looks like you may have some issues with this, Audio::Wav::read is written to use FileHandle when opening the file argument. You would have to rewrite the Audio::Wav::Read file open steps or maybe export the inline encoded wav files to a temp file on the filesystem before handing the path for that temp file off to Audio::Wav.