!XrtRvzcHOrHtSKARne:nixos.org

NixOS Audio

125 Members
30 Servers

Load older messages


SenderMessageTime
13 Jun 2023
@tamtaram:chat.heizhaus.orgTamara
In reply to @rampoina:matrix.org
I don't remember having to do anything in ardour regarding sample rate, why do you have to change it system wide ?
an ardour project is set at its creation. and that depends on your audio interface's sample rate.
21:15:50
@tamtaram:chat.heizhaus.orgTamara
In reply to @gdesforges:matrix.org
For plugins, I think ardour finds plugins as per LV2_PATH or smth
if thats supposed to be an env, then i dont have it set
21:16:47
@gdesforges:matrix.orgGuillaume DesforgesIn my case I set this env in my NixOS config to directly get LV2 plugins yeah21:18:06
@gdesforges:matrix.orgGuillaume Desforges Though you probably can add plugins another way? How do you do that Rampoina 21:18:29
@tamtaram:chat.heizhaus.orgTamara
In reply to @gdesforges:matrix.org
In my case I set this env in my NixOS config to directly get LV2 plugins yeah
so you dont install plugins as a package?
21:19:07
@rampoina:matrix.orgRampoinaI rescan every time because I didn't care to find how to make it permanent lol21:20:33
@rampoina:matrix.orgRampoinasomewhere inside the preferences there's plugins and you can re-scan and it finds the plugins21:21:23
@rampoina:matrix.orgRampoinaotherwise it doesn't find anything21:21:33
@tamtaram:chat.heizhaus.orgTamara

so just to clarify what i did:

  users.users.user = {
    isNormalUser = true;
    extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
    packages = with pkgs; [
      # daw
      ardour
      pipecontrol
      helvum
      libsamplerate
      lsp-plugins
      x42-plugins
      carla
      tunefish
    ];
  };

this is in my NixOS config. I rebuild my config. I opened Ardour and there were only the default plugins.

21:22:07
@rampoina:matrix.orgRampoina Plugin Manager (Window > Plugin Manager) 21:23:50
@rampoina:matrix.orgRampoinaand rescan21:24:02
@rampoina:matrix.orgRampoinathey should appear21:24:17
@tamtaram:chat.heizhaus.orgTamara
In reply to @rampoina:matrix.org
and rescan
jup. been there done that.
21:24:20
@rampoina:matrix.orgRampoinaI don't think I have anything different21:25:02
@rampoina:matrix.orgRampoinamaybe I set the env var?21:25:21
@tamtaram:chat.heizhaus.orgTamara ok im a newbie. the plugins have paths like Bundle: file:///nix/store/qxa3nknsk40d3fs6b1lvxxbv4dsqrjn2-ardour-7.3/lib/ardour7/LV2/a-reverb.lv2/. does that mean that they are local to the nix store ardour? so the other packages could be in a different nix store? 21:25:26
* @rampoina:matrix.orgRampoina boots up the pc21:25:43
@gdesforges:matrix.orgGuillaume DesforgesYeah they are definitely not added to the ardour nix store if you do it like that21:26:05
@gdesforges:matrix.orgGuillaume Desforges* Yeah they are definitely not added to the ardour output in nix store if you do it like that21:26:23
@tamtaram:chat.heizhaus.orgTamaraI see. What would be a good approach to set up my DAW then? 21:26:53
@rampoina:matrix.orgRampoinaI don't have anything different21:29:15
@rampoina:matrix.orgRampoina LADSPA plugin found at /nix/store/r7qs41914vbflq31bwrzn6nfhc92f04a-user-environment/lib/ladspa/ZamTube-ladspa.so 21:29:19
@rampoina:matrix.orgRampoinait just finds the plugins21:29:24
@tamtaram:chat.heizhaus.orgTamara is me calling nixos-rebuild switch without a reboot somehow related? 21:29:58
@rampoina:matrix.orgRampoina
VST3 module-path '/nix/store/4xfm8m66qvyhfzd3dkc8bwk1f5c7j2sz-user-environment/lib/vst3/Dexed.vst3/Contents/x86_64-linux/Dexed.so'
[Info]: Scanning: /nix/store/4xfm8m66qvyhfzd3dkc8bwk1f5c7j2sz-user-environment/lib/vst3/Dexed.vst3
[Info]: Found Plugin: Dexed
21:30:20
@rampoina:matrix.orgRampoina
In reply to @tamtaram:chat.heizhaus.org
is me calling nixos-rebuild switch without a reboot somehow related?
a reboot shouldn't be needed, at most logging out and back in for some services and such
21:30:49
@tamtaram:chat.heizhaus.orgTamaraill give it a go21:31:16
@rampoina:matrix.orgRampoina

users.users.rampoina = {
isNormalUser = true;
description = "Rampoina";
extraGroups = [ "networkmanager" "wheel" "audio" ];
packages = with pkgs; [

  # Internet
  wget
  firefox
  transmission-qt
  tor-browser-bundle-bin

  # Development
  git
  alacritty

  # Chat
  element-desktop
  nheko
  neochat
  konversation
  mumble

  # Media
  mpv

  # Visual
  inkscape
  gimp
  krita
  blender

  # Audio
    pavucontrol
    # Jack stuff
    carla
    qjackctl

    # DAWs
    ardour

    (pkgs.lmms.overrideAttrs (finalAttrs: previousAttrs: {
      buildInputs = previousAttrs.buildInputs ++ [carla];
      patchPhase = ''
         sed  -i "s/CARLA_EXPORT/CARLA_API_EXPORT/g" -i plugins/carlabase/carla.h;
      '';
    }))# lmms: TODO change when https://github.com/NixOS/nixpkgs/pull/223103 is merged
    zrythm

    # Trackers
    milkytracker
    

    # Notation editing software
    musescore
    rosegarden

    # Synthesizers
    # Organs
    (pkgs.setbfree.overrideAttrs (finalAttrs: previousAttrs: {
        postPatch = ''
          sed 's#/usr/local#$(out)#g' -i common.mak
          sed 's#/usr/share/fonts/truetype/ttf-bitstream-vera#${ttf_bitstream_vera}/share/fonts/truetype#g' \
            -i common.mak
        '';
    })) # setbfree: TODO change when https://github.com/NixOS/nixpkgs/pull/223070 is merged

    (pkgs.aeolus.overrideAttrs (finalAttrs: previousAttrs: {
      stopsVersion = "0.4.0";
      stops = fetchurl {
        url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/stops-${finalAttrs.stopsVersion}.tar.bz2";
        sha256 = "0e79a0b8e006cb0f67bfcf1e9097db0b4e10c1bb30e6d5c401a29e882411fcb0";
      };

      patchPhase = ''
        sed "s@ldconfig.*@@" -i source/Makefile
        sed -i 's@/etc@'$out'/etc@' -i source/main.cc
      '';

      postInstall = ''
        mkdir -p $out/share/stops
        tar xavf ${finalAttrs.stops} --strip-components=1 -C $out/share/stops/
        mkdir $out/etc
        cat <<EOF >$out/etc/aeolus.conf
        # Aeolus system wide default options
        # use ~/.aeolusrc for local options
        -u -S $out/share/stops/
        EOF
      '';
    })) # curch organ # TODO change when https://github.com/NixOS/nixpkgs/pull/223089 is merged

    zynaddsubfx
    helm
    surge

    # FM synthesis
    oxefmsynth
    dexed

    # Modular
    vcv-rack # vcv standalone
    cardinal # vcv plugin
    
    # Sample based
    qsynth

      # Sound fonts
      soundfont-fluid
      soundfont-generaluser
      soundfont-ydp-grand

    # Midi
    vmpk

    # plugins
    calf
    # ladspa
    ladspaPlugins
    zam-plugins
tap-plugins
    lsp-plugins

# Video
replay-sorcery

# Games
superTuxKart
minetest

# Misc
gnome.adwaita-icon-theme
openrgb-with-all-plugins # control the keyboard lights
aspell
aspellDicts.ca

];

};

21:32:31
@rampoina:matrix.orgRampoina *

users.users.rampoina = {
isNormalUser = true;
description = "Rampoina";
extraGroups = [ "networkmanager" "wheel" "audio" ];
packages = with pkgs; [

  # Internet
  wget
  firefox
  transmission-qt
  tor-browser-bundle-bin

  # Development
  git
  alacritty

  # Chat
  element-desktop
  nheko
  neochat
  konversation
  mumble

  # Media
  mpv

  # Visual
  inkscape
  gimp
  krita
  blender

  # Audio
    pavucontrol
    # Jack stuff
    carla
    qjackctl

    # DAWs
    ardour

    (pkgs.lmms.overrideAttrs (finalAttrs: previousAttrs: {
      buildInputs = previousAttrs.buildInputs ++ [carla];
      patchPhase = ''
         sed  -i "s/CARLA_EXPORT/CARLA_API_EXPORT/g" -i plugins/carlabase/carla.h;
      '';
    }))# lmms: TODO change when https://github.com/NixOS/nixpkgs/pull/223103 is merged
    zrythm

    # Trackers
    milkytracker
    

    # Notation editing software
    musescore
    rosegarden

    # Synthesizers
    # Organs
    (pkgs.setbfree.overrideAttrs (finalAttrs: previousAttrs: {
        postPatch = ''
          sed 's#/usr/local#$(out)#g' -i common.mak
          sed 's#/usr/share/fonts/truetype/ttf-bitstream-vera#${ttf_bitstream_vera}/share/fonts/truetype#g' \
            -i common.mak
        '';
    })) # setbfree: TODO change when https://github.com/NixOS/nixpkgs/pull/223070 is merged

    (pkgs.aeolus.overrideAttrs (finalAttrs: previousAttrs: {
      stopsVersion = "0.4.0";
      stops = fetchurl {
        url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/stops-${finalAttrs.stopsVersion}.tar.bz2";
        sha256 = "0e79a0b8e006cb0f67bfcf1e9097db0b4e10c1bb30e6d5c401a29e882411fcb0";
      };

      patchPhase = ''
        sed "s@ldconfig.*@@" -i source/Makefile
        sed -i 's@/etc@'$out'/etc@' -i source/main.cc
      '';

      postInstall = ''
        mkdir -p $out/share/stops
        tar xavf ${finalAttrs.stops} --strip-components=1 -C $out/share/stops/
        mkdir $out/etc
        cat <<EOF >$out/etc/aeolus.conf
        # Aeolus system wide default options
        # use ~/.aeolusrc for local options
        -u -S $out/share/stops/
        EOF
      '';
    })) # curch organ # TODO change when https://github.com/NixOS/nixpkgs/pull/223089 is merged

    zynaddsubfx
    helm
    surge

    # FM synthesis
    oxefmsynth
    dexed

    # Modular
    vcv-rack # vcv standalone
    cardinal # vcv plugin
    
    # Sample based
    qsynth

      # Sound fonts
      soundfont-fluid
      soundfont-generaluser
      soundfont-ydp-grand

    # Midi
    vmpk

    # plugins
    calf
    # ladspa
    ladspaPlugins
    zam-plugins
tap-plugins
    lsp-plugins

# Video
replay-sorcery

# Games
superTuxKart
minetest

# Misc
gnome.adwaita-icon-theme
openrgb-with-all-plugins # control the keyboard lights
aspell
aspellDicts.ca

];


};
21:32:53
@rampoina:matrix.orgRampoinathat's my setup which is pretty much identical to yours21:33:10

Show newer messages


Back to Room ListRoom Version: 9