feat(android): add a speech model on genai-text-to-speech

Đang mở
#362 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, react-native, typescript
Lĩnh vực
ai, mobile-dev

Hướng nghiên cứu

Inspect the SpeechSynthesizer class in the genai-text-to-speech package and the SpeechModelV4 interface in the AI SDK. First read the existing synthesize flow and how voices are listed via getSupportedVoices. Done means the byte output format is documented or encoded via ML Kit and exposed as a speech model on Android.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Blocked enhancement

genai-text-to-speech 1.0.0-alpha1 has SpeechSynthesizer.synthesize, which emits AudioAvailable(byte[]) chunks, plus voices (getSupportedVoices), status and download. It could back an AI SDK SpeechModelV4.

Left out of the first version because the audio format of the bytes is not documented, and the provider doesn't add its own headers or encoding. Needs: the documented output format (or an encoded output option from ML Kit), and a device that has the voices.

Ngôn ngữ chính
TypeScript
Star
1.4k
Fork
64
Merge trung bình
11 giờ 24 phút
Pull request đã merge (30 ngày)
91

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của callstackincubator/ai

Tất cả issue của callstackincubator/ai

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.