pymumble
pymumble copied to clipboard
Help sound is crackle on same Machine like the MumbleServer
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
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