Description

Wave files created by the Wave Writer nodes in MetaSounds cannot be imported successfully into the engine. On my end, wave files created by Audacity could be imported successfully, so there does seem to be something specifically off with the waves created from the Wave Writer node. (Those waves play fine on my computer outside of Unreal, for what its worth, might just be in a format we don't have import code for)

Steps to Reproduce
  • Create a MetaSound Source (right-click content browser, go to Sounds->MetaSound Source)
  • Add a Sound Generator Node to that MetaSound, like Saw (right-click MetaSound graph, go to Functions->Generator Nodes->Saw)
  • Add a Mono Wave Writer Node to the MetaSound (Functions->External IO)
  • Connect the Out pin on the Saw node to the In pin on the Wave Writer Node
  • Give the Wave Writer a reasonable file name prefix, and confirm "Enabled" is checked
  • Play the MetaSound, and wait a second or two before stopping it
  • In your computer's browser, go to [UnrealProject]/Saved/AudioCaptures, and confirm that a wave file with whatever name you gave the Wave Writer as a file prefix exists and can be played.
  • Drag this wave file into your Unreal project's Content Browser, and say yes to any prompts asking about import methods

Expected Result:

  • The wave file is imported successfully

Actual Result:

  • The import fails with the error message:
    • "Error: Unable to read wave file '[FileName]' - "Unsupported wave file format. Only PCM, ADPCM, and DVI ADPCM can be imported."
      Error: Unrecognized sound format 'wav' in [FileName] "

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-159020 in the post.

1
Login to Vote

Unresolved
ComponentUE - Audio - MetaSounds
Affects Versions5.0
Target Fix5.1
CreatedJul 8, 2022
UpdatedJul 11, 2022