14 Jun 2023 |
evils | * according to pw-top: easyeffects is indeed using the quant and rate i set, but its source and sink's format are F32P 2 48000 | 18:11:35 |
Minijackson | https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Config-JACK hmm | 18:17:19 |
evils | 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 |  Download IMG_20230614_211856.jpg | 19:20:53 |
evils | 18ms round trip time vs my interface's input monitoring | 19:21:14 |
evils | 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 | so it does have an effect | 19:55:45 |
evils |  Download IMG_20230614_215928.jpg | 20:02:31 |
evils | that's with 32/192000 and an effect running, i think it's running out of buffer and returning 0 xD | 20:03:27 |
17 Jun 2023 |
@tamtaram:chat.heizhaus.org | 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 | hmmm | 11:23:53 |
Minijackson | just checked in my Ardour settings, and it does seem like Ardour doesn't respect this env variable | 11:24:09 |
Minijackson | can you go into "Edit > Preferences > Plugins > VST" and see / edit the path? | 11:24:33 |
@tamtaram:chat.heizhaus.org | 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.org | 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.org | i see nothing regarding envs in the nix config https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/audio/ardour/default.nix | 11:29:37 |
Minijackson | In reply to @tamtaram:chat.heizhaus.org i see nothing regarding envs in the nix config https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/audio/ardour/default.nix should there be? | 11:30:20 |
@tamtaram:chat.heizhaus.org | In reply to @Minijackson:matrix.org should there be? do you think it's acceptable that if i install ardour and lv2 plugins as a package, that ardour then ignores their existence? | 11:31:13 |
Minijackson | I mean, Nix installs those packages in non-standard paths | 11:32:18 |
Minijackson | but I guess Ardour could be patched to modify the default LV2 / VST3 paths | 11:33:07 |
@tamtaram:chat.heizhaus.org | found one of the paths: https://github.com/Ardour/ardour/blob/9b797dc4c17649b6ad2cc3108e76841719332e70/libs/ardour/plugin_manager.cc#L306 | 11:35:37 |
@tamtaram:chat.heizhaus.org | im guessing a patch can be built using nix develop ? guess thats a good introduction to nix packaging for me | 11:36:47 |
@tamtaram:chat.heizhaus.org | ohh. it does check the ENVs but only during your first time launch | 11:41:20 |
@tamtaram:chat.heizhaus.org | but the "Reset to default" button does not | 11:42:15 |
Minijackson | In reply to @tamtaram:chat.heizhaus.org im guessing a patch can be built using nix develop ? guess thats a good introduction to nix packaging for me it can, but I think nix removes the .git folder, so it wouldn't track your change by default | 12:15:24 |
Minijackson | you can make the src point to another local repository using --redirect , however | 12:15:53 |
@tamtaram:chat.heizhaus.org | uhh ok. i just made a patch file based on the upstream git. then i applied it with patch and am waiting for that to compile | 12:21:38 |
@tamtaram:chat.heizhaus.org | yey at least the patch works. uhh lemme try add it to nixpkg | 12:25:36 |
@tamtaram:chat.heizhaus.org | not sure if i should switch channel for this but quick question: i've made a change to the default.nix of ardour in my local copy of the nixpkgs git. how do i build this locally? would like to do that before i open a PR | 12:52:27 |
@tamtaram:chat.heizhaus.org | i got help from someone else ;)
PR is up: https://github.com/NixOS/nixpkgs/pull/238268 | 13:33:53 |