Skip to content

Real Time Voice Chat With ChatDKU using Web Speech API #242

@hafikhan11

Description

@hafikhan11

Currently, we don't have real time voice chatting with chatdku. We only have dictation which means the user speaks something and its converted to text written on the screen. This is what the frontend ui would look like:

Image Image

As long as you are within the voice chat, web speech api would result in the ai speaking out the answer to you. The answer will also be written in case the user needs to read the text. Clicking on exit voice chat means it would stop speaking.

2026-03-28.17-00-17.mp4

What I plan to implement and enhance:

  • how to handle interruptions without having to click on exit voice chat (real time voice chat). With my current code, it just takes the input and reads out the answer to you.
  • Natural conversation. (eleven labs might be a better option but its paid)

Any suggestions would be much appreciated.

Metadata

Metadata

Assignees

Labels

feature-addA new feature or functionality. Not bug.frontend

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions