Add sample rate support for 22050, 44100, 48000 Hz for GradiumSTTService

This commit is contained in:
Mark Backman
2026-03-18 16:24:31 -04:00
parent c4be513044
commit a76f1f331c
2 changed files with 7 additions and 1 deletions

View File

@@ -1 +1 @@
- `GradiumSTTService` now takes both an `encoding` and `sample_rate` constructor argument which is assmebled in the class to form the `input_format`. PCM accepts `8000`, `16000`, and `24000` Hz sample rates.
- `GradiumSTTService` now takes both an `encoding` and `sample_rate` constructor argument which is assmebled in the class to form the `input_format`. PCM accepts `8000`, `16000`, `22050`, `24000`, `44100`, and `48000` Hz sample rates.