The present application discloses an electronic musical instrument, which has a box body, a sound effect component located inside the box body, a sensor, an audio sound processor, and a micro programmable processor. The sound effect accessories are arranged in the box body to divide the box body into different tapping areas; an audio sound processor and a sensor are electrically connected to the micro programmable processor, a sound source module of the audio sound processor receives the external instant music, the sensor senses the distance and movement of the player to control the playback sound of the instant music; the electronic musical instrument of the present invention is particularly suitable for use in the process of music therapy, and even if the patient does not touch the instrument, the music can be perceived and the music performance interaction can be performed.本創作公開了一種電子樂器,包含箱體、位於箱體內部的音效配件、感測器、音訊聲音處理器、微型可編程式處理器。其中,音效配件設置於箱體內,以將箱體分成不同的敲擊區域;在微型可編程式處理器上電連接音訊聲音處理器和感測器,其中音訊聲音處理器的聲源模組接收外連的即時音樂,感測器感應演奏者的距離和移動來控制即時音樂的播放音效。本創作的電子樂器特別適合用於音樂治療的過程中,即便患者不接觸該樂器,也可以感知到音樂,進行音樂演奏互動。