vocode-python icon indicating copy to clipboard operation
vocode-python copied to clipboard

Lmnt synthesizer

Open parshvadaftari opened this issue 1 year ago • 1 comments

Description

LMNT TTS synthesizer into Vocode platform for the streaming and not turned-based.

  • This commit finalizes the integration of the LMNT TTS synthesizer, enabling TTS capabilities for streaming conversations on the Vocode platform.
  • Added LMNTSynthesizer class to handle speech synthesis using LMNT API in lmnt_synthesizer.py.
  • Implemented create_speech_uncached and get_chunks methods for handling TTS requests and streaming audio.
  • Updated LMNTSynthesizerConfig in lmnt_synthesizer_config.py to include necessary configurations such as api_key and voice_id.
  • Modified streaming_conversation.py to utilize LMNT synthesizer for streaming conversations.
  • Added default settings for openai_api_key, deepgram_api_key, and lmnt_api_key in Settings class.

Fixes #497 (Issue)

Type of hange

  • [x] New feature - LMNT

How Has This Been Tested?

  • [x] Unit tests

Maintainer Checklist

  • [x] closes #497 Issue
  • [x] Made sure Checks passed

Twiter Handle - Parshva - https://x.com/parshva_daftari

parshvadaftari avatar Aug 06 '24 22:08 parshvadaftari

@arpagon @ajar98 Can you please review this PR??

parshvadaftari avatar Sep 01 '24 13:09 parshvadaftari

This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 01 '24 02:11 github-actions[bot]

This PR has been automatically closed due to inactivity. Thank you for your contributions.

github-actions[bot] avatar Nov 09 '24 01:11 github-actions[bot]