R
Vers3Dynamics
Rhythma
State-space listening

Rhythma

Name where you are.
Hear the way across.

Describe what you're carrying. Rhythma composes a session that starts there, turns, and arrives somewhere steadier, then asks where you actually landed.

Sound that travels Measured, not assumed Your record stays here

Session input

ready

Say what you're carrying, or choose a preset. Rhythma reads where that places you and composes the way to somewhere steadier.

You will get
Named session Audio that travels Measured replay

Start point: read from your words.

Reflective listening only. Not medical advice or a clinical treatment.

Your session

Your session appears here

Describe what you are carrying, or pick an example, then begin. The session arrives with its path drawn on the map and a replay of what the sound did.

What the sound did

measured from the audio
the measured trajectory appears after generation

Pitch, energy, and brightness are measured from the rendered audio, frame by frame. Click or drag the plot to seek.

Your record

Each check-in asks one thing: did you end closer to where the session was leading? Rhythma keeps the answers and says nothing general until there is enough to describe.

Every check-in

start landing closer further
Check-ins0
Evidence levelInsufficient
Typical γwithheld
Ended closerwithheld

No check-ins yet. Finish a session, mark where you landed, and it will appear here.

When Session Started Destination ΔS γ
Nothing recorded yet.

Your record is kept in this browser only. To score it, the page sends the map coordinates, never your words, and the server keeps nothing. A pattern here is a personal observation, not evidence that Rhythma caused a change.

How a session travels

One idea runs through all of Rhythma: a state is a point, a session is a path, and a claim has to be measured before it is made.

01

Name

Your words, typed or spoken, are read for the state they describe. You can overrule the reading by marking the map yourself.

02

Place

That state becomes a point on a map of valence and arousal. Each state has a destination: anxious leads to settled, sad to held.

03

Compose

The sound starts as a mirror of where you are, then glides: pitch, breath pacing, brightness, and beating all move toward the destination.

04

Observe

The rendered audio is measured frame by frame. The replay shows what the sound did, checked against what it was designed to do.

05

Check in

You mark where you landed. Rhythma scores the distance you report closing, and withholds any pattern until you have five check-ins.

The measure

A check-in is scored with the same two quantities the research mode uses for any intervention.

ΔS = D(S_end, S_start) γ = D(S_end, S*) / D(S_start, S*)

S* is the session's destination and D is distance on the map. A ratio below 1 means you report ending closer to the destination than you began; above 1, further away.

What Rhythma does not claim

  • The map is a design convention for placing feelings, not a measurement of you.
  • The replay measures the sound. It says nothing about your body or mind.
  • The tone centers are a palette, not a prescription; no frequency is claimed to heal.
  • A check-in is your own report. A run of them is a personal record, not proof of cause.
  • None of this is medical advice, diagnosis, or treatment.

Source

The engine is plain Python and NumPy behind a small FastAPI shell. Every module below is in this Space.

rhythma_arc.py

The state map, the arc from origin to destination, the audio observer, and check-in scoring.

rhythma_engine.py

The synthesizer: phase-continuous glides, two beating voices, a breath swell, and three textures.

rhythma_evidence.py

The evidence ladder that withholds estimates until there are enough trials to describe.

rhythma_analysis.py

Reads a prompt for its state and resolves the session profile that becomes the destination.

rhythma_infant_*.py

The New Mothers research workbench: cry analysis, state-space modeling, and safety limits.

app.py · demo.html

The JSON API and this page. The session endpoint returns the arc and the measured trajectory.

Scientific Research Mode

New Mothers

Personalized acoustic-response research exploring whether an individual infant shows repeatable settling responses to different gentle sound patterns.

How It Works & Safety Guidelines New Mothers is an N-of-1 research workbench, not a medical device or treatment. It measures associations between an observed acoustic state, a constrained sound stimulus, and a later response. Synthetic trials are simulation only. The -3 dBFS cap is a software peak limit, not a real-world sound-pressure guarantee. Keep playback low, supervise continuously, and stop immediately if the infant appears distressed.
• Safety Controller: Active Peak Cap: 0.707 (-3 dBFS) Max Duration: 30s Cooldown: 10s

Acoustic Input & Synthetic Signal

Upload an infant recording or generate a synthetic cry episode for offline testing.

Detection & Temporal Metrics

Ready for signal input
Total Length--
Cry Duration--
Pause Total--
Cry Rate--

Acoustic Feature Trajectory Extract

Time (s) F0 (Hz) RMS Energy Centroid (Hz) Entropy Harmonicity Observed State
No audio analyzed yet.
Synchronized signal playback

Temporal Replay

Move through one signal and follow its acoustic features, observed state, and position in the map.

Time0.00 s
Observed stateWaiting
F0 · Hz--
RMS energy--
Pitch + energy over time Click or drag the plot to seek
State sequence 0 / 0 frames
0.00 sAwaiting signal

Generate a synthetic cry or analyze an audio file to start replay.

2D Acoustic State-Space Trajectory (PCA)

The highlighted point follows the shared playback cursor. Each frame stays paired with its position in this projection.

← Lower Arousal / Settled State Vector Sequence: 0 frames Higher Intensity / Vocalization →

Constrained Stimulus Designer

Synthesize reproducible resonant stimuli via Rhythma's modulation engine within safety limits.

Stimulus Verification & Playback

Stimulus engine ready
Stimulus ID--
Peak Amplitude--
Clearance Token--

Stimulus audio is stored in an ephemeral private cache and evicted automatically after 10 minutes.

Experimental Trial Runner

Public demo: this runner uses synthetic baseline and post-stimulus signals. Simulation results demonstrate the pipeline; they are not evidence about an infant.

Trial Session Record

Awaiting trial run
Session ID--
Condition--
Baseline Cry Rate--
Post-Stim Cry Rate--
Settling Score--

Individualized Response Modeling

Fit exploratory within-subject models relating acoustic state and stimulus parameters to observed settling outcomes.

Model ready for training
Training Trials--
Evidence Level--
Fit MSE--
Fit R²--
Data Scope--

Fit diagnostics are descriptive unless cross-validation is explicitly reported. Evidence labels are interface guardrails, not significance or clinical-validity claims.

Experimental Response Estimator

Estimate the within-subject model response for a candidate stimulus. Rhythma withholds the numeric estimate until a minimum number of completed trials is available.

Estimated Settling Index--
Evidence Level--
Contributing Trials--
Data Scope--

Experimental N-of-1 estimate only. Not a clinical prediction.