Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support wav base64 for transcribe & add transcribeData for no head data #267

Merged
merged 6 commits into from
Nov 9, 2024

Conversation

jhen0409
Copy link
Member

@jhen0409 jhen0409 commented Nov 6, 2024

  • Update transcribe(filePathOrBase64, options): Support wav file base64 encoded data (need prefix data:audio/wav;base64,), related to Provide wav data directly? #241
  • New method transcribeData(data, options): Use PCM Int16 base64 encoded data to transcribe

This also related to #52, but currently only send base64 data. I will make the JSI method later, hopefully without any API breaking changes.

TODO:

  • ios
  • android
  • examples

@jhen0409 jhen0409 changed the title feat(ios): support wav base64 for transcribe & add transcribeData for no head data feat: support wav base64 for transcribe & add transcribeData for no head data Nov 6, 2024
@jhen0409 jhen0409 marked this pull request as ready for review November 9, 2024 03:27
@jhen0409 jhen0409 merged commit 06ecd04 into main Nov 9, 2024
4 checks passed
@jhen0409 jhen0409 deleted the transcribe-data-method branch November 9, 2024 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant