Disclosed are a method and system for matching an electroencephalogram and music. The method comprises: S1, obtaining a scaling index alpha of a measured electroencephalogram according to the electroencephalogram; S2, analysing music in a preset music library to obtain a long-range relevant index beta of the music; and S3, matching the electroencephalogram and the music according to the scaling index alpha and the long-range relevant index beta. The method and system for matching an electroencephalogram and music can rapidly and automatically find a musical composition conforming to the current emotional state of a person by measuring the electroencephalogram of the person, thus playing an important role in relieving the pressure and calming down the emotion.
METHOD AND SYSTEM FOR MATCHING ELECTROENCEPHALOGRAM AND MUSIC