Morse Code Recognition
Initial implementation. 5-neuron canonical circuit based on the Münster model.
- 5-neuron circuit (AN1, LN2, LN3, LN5, ON1)
- Basic Morse code encoding/decoding
- Criterion benchmarks (0.175 µs/step)
- 0 false positives during silence
Adaptive neuromorphic signal processing. Hardwired core + optional STDP plasticity. Inspired by 200 million years of cricket evolution.
Watch the 5-neuron Münster circuit process signals in real-time. ON1 fires only when it detects sustained 4500 Hz via delay-line coincidence detection.
Five neurons connected by six delay synapses. Inhibitory paths (red) suppress noise, the excitatory path (green) drives the output.
The hardwired core is built on four equations. Optional STDP plasticity enables online weight adaptation.
Frequency selectivity. w = 0.1 gives ±10% bandwidth. At 20% deviation, match < 0.02.
When resonating: amplitude grows proportionally to match strength, capped at 1.0.
Exponential moving average locks the neuron's phase to the input signal.
Output fires only when BOTH current and delayed amplitude exceed threshold. Prevents false positives.
CricketBrain is not competing with deep learning. It proves that useful inference is possible at a fundamentally different scale.
| Property | CricketBrain | Deep Learning |
|---|---|---|
| Latency | 0.175 µs/step | ~10 ms |
| Memory | ~1 KB | ~800 GB |
| Training | Optional STDP | Months on cluster |
| GPU required | No | Yes |
| Deterministic | Yes | No |
| no_std / Embedded | Yes | No |
| Explainable | Fully | Black box |
| False positives in silence | 0 | N/A |
Initial implementation. 5-neuron canonical circuit based on the Münster model.
Multi-frequency token vocabulary and parallel resonator banks.
Temporal pattern matching with confidence scoring and privacy mode.
Full workspace with cross-platform bindings, STDP plasticity, and research-grade benchmarks.
#![deny(unsafe_code)]# Clone and run
git clone https://github.com/BEKO2210/cricket-brain.git
cd cricket-brain
cargo run
# Full roundtrip demo
cargo run --example live_demo -- "HELLO WORLD"
# Sequence prediction
cargo run --example sequence_predict
# 40k neuron benchmark
cargo run --release --example scale_test
# Run all 122 tests
cargo test --workspace