Use raw data to make USoundWave?

I’m using a snippet of code here to capture microphone input: http://quoteunquotestudio.com/2015/02/22/microphone-input-in-ue4/

Is there a way to turn this specific data point, or data points over a period of time into a UsoundWave object?

Hi,You can try this:

AudioData is uint8 * pointer to your PCM data
and AudioDataLen is the length of the data by byte.

	USoundWaveProcedural* SoundStreaming = NewObject<USoundWaveProcedural>();
	SoundStreaming->SampleRate = 16000;
	SoundStreaming->NumChannels = 1;
	SoundStreaming->Duration = INDEFINITELY_LOOPING_DURATION;
	SoundStreaming->SoundGroup = SOUNDGROUP_Voice;
	SoundStreaming->bLooping = false;
	SoundStreaming->QueueAudio(AudioData, AudioDataLen);

	// Data has been copied. free the resource
	free(AudioData);

    // UAudioComponent
	Stop();
	SetSound(SoundStreaming);
	//Activate();
	Play();