I am trying to make a sound reactor so when you clap the lights on your phone on the problem is that I don't know how to do that so can anyone help me
here is a similar question and corresponding answer...
see also
which means it is not that simple... and even more complicated if you want to detect this also from the background..
Taifun
you could try an extension...
-
Personal Audio Classifier Extension by MIT App Inventor to recognize sounds
-
Sound Analysis Extension by Mouhamadou: analyzes the pitch of a sound through the microphone and returns it.
-
Sound Pressure Level Extension by RIT App Inventor: to measure the sound pressure level using the microphone and return the data in decibels.
taken from the extensions directory App Inventor Extensions | Pura Vida Apps
Taifun
With the right pre-trained models, you can detect whether a certain noise was made (e.g. a clapping sound or a whistle) or a certain word