Skip to content
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

This weird error code? #1382

Open
1 task done
ItzFoxlyn opened this issue Jan 15, 2025 · 2 comments
Open
1 task done

This weird error code? #1382

ItzFoxlyn opened this issue Jan 15, 2025 · 2 comments

Comments

@ItzFoxlyn
Copy link

Acknowledgement

  • I have read Getting-Started and FAQ

🐛 Describe the bug

Hello! I got an error message while trying to play a project and it said this:
Failed to render
BadDeviceId calling waveOutOpen

NAudio.MmException: BadDeviceId calling waveOutOpen
at NAudio.MmException.Try(MmResult result, String function)
at NAudio.Wave.WaveOutEvent.Init(IWaveProvider waveProvider)
at NAudio.Wave.WaveExtensionMethods.Init(IWavePlayer wavePlayer, ISampleProvider sampleProvider, Boolean convertTo16Bit)
at OpenUtau.Audio.NAudioOutput.Init(ISampleProvider sampleProvider) in C:\projects\openutau\OpenUtau.Core\Audio\NAudioOutput.cs:line 52
at OpenUtau.Core.PlaybackManager.StartPlayback(Double startMs, MasterAdapter masterAdapter) in C:\projects\openutau\OpenUtau.Core\PlaybackManager.cs:line 118
at OpenUtau.Core.PlaybackManager.<>c__DisplayClass24_0.b__0() in C:\projects\openutau\OpenUtau.Core\PlaybackManager.cs:line 131

0.1.529.0

Explains how to reproduce the bug

i used the ustx file "espresso untuned" and i clicked the play button using the hatsune miku utau voicebank and thats when the error appeared``

OS & Version

windows 11

Logs

Failed to render
BadDeviceId calling waveOutOpen

NAudio.MmException: BadDeviceId calling waveOutOpen
at NAudio.MmException.Try(MmResult result, String function)
at NAudio.Wave.WaveOutEvent.Init(IWaveProvider waveProvider)
at NAudio.Wave.WaveExtensionMethods.Init(IWavePlayer wavePlayer, ISampleProvider sampleProvider, Boolean convertTo16Bit)
at OpenUtau.Audio.NAudioOutput.Init(ISampleProvider sampleProvider) in C:\projects\openutau\OpenUtau.Core\Audio\NAudioOutput.cs:line 52
at OpenUtau.Core.PlaybackManager.StartPlayback(Double startMs, MasterAdapter masterAdapter) in C:\projects\openutau\OpenUtau.Core\PlaybackManager.cs:line 118
at OpenUtau.Core.PlaybackManager.<>c__DisplayClass24_0.b__0() in C:\projects\openutau\OpenUtau.Core\PlaybackManager.cs:line 131

0.1.529.0

@oxygen-dioxide
Copy link
Contributor

This is a known bug, but we haven't figured out how to fix it yet.
You can try plugging your headphone in. (one user got his OpenUtau to work in this way)

@aprashkin
Copy link

Sup! Faced the same problem. I connected the headphones to the computer and it started working.
Before this, no audio output was connected to the computer. Perhaps the problem is with the audio output device driver?

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

No branches or pull requests

3 participants