This research calculated the power spectrum of Alpha wave and Theta wave, to detect the transition of wake - sleep stages by K-means clustering algorithm. Sleep latency is one of the factors that determine the quality of sleep. The sleep onset is detected based on the phase shift of the Alpha and Theta waves. The exact timing of the sleep onset was important in this study. The user interface was developed in this study to compute sleep latency in normal and musical experiment. As a result, music is an intervention in helping people fall asleep easier (mean of sleep latency in normal and musical experiment was min and min, respectively) but the standard deviation of this result was rather high due to the little number of experiments. |