This project focuses on an innovative approach to music composition driven by EEG data. The objective is to create personalized musical pieces that reflect an individual’s cognitive and emotional states by analyzing their brainwave patterns. By utilizing EEG signals captured in real-time, the system generates unique music compositions that align with the user’s mental state. This project explores the intersection of neuroscience, artificial intelligence, and music, offering new possibilities for therapeutic applications, creative expression, and enhancing the human-computer interaction experience.