You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I noticed that betweem client.js or conversation.js the defaultFrequency at which we calculate how much audio to truncate is always 24kHz regardless of the audio format.
Shouldn't this be updated if the input/output frequency changes? For example if audio format is changed to MULAW for phone calls, the defaultFrequency should change to 8KHz.
Let me know if I'm wrong here, if not, I'm happy to open a PR
The text was updated successfully, but these errors were encountered:
ovistoica
changed the title
Using defaultFrequency = 24kHz on different formats than pcm16
Client uses defaultFrequency = 24kHz on different formats than pcm16Nov 12, 2024
Hello, I noticed that betweem
client.js
orconversation.js
the defaultFrequency at which we calculate how much audio to truncate is always 24kHz regardless of the audio format.Shouldn't this be updated if the input/output frequency changes? For example if audio format is changed to MULAW for phone calls, the
defaultFrequency
should change to 8KHz.Let me know if I'm wrong here, if not, I'm happy to open a PR
The text was updated successfully, but these errors were encountered: