JOURNAL ARTICLE

Generative Adversarial Network Based Music Generation

Abstract

Music has been an integral part of human civilization personally and culturally. Historically, music has been generated using various instruments, or natural sounds like water drops, or unconventional musical instruments like metal or glass-wares. At present, technologies like Musical Instrument Digital Interface (MIDI) are used to generate music electronically. This research investigates the use of Generative Adversarial Networks (GANs) for beginner-friendly music production. This model uses Long Short-Term Memory (LSTM) generator and Patch GAN as discriminator for the GAN architecture. The generator consists of input layer, embedding layer, LSTM layer and generates output with a SoftMax function. Similarly, the discriminator consists of a convolution layer, the output of which is averaged by the global average pooling layer, and output is generated by the sigmoid function. The model is trained on Maestro MIDI dataset. We make the process understandable by delving into the implementation specifics and outlining the fundamental concepts of music. Our effective model highlights the potential of GANs in music composition by producing cohesive music. After training for 50 epochs, the model exhibited a remarkable precision of 91.82 percent. This project uses the combination of Artificial Intelligence (AI) with music theory to provide intriguing new opportunities in the field of music. The model can be beneficial for different industries like gaming, music, entertainment, education, etc.

Keywords:
Adversarial system Generative grammar Generative adversarial network Computer science Artificial intelligence Deep learning

Metrics

0
Cited By
0.00
FWCI (Field Weighted Citation Impact)
0
Refs
0.19
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

Music Technology and Sound Studies
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
Music and Audio Processing
Physical Sciences →  Computer Science →  Signal Processing
Generative Adversarial Networks and Image Synthesis
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition

Related Documents

BOOK-CHAPTER

Generative Adversarial Network for Music Generation

Suman Maria TonyS. Sasikumar

Lecture notes in electrical engineering Year: 2022 Pages: 109-119
JOURNAL ARTICLE

Real-Time Emotion-Based Piano Music Generation Using Generative Adversarial Network (GAN)

Lijun ZhengChenglong Li

Journal:   IEEE Access Year: 2024 Vol: 12 Pages: 87489-87500
JOURNAL ARTICLE

Polyphonic music generation generative adversarial network with Markov decision process

Wenkai HuangYihao XueZefeng XuGuanglong PengYu Wu

Journal:   Multimedia Tools and Applications Year: 2022 Vol: 81 (21)Pages: 29865-29885
JOURNAL ARTICLE

Icon Shape Generation Based on Generative Adversarial Network

璁 赵

Journal:   Computer Science and Application Year: 2020 Vol: 10 (03)Pages: 456-463
© 2026 ScienceGate Book Chapters — All rights reserved.