!XrtRvzcHOrHtSKARne:nixos.org

NixOS Audio

122 Members
28 Servers

Load older messages


SenderMessageTime
14 Jun 2023
@evils:nixos.devevilsi 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:nixos.devevils
In reply to @Minijackson:matrix.org
if you don't want to reboot, you could just restart pipewire
how?
18:03:46
@evils:nixos.devevils Failed to restart pipewire.service: Unit pipewire.service is masked. 18:04:03
@Minijackson:matrix.orgMinijackson systemctl --user restart 'pipewire*' should do the trick 18:04:08
@Minijackson:matrix.orgMinijackson
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:nixos.devevilseasyeffects still reports 48kHz sample rate18:05:34
@Minijackson:matrix.orgMinijackson
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:nixos.devevilsardour 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:matrix.orgMinijackson I started carla with PIPEWIRE_LATENCY=256/192000 18:09:05
@Minijackson:matrix.orgMinijackson 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:nixos.devevilshmm18:10:34
@Minijackson:matrix.orgMinijacksonpipewire-jack might need some configuration itself18:10:58
@evils:nixos.devevilseasyeffects is indeed using the quant and rate i set, but its source and sink's format are F32p 2 4800018:11:14
@evils:nixos.devevils * easyeffects is indeed using the quant and rate i set, but its source and sink's format are F32P 2 4800018:11:19
@evils:nixos.devevils * according to pw-top: easyeffects is indeed using the quant and rate i set, but its source and sink's format are F32P 2 4800018:11:35
@Minijackson:matrix.orgMinijacksonhttps://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Config-JACK hmm18:17:19
@evils:nixos.devevils

hmm, either this doesn't do anything, or pipewire doesn't accept quoted values

    "pipewire/jack.conf.d/jack.conf".source = json.generate "jack.conf" {
      jack.properties.node.latency = "128/192000";
    };
18:45:23
@evils:nixos.devevilsIMG_20230614_211856.jpg
Download IMG_20230614_211856.jpg
19:20:53
@evils:nixos.devevils18ms round trip time vs my interface's input monitoring19:21:14
@evils:nixos.devevils that's with 128/192000
with PIPEWIRE_LATENCY=512/192000 easyeffects i get 21.6ms
4096/192000 gets me 36.5ms
4096/48000 gets me 35.8ms...
and 32/192000 gets me 17.9ms
19:55:33
@evils:nixos.devevilsso it does have an effect19:55:45
@evils:nixos.devevilsIMG_20230614_215928.jpg
Download IMG_20230614_215928.jpg
20:02:31
@evils:nixos.devevilsthat's with 32/192000 and an effect running, i think it's running out of buffer and returning 0 xD20:03:27
17 Jun 2023
@tamtaram:chat.heizhaus.orgTamara
In reply to @Minijackson:matrix.org

in my personal config, I have set:

{
  environment.pathsToLink = ["/share/soundfonts"];

  environment.variables = {
    DSSI_PATH = lib.mkForce "$HOME/.dssi:$HOME/.nix-profile/lib/dssi:/run/current-system/sw/lib/dssi:/etc/profiles/per-user/$USER/lib/dssi";
    LADSPA_PATH = lib.mkForce "$HOME/.ladspa:$HOME/.nix-profile/lib/ladspa:/run/current-system/sw/lib/ladspa:/etc/profiles/per-user/$USER/lib/ladspa";
    LV2_PATH = lib.mkForce "$HOME/.lv2:$HOME/.nix-profile/lib/lv2:/run/current-system/sw/lib/lv2:/etc/profiles/per-user/$USER/lib/lv2";
    LXVST_PATH = lib.mkForce "$HOME/.lxvst:$HOME/.nix-profile/lib/lxvst:/run/current-system/sw/lib/lxvst:/etc/profiles/per-user/$USER/lib/lxvst";
    VST_PATH = lib.mkForce "$HOME/.vst:$HOME/.nix-profile/lib/vst:/run/current-system/sw/lib/vst:/etc/profiles/per-user/$USER/lib/vst";
    VST3_PATH = lib.mkForce "$HOME/.vst3:$HOME/.nix-profile/lib/vst3:/run/current-system/sw/lib/vst3:/etc/profiles/per-user/$USER/lib/vst3";
  };
}
okay i tried this now. no difference. ardour still cannot find any plugins
11:22:28
@Minijackson:matrix.orgMinijacksonhmmm11:23:53
@Minijackson:matrix.orgMinijacksonjust checked in my Ardour settings, and it does seem like Ardour doesn't respect this env variable11:24:09
@Minijackson:matrix.orgMinijacksoncan you go into "Edit > Preferences > Plugins > VST" and see / edit the path?11:24:33
@tamtaram:chat.heizhaus.orgTamara
In reply to @Minijackson:matrix.org
can you go into "Edit > Preferences > Plugins > VST" and see / edit the path?
oh yeah. i can do that. and now it finds my problems
11:28:40
@tamtaram:chat.heizhaus.orgTamara
In reply to @Minijackson:matrix.org
can you go into "Edit > Preferences > Plugins > VST" and see / edit the path?
* oh yeah. i can do that. and now it finds my plugins
11:29:26
@tamtaram:chat.heizhaus.orgTamarai see nothing regarding envs in the nix config https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/audio/ardour/default.nix11:29:37

Show newer messages


Back to Room ListRoom Version: 9