KaldiRecognizer doesn't decode quiet sounds
- 主要言語
- Jupyter Notebook
- スター
- 15.1k
- フォーク
- 1.8k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I have this audio file that I want to transcribe
[initial8691708938939979847.zip](https://github.com/alphacep/vosk-android-demo/files/4955124/initial8691708938939979847.zip)
VOSK transcribes the audio to just "oh." When I instantiated KaldiRecognizer, I set the sampling rate to the same sampling rate of the audio file, I'm not sure why it is not transcribing the sentence. Is it not loud enough? Google Cloud's speech-to-text transcribed the file properly, so I'm wondering why this issue happens on mobile.
I used Android's MediaRecorder to record the voice clip like this:
`
recorder = new MediaRecorder();
recorder.setAudioSource(MediaRecorder.AudioSource.VOICE_RECOGNITION); recorder.setOutputFormat(AudioFormat.ENCODING_PCM_16BIT);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC);
recorder.setAudioChannels(1);
recorder.setAudioEncodingBitRate(128000);
recorder.setAudioSamplingRate(48000);
`
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。