Choppy audio
# support
m
I'm using 11 labs and gpt 4o mini. The voice is sounding really choppy or glitchy. Any idea on a fix?
v
@Matt I'm sorry to hear that you're experiencing issues with the voice quality. To address the choppiness or glitchy sound, you might want to adjust the
inputMinCharacters
parameter to ensure that a sufficient amount of text is being sent to the voice provider for processing. Increasing this value can sometimes help with the smoothness of the voice output. Would you like to try adjusting the
inputMinCharacters
to see if it improves the voice quality? If so, could you tell me what value you'd like to set it to, or if you'd like a recommendation?
You can continue this conversation by mentioning me in the message.
m
how do i adjust the inputmincharacters?
@Vapi how do i adjust the inputmincharacters?
v
@Matt To adjust the
inputMinCharacters
parameter, you would typically need to access the settings or configuration file where this parameter is defined for your voice application. This could be within the code of your application or a configuration interface provided by the voice API or service you are using. If you have access to the code, you would look for the section where
inputMinCharacters
is set and change the value to the desired number. If it's through a configuration interface, you would navigate to the relevant settings page and update the parameter there. If you're not sure where to find this setting or how to change it, please provide me with more details about how you are interfacing with the voice API, and I can give you more specific instructions.
m
can i use the vapi dashboard?
v
@Matt Absolutely, you can use the VAPI dashboard to manage your voice API settings. To adjust parameters like
inputMinCharacters
, you would typically follow these steps: 1. Visit the VAPI dashboard by going to [dashboard.vapi.ai](https://dashboard.vapi.ai). 2. Log in to your VAPI account. If you haven’t already signed up, you'll need to create an account. 3. Once logged in, navigate to the settings or configuration section of your voice application. 4. Look for the
inputMinCharacters
parameter or a similar setting related to voice input. 5. Adjust the value as needed to try and resolve the choppiness or glitchy sound. 6. Save your changes and test the voice output to see if the issue is resolved. If you need any assistance while using the dashboard or can't find the setting, please let me know, and I'll be happy to help further!
m
is there a recommended setting?
v
@Matt The recommended setting for
inputMinCharacters
can vary depending on the specific requirements of your application and the capabilities of the voice synthesis technology you are using. However, a general guideline is to ensure that the text input is not too short, as very brief inputs can sometimes lead to choppy audio. A good starting point might be to set
inputMinCharacters
to a value that ensures phrases or sentences are reasonably complete, such as 20 to 30 characters. This can help the voice synthesis to provide a more natural and fluid output. If you're still experiencing issues after adjusting this setting, it might be worth experimenting with different values or consulting the documentation of the voice API you are using for any recommendations they might have. Would you like to try setting it to 20 or 30 characters to start with and see if that improves the voice quality?
s
Hey @Matt To help track down this issue, could you share: - The call ID - When exactly this happened (the timestamp) - What response you expected to get - What response you actually got instead This would really help me figure out what went wrong!
3 Views