UltraStar-Deluxe / USDX

The free and open source karaoke singing game UltraStar Deluxe, inspired by Sony SingStar™
https://usdx.eu
GNU General Public License v2.0
812 stars 160 forks source link

[OSX] Microphone input sometimes not detected #28

Closed rhaamo closed 8 years ago

rhaamo commented 8 years ago

ERROR: Device "Built-in Microph" does not work [TAudioInput_Portaudio.EnumDevices]

I've got this problem sometimes and I found a workaround. There is probably a better way to do that.

In file src/media/UAudioCore_Portaudio.pas line 318, if I put 1 to 20 to 1 to 30 I don't have the detection problem anymore.

I'm not sure what the problem is exactly but a longer detection/wait seems to do the job.

basisbit commented 8 years ago

implemented the suggested bugfix with up to 400ms scanning time on os x

Firestarter2809 commented 7 years ago

Hi, I am new here and NOT a programmer. Could anybody please help me how I access that file to change the detection? We use Ultrastar every Year for my wife's B'day, but I have been struggling this year to get it started. Only 7 days left to fix it. I have the same problems on several mac's, Mac OS X's and config.ini's. My neighbor has same problem, PLEASE HELP :-)

src/media/UAudioCore_Portaudio.pas

basisbit commented 7 years ago

@Firestarter2809 this issue was already closed and is fixed in current code. For instructions on how to compile and run the game on OS X, see https://github.com/UltraStar-Deluxe/USDX#compiling-on-os-x

basisbit commented 7 years ago

there currently is no ready to use package of the game available, because none of the active developers know how to adapt the make script for these packages.

Firestarter2809 commented 7 years ago

Thank you for the very quick feedback. So that means there is no current version with these changes to download? Might have to install it on a PC :-)

bohning commented 7 years ago

I could upload an app or dmg file, if you want.

Firestarter2809 commented 7 years ago

Hi Markus,

a DMG would be awesome. Dropbox?

bohning commented 7 years ago

Try this: https://dl.dropboxusercontent.com/u/4021638/UltraStarDeluxe.dmg

basisbit commented 7 years ago

@bohning what git commit is that dmg based off? I might want to copy it and put the file on the ultrastardx website for download, if others report that is works for them.

bohning commented 7 years ago

Checked out a few minutes ago (am on my mobile now and can't look it up).

basisbit commented 7 years ago

perfect

bohning commented 7 years ago

@basisbit: https://github.com/UltraStar-Deluxe/USDX/commit/64293f7abbe823607100c2f47d35bd21b12b4f35

(now I am back home and was able to look it up)

Firestarter2809 commented 7 years ago

Hi Markus,

you are great - THANKS A LOT!!! I have it working with following great improvements vs. the old version:

(Singstar) Microphones working now and visible under „record“ Programm can be (re)-started without any workarounds switch between programs and desktop with „standard“ CMD+TAB

For further development in the future one more critical thing I noticed while singing:

displayed notes seem to be buggy and no result shown

Following minor bugs: black menu text can not be clicked => which shortcut works for them to be used? E. g. to find a song? at selection video preview is not always displayed

pastedgraphic-1