Breathing Sync/Live Coherencev0.8.0
Live session / 00:00 elapsed / peak ratio 0.00

Breathing Sync

Multi-person breathing synchronization detection — useful for meditation groups, therapy sessions, and research.

Health v0.8.0 20 KB Medium Streaming · 50 Hz
Group sync ratio
phase coherence
People detected
via CSI breathing
Mean rate
breaths / min
Sync events (5m)
sync_detected
Live breathing waveforms
CSI amplitude · per-person band-pass (0.1–0.5 Hz) · 30 s window
Group coherence
sync_ratio
Initializing…
Sync is detected when the Kuramoto order parameter sustains above the configured threshold for the dwell window.

Detected people

Past sessions

Recent breathing sessions
Captured locally · click a row to inspect
Started Duration People Peak ratio Mean rate sync_detected

This session (live)

In progress
Started at page load · streaming
View live →
Elapsed
00:00
since session start
Peak ratio
max group coherence
Events fired
sync_detected total
People seen
max concurrent
Event stream
cog.breathing-sync emits — most recent first
Sample payloads
Latest event body (subscribe over MCP or MQTT)
{}
Sampled at 50 Hz on-device, decimated to 5 Hz before publish. Phase estimate via Hilbert transform on the band-passed amplitude.
Configuration
Persisted per-seed in cog.config.json
Sync threshold
Order parameter required to fire sync_detected.
0.80
Dwell window
Seconds the threshold must hold before emitting.
6 s
Min persons
Minimum detected breathing streams.
CSI subcarrier band
Sub-carriers used for thoracic motion extraction.
Publish to MQTT
Forward events to cogs/breathing-sync/#.
Cog manifest
Static metadata from the registry
Identifier
cog.breathing-sync
Version
0.8.0
Category
Health
Footprint
20 KB · Medium complexity
Hardware
ESP32-S3
Input
CSI breathing
Events
sync_detected sync_ratio person_count
Source
cognitum-one/cogs/src/cogs/breathing-sync
How it works
Detection pipeline overview
CSI extraction
ESP32-S3 captures Wi-Fi Channel State Information from ambient packets, isolating sub-carriers sensitive to thoracic motion.
Per-person band-pass
Source separation splits the signal into individual breathing streams (0.1–0.5 Hz band, ~6–30 BPM).
Phase & coherence
Hilbert transform yields instantaneous phase per person; the Kuramoto order parameter quantifies group coherence.
Sync detection
Emits sync_detected when the order parameter holds above threshold for the configured dwell window.
Use cases
Where this cog is being deployed
Meditation groups
Visualize collective breath in real time; quantify the moment a group enters a shared rhythm.
Therapy & co-regulation
Track therapist–client breathing entrainment as a non-verbal measure of attunement.
Research
Contactless, ambient measurement of inter-personal physiological synchrony for behavioural studies.