This study is a field research aimed at analyzing the effectiveness of utilizing an artificial intelligence- based music program called 'Doodle Bach' in music creation classes based on creative teaching design. The research intends to analyze the effectiveness of incorporating artificial intelligence into music creation classes through learner surveys, teacher interviews, and analysis of music composition results, focusing on the cognitive aspects of music. The study subjects consisted of 50 sixth-grade students from two classes at Seoul Y Elementary School. The classes were divided into an experimental group and a control group based on the presence of 'Doodle Bach' in the creation classes, and five sessions of classes were designed and implemented. The analysis results showed that the musical cognitive abilities of both the experimental and control groups increased in the order of rhythm, harmony, and melody cognition, with the experimental group showing a more tremendous increase than the control group. The surveys, interviews, and analysis of creation results indicated that Doodle Bach effectively played a role as an assistant tool that provided assistance and inspiration during students' music creation process.