Johan Le Baut před 2 týdny
rodič
revize
b02927e5a2
1 změnil soubory, kde provedl 8 přidání a 6 odebrání
  1. 8 6
      README.md

+ 8 - 6
README.md

@@ -8,9 +8,9 @@ Rigforge is a standalone Raspberry Pi audio pedalboard. The desired routing is d
 
 The current target reports Debian GNU/Linux 13.7, AArch64, and a Behringer UMC404HD 192k. ALSA advertises four capture and four playback channels. PipeWire 1.4.2 and WirePlumber are active in the logged-in `jojo` user session, with `Linger=no`.
 
-PipeWire exposed four capture channels named `capture_AUX0` through `capture_AUX3` and four playback channels named `playback_AUX0` through `playback_AUX3`. A four-channel 48 kHz recording was completed, with the guitar on physical input 1 appearing on `capture_AUX0` and the microphone on physical input 3 appearing on `capture_AUX2`; the other channels were at noise floor during that test. A temporary PipeWire link from `capture_AUX0` to `playback_AUX0` produced audible guitar. The target owner reports that `playback_AUX0` feeds output 1L and that Main Out L receives 1L with MIX set to PB and MONITOR set to A. The owner then added `capture_AUX2` and confirmed hearing both guitar and microphone with a 128-frame quantum at 48 kHz; this is an initial successful low-latency listening test, not yet a sustained dropout or headroom measurement. Monitoring duplication, clipping headroom under summed sources and loop returns, and MIDI/OSC behavior have not yet been tested.
+PipeWire exposed four capture channels named `capture_AUX0` through `capture_AUX3` and four playback channels named `playback_AUX0` through `playback_AUX3`. A four-channel 48 kHz recording was completed, with the guitar on physical input 1 appearing on `capture_AUX0` and the microphone on physical input 3 appearing on `capture_AUX2`; the other channels were at noise floor during that test. A temporary PipeWire link from `capture_AUX0` to `playback_AUX0` produced audible guitar. The target owner reports that `playback_AUX0` feeds output 1L and that Main Out L receives 1L with MIX set to PB and MONITOR set to A. The owner then added `capture_AUX2` and confirmed hearing both guitar and microphone with a 128-frame quantum at 48 kHz; this is an initial successful low-latency listening test, not yet a sustained dropout or headroom measurement. Monitoring duplication and clipping headroom under summed sources and loop returns remain unverified. Guitar NAM model selection via the FCB is now covered by the target report below; SooperLooper MIDI/OSC behavior remains untested.
 
-The target has `aconnect`, `amidi`, and `oscsend`; ALSA lists the UMC404HD MIDI port. This does not yet verify FCB1010 messages or SooperLooper OSC availability. `amixer -D hw:2 scontents` showed capture and playback controls at 0 dB; no mixer settings have been changed.
+The target has `aconnect`, `amidi`, and `oscsend`; ALSA lists the UMC404HD MIDI port. On 2026-11-20 the owner ran the Rigforge MIDI bridge on the target and confirmed FCB1010 note messages on MIDI channel 1. The SooperLooper MIDI bindings and OSC availability remain unverified. `amixer -D hw:2 scontents` showed capture and playback controls at 0 dB; no mixer settings have been changed.
 
 ## Target preparation recorded so far
 
@@ -22,7 +22,7 @@ sudo apt upgrade
 sudo apt install --no-install-recommends \\
   rtkit pipewire pipewire-jack wireplumber \\
   libspa-0.2-modules liblo-tools git \\
-  librubberband2 lilv-utils libcairo2 
+  librubberband2 lilv-utils libcairo2 python3-rtmidi
 ```
 
 This records the preparation already performed on `rigforge` and is a starting point for documenting a second Pi. It is not yet a verified, version-pinned rebuild procedure: package versions, additional runtime dependencies, audio configuration, and service setup still need to be confirmed before reusing it as a complete deployment recipe.
@@ -138,14 +138,16 @@ Before starting mod-host, `scripts/wait_mod_host_ports.py` waits up to 45 second
 
 The NAM model catalog and MIDI input/socket settings are declared in `config/desired-state.yaml`. Actions identify their target by chain and processor IDs, so the bridge itself does not hard-code the guitar instance; adding a bass chain will also require extending and validating the desired audio topology. SooperLooper’s `config/sooperlooper/fcb1010.slb` remains independent and unchanged.
 
-The bridge requires Debian’s `python3-rtmidi` package on the target; this dependency has not been installed or tested there. Install it manually when ready with `sudo apt install python3-rtmidi`. Check the configuration and inspect MIDI input names with:
+The bridge uses Debian’s `python3-rtmidi` package, included in the recorded target-preparation command above. Check the configuration and inspect MIDI input names with:
 
 ```sh
 python3 scripts/midi_action_bridge.py --check
 python3 scripts/midi_action_bridge.py --list-ports
 ```
 
-Set `controls.midi_bridge.input_port_name_contains` to a unique substring of the actual UMC MIDI input name if `UMC404HD` does not match it. Then run the bridge in the foreground during a safe test:
+On 2026-11-20, the owner reported that `--check` found four valid bindings and `--list-ports` showed `UMC404HD 192k:UMC404HD 192k MIDI 1` (ALSA port `16:0`). Running the bridge manually selected all four models from notes 6–9 on channel 1; the owner reports that transitions were almost instantaneous. The configured substring `UMC404HD` matched the observed input. This verifies the manual NAM-selection path on the target, not unattended startup, USB-reconnect recovery, or SooperLooper control.
+
+Run the bridge in the foreground for manual use:
 
 ```sh
 python3 scripts/midi_action_bridge.py
@@ -205,7 +207,7 @@ The remaining target checks are:
 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.
 4. Re-test mod-host startup after installing the new port-readiness guard, then verify reboot with lingering enabled, startup resource limits, and recovery when an LV2 plugin fails to load.
-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. The owner has manually verified FCB notes 6–9 switching the guitar NAM models through the bridge, with near-instant reported transitions. Still verify the supplied FCB1010 bindings with the eventual SooperLooper build, OSC port readiness, and the effect and persistence of `discrete_prefader 0` separately. Automatic bridge startup and USB reconnect recovery also remain unverified.
 
 Do not treat planned packages, commands, ports, or service settings as target-validated until these checks have been performed.