I will expect the method stop
will stop the microphone from capturing input in p5js, as the documentation states:
Turn the AudioIn off. If the AudioIn is stopped, it cannot getLevel().
But that is not happening, even after calling stop the microphone is still working and capturing audio.