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

Crackling on playback - Mackie ProFX6v3 #182

Closed
emaxoda opened this issue Jul 2, 2022 · 5 comments
Closed

Crackling on playback - Mackie ProFX6v3 #182

emaxoda opened this issue Jul 2, 2022 · 5 comments

Comments

@emaxoda
Copy link

emaxoda commented Jul 2, 2022

Hi. I tried to add support for the Mackie ProFX6 and while it technically works (before I was getting one a 4.0 surround profile instead of the two output devices it should show) I get this crackling sound on playback whenever I try to play any sound, the craclking or distortion can be heared alonside whatever is on playback. I tried playing sound with aplay and paplay and got the same craclking noise alongside with the played track.

alsa-info

emaxoda@51b9b6f

^ my commit

@emaxoda
Copy link
Author

emaxoda commented Jul 2, 2022

Also, on the Direct profile I don't get craclking sound but everything sound on a lower pitch.

@perexg
Copy link
Member

perexg commented Jul 8, 2022

It seems that the wrong sample rate is used. It should be the driver responsibility to not allow a wrong sample rate on a PCM device. You may check the used sample rate using the procfs - cat /proc/asound/card0/pcm0p/sub0/* . Use the right ALSA card number (aplay -l may help).

@emaxoda
Copy link
Author

emaxoda commented Jul 17, 2022

Yeah seem like its a driver problem, I tried without modifying anything and yeah, if I listen to spotify the before opening anything then it seem to work correctly spotify sample rate is 44.1 kHz and it seems like it's "upsampling" correctly since the driver it's working at 48 kHz but as soon as I open, let's say discord and I join a voice channel, which is working at 48 kHz natively then every sound in playback changes the pitch and slows down, including Discord itself. The thing is this doesn't get solved if I just close discord, sometimes it takes restarting pipewire completly to fix it but then it doesn't make sense since it's going to be borked as soon as anything changes the sample rate.
The craclking when using the created profile I made for the device seems to be related to the sound format being changed to 16 bits instead of the default 32 bits pipewire uses normally. Sorry if I made any wrong assumptions since I'm don't know much about how pipewire/sound works.

But yeah it seems like a driver problem. Where should I take this to?

@emaxoda
Copy link
Author

emaxoda commented Aug 19, 2022

Okay so I solved craclking by using the new way to stablish the sound format you added to the behringer audio interface, adding Format S32_LE made the trick since before sound was working on S16_LE and that seemed to make the craclking noise on the split interfaces appear. The new problem is that I cannot change the sample rate on through pipewire anymore, at least on the split profiles, on the direct profile the pipewire sample rate actually works.

@perexg
Copy link
Member

perexg commented Feb 7, 2023

It's unclear, if this issue is UCM related now.

@perexg perexg closed this as completed Feb 7, 2023
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

2 participants