Read sound ampitude real time in Unreal Engine

Hi,

I would like to read sound ampitude real time in Unreal Engine. I want to make sound visualization.

Thank you.

Getting a snapshot of a signal has to be done using the Core API with a custom DSP callback, but if you just want the ‘levels’ , you can query a channel or channelgroups metering info with getmeteringinfo. You first need to call getdsp on a channel or a channelgroup to get the head DSP (using FMOD_CHANNELCONTROL_DSP_HEAD) then call setmeteringenabled on it.

https://fmod.com/resources/documentation-api?version=2.1&page=core-api-channelcontrol.html#channelcontrol_getdsp

https://fmod.com/resources/documentation-api?version=2.1&page=core-api-dsp.html#dsp_setmeteringenabled

https://fmod.com/resources/documentation-api?version=2.1&page=core-api-dsp.html#dsp_getmeteringinfo