Skip to content

Commit 2b37103

Browse files
committed
✨ Speech: Add granite 4.0 1B speech STT provider
1 parent 65b0e2b commit 2b37103

File tree

10 files changed

+432
-0
lines changed

10 files changed

+432
-0
lines changed

src/features/live/i18n/ar.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ export const ar: I18n = {
2323
Whisper: 'Whisper',
2424
'High quality, multilingual. ~500MB download.':
2525
'جودة عالية، متعدد اللغات. ~500 ميجابايت للتحميل.',
26+
'Granite Speech': 'Granite Speech',
27+
'Multilingual, keyword biasing. Requires WebGPU. ~600MB download.':
28+
'متعدد اللغات، تحيز الكلمات المفتاحية. يتطلب WebGPU. ~600 ميجابايت للتحميل.',
29+
'Granite Speech requires WebGPU': 'Granite Speech يتطلب WebGPU',
2630
'Bidirectional audio with Gemini. Requires API key.':
2731
'صوت ثنائي الاتجاه مع Gemini. يتطلب مفتاح API.',
2832
// TTS Providers

src/features/live/i18n/de.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ export const de: I18n = {
2323
Whisper: 'Whisper',
2424
'High quality, multilingual. ~500MB download.':
2525
'Hohe Qualität, mehrsprachig. ~500 MB Download.',
26+
'Granite Speech': 'Granite Speech',
27+
'Multilingual, keyword biasing. Requires WebGPU. ~600MB download.':
28+
'Mehrsprachig, Schlüsselwort-Bias. Erfordert WebGPU. ~600 MB Download.',
29+
'Granite Speech requires WebGPU': 'Granite Speech erfordert WebGPU',
2630
'Bidirectional audio with Gemini. Requires API key.':
2731
'Bidirektionales Audio mit Gemini. API-Schlüssel erforderlich.',
2832
// TTS Providers

src/features/live/i18n/en.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ export const en = [
1616
'Moonshine only supports English',
1717
'Whisper',
1818
'High quality, multilingual. ~500MB download.',
19+
'Granite Speech',
20+
'Multilingual, keyword biasing. Requires WebGPU. ~600MB download.',
21+
'Granite Speech requires WebGPU',
1922
'Bidirectional audio with Gemini. Requires API key.',
2023
// TTS Providers
2124
'Instant but robotic.',

src/features/live/i18n/es.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ export const es: I18n = {
2323
Whisper: 'Whisper',
2424
'High quality, multilingual. ~500MB download.':
2525
'Alta calidad, multilingüe. ~500 MB de descarga.',
26+
'Granite Speech': 'Granite Speech',
27+
'Multilingual, keyword biasing. Requires WebGPU. ~600MB download.':
28+
'Multilingüe, sesgo por palabras clave. Requiere WebGPU. ~600 MB de descarga.',
29+
'Granite Speech requires WebGPU': 'Granite Speech requiere WebGPU',
2630
'Bidirectional audio with Gemini. Requires API key.':
2731
'Audio bidireccional con Gemini. Requiere clave API.',
2832
// TTS Providers

src/features/live/i18n/fr.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ export const fr: I18n = {
2424
Whisper: 'Whisper',
2525
'High quality, multilingual. ~500MB download.':
2626
'Haute qualité, multilingue. ~500 Mo à télécharger.',
27+
'Granite Speech': 'Granite Speech',
28+
'Multilingual, keyword biasing. Requires WebGPU. ~600MB download.':
29+
'Multilingue, biais par mots-clés. Nécessite WebGPU. ~600 Mo à télécharger.',
30+
'Granite Speech requires WebGPU': 'Granite Speech nécessite WebGPU',
2731
'Bidirectional audio with Gemini. Requires API key.':
2832
'Audio bidirectionnel avec Gemini. Nécessite une clé API.',
2933
// TTS Providers

src/features/live/i18n/ko.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ export const ko: I18n = {
2323
Whisper: 'Whisper',
2424
'High quality, multilingual. ~500MB download.':
2525
'고품질, 다국어 지원. ~500MB 다운로드.',
26+
'Granite Speech': 'Granite Speech',
27+
'Multilingual, keyword biasing. Requires WebGPU. ~600MB download.':
28+
'다국어, 키워드 바이어싱. WebGPU 필요. ~600MB 다운로드.',
29+
'Granite Speech requires WebGPU': 'Granite Speech는 WebGPU가 필요합니다',
2630
'Bidirectional audio with Gemini. Requires API key.':
2731
'Gemini와 양방향 오디오. API 키 필요.',
2832
// TTS Providers

src/features/live/lib/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export {
1212
WebSpeechSTTProvider,
1313
MoonshineSTTProvider,
1414
WhisperSTTProvider,
15+
GraniteSTTProvider,
1516
createSTTProvider,
1617
getAvailableSTTProviders,
1718
} from './stt'

0 commit comments

Comments
 (0)