Exception in thread "main" java.lang.IllegalArgumentException: Unsupported conversion: PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian from PCM_SIGNED 22050.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian
at javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:955)
final AudioInputStream pcmAIS = AudioSystem.getAudioInputStream(pcmFormat, mp3AIS);
这行代码出问题了
JAVA将MP3转为WAV想搞个百度语音识别玩玩,但人家要固定格式的音频(关于百度语音识别的请查看官方文档——百度语音识别SDK),于是就上网找呀找呀,结果转出来的要不就是听不了损坏了,要不就是不能给...