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

Multiple People #13

Open
IsaacJuracich opened this issue Sep 9, 2024 · 1 comment
Open

Multiple People #13

IsaacJuracich opened this issue Sep 9, 2024 · 1 comment

Comments

@IsaacJuracich
Copy link

The library doesn't seem to pick up audio for more than one person, works perfectly when one person is speaking but once multiple people are speaking it doesn't seem to work.

@jamsch
Copy link
Owner

jamsch commented Sep 9, 2024

Hi @IsaacJuracich,

Unfortunately neither the Android SpeechRecognizer and iOS SFSpeechRecognizer have the capability for speaker diarization so you'll need to use a different API.

In the future, if Android or iOS do implement those capabilities in, I indend to add the speaker ID to the result segments API:

{
  transcript: "...",
  segments: Array<{
     speaker: number;
     startTimeMillis: number;
     endTimeMillis: number;
     segment: string;
     confidence: number;
  }>
}

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

No branches or pull requests

2 participants