|
@@ -29,7 +29,7 @@ This records the preparation already performed on `rigforge` and is a starting p
|
|
|
## Repository layout
|
|
## Repository layout
|
|
|
|
|
|
|
|
- `config/desired-state.yaml`: versioned desired audio topology and provisional target mapping.
|
|
- `config/desired-state.yaml`: versioned desired audio topology and provisional target mapping.
|
|
|
-- `config/pipewire/filter-chain.conf.d/rigforge-direct-mix.conf`: candidate four-channel input to mono direct mixer; not yet installed or run on the target.
|
|
|
|
|
|
|
+- `config/pipewire/filter-chain.conf.d/rigforge-direct-mix.conf`: tested filter-chain node configuration for the four-input mono direct mixer.
|
|
|
- `config/sooperlooper/fcb1010.slb`: supplied FCB1010 binding file, pending on-target verification.
|
|
- `config/sooperlooper/fcb1010.slb`: supplied FCB1010 binding file, pending on-target verification.
|
|
|
- `build/sooperlooper/`: reserved for the later ARM64 Docker build definition.
|
|
- `build/sooperlooper/`: reserved for the later ARM64 Docker build definition.
|
|
|
- `scripts/validate_desired_state.py`: validates topology and routing invariants without changing the target.
|
|
- `scripts/validate_desired_state.py`: validates topology and routing invariants without changing the target.
|
|
@@ -54,13 +54,13 @@ For an initial read-only graph observation on a system with `pw-link`, run:
|
|
|
python3 scripts/observe_pipewire.py
|
|
python3 scripts/observe_pipewire.py
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-The observer reads `pw-link -l` and compares only connections whose endpoints are explicitly listed under `routing.managed_ports`; expected edges go in `routing.managed_links`. Both lists are empty at this stage, so it intentionally reports no project mismatches. The existing WirePlumber links between UMC AUX ports and their split monitor ports are not classified as project-managed. Only concrete UMC ALSA AUX port names are accepted; logical nodes such as `direct_mix` are rejected until an actual PipeWire node/port exists. The observer only prints missing or unexpected link proposals; it never creates or deletes links. No polling or automatic repair is enabled in this increment.
|
|
|
|
|
|
|
+The observer reads `pw-link -l` and compares only connections whose endpoints are explicitly listed under `routing.managed_ports`; expected edges go in `routing.managed_links`. The current YAML lists the three tested guitar/microphone mixer links and only those exact observed UMC and filter-chain ports. WirePlumber's hardware links remain outside project management. The observer only reports missing or unexpected project links; it never creates or deletes links. No polling or automatic repair is enabled.
|
|
|
|
|
|
|
|
## Candidate direct mix test
|
|
## Candidate direct mix test
|
|
|
|
|
|
|
|
-`config/pipewire/filter-chain.conf.d/rigforge-direct-mix.conf` defines a PipeWire builtin mixer with four mono inputs, a single mono output, and a conservative initial gain of 0.2 per input. It is a candidate config for a two-input listening test using `capture_AUX0` and `capture_AUX2`; it is not installed, loaded, or claimed to be syntactically validated by PipeWire yet. Inputs 2 and 4 are provisioned for later checks, not confirmed by instrument tests.
|
|
|
|
|
|
|
+`config/pipewire/filter-chain.conf.d/rigforge-direct-mix.conf` defines a PipeWire builtin mixer with four mono inputs, a single mono output, and an initial gain of 0.2 per input. It was loaded on `rigforge`; its input and output nodes appeared in the graph. Manual links from capture AUX0 and AUX2 through mixer input ports AUX0 and AUX2 to playback AUX0 produced audible guitar and microphone together. Inputs 2 and 4 are provisioned but remain untested with instruments.
|
|
|
|
|
|
|
|
-The installed PipeWire example explicitly documents loading fragments from `~/.config/pipewire/filter-chain.conf.d/` with `pipewire -c filter-chain.conf`, which is the command used by the current user service. After this candidate is available in the target checkout, it can be tested as a reversible user-level fragment, without editing `/etc` or the packaged config:
|
|
|
|
|
|
|
+The installed PipeWire example documents loading fragments from `~/.config/pipewire/filter-chain.conf.d/` with `pipewire -c filter-chain.conf`, which is the command used by the current user service. The fragment was installed and tested in that user configuration without editing `/etc` or the packaged config:
|
|
|
|
|
|
|
|
```sh
|
|
```sh
|
|
|
target="$HOME/.config/pipewire/filter-chain.conf.d/rigforge-direct-mix.conf"
|
|
target="$HOME/.config/pipewire/filter-chain.conf.d/rigforge-direct-mix.conf"
|
|
@@ -73,7 +73,7 @@ install -m 0644 config/pipewire/filter-chain.conf.d/rigforge-direct-mix.conf "$t
|
|
|
systemctl --user restart filter-chain.service
|
|
systemctl --user restart filter-chain.service
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-Then confirm `filter-chain.service` is active, inspect `pw-cli ls Node`, `pw-link -o`, and `pw-link -i`, and stop if the two project nodes do not appear or the service reports an error. Do not infer the new port names: use the exact names printed by PipeWire. At low monitor volume, connect only the physical capture ports for inputs 1 and 3 to the matching mixer inputs, and the mixer output to `playback_AUX0`; listen for guitar and microphone, then remove these test links with `pw-link -d` using the exact observed endpoint names. Existing WirePlumber hardware links must be left alone.
|
|
|
|
|
|
|
+The test has already been performed on `rigforge`: `filter-chain.service` was active and exposed input ports `rigforge.direct-mix.input:playback_AUX0` through `playback_AUX3` and output port `rigforge.direct-mix.output:capture_FL`. The three links now declared in YAML were connected manually with `pw-link`; guitar on input 1 and microphone on input 3 were heard together through the mixer. Existing WirePlumber hardware links were left untouched.
|
|
|
|
|
|
|
|
Rollback the fragment and reload the filter service after the test:
|
|
Rollback the fragment and reload the filter service after the test:
|
|
|
|
|
|
|
@@ -86,7 +86,7 @@ fi
|
|
|
systemctl --user restart filter-chain.service
|
|
systemctl --user restart filter-chain.service
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-This restarts only `filter-chain.service`, not the main PipeWire daemon; it has not yet been exercised with this project fragment. If activation or sound behaves unexpectedly, first remove the test links, perform the rollback, verify the filter service is active, and do not repeatedly restart it. The repository tests check channel/gain declarations, not PipeWire's native config parser or target runtime behavior.
|
|
|
|
|
|
|
+This restarts only `filter-chain.service`, not the main PipeWire daemon. The fragment and three links have passed an initial target listening test, but the test is not a sustained load, dropout, four-instrument, or headroom test. If activation or sound behaves unexpectedly, first remove the test links, perform the rollback, verify the filter service is active, and do not repeatedly restart it. Repository tests check channel/gain declarations and observer comparisons; they do not replace target runtime measurements.
|
|
|
|
|
|
|
|
## Development PC
|
|
## Development PC
|
|
|
|
|
|
|
@@ -96,12 +96,12 @@ No SooperLooper artifact or Dockerfile is included at this stage.
|
|
|
|
|
|
|
|
## `rigforge` target
|
|
## `rigforge` target
|
|
|
|
|
|
|
|
-No packages, artifacts, services, or permanent audio configuration have been installed or changed by this initial increment. A temporary direct PipeWire test linked `capture_AUX0` and `capture_AUX2` to `playback_AUX0`; guitar and microphone were heard together at 48 kHz / 128 frames. `pw-top` showed the active capture driver at 128 frames with `ERR = 0` during the reported test. The temporary links have since been removed. This is an initial listening check, not a sustained load, dropout, or headroom test.
|
|
|
|
|
|
|
+The filter-chain fragment is installed in the user configuration on `rigforge`, and `filter-chain.service` was restarted to load it. The user confirmed guitar and microphone are audible together through the filter. Three manual links are currently active and declared in `routing.managed_links` for observation only. This is an initial listening check, not a sustained load, dropout, four-instrument, or headroom test.
|
|
|
|
|
|
|
|
The next target checks are:
|
|
The next target checks are:
|
|
|
|
|
|
|
|
-1. Confirm the software-mixed direct path and its gain staging before adding processing or looper returns.
|
|
|
|
|
-2. Later, test inputs 2 and 4 with sources when available; for planning only, the four existing capture channels are assumed to work.
|
|
|
|
|
|
|
+1. Run the read-only PipeWire observer on `rigforge`; the expected result is no differences while the three test links remain active.
|
|
|
|
|
+2. Later, test inputs 2 and 4 with sources when available; they are included in the mixer but not verified with instruments.
|
|
|
3. Measure sustained stability and headroom at 48 kHz / 128 frames with all active sources; the current `ERR = 0` observation was brief.
|
|
3. Measure sustained stability and headroom at 48 kHz / 128 frames with all active sources; the current `ERR = 0` observation was brief.
|
|
|
4. Inspect the user service session and resource limits before defining autonomous startup. `Linger=no` currently means the running audio session is associated with the active login; unattended startup is not established.
|
|
4. Inspect the user service session and resource limits before defining autonomous startup. `Linger=no` currently means the running audio session is associated with the active login; unattended startup is not established.
|
|
|
5. Verify FCB1010 MIDI messages and the supplied bindings with the eventual SooperLooper build. Verify OSC port readiness and the effect and persistence of `discrete_prefader 0` separately.
|
|
5. Verify FCB1010 MIDI messages and the supplied bindings with the eventual SooperLooper build. Verify OSC port readiness and the effect and persistence of `discrete_prefader 0` separately.
|