14 Jun 2023 |
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 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | 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 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | 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 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | 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 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | 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 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | 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 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | found one of the paths: https://github.com/Ardour/ardour/blob/9b797dc4c17649b6ad2cc3108e76841719332e70/libs/ardour/plugin_manager.cc#L306 | 11:35:37 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | im guessing a patch can be built using nix develop ? guess thats a good introduction to nix packaging for me | 11:36:47 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | ohh. it does check the ENVs but only during your first time launch | 11:41:20 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | 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 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | 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 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | yey at least the patch works. uhh lemme try add it to nixpkg | 12:25:36 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | 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 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | i got help from someone else ;)
PR is up: https://github.com/NixOS/nixpkgs/pull/238268 | 13:33:53 |
Guillaume Desforges | In reply to @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 you can CD to the nixpkgs folder and do
nix build path:.#ardour7 | 14:01:08 |
Tamara (dm me on @tammeyy:winter-cottage.eu please) | thank you. build worked | 14:11:17 |
Rampoina | hmm | 15:48:30 |
Rampoina | I do have VST_PATH set | 15:48:34 |
Rampoina | but I don't remember ever changing that | 15:48:48 |