Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: bongtack on May 22, 2018, 03:20:39 PM
-
Is there any action I can use as 'While' ?
I am using 'Get Mic Input Loudness' Action from Ecosystem and 'Look At' Action,
and I want to do like 'While the Loudness is higher than --- Look at ---.
I tried using 'Compare Float', but it didnt work in a way I wanted.
Any suggestion is appreciated !
Thanks,
-
Hi,
compare float would be the one. what could happen is that you need to smooth out the loudness to remove any short cuts of loudness.
to make sure this is the issue, I would simply log the loudness everyframe, then you'll see if it gets below your limit just one frame or not.
then you should average the loudness over few frames and work with that average instead of the per frame value.
Bye,
Jean
-
Hi,
also, I would try the FloatLowPassFilter action on the ecosystem, this will likel help too.
Bye,
Jean
-
Ahh cool!
Thanks I appreciate your help.
;)