Jump to content


Photo

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

usb microphone

  • Please log in to reply
5 replies to this topic

#1 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1208 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.

  • EatMe likes this

: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
  • 1208 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 ???


  • EatMe likes this

: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

#3 EatMe

EatMe

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 918 posts
  • Gender:Not Telling

Posted 22 December 2017 - 18:05

I have tested Renoise 3.1.1 with a USB Microphone.

 

I came to similar conclusions.

 

- The USB Microphone is not detected when hotplugged when Renoise is running.

- The USB Microphone is not removed from the device list when unplugged when Renoise is running 

 

This causes addressing problems to (nonexisting) devices, and the error posted above was a result of that.

 

Below is an image of the Renoise in devices AFTER THE USB MIC WAS UNPLUGGED

 

bug_USB_Microphone_devices_not_updated_microphone_is_disconnected.jpg

 

Clearly a bug on USB microphone device detection. Maybe it's only implemented that MIDI devices can be hotplugged so far.

 



#4 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

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

Posted 22 December 2017 - 18:20

I have tested Renoise 3.1.1 with a USB Microphone.

 

I came to similar conclusions.

 

- The USB Microphone is not detected when hotplugged when Renoise is running.

- The USB Microphone is not removed from the device list when unplugged when Renoise is running 

 

This causes addressing problems to (nonexisting) devices, and the error posted above was a result of that.

 

Below is an image of the Renoise in devices AFTER THE USB MIC WAS UNPLUGGED

 

attachicon.gifbug_USB_Microphone_devices_not_updated_microphone_is_disconnected.jpg

 

Clearly a bug on USB microphone device detection. Maybe it's only implemented that MIDI devices can be hotplugged so far.

 

Thanks EatME for the confirmation! Definitely Renoise 3.1 (v3.1.0, v3.1.1) has problems here with USB devices. Something similar may happen with external USB sound cards?? It looks like a serious bug. I'm afraid that users can not do anything until they fix it for the next version. I hope this problem has some solution, or at least someone communicate something.

 
I am using my USB microphone uncomfortably (which, by the way, records great). This topic pisses me off a lot...

  • EatMe likes this

: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

#5 EatMe

EatMe

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 918 posts
  • Gender:Not Telling

Posted 22 December 2017 - 18:36

Something that Really Needs Implementation. USB sound device / microphone hotplug and removal detection.

 


what have we got here?

 

danoise never said that, but now maybe he will get attention to this post.



#6 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

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

Posted 28 December 2017 - 16:01

Something that Really Needs Implementation. USB sound device / microphone hotplug and removal detection.

 

 

 

danoise never said that, but now maybe he will get attention to this post.

 

I am sure that those responsible will have taken note, even without answering here. I guess they'll review it as soon as they can solved it.


: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