arduano / xsynth

The fastest Black MIDI synthesizer, playing over 8000 voices in realtime. Uses aggressive SIMD and multithreading, and supports a subset of the sfz format.
Other
17 stars 7 forks source link

Crackling/popping under pipewire-pulse #71

Open SolsticeSpectrum opened 7 months ago

SolsticeSpectrum commented 7 months ago

I don't know why but when playing midis in wasabi under pipewire, there's a lot of crackling. I only recently switched from pulseaudio to pipewire, this issue wasn't present in pulseaudio and only got introduced with swtiching to pipewire-pulse.

I want to keep pipewire because of Discord audio streaming capabilities.

SolsticeSpectrum commented 7 months ago

Enabling "Fade out voice when killing it" fixes it but also makes several midis sound bad

EDIT: Voice fade does not affect midis as I originally thought, that issue is described here https://github.com/arduano/xsynth/issues/72

kohakow commented 1 month ago

Quite late but I'm sure this is problem with ALSA + Pipewire, XSynth does not output audio to Pipewire nor Pulseaudio, it just outputs it to bare ALSA and then gets re-binded (or something else) to Pipewire.

I had the same issue with default Pipewire config, I had to change it to reduce audio latency in certain rhythm games, I also did other stuff to it and somehow got fixed

Unfortunately I had an issue where driver from AUR broke my whole kernel and debugging resulted in configs being reset, so I cannot provide mine here