if you make the script
play frequency (microphone [frequency v] :: sensing) hz :: sound
play note (microphone [note v] :: sensing) for (something) beats
the sound is super high (like 1000 hz and midi note 100) unless the sound you are making is very loud. I am trying to make the whistle draw program, and it sounds horrible.