Sound Wave Properties
Accessing Audio Data
Retrieving PCM Buffer
You can retrieve the entire PCM buffer from a sound wave directly.
- Blueprint
- C++
// Assuming ImportedSoundWave is a UE reference to a UImportedSoundWave object
TArray<float> PCMBuffer = ImportedSoundWave->GetPCMBufferCopy();
tip
If you need to convert the obtained PCM data to bytes, see Float Array to Bytes.