Skip to content

Conversation

BX80646G3258
Copy link
Contributor

@BX80646G3258 BX80646G3258 commented Jan 20, 2023

Issue

Sometimes when using uLipSyncMicrophone the Microphone and AudioSource become out of sync.
One way to reproduce this problem is to pause the editor while the scene is running.
This results in a delay between spoken words and detection.
Similar problems can occur when the microphone is momentarily disconnected due to a bad cable or buggy drivers.

Changes

  • Set AudioSource playback position to Microphone playback position when they become out of sync
  • Restart Microphone if it stops recording while isRecording is true

Thank you hecomi for this amazing library!
I like it very much.

@hecomi
Copy link
Owner

hecomi commented Jan 29, 2023

Thank you for the excellent PR. I am currently updating another feature and will merge this PR as soon as that is finished.

@hecomi hecomi self-assigned this Jan 29, 2023
@hecomi hecomi merged commit ab1cd1d into hecomi:main Feb 4, 2023
@TigerHix
Copy link

Almost a year later but thank you for this PR! Noticed the exact issue and I'm grateful someone worked on it. 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants