!XrtRvzcHOrHtSKARne:nixos.org

NixOS Audio

113 Members
25 Servers

Load older messages


SenderMessageTime
24 Mar 2024
@Minijackson:matrix.orgMinijacksonnot the most PipeWirey thing to do, but it works!06:56:30
@fractivore:cyberia.club@fractivore:cyberia.club
In reply to @Minijackson:matrix.org
I found that you can run pavucontrol, and in the configuration tab you can set your device profile to "Pro Audio"
Oh alright, I'll give that a shot!!
08:53:28
@fractivore:cyberia.club@fractivore:cyberia.club
In reply to @Minijackson:matrix.org
not the most PipeWirey thing to do, but it works!
I'll take minimally practical over maximally idiomatic any dang day
08:54:13
@fractivore:cyberia.club@fractivore:cyberia.clubThanks!!08:54:27
@Minijackson:matrix.orgMinijacksonsure!08:54:35
@qyliss:fairydust.space@qyliss:fairydust.space left the room.14:33:58
25 Mar 2024
@fractivore:cyberia.club@fractivore:cyberia.clubI was looking around for a good SF2 player for a bit... And ya know what came through for me? Ardour8's ACE FluidSynth.07:50:33
@fractivore:cyberia.club@fractivore:cyberia.clubfluidsynth (the CLI program) - too much work to get started, plus you really want a GUI for this kind of stuff. linuxsampler with qsampler frontend - far too buggy to use, I couldn't get past the bugs to even make sound from it. Those were the ones I tried before realizing Ardour8 has ACE FluidSynth and trying it out. CALF FluidSynth - not packaged for nix yet ?07:52:49
@Minijackson:matrix.orgMinijackson isn't CALF FluidSynth part of pkgs.calf? I never checked 07:55:17
@fractivore:cyberia.club@fractivore:cyberia.clubDoesn't seem to be.07:56:17
@fractivore:cyberia.club@fractivore:cyberia.clubBut there is always a very solid chance I'm just being dumb 😆07:57:35
@rampoina:matrix.orgRampoinaqsynth?11:08:00
26 Mar 2024
@noiobeforebedtime:winesj.com@noiobeforebedtime:winesj.com changed their profile picture.19:06:40
27 Mar 2024
@tobiasbora:matrix.orgtobiasbora
In reply to @fractivore:cyberia.club
Probably a few different ways to debug it... Sorry for the late reply. Have you looked at it with qpwgraph or a visual tool like that?
Thanks, actually the solution was to run alsactl init. No idea what it does exactly, but seems to work.
18:42:04
@admin:nixos.org@admin:nixos.org joined the room.20:18:08
@admin:nixos.org@admin:nixos.org set the room name to "NixOS Audio".20:18:15
Room Avatar Renderer.20:19:06
@admin:nixos.org@admin:nixos.org left the room.20:19:49
29 Mar 2024
@tom:uint.onetom changed their display name from Tom to tom.14:44:34
1 Apr 2024
@technicus:matrix.orgMiles DysonWhat is the easiest way to install Emacs Live?00:13:24
@technicus:matrix.orgMiles Dysonhttps://overtone.github.io/emacs-live/00:13:26
@fractivore:cyberia.club@fractivore:cyberia.clubI'm a vim person, sorry, no clue about the emacs ecosystem 😅03:42:42
@technicus:matrix.orgMiles DysonThanks, I am a total noob. New to NixOS, New to Emacs, New to Vim, new to live music coding, new to pipewire, new to I3 . . . I am learning everything all at once.05:02:29
@technicus:matrix.orgMiles DysonHow do I use this: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/audio/jack.nix05:36:55
@fractivore:cyberia.club@fractivore:cyberia.club
In reply to @technicus:matrix.org
Thanks, I am a total noob.

New to NixOS, New to Emacs, New to Vim, new to live music coding, new to pipewire, new to I3 . . . I am learning everything all at once.
Never fear, you've come to the right place 🙂
05:52:18
@fractivore:cyberia.club@fractivore:cyberia.club If you're totally new to livecoding, I would suggest checking out sonic-pi! I have found it to be by far the most powerful and practical livecoding language. It's built on SuperCollider (which you can also use directly), but most importantly, it contains integrated tutorials that can get you up and running in a jif and which you can reference easily as you code. 05:53:47
@fractivore:cyberia.club@fractivore:cyberia.club
In reply to @technicus:matrix.org
How do I use this:

https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/audio/jack.nix

Based on what you've said, I'm not entirely sure if you're asking how to use JACK in general or if you're specifically wondering how to use it within NixOS.

To answer the former, there are a wide variety of ways to use JACK. It's kind of an audio routing and syncing swiss army knife. PipeWire was sort of built to replace it, and is a little easier to use, but I've found I still have to use JACK for some edge cases where they haven't worked out the bugs in PipeWire yet.

Most people control JACK with the GUI program qjackctrl, but you can also use it from the command line with jack_control, for example, if you want to write scripts.

As for the latter, how to use JACK on NixOS, check out the options search page: https://search.nixos.org/options?channel=23.11&show=services.jack.jackd.enable&from=0&size=50&sort=relevance&type=packages&query=jack

You can use those options to enable and configure JACK. For example I have:

let 
  jackOn = false; 
  studioConfig = false;
in 
{
  sound.enable = true;
  security.rtkit.enable = true;
...
I have other stuff here that I redacted to save space cuz it's irrelevant to the question.
...
  #Enable jack separately, this configuration may need work
  services.jack = {
    jackd.enable = jackOn;
    jackd.extraOptions = if studioConfig then [ "-dalsa" "--device" "hw:STUDIOCAPTURE,0" ] else [ "-dalsa" "--device" "hw:Generic_1,0" ];
  };
}
06:01:21
@fractivore:cyberia.club@fractivore:cyberia.club That's in my file etc/nixos/audio.nix . I import the file into /etc/nixos/configuration.nix . Then activate the configuration with sudo nixos-rebuild boot followed by sudo reboot now. I find you need a reboot for changing audio configurations to work properly, and I have to switch between PipeWire and JACK sometimes because JACK works better with my audio interface. The end result is, the configuration above starts the JACK service when I reboot, configured with some extra options. (I'd like to be able to just choose between my PipeWire and JACK configs from the boot menu, but I don't know how to do that, and it's not a huge deal so I haven't taken the time to learn that) 06:06:32
@fractivore:cyberia.club@fractivore:cyberia.club
In reply to @technicus:matrix.org
How do I use this:

https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/audio/jack.nix
More generally, this is known as a service module. It's NixOS' way of starting programs (services) automatically, using systemd. So in this case, jackd is the service.
06:10:05
@technicus:matrix.orgMiles DysonIs it possible to have pipewire and jack at the same time?06:34:38

Show newer messages


Back to Room ListRoom Version: 9