Skip to content

Relaxation

CyberGems edited this page Aug 31, 2026 · 1 revision

Relaxation

CyberClock includes a relaxation module with procedural ambient sound synthesis, breathing patterns, and mindfulness features.


Ambient Soundscapes

Available Soundscapes

Soundscape Description
Night Crickets, gentle wind
Forest Birds, rustling leaves
Outer Space Deep space ambiance
Ocean Waves, seagulls
Rain Rainfall, thunder
Fireplace Crackling fire

Audio Technology

  • Web Audio API procedural synthesis
  • No pre-recorded loops
  • Equal-power crossfade between sounds
  • Audio spectrum visualizer

Sound Controls

Control Action
Play/Pause Toggle playback
Volume Adjust volume level
Soundscape Select ambient sound
Crossfade Smooth transition between sounds

Breathing Patterns

Box Breathing (4-4-4-4)

Phase Duration
Inhale 4 seconds
Hold 4 seconds
Exhale 4 seconds
Hold 4 seconds

4-7-8 Breathing

Phase Duration
Inhale 4 seconds
Hold 7 seconds
Exhale 8 seconds

Visual Guide

  • Expanding/contracting circle
  • Phase labels (Inhale, Hold, Exhale)
  • Progress indicator

Session Timer

Configuration

Setting Description
Duration Session length
Auto-stop Stop after duration
Mindfulness tips Rotate tips during session

Features

  • Countdown timer for relaxation session
  • Tips displayed between intervals
  • Optional bell sounds

Audio Visualizer

Display

Real-time audio visualization:

  • Frequency spectrum bars
  • Animated waveform
  • Responds to ambient sounds

Clone this wiki locally