How to use 2 USB microphones simultaneously for UltraStar Deluxe

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
F3Spirit

How to use 2 USB microphones simultaneously for UltraStar Deluxe

Post by F3Spirit »

Hi,
I already posted this in the German-section but may have a problem that is to complex, and the bigger English-speaking community is required to get this fixed.
I of course will translate the help I get here over to the German section as well and vice versa.
The Link to the German Post is:
viewtopic.php?f=64&t=284708

I use Linux Mint Cinnamon 19:
Linux LinuxMint 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

And try to get UltraStar Deluxe going with the GitHub Version:
V 2017.8.0 dev Build

I bought two USB-microphones from Amazon, Model is:
Lioncast Artikel-nr. 10679
In PulseAudio the mics show up as:
Logitech USB Microphone Analog Mono

I have a tree parted problem I can't get fixed.
1) I only can get one mic active. Everytime I click the other mic the first one gets switched inactive.

2) Also in UltraStar Deluxe only one of the two plugged In mic's is selectable. Maybe this gets fixed when 1) is solved.

3) On both mics I notice a "crack" sound around every second when sound gets in. For example when I sing around every second I hear a "cracks, cracks, cracks, ..." Also, I get a "cracks" every time I change the volume on my 2.1 speakers after a computer restart. Maybe this is related.

For testing stuff I have:
- My Linux Mint Workstation I try to get this to run on
- a Acer Aspire 5 with Windows 10
- a old MacBook Pro from 2006
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: How to use 2 USB microphones simultaneously for UltraStar Deluxe

Post by MrEen »

Hi F3Spirit.

For the multiple mics, see if the answer on this page works for you.

The cracks issue might need the following:
In the terminal type xed admin:///ect/pulse/default.pa. When the file opens, find the line that says load-module module-udev-detect and change it to load-module module-udev-detect tsched=0 then save the file. Now in the terminal type pulseaudio -k to reload pulseaudio then test the mics to see if the cracks have stopped.

Hope that helps.
F3Spirit

Re: How to use 2 USB microphones simultaneously for UltraStar Deluxe

Post by F3Spirit »

Hi,
thank you for your help!

I upgraded to Mint 19.1 yesterday and it seems that only the "cracks"-problem exists now.
Both microphones are not grayed out at the same time in PulseAudio, and work in UltraStar Deluxe as needed now. :D

I already tried your solution for the cracks too, but when I paste:

Code: Select all

xed admin:///ect/pulse/default.pa
in the Terminal, I get back:
Could not find the file admin:///ect/pulse/default.pa.
Please check that you typed the location correctly and try again.


Also this showed up in the terminal:

Code: Select all

** (xed:2772): WARNING **: 11:14:14.117: The specified location is not mounted

(xed:2772): Gdk-CRITICAL **: 11:14:14.119: gdk_window_get_window_type: assertion 'GDK_IS_WINDOW (window)' failed

(xed:2772): Gtk-CRITICAL **: 11:18:30.903: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(xed:2772): Gtk-CRITICAL **: 11:18:30.903: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(xed:2772): Gtk-CRITICAL **: 11:18:30.903: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(xed:2772): Gtk-CRITICAL **: 11:18:30.903: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(xed:2772): Gtk-CRITICAL **: 11:18:30.905: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(xed:2772): Gtk-CRITICAL **: 11:18:30.905: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
I have my /home directory on a HDD and my bootloader /boot/efi and my OS / on an SSD, could this cause problemes? It looks like the /home partition and drive are mounted fine in Nemo, I for example can open pictures and documents normally.

Or do I something wrong because I am not that familiar with the Terminal. My understanding of the Terminal is basic at this point.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: How to use 2 USB microphones simultaneously for UltraStar Deluxe

Post by MrEen »

Sorry, spelling mistake on my end:

Code: Select all

xed admin:///etc/pulse/default.pa
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: How to use 2 USB microphones simultaneously for UltraStar Deluxe

Post by Hoser Rob »

According to this ...

https://launchpad.net/~tobydox/+archive ... /+packages

... there hasn't been a successful build for Ubuntu for years.

Since backwards compaitibility is almost non existent in Linux in general, I wouldn't touch that wth a 10 foot pole. I'd look for alternatives that are actually currently supported.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
F3Spirit

Re: How to use 2 USB microphones simultaneously for UltraStar Deluxe

Post by F3Spirit »

MrEen wrote: Wed Jan 02, 2019 8:08 am Sorry, spelling mistake on my end:

Code: Select all

xed admin:///etc/pulse/default.pa
Thanks again,
I was able to open the file and edit

Code: Select all

load-module module-udev-detect
to

Code: Select all

load-module module-udev-detect tsched=0
Also, I saved and rebooted the system, to be sure.


Sadly the "cracks" are still hearable.

I put the content of the file here, maybe I miss something:

Code: Select all

#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Use hot-plugged devices like Bluetooth or USB automatically (LP: #1702794)
.ifexists module-switch-on-connect.so
load-module module-switch-on-connect
.endif

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
### load-module module-udev-detect
.ifexists module-udev-detect.so
load-module module-udev-detect tsched=0
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

### Make some devices default
#set-default-sink output
#set-default-source input
F3Spirit

Re: How to use 2 USB microphones simultaneously for UltraStar Deluxe

Post by F3Spirit »

Hoser Rob wrote: Wed Jan 02, 2019 10:03 am According to this ...

https://launchpad.net/~tobydox/+archive ... /+packages

... there hasn't been a successful build for Ubuntu for years.

Since backwards compaitibility is almost non existent in Linux in general, I wouldn't touch that wth a 10 foot pole. I'd look for alternatives that are actually currently supported.

I didn't found other SingStar-like games except this one for Mint. One of the options I need is the possibility to add own songs, and create the karaoke-files. Do you know alternatives?

The "cracks" are not hearable in Sound Recorder (v 3.28.1), so it is very possible to be only UltraStar Deluxe related.
Is it possible to alter a file in UltraStar Deluxe to get it going for Mint 19.1 ?
F3Spirit

Re: How to use 2 USB microphones simultaneously for UltraStar Deluxe

Post by F3Spirit »

Update

I now opened an Issue on the GitHub Project of UltraStarDeluxe, because it looks to me at this point that the fix needs to occur in USDX not in LinuxMint.
I will update if we found a fix.

The Link to the Issue is:
https://github.com/UltraStar-Deluxe/USDX/issues/429
F3Spirit

Re: How to use 2 USB microphones simultaneously for UltraStar Deluxe

Post by F3Spirit »

I now send the mics back.
I read more of the product reviews today and a lot of people had issues in one way or the other. I think the quality of the mics is very poor, and I'm not skilled enough to figure out if it is possible to somehow get them to work or not. I now ordered the SingStar-mics and see how they work.

So I can't put SOLVED in the Title, but I don't need any further help on this,
thank you guys for taking the time.
Locked

Return to “Sound”