Sharrnah / whispering-ui

Native UI for the Whispering Tiger project - https://github.com/Sharrnah/whispering (live transcription / translation)
https://whispering-tiger.github.io/
MIT License
187 stars 11 forks source link

Initial platform download failed #23

Open ajnasaboobacker opened 1 week ago

ajnasaboobacker commented 1 week ago

image

The initial platform download is not working for me.

From the log i can see the below:

Error: Could not start audioWhisper

Sharrnah commented 1 week ago

Do you use adguard?

Can you try disabling it temporarily?

My guess is that the Adguard certificate has some issue. You could also try to reinstall the certificate of adguard. grafik

ajnasaboobacker commented 1 week ago

It worked after connecting a VPN for downloading..

But now the issue is i am getting an error "MiniAudio: Permission denied"

Sharrnah commented 1 week ago

That sounds like an issue with getting the audio device. Do you get that error already when Audio Devices are set to "Default" ?

Possible reasons / solutions:

ajnasaboobacker commented 1 week ago

Yes, This is showing the same error when devices are set to "Default"

I validated the firewall and nothing seems to be blocking.

It is same for all the devices listed, same error.

image

ajnasaboobacker commented 1 week ago

attaching the log file here.

log.txt

Sharrnah commented 1 week ago

Have you tried switching to the MME Audio API? grafik

According to your Log you first get the error "Invalid sample rate" where MME is way less specific since in my testing provides already the correct sample_rate to the application. Whereas in WASAPI i have to resample myself.

(Still odd that it does not just resample but completely crashes, even after using the sample_rate that the audio device claims to use. 🤔 )

Could you also maybe provide a list of your audio devices? Maybe it is some form of naming conflict.

ajnasaboobacker commented 1 week ago

This is what i see when i select MME. image

List of audio devices:

image

Sharrnah commented 1 week ago

Thank you.

Except the MIDI devices i don't see anything out of the ordinary (compared to my list). I would not expect that MIDI devices are considered by the audio library though.

But the error when switching to MME is a bit different and might tell that it is not able to use the audio output device.

And sorry about trying these things as i am just guessing currently what might be the issue here.