Johan Le Baut dda3603b06 add second loop vor 1 Woche
..
README.md 479aca126f arm builder for sooperlooper et mod-host vor 2 Wochen
rigforge-direct-mix.conf dda3603b06 add second loop vor 1 Woche

README.md

Rigforge PipeWire filter-chain fragments

rigforge-direct-mix.conf

This PipeWire filter-chain fragment has been loaded and its input/output nodes were observed on rigforge. A manual test linked the guitar from input 1 and microphone from input 3 into the mixer and sent its mono output to playback_AUX0; the user confirmed both were audible together. The fragment declares one built-in mixer with four mono inputs and one mono output. It remains a candidate for the full Rigforge routing, not the complete looper or processing graph.

The initial mixer gain for each input is 0.2 (approximately -14 dB). This is only a conservative starting value, not a calibrated level or a guarantee against clipping. Summed levels must be tested with the real sources and loop returns before live use.

Configuration sections

context.modules

Declares modules to load in the PipeWire process that reads this configuration. Here it asks that process to load libpipewire-module-filter-chain. It does not load the module into every PipeWire process or automatically add the fragment to the main pipewire.service configuration.

args

Contains arguments for the filter-chain module, including descriptive metadata and the graph and node properties used to expose the filter's ports.

filter.graph

Defines the signal-processing graph inside the filter:

  • nodes declares one built-in node named mix using the mixer plugin.
  • control sets the initial Gain 1 through Gain 4 values to 0.2.
  • inputs exports the node's four inputs as the filter's input ports.
  • outputs exports the mixer's single output as the filter's output port.

This graph performs summing in the filter. It does not itself connect physical capture ports to the four inputs or connect the output to a hardware playback port.

capture.props

Sets properties for the input-side PipeWire node created by the filter-chain module. In this candidate, media.class = "Audio/Sink" makes it appear as an audio sink with input ports, named rigforge.direct-mix.input. Its declared positions are four AUX channels and remixing is disabled so channels are intended to stay distinct.

On the tested target, the input node exposed ports rigforge.direct-mix.input:playback_AUX0 through playback_AUX3. Input capture capture_AUX0 was linked to input-node playback_AUX0, and capture_AUX2 to playback_AUX2. The channel mapping follows those tested links for guitar and voice only; AUX1 and AUX3 remain untested with instruments.

playback.props

Sets properties for the output-side PipeWire node, named rigforge.direct-mix.output. It is declared as a mono audio source with an FL output position. node.passive = true requests passive behavior when nothing consumes the output. This node still needs an explicit link to the intended hardware playback port.

Relationship to PipeWire configuration

The fragment does not replace or overwrite PipeWire's packaged default configuration. The directory name filter-chain.conf.d is read only when a process loads the base filter-chain.conf configuration, as the installed PipeWire example describes. On the current target, filter-chain.service runs /usr/bin/pipewire -c filter-chain.conf as a separate user service. The fragment is therefore intended for that filter-chain process, not as a drop-in for the main PipeWire daemon's pipewire.conf.

The fragment added nodes visible in the graph inspected by pw-link on the target, and its tested ports accepted manual links from the UMC capture node and to the UMC playback node. Thus this filter-chain instance can participate in the tested graph path on this target. The filter does not automatically connect its nodes or prove the final routing.

Links and operational status

This file creates a filter graph; it does not create the project's audio links. The links can be made manually with pw-link after the actual ports have been observed. scripts/observe_pipewire.py compares declared links read-only by default; its explicit --reconcile-once mode can request only declared missing links after checking that both ports exist. Neither pw-link nor reconciliation is invoked by this fragment. Restarting filter-chain.service removes its nodes and their graph links, so inspect the graph after a restart and reconcile only when appropriate during a safe test window.

The fragment has passed an initial listening test with guitar and microphone. The three links are declared in the desired-state YAML for read-only observation. The test is not a sustained load, dropout, summed-headroom, four-instrument, or looper test. Keep the gains conservative and verify the exact live graph before explicitly reconciling links. See the root README.md for the target test record and rollback notes.