#Hi, on Coversational AI, on audio recording the AI voice overlaps with User voice even if both are

1 messages · Page 1 of 1 (latest)

kindred ruinBOT
#
AI-generated Answer for mikepogues

It seems like the issue you're describing could be related to how the audio playback and recording are being handled. While the AI and user voices may not overlap in real-time, there might be residual audio artifacts or timing mismatches causing the overlap effect.

To help investigate this further, you could try the following steps:

  1. Check Your Setup: Ensure that your microphone and speakers are not causing feedback. Using headphones can help isolate the audio and prevent the AI voice from being picked up by your microphone.

  2. Test on Different Devices: If possible, test the feature on another device or browser to rule out device-specific issues.

  3. Provide Conversation IDs: If the issue persists, sharing recent Conversation IDs with the support team can help them analyze the problem more effectively.

If the problem continues, I recommend reaching out to the support team with detailed examples, including Conversation IDs and any relevant recordings. This will allow them to investigate and address the issue more thoroughly.

stuck kite
#

thanks, here is the conversation id QGibrvytxoz0C0iMW9Ae

kindred ruinBOT
#
AI-generated Answer for mikepogues

I don’t have access to specific conversation IDs or the ability to look into individual cases. For issues like this, I recommend reaching out to our support team directly. You can submit a ticket through the Help Center or use the ticket form to provide details about the problem. Be sure to include the conversation ID and a clear description of the issue for faster assistance.

stuck kite
#

it is an implementation with Twilio and websockets

kindred ruinBOT
#
AI-generated Answer for mikepogues

The issue you’re describing may be related to improper cleanup of WebSocket resources between calls, which can lead to instability in subsequent connections. To address this, you can try the following adjustments:

  1. Modify the TwilioAudioInterface Class: Ensure that cleanup logic is implemented to reset the state of various attributes before initiating a new session. This includes clearing the output queue properly.

  2. Update the WebSocket Handler: Enhance connection management to reliably create a new conversation session after the previous one ends. Include proper error handling and session cleanup in case of exceptions.

  3. Add Connection Health Checks: Implement a mechanism to detect WebSocket connection health to ensure stability during interactions.

Additionally, enabling debug logging can help monitor the system and identify any issues. Verifying the correct audio format and ensuring proper network configurations may also improve functionality.

These steps should help resolve overlapping audio issues. If the problem persists, you may need to review your implementation further or reach out to the support team for more assistance.

stuck kite
#

a clean new socket is created for each call