because using JavaScript to call iFLYTEK speech recognition Web API, iFLYTEK (and others) only supports audio with a 16K sampling rate of (sampleRate). However, HTML5"s Web Audio has not found a way to convert the sampling rate.
searched several other people"s methods on the Internet, and all of them had problems such as unable to play after audio conversion.
is there any convenient way for JavaScript to convert the sampling rate?