See the Pen oqNGMG by santi (@santisdr01) on CodePen.
with that project we could make an interactive face that grows up with the help of microphone,the index is not working,but there's a part on the code that is used to put a level register of sound