Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help sound is crackle on same Machine like the MumbleServer #130

Open
do1kbl opened this issue Apr 19, 2023 · 1 comment
Open

Help sound is crackle on same Machine like the MumbleServer #130

do1kbl opened this issue Apr 19, 2023 · 1 comment

Comments

@do1kbl
Copy link

do1kbl commented Apr 19, 2023

Hello,
I used PyMumble3 on a Debian VServer machine.
The Mumble server its on the same machine like this PyMumble3.
I connect with 127.0.0.1 to my mumbleServer, but i have still audio drops. if i sende some Audio from Pymumble to the mumble Server and listen with my Coputer on official mumble client.
but normaly on the same machine TCP should be not a problem?
maybe someone has any ideas how I can try to solve it?

I understand everythig, but youu here a crackle and this make no fun to head longer time
with mumble client to mumble client not problem (maybe about its udp?)

thank
Kim

@do1kbl
Copy link
Author

do1kbl commented Apr 22, 2023

so ich try something but I find the problem but i have no Idea how to solve it.

i upscale the soundstream directly its in the audio variable. it is 8kHz but I need to upscale to 48kHz.

i make it with audioop.ratecv:

audio, newstate = audioop.ratecv(audio, 2, 1, 8000, 48000, None)
mumble.sound_output.add_sound(audio)

but the upscale make the problem of the sound

now my idea: its possible to used mumble only with 8kHz that i no need the upscale?
or you have a better idea auf I can do it?

I know that i can make no high quallity sound from 8kHz

but I save the data into an wav file and i saw, that i have some signals after 4kHz if i make the upscaling with audacity, then i have after 4kHz nothing and if I stream this audacity wav to mumble its sounds good

audioop
audacity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant