github ↗

An always-on listening organism. LegacySparklE (engine name: ARC) is a real-time, self-organizing audio cognition experiment. It opens a live microphone, turns the sound into a frequency fingerprint many times a second, and feeds that stream into a two-stage memory of self-organizing maps that continuously reshape themselves to model the structure of whatever they are hearing.

It does not classify, transcribe, or predict anything you ask it to. Its "behaviour" is the way its memory surface bends, stabilizes, and destabilizes in response to the room around it — sonified back as live music, drawn as a curvature surface, and checkpointed to disk so a learned ear survives a restart.

repository

github.com/brackishbert-coder/LegacySparklE ↗

how it works
BabySOM — short-term memory. A small, fast map that adapts to the immediate moment, using a spike-timing twist on the usual learning rule so recent, predictive activity is reinforced.
AnonymizedQueue — a capacity-bounded buffer between the two memories. Insertion and eviction are random, decorrelating the order of experience so the long-term map learns a representative sample, not just the latest burst.
AdultSOM — long-term memory. A large, slow 2-D grid that consolidates Baby snapshots a few at a time, the way a brain is thought to replay experience during rest.
TWO1 — the central idea. When two genuinely different inputs collapse onto the same memory node, the surface has folded two experiences onto one point — a paradox, a crease in the world-model. The system detects these folds, smooths them, and accumulates curvature where they happen.
Vital signs — entropy, churn, curvature, and a temporal-mismatch "surprise" rate are reported continuously, driving both the visualizers and a musical synthesizer so you can hear the system's internal state.
build & run

Pure JDK — no third-party dependencies. It needs a working microphone and a graphical display.

# build (JDK 11, Maven) mvn compile # run the control panel, then press START java -cp target/classes arc.ARCControlPanel
self-organizing maps audio unsupervised real-time curvature java
active

it does not hear notes. it hears how a room is shaped, and remembers the shape.

TWO1two different sounds fall onto one memory. a fold. the world disagreeing with itself.

fast / slowa baby forgets quickly so it can feel the moment; an adult forgets slowly so it can hold a life.

it plays back not what it heard, but what hearing did to it.

silence is not nothing. it is the room still being itself.