Read microphone level

Is there any way to read the instantaneous microphone level through a
terminal?