karaoke-dev / karaoke

Will be the best karaoke system.
http://blog.karaoke.dev
GNU General Public License v3.0
200 stars 16 forks source link

karaoke cannot detect microphone device on pulseaudio #1002

Open mokurin000 opened 2 years ago

mokurin000 commented 2 years ago

Platform: Arch Linux (not wine-osu)

osu 2021.1225.0 karaoke 2021.1226.0

andy840119 commented 2 years ago

pulseaudio? Is that mean cannot detect microphone device or pitch detecting not working?

andy840119 commented 2 years ago

And note that karaoke ruleset does not tested in Linux environment.

andy840119 commented 2 years ago

Maybe should declare the issue first.

先確認一下 在linux中沒辦法正確把麥克風聲音轉換成音階沒錯吧?

另外如果你會編譯專案的話 可以幫忙在arch測試一下這份repo嗎? karoake ruleset 中所有麥克風相關的部分都是靠這份專案完成 https://github.com/karaoke-dev/osu-framework-microphone

mokurin000 commented 2 years ago

Maybe should declare the issue first.

先確認一下 在linux中沒辦法正確把麥克風聲音轉換成音階沒錯吧?

另外如果你會編譯專案的話 可以幫忙在arch測試一下這份repo嗎? karoake ruleset 中所有麥克風相關的部分都是靠這份專案完成 https://github.com/karaoke-dev/osu-framework-microphone

这点不清楚…… 编译我可以看看 现在在跑nuget

andy840119 commented 2 years ago

感謝 🙏🏼 手邊沒有linux的環境

mokurin000 commented 2 years ago

感謝 🙏🏼 手邊沒有linux的環境

抱歉…… 结果报错很多 因为没接触过C#不会修 log: https://fars.ee/ADdFqBWepFudsSKrkvGZbcYR-Mom

我使用了mono-msbuild,切换到mono-msbuild后发现AUR的msbuild-stable被移除…… 也许你可以试试WSL2?win10以上的话

andy840119 commented 2 years ago

在編譯之前要先用 dotnet restore 另外編譯環境要是 .net5

andy840119 commented 2 years ago

現在的dotnet 已經不用小家子氣的用 mono 就能在 linux 上面原生運行了

mokurin000 commented 2 years ago

dotnet restore

我可能需要先安装一下dotnet 5.0...

mokurin000 commented 2 years ago

現在的dotnet 已經不用小家子氣的用 mono 就能在 linux 上面原生運行了

但是原生的MSBuild似乎被当作mono MSBuild被从AUR删除了...

andy840119 commented 2 years ago

這個我就不太確定了 mono很少在用 🤔

mokurin000 commented 2 years ago

這個我就不太確定了 mono很少在用 thinking

https://fars.ee/ACN9KM4s8TAZHU2LbemVKpQEcI2S 现在换dotnet build了

andy840119 commented 2 years ago

oops 要指定desktop的專案 因為你的電腦上沒有安裝ios和android的開發還境

dotnet build -c Debug -warnaserror build/Desktop.proj

. 另外我比較推薦使用rider 一勞永逸(#

mokurin000 commented 2 years ago

JB家的IDE啊…… 如果以后学C#我会看看的 成功生成了

这个issue是不是应该移动到-microphone?……

andy840119 commented 2 years ago

这个issue是不是应该移动到-microphone?……

如果這個錯誤可以在那個專案實現的話

另外如果C#不是拿來寫網頁或是跨平台app的話 私心覺得 rider 比 visual studio 強多了