Comment: There is a voice recognition tag in HTML5. You can use it to implement voice input. I feel it is pretty good. There is an example and screenshot below. Friends who like it can refer to it.
<input type="text" x-webkit-speech x-webkit-grammar="builtin:translate" />