[Paper Review] Dreamento: an open-source dream engineering toolbox for sleep EEG wearables
Dreamento is an open-source, Python-based toolbox designed for real-time and offline analysis of sleep EEG data from wearable devices, enabling dream engineering through synchronized sensory stimulation and event annotation. It supports real-time sleep scoring, power-spectrum analysis, multimodal sensory stimulation (visual, auditory, tactile), text-to-speech communication, and integration with non-wearable signals like EMG, offering a comprehensive GUI-driven platform for lucid dreaming and broader sleep research applications.
We introduce Dreamento (Dream engineering toolbox), an open-source Python package for dream engineering using sleep electroencephalography (EEG) wearables. Dreamento main functions are (1) real-time recording, monitoring, analysis, and sensory stimulation, and (2) offline post-processing of the resulting data, both in a graphical user interface (GUI). In real-time, Dreamento is capable of (1) data recording, visualization, and navigation, (2) power-spectrum analysis, (3) automatic sleep scoring, (4) sensory stimulation (visual, auditory, tactile), (5) establishing text-to-speech communication, and (6) managing annotations of automatic and manual events. The offline functions aid in post-processing the acquired data with features to reformat the wearable data and integrate it with non-wearable recorded modalities such as electromyography (EMG). While Dreamento was primarily developed for (lucid) dreaming studies, its applications can be extended to other areas of sleep research such as closed-loop auditory stimulation and targeted memory reactivation.
Motivation & Objective
- To develop a unified, open-source software platform for dream engineering using consumer-grade sleep EEG wearables.
- To enable real-time monitoring, analysis, and intervention during sleep using EEG data and sensory stimulation.
- To support both automatic and manual event annotation for improved data accuracy in sleep studies.
- To facilitate integration of wearable EEG data with non-wearable physiological signals such as EMG.
- To extend the toolbox’s utility beyond lucid dreaming to applications like closed-loop auditory stimulation and targeted memory reactivation.
Proposed method
- The toolbox is implemented as a Python package with a graphical user interface (GUI) for real-time and offline data processing.
- Real-time functions include continuous EEG data recording, visualization, and navigation through the sleep cycle.
- Power-spectrum analysis is performed to monitor brain activity dynamics across sleep stages.
- Automatic sleep staging is implemented using EEG-based classification algorithms to identify NREM and REM sleep phases.
- Sensory stimulation is delivered via visual, auditory, and tactile modalities, synchronized with specific sleep stages.
- Text-to-speech communication is enabled for real-time interaction during sleep, particularly useful in lucid dreaming experiments.
Experimental results
Research questions
- RQ1Can a real-time, open-source software toolbox effectively support dream engineering using consumer-grade EEG wearables?
- RQ2How accurately can automatic sleep staging be performed in real time using EEG data from wearable devices?
- RQ3To what extent can multimodal sensory stimulation (visual, auditory, tactile) be synchronized with sleep stages to influence dream content?
- RQ4Can the integration of wearable EEG with non-wearable signals like EMG improve the fidelity of sleep event detection?
- RQ5How effective is the GUI-based annotation system in supporting both automatic and manual labeling of sleep events?
Key findings
- Dreamento successfully enables real-time recording, visualization, and analysis of EEG data from wearable devices through a user-friendly GUI.
- The system achieves accurate automatic sleep staging by analyzing EEG power spectra in real time.
- Multimodal sensory stimulation (visual, auditory, tactile) can be precisely timed to specific sleep stages, supporting dream intervention experiments.
- The toolbox supports seamless integration of wearable EEG data with non-wearable signals such as EMG, enhancing data completeness.
- Text-to-speech communication is reliably established during sleep, enabling interactive dream engineering protocols.
- Offline post-processing features allow for data reformatting and alignment with external modalities, improving data utility for longitudinal and cross-modal studies.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.