Skip to content

Audio stuttering when using ASIO device #2181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wellcoming opened this issue Jul 6, 2024 · 1 comment
Open

Audio stuttering when using ASIO device #2181

wellcoming opened this issue Jul 6, 2024 · 1 comment

Comments

@wellcoming
Copy link
Contributor

Description

When setting the device type to ASIO in gui_v1.py, both input and output audio channels experience stuttering and the sound is not continuous. It appears that the GUI.audio_callback function is blocking the process, leading to this issue. Additionally, altering the audio stream's blocksize changes the frequency of the stuttering.

Expected Behavior

The audio input and output should be smooth and continuous without any interruptions or stuttering when using an ASIO device type.

Possible Solution

Consider implementing a non-blocking or asynchronous approach to handle audio data processing within GUI.audio_callback.

Additional Information

  • Operating System: Windows 11 23H2
  • ASIO Device: MiniFuse 1
wellcoming added a commit to wellcoming/Retrieval-based-Voice-Conversion-WebUI that referenced this issue Jul 7, 2024
@haofanurusai
Copy link

Succeeded with multiprocessing and no noticeable impact on latency: #2591

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 a pull request may close this issue.

2 participants