In this project we can see the connection between different libraries, one of them, and the one that I will highlight in this case is the use of the microphone, which in this case will serve us when we speak that the face articulates in a complementary way with our voice , and also the eyes. It is very easy to use this library, we just have to create a variable called mic, then inside the function setup we have to call it, in this way mic = new p5.AudioIn () ;, and setting this to activate mic .start (); Then we create a variable h, for example, to create a map "var h = map (vol, 0, 1, 100, 0);", and doing this, that when placing the h in an arc for example, within the width, articulate in function of our voice.
See the Pen Face with microphone by Fran (@Tete550) on CodePen.