Jump to content


Photo

[Problem, or bug?] Detect USB microphone when reconnecting

usb microphone

  • Please log in to reply
1 reply to this topic

#1 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1045 posts
  • Gender:Male
  • Location:Spain

Posted 06 September 2017 - 14:42

R3.1 x64, Windows 10, a USB microphone (device in), and a Sound Blaster ZxR PCIe (device out)

 

I have a problem a little silly, but annoying enough to write this topic. For some reason, Renoise does not correctly detect if a USB microphone (in my case "Trust Emita") is connected or disconnected and causes some conflict with the output device.

 

Steps to detect the problem:

  1. Connect the USB microphone to a USB 2.0/3.0 port on the motherboard
  2. Turn the microphone on by "predetermined" in the Windows 10 recording device control panel (if you have more microphones connected).
  3. Run Renoise
  4. Preferences/Audio In device: select the Microphone (in my case, "Microphone Trust Emita").  In Audio Out is selected the Primary Sound Device (Sound Blaster ZxR PCIe)
  5. Okay, now I can use the Sample Recording window to record sounds. By the way, it works great!!! The microphone records great, and the audio plays through the sound card, all good.
  6. I try to change the input and output devices. Everything works well.
  7. Now, I disconnect the USB connector of microphone from the motherboard. I wait 5 seconds and I reconnect it on the same port (or a different one, the same thing happens).
  8. Change the output device...
  9. What happens:
usb-microphone-fail-to-reconnect.png
 
A warning window appears, warning that the Out device fail or is disabled (the sound card). And it is not possible to select it again if Renoise does not restart. What? what is happening here? The sound card continues to function and generates sound with other programs, for example a audio player.
 
For some reason, reconnecting a USB microphone causes Renoise to detect that the output sound card is turned off, when it is not. The sound card has nothing to do with the microphone, it is another device, which works at all times.
 
It's like I do not update the correct state. What is expected is that if I reconnect the microphone, Renoise will detect it again without disabling the sound card, being possible to change the input and output devices again. This causes that it is very dangerous to disconnect the USB microphone, since it will be necessary to restart Renoise and it is very annoying.
 
Renoise behaves strangely with this subject, and should not work like that. Can this be an important bug?
 
Does anyone else have a USB microphone and an internal sound card to test this problem?
 
Thanks!
 
Note: The interesting thing about this warning window is that it can be funny ^_^. If you only have one output device, and Renoise is not able to use it, touch Reboot Renoise.

:excl: Development of my tool: GT16-Colors

 

:excl: My API wishlist R3.1 (updated 24 July 2017):

Spoiler

 

:excl: My Renoise 3.1 wishlist (updated 26 September 2017):

Spoiler

#2 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1045 posts
  • Gender:Male
  • Location:Spain

Posted 06 September 2017 - 14:56

The error of log.txt file:

Error Message: Failed to initialize the audio device 'Primary Sound Device'. Audio is disabled. Please try to choose a different device or samplerate.

DirectSound: Initializing...
DirectSound: DirectSoundCreate failed with the error:-2005401480
DirectSound: CreateObjects ... FAILED

error:-2005401480 ???


:excl: Development of my tool: GT16-Colors

 

:excl: My API wishlist R3.1 (updated 24 July 2017):

Spoiler

 

:excl: My Renoise 3.1 wishlist (updated 26 September 2017):

Spoiler