Free SKILL.md scraped from GitHub. Clone the repo or copy the file directly into your Claude Code skills directory.
npx versuz@latest install hiyenwong-ai-collection-collection-skills-earable-eeg-auditory-platformgit clone https://github.com/hiyenwong/ai_collection.gitcp ai_collection/SKILL.MD ~/.claude/skills/hiyenwong-ai-collection-collection-skills-earable-eeg-auditory-platform/SKILL.md---
name: earable-eeg-auditory-platform
description: In-ear EEG monitoring platform methodology for simultaneous EEG sensing and auditory stimulation. Covers personalized IEEM device design, closed-loop neuromodulation, and in-ear electrode validation.
version: 1.0.0
author: Research Synthesis
license: MIT
metadata:
hermes:
tags: [eeg, earable, neuromodulation, auditory, hardware, closed-loop]
source_paper: "Earable Platform with Integrated Simultaneous EEG Sensing and Auditory Stimulation (arXiv:2604.22137)"
citations: 0
---
# Earable EEG-Auditory Platform
## Overview
Methodology for personalized in-ear EEG monitors (IEEM) that simultaneously capture EEG signals from the outer ear while delivering audio playback through the same device. Enables closed-loop neuromodulation where brain activity is monitored in real-time and corresponding acoustic stimulation is delivered adaptively, all within the ear.
Based on: *Earable Platform with Integrated Simultaneous EEG Sensing and Auditory Stimulation* (arXiv:2604.22137) by Min Suk Lee et al., accepted at IEEE NER 2025.
## Activation Keywords
- earable eeg, in-ear eeg, auditory stimulation, closed-loop neuromodulation, earpiece EEG, IEEM, ASSR detection, alpha modulation, 入耳式脑电, 闭环神经调控
## Core Concepts
### 1. In-Ear EEG Monitor (IEEM) Design
- Custom-molded earpiece matches user ear anatomy precisely
- Provides effective sound isolation from the environment
- Enables direct audio transmission into the ear canal
- Eliminates need for cumbersome scalp-based EEG systems (gels, wiring, social stigma)
### 2. Simultaneous Sensing + Stimulation
- EEG electrodes integrated into the earpiece for signal capture
- Audio transducer delivers auditory stimulation through the same device
- No interference between sensing and stimulation channels
- Enables real-time closed-loop neuromodulation
### 3. Signal Validation
The platform successfully detects multiple physiological signals:
- **Electrooculography (EOG)**: Eye movement tracking
- **Eye blinks**: Artifact detection and potential control signals
- **Jaw clenches**: Motor activity monitoring
- **Auditory Steady-State Responses (ASSR)**: Validates auditory pathway integrity
- **Alpha modulation**: Confirms cortical EEG signal quality
### 4. Electrode-Skin Contact Validation
- Electrochemical Impedance Spectroscopy (EIS) confirms stable contact
- Impedance values comparable to traditional dry electrodes
- Suitable for long-term monitoring applications
## Implementation Pattern
```python
# IEEM Signal Processing Pipeline
import numpy as np
from scipy.signal import butter, filtfilt
class IEEMProcessor:
"""Process simultaneous EEG + auditory signals from in-ear device."""
def __init__(self, fs=500):
self.fs = fs
def bandpass_filter(self, signal, low=0.5, high=45):
"""Bandpass filter for EEG signals."""
nyq = self.fs / 2
b, a = butter(4, [low/nyq, high/nyq], btype='band')
return filtfilt(b, a, signal)
def detect_alpha_power(self, eeg_signal, window_sec=2):
"""Extract alpha band power (8-13 Hz) from EEG."""
nfft = int(window_sec * self.fs)
freqs, psd = self._compute_psd(eeg_signal, nfft)
alpha_mask = (freqs >= 8) & (freqs <= 13)
return np.trapz(psd[alpha_mask], freqs[alpha_mask])
def detect_assr(self, eeg_signal, stim_freq=40):
"""Detect Auditory Steady-State Response at stimulation frequency."""
nfft = len(eeg_signal)
freqs, psd = self._compute_psd(eeg_signal, nfft)
freq_idx = np.argmin(np.abs(freqs - stim_freq))
signal_power = psd[freq_idx]
noise_power = np.mean(np.concatenate([
psd[freq_idx-3:freq_idx],
psd[freq_idx+1:freq_idx+4]
]))
return 10 * np.log10(signal_power / noise_power)
def closed_loop_stimulation(self, eeg_signal, threshold=0.5):
"""Adaptive stimulation based on real-time EEG state."""
alpha = self.detect_alpha_power(eeg_signal)
if alpha > threshold:
return "deliver_stimulation"
else:
return "monitor_only"
def _compute_psd(self, signal, nfft):
freqs = np.fft.rfftfreq(nfft, 1/self.fs)
psd = np.abs(np.fft.rfft(signal, n=nfft))**2 / nfft
return freqs, psd
```
## Applications
1. **Closed-loop neuromodulation**: Real-time EEG monitoring with adaptive acoustic stimulation
2. **Long-term cognitive monitoring**: Discreet, comfortable in-ear form factor
3. **Sleep studies**: Alpha/sleep stage monitoring without scalp electrodes
4. **BCI applications**: Eye blink and jaw clench as control signals
5. **Auditory research**: ASSR measurement for hearing assessment
6. **Neurofeedback**: Real-time alpha modulation feedback
## Validation Metrics
| Metric | Target | Method |
|--------|--------|--------|
| Electrode impedance | < 100 kOhm | EIS measurement |
| ASSR detection | SNR > 3 dB | Frequency-domain analysis |
| Alpha detection | Correlation with scalp EEG > 0.7 | Cross-validation |
| EOG/blink detection | Sensitivity > 90% | Amplitude thresholding |
## Pitfalls
1. **Individual ear anatomy variation** - Custom molding required for consistent signal quality
2. **Motion artifacts** - Jaw movements and head motion introduce noise; use accelerometer for artifact rejection
3. **Limited spatial resolution** - In-ear EEG captures only temporal lobe proximity; not suitable for whole-brain mapping
4. **Audio-EEG crosstalk** - Stimulation artifacts may contaminate EEG; use time-division multiplexing or adaptive filtering
5. **Long-term skin contact** - Electrode-skin impedance may drift over extended sessions; periodic EIS checks recommended
## Related Skills
- eeg-biomarker-robustness-cross-population
- eeg-tinnitus-biomarker-robustness
- rl-closed-loop-eeg-tms
- eeg-brain-connectivity-bci
## References
- Lee MS, Uppal A, Thota A, et al. "Earable Platform with Integrated Simultaneous EEG Sensing and Auditory Stimulation." arXiv:2604.22137 [q-bio.NC], 2026. Accepted at IEEE NER 2025.