14 Jun 2023 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | I'd recommend you give a go at a pipewire native GUI tool and not qjack since that's not interacting with pipewire's native Api afaik | 09:00:28 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | Check out this ;)
https://github.com/mikeroyal/PipeWire-Guide#audio-tools--libraries-to-use-with-pipewire | 09:00:32 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | qpwgraph is basically qjackctl for pipewire | 09:01:06 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | Hope u get it to worj | 09:03:24 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | * Hope u get it to work | 09:03:29 |
Minijackson | I personally use pw-viz, which is already packaged in nixpkgs | 09:03:59 |
evils | In reply to @evils:nixos.dev slightly unrelated i've added an effect in easyeffects, it crashed, and now no longer starts (killed, returns 137) i've not found the local config for that, so it seems like i can't undo adding the effect and maybe related, audacity takes forever to start, but starts in a pure nix-shell FYI: easyeffects -r resets it (still crashes on that invocation), that fixed it | 12:41:59 |
evils | In reply to @evils:nixos.dev slightly unrelated i've added an effect in easyeffects, it crashed, and now no longer starts (killed, returns 137) i've not found the local config for that, so it seems like i can't undo adding the effect and maybe related, audacity takes forever to start, but starts in a pure nix-shell * FYI: easyeffects -r resets it (still crashes on that invocation), that fixed it still waiting for audacity to launch though xD | 12:43:06 |
evils | anyone know how to set the sample rate in pipewire? | 13:47:28 |
Minijackson | In reply to @evils:nixos.dev anyone know how to set the sample rate in pipewire? maybe you can using the PIPEWIRE_LATENCY env variable, but it's per-client | 17:59:30 |
Minijackson | for example PIPEWIRE_LATENCY=256/48000 carla | 17:59:36 |
evils | yea, i found that, it does nothing | 18:00:01 |
evils | i did set a /etc config file that may take effect the next time i reboot, but i'm hoping not to reboot for a while | 18:00:39 |
Minijackson | In reply to @evils:nixos.dev yea, i found that, it does nothing it did help me for the "latency" part | 18:01:02 |
Minijackson | In reply to @evils:nixos.dev i did set a /etc config file that may take effect the next time i reboot, but i'm hoping not to reboot for a while a pipewire config file? What did you put, if I may ask? | 18:01:37 |
evils | environment.etc = let
json = pkgs.formats.json {};
in {
"pipewire/pipewire.d/92-low-latency.conf".source = json.generate "92-low-latency.conf" {
context.properties = {
default.clock.rate = 192000;
default.clock.quantum = 32;
default.clock.min-quantum = 32;
default.clock.max-quantum = 1024;
};
};
};
| 18:02:00 |
evils | basically directly from the NixOS wiki but with my interface's max sample rate | 18:02:29 |
Minijackson | thanks | 18:02:37 |
Minijackson | if you don't want to reboot, you could just restart pipewire | 18:03:19 |
evils | i somewhat suspect it's up to users of a sink to request a sample rate
as the inverse is the case (if i play a high sample rate file, pw-top shows it as high sample rate) | 18:03:39 |
evils | In reply to @Minijackson:matrix.org if you don't want to reboot, you could just restart pipewire how? | 18:03:46 |
evils | Failed to restart pipewire.service: Unit pipewire.service is masked. | 18:04:03 |
Minijackson | systemctl --user restart 'pipewire*' should do the trick | 18:04:08 |
Minijackson | In reply to @evils:nixos.dev
Failed to restart pipewire.service: Unit pipewire.service is masked. yeah, it's a user service, not a system service | 18:04:37 |
evils | easyeffects still reports 48kHz sample rate | 18:05:34 |
Minijackson | In reply to @evils:nixos.dev i somewhat suspect it's up to users of a sink to request a sample rate
as the inverse is the case (if i play a high sample rate file, pw-top shows it as high sample rate) I think it's like gstreamer, where the sample rate may be negotiated between clients | 18:05:57 |
evils | ardour also gets 48kHz, and i can't configure the sample rate in that, it's up to jack, and qjackctl is already set to 192kHz
it does jack shit (pardon the pun) | 18:06:59 |
Minijackson | I started carla with PIPEWIRE_LATENCY=256/192000 | 18:09:05 |
Minijackson | pw-top reports that it is using that buffer size and bitrate, but Carla itself reports a buffersize of 64 and 48kHz x) | 18:09:37 |
evils | hmm | 18:10:34 |