Until recently, I had an issue where the "switch master" function in JACK (to change the hardware setup, such as sample rate or device) would lose the connection to Pulseaudio bridge. I had to stop and restart the bridge (not pulse itself, just the bridge) to get the JACK connections reestablished.
Then, recently some update (btw, I'm using KXStudio on KDE Neon) fixed this. Switch master retained the pulse connections.
But now, when I switched sample rate from 44.1kHz to 48kHz (or reverse), the audio hardware switched while pulseaudio stayed the same. Thus, Mumble or Jitsi using pulseaudio were getting strange pitch shifts with the different input sample rate being played back at the other rate. So, with hardware at 44.1 and pulse at 48, I heard lower-pitched output sounds from pulse sources while other people heard higher-pitched sound from my input.
I can get them matched by stopping and starting the pulse bridge when changing the sample rate.
Any idea where in this I should report the issue? Is it in JACK itself?
mismatch between JACK and Pulse sample rate
Moderators: MattKingUSA, khz
- Mr. Lumbergh
- Established Member
- Posts: 34
- Joined: Thu Feb 20, 2020 10:44 pm
Re: mismatch between JACK and Pulse sample rate
Either switch JACK to match the hardware sample rate or the hardware to match JACK's. If you have more than one sound device you can also dedicate JACK to the one you use for production work and leave the other for games, Youtube, etc. and avoid the interference.wolftune wrote: ↑Sat Jul 11, 2020 6:40 am Until recently, I had an issue where the "switch master" function in JACK (to change the hardware setup, such as sample rate or device) would lose the connection to Pulseaudio bridge. I had to stop and restart the bridge (not pulse itself, just the bridge) to get the JACK connections reestablished.
Then, recently some update (btw, I'm using KXStudio on KDE Neon) fixed this. Switch master retained the pulse connections.
But now, when I switched sample rate from 44.1kHz to 48kHz (or reverse), the audio hardware switched while pulseaudio stayed the same. Thus, Mumble or Jitsi using pulseaudio were getting strange pitch shifts with the different input sample rate being played back at the other rate. So, with hardware at 44.1 and pulse at 48, I heard lower-pitched output sounds from pulse sources while other people heard higher-pitched sound from my input.
I can get them matched by stopping and starting the pulse bridge when changing the sample rate.
Any idea where in this I should report the issue? Is it in JACK itself?
I'm going to need you to go ahead, and come in on Sunday, too.
-
- Established Member
- Posts: 1350
- Joined: Fri Feb 24, 2012 7:40 pm
- Location: Portland, OR
- Been thanked: 2 times
- Contact:
Re: mismatch between JACK and Pulse sample rate
Well, in this case, I switched the hardware *via* JACK's "switch master" function. So, there was no mismatch between JACK and the hardware. The mismatch was only that *pulse* was still operating at the previous sample rate.Either switch JACK to match the hardware sample rate or the hardware to match JACK's. If you have more than one sound device you can also dedicate JACK to the one you use for production work and leave the other for games, Youtube, etc. and avoid the interference.
It used to be that "switch master" lost the pulse connection, so I had to stop and start pulse manually, which led to a matched sample rate. Now, the pulse connection stays.
So, I need to manually stop-start pulse whenever I switch the sample rate in a "switch master" process. It seems *ideal* for JACK to somehow notice that *specifically* in the case of a sample-rate change, that pulse should be restarted.