When I record WAV in MetaSound and then try to import it back to UE5 the engine throws the following error:
Error: Unable to read wave file 'piano_8' - "Unsupported wave file format. Only PCM, ADPCM, and DVI ADPCM can be imported."
Error: Unrecognized sound format 'wav' in piano_8
Is this a bug or is there a way to make Wave Writer output a compatible recording?
That definitely sounds like a bug, I’ll talk to QA to see if we’ve caught that before. (On my end, WAV files I make from other DAWs import fine, but ones created from MetaSounds specifically do not, which makes me think something weird might be going on with how we format the recordings of MetaSounds.)
That said, in the meantime, what you can do is use a Submix recording, and have it output directly as a USoundWave asset instead of a wave file.
1 Like
Thank you, I don’t seem to find a way how to record MetaSound directly to SoundWave using Submix recording. There are no files created in BouncedWavFiles. I’ve set base submix in the MetaSound source to “test”.
Ah! The path is different for Submix recordings that are made to a USoundWave Asset - it should show up in the root of your Content folder, i.e., you should be able to go to it directly through your in-engine Content Browser.
Actually no file was created at all. My BP had 2 issues AFAIK:
- Start Recording Output should be called after Play (otherwise Audio Mixer prints a warning about no audio)
- Name parameter in Finish Recording Output cannot be empty (otherwise it fails silently)
All seems to work well now. Thank you for the help!