diff options
| author | 2025-07-19 15:50:09 -0400 | |
|---|---|---|
| committer | 2025-07-19 15:50:09 -0400 | |
| commit | 85a47287e56ba9100420246531ebea5996cc0486 (patch) | |
| tree | 7c70a593fc2678fd7175c32188bbae32044ed08d /hosts/iroha/pipewire | |
| parent | 68f39eb867c851acb651f79604aba119ecaa9527 (diff) | |
| download | dotfiles-85a47287e56ba9100420246531ebea5996cc0486.tar.gz dotfiles-85a47287e56ba9100420246531ebea5996cc0486.tar.bz2 dotfiles-85a47287e56ba9100420246531ebea5996cc0486.zip | |
End of NixOS container era
Diffstat (limited to 'hosts/iroha/pipewire')
3 files changed, 64 insertions, 0 deletions
diff --git a/hosts/iroha/pipewire/client.conf.d/92-client-user.conf b/hosts/iroha/pipewire/client.conf.d/92-client-user.conf new file mode 100644 index 0000000..c956a7e --- /dev/null +++ b/hosts/iroha/pipewire/client.conf.d/92-client-user.conf @@ -0,0 +1,4 @@ +stream.properties = { + resample.quality = 10 + channelmix.normalize = false +} diff --git a/hosts/iroha/pipewire/pipewire-pulse.conf.d/92-pulse-user.conf b/hosts/iroha/pipewire/pipewire-pulse.conf.d/92-pulse-user.conf new file mode 100644 index 0000000..96dab58 --- /dev/null +++ b/hosts/iroha/pipewire/pipewire-pulse.conf.d/92-pulse-user.conf @@ -0,0 +1,9 @@ +pulse.properties = { + pulse.default.format = S32 + pulse.default.position = [ FL FR ] +} + +stream.properties = { + resample.quality = 10 + channelmix.normalize = false +} diff --git a/hosts/iroha/pipewire/pipewire.conf.d/92-user.conf b/hosts/iroha/pipewire/pipewire.conf.d/92-user.conf new file mode 100644 index 0000000..381897e --- /dev/null +++ b/hosts/iroha/pipewire/pipewire.conf.d/92-user.conf @@ -0,0 +1,51 @@ +context.properties = { + default.clock.rate = 48000 + default.clock.allowed-rates = [ 44100 48000 88200 96000 176400 192000 352800 384000 ] + default.clock.quantum = 512 + default.clock.min-quantum = 32 + default.clock.max-quantum = 4096 + default.clock.quantum-limit = 4096 + default.video.width = 640 + default.video.height = 480 + default.video.rate.num = 25 + default.video.rate.denom = 1 +} + +context.modules = [{ + name = "libpipewire-module-filter-chain" + args = { + node.description = "Focal Elegia EQ (Convolver)" + media.name = "Focal Elegia EQ (Convolver)" + filter.graph = { + nodes = [{ + type = "builtin" + name = "Convolver EQ" + label = "convolver" + config = { + filename = [ + "/etc/convolver/Focal_Elegia_minimum_phase_44100Hz.wav" + "/etc/convolver/Focal_Elegia_minimum_phase_48000Hz.wav" + ] + resample_quality = 10 + } + }] + } + capture.props = { + node.name = "eq_input.elegia_convolver_eq" + media.class = "Audio/Sink" + audio.channels = 2 + audio.position = [ FL FR ] + } + playback.props = { + node.name = "eq_output.elegia_convolver_eq" + node.passive = true + audio.channels = 2 + audio.position = [ FL FR ] + } + } +}] + +stream.properties = { + resample.quality = 10 + channelmix.normalize = false +} |