Spaces:
Sleeping
Sleeping
File size: 627 Bytes
fa96cf5 fe277b8 66947ed fa96cf5 c2929af fa96cf5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
"""
Configuration settings for the EEG Motor Imagery Music Composer
"""
from pathlib import Path
# Data paths
BASE_DIR = Path(__file__).parent
DATA_DIR = BASE_DIR / "data"
SOUND_DIR = BASE_DIR / "sounds"
MODEL_DIR = BASE_DIR
# Classification settings
CONFIDENCE_THRESHOLD = 0.7 # Minimum confidence to add sound layer
MAX_COMPOSITION_LAYERS = 4 # Maximum layers in composition
# Demo data paths (optional) - updated with available files
DEMO_DATA_PATHS = [
"data/HaLTSubjectA1602236StLRHandLegTongue.mat",
"data/HaLTSubjectA1603086StLRHandLegTongue.mat",
"data/HaLTSubjectA1603106StLRHandLegTongue.mat",
]
|