Interactive Demo

See the SDK in Action

Explore signal processing and sleep staging demonstrations powered by the Aika SDK.

🧬

Sleep Staging

Real-time

SDK FSM provides 4-class sleep staging (Wake / Light / Deep / REM) updated every 30 seconds via SleepStageListener.onlineStage().

// Subscribe to real-time sleep stage events appSDK.setSleepStageListener(new SleepStageListener() { @Override public void onlineStage(int stage) { // 0=Deep 1=Light 2=REM 3=Wake runOnUiThread(() -> updateStageUI(stage)); } });

Simulated Hypnogram

Wake
8%
REM
22%
Light
45%
Deep
25%
🔊

Neuroacoustic Modulation

CLAS

Closed-Loop Acoustic Stimulation (CLAS) locks audio pulses to the UP phase of slow oscillations (0.5–1 Hz), enhancing deep sleep SWA.

// Phase-locked stimulation trigger neuralForegroundService.onSlowWaveUpPhase((phaseAngleRad) -> { float anticipationMs = 42f; // BLE latency compensation float delay = computeDelay(phaseAngleRad, anticipationMs); audioEngine.schedulePulse(delay, algoParams.stimulusVolumeDb); });

Phase Estimation (ecHT)

▼ stim ▼ stim
📊

EEG Feature Extraction

Real-time delta / theta / alpha / beta band power via RealDataListener.onRealTimeEegBand().

appSDK.setRealDataListener(new RealDataListener() { @Override public void onRealTimeEegBand(float delta, float theta, float alpha, float beta) { // All values normalized 0-1 updateBandPowerUI(delta, theta, alpha, beta); } });

Sample Band Powers (N3 epoch)

Delta
82%
Theta
31%
Alpha
12%
Beta
8%

Ready to Build?

Download the SDK and start integrating in minutes.

Download SDK → View Docs →