- Home /
NPC reaction by sound external o BPM
Hi, does anyone know how I can make an NPC change its movie depending on the music that is heard? I have an external audio input in my project and my npcs move in a loop. my idea is that they normalize the animation with the beats of the music and when it does not hit at least cheer up. I saw that there is a way to detect the BPM and this would be I create something that could be used to get to what I want, but since I don't have much experience and just started to handle this, I would need some help.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613003200im_/https://answers.unity.com/themes/thub/images/avi.jpg)