A quick transcript of just how fast and easy it is to add entire comm channels into the brain in seconds
```
● Bash(cargo test -p sigproc-testkit --test v2 willed_attention_biases_the_rivalry -- --nocapture 2>&1 | tail -12)
⎿ |
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
… 8 lines (ctrl o to expand)
⎿ (timeout 5m)
● Willed attention works. Let me fix the mut warning:
● Update(crates\sigproc-testkit\tests\
v2.rs)
⎿ Added 1 line, removed 1 line
892 mind.present_stereo_sound(0.1, 0.85);
893
894 // measure the dwell fractions on the light (1,0) and the sound (col 3) over a window, optionally WILLING a place.
895 - let mut dwell = |mind: &mut sigproc_v2::Mind, will: Option<&str>| -> (usize, usize) {
895 let dwell = |mind: &mut sigproc_v2::Mind, will: Option<&str>| -> (usize, usize) {
896 let (mut light, mut sound) = (0usize, 0usize);
897 for _ in 0..400 {
898 if let Some(w) = will {
● Now wire LIP into the live organism as the retinotopic priority lane — driven bottom-up by the dorsal "where" map (the fix for the corner-pull), feeding FEF→colliculus, and ready for executive goals. Let me
add the LIP cable to the Mind:
● Update(crates\sigproc-v2\src\
mind.rs)
⎿ Added 4 lines
109 /// COLUMN (azimuth) of the colliculus map (the superior-olive → SC spatial-hearing pathway, aligned with vision).
110 /// The colliculus sums vision audition; the WTA picks the winner — so attention can DRIFT cross-modally.
111 auditory_salience: Vec<i64>,
112 /// The LIP target — the retinotopic PRIORITY map `(region, grid_w, grid_h)`. The dorsal "where" salience drives its
113 /// `lip_rc` cells (the parietal priority of looking at each place); LIP → FEF → colliculus biases the matching
114 /// saccade cell RETINOTOPICALLY, and the executive can weight a place here to WILL attention. `None` until `with_lip`.
115 lip_target: Option<(String, usize, usize)>,
116 }
117
118 impl Mind {
● Update(crates\sigproc-v2\src\
mind.rs)
⎿ Added 1 line
139 colliculus_target: None,
140 salience: Vec::new(),
141 auditory_salience: Vec::new(),
142 lip_target: None,
143 }
144 }
145
● Update(crates\sigproc-v2\src\
mind.rs)
⎿ Added 9 lines
168 self
169 }
170
171 /// Wire the dorsal PRIORITY cable: the retina's spatial salience also drives the LIP `lip_rc` priority cells (the
172 /// parietal where-map). LIP → FEF → colliculus is the RETINOTOPIC top-down lane — it reinforces the salient place
173 /// (so it AIDS the gaze, unlike a blind corner-pull), and the executive can weight an `lip_rc` to WILL attention
174 /// there. Use 4×4 to match the FEF colliculus maps.
175 pub fn with_lip(mut self, region: &str, gw: usize, gh: usize) -> Self {
176 self.lip_target = Some((
region.to_string(), gw, gh));
177 self
178 }
179
180 /// Present a STEREO SOUND — the world's sound arriving at the two ears at intensities `left`/`right` (≈ `[0,1]`).
181 /// The brain LOCALIZES it by INTERAURAL LEVEL DIFFERENCE (the superior-olive azimuth cue): ILD = (R−L)/(R L) maps
182 /// the source onto a COLUMN of the colliculus auditory map (full-left → column 0, centred → middle, full-right →
● Update(crates\sigproc-v2\src\
mind.rs)
⎿ Added 16 lines
362 }
363 }
364
365 /// The DORSAL PRIORITY delivery — inject the held visual salience onto the LIP `lip_rc` priority cells (the
366 /// parietal where-map; retinotopic, continuous each tick). LIP → FEF → colliculus then carries this as a top-down
367 /// bias to the matching saccade place. The host delivers the percept; LIP the executive set the priority.
368 fn transduce_lip(&mut self) {
369 let Some((region, gw, gh)) = self.lip_target.clone() else {
370 return;
371 };
372 for i in 0..gw * gh {
373 let s = self.salience.get(i).copied().unwrap_or(0);
374 if s > 0 {
375 let (r, c) = (i / gw, i % gw);
376 self.brain.inject(®ion, &format!("lip_{r}{c}"), Signal::from_value(s, 1));
377 }
378 }
379 }
380
381 /// The COCHLEAR NERVE delivery — pool the ear's 80 ranges into the MGN's 40 tonotopic places, then sharpen by
382 /// CENTER-SURROUND lateral inhibition (the cochlear-nucleus on-center off-surround): a place's drive = how far its
383 /// energy rises ABOVE its spectral surround. A formant PEAK survives and fires; a broadband-flat spectrum cancels
● Update(crates\sigproc-v2\src\
mind.rs)
⎿ Added 1 line
435 self.soma.tick(); // the body runs its own physics (heart breath), always
436 self.transduce_eye(); // afferent — the world reaches the eye
437 self.transduce_colliculus(); // afferent — the retina's spatial salience reaches the colliculus saccade map
438 self.transduce_lip(); // afferent — the same spatial salience reaches the LIP priority map (dorsal where)
439 self.transduce_ear(); // afferent — what the ear heard last tick (incl. the brain's own voice) reaches the MGN
440 self.transduce_body(); // afferent — the felt body (vagal) reaches the insula
441 self.shadow(); // the mirror — a heard vowel covertly drives the motor that would produce it
● Now wire LIP into astromind and the organism. Add the region the retinotopic LIP→FEF tract:
● Update(crates\sigproc-v2\runes\brain\astromind.rune)
⎿ Added 1 line, removed 1 line
10 brain("astromind") do
11 region(:lgn) region(:v1) region(:v2) region(:v3) region(:v4) region(:mt) region(:it)
12 region(:mgn) region(:a1) region(:belt) region(:parabelt) region(:stga) region(:wernicke) region(:spt)
13 - region(:somatosensory) region(:parietal)
13 region(:somatosensory) region(:parietal) region(:lip)
14 region(:m1) region(:premotor) region(:sma) region(:presma) region(:cerebellum)
15 region(:thalamus) region(:pulvinar)
16 region(:basal_ganglia) region(:hippocampus) region(:limbic)
```