返回
Monophonic music composition using genetic algorithm and Bresenham's line algorithm
DOI:10.1007/s11042-022-12185-8.png)
摘要
En 中文
Music composition is one of the oldest artistic pursuits. The role of machine in automatic generation of creative artworks, like music, is still an explorable area. In this paper, a new approach for music composition is proposed that differs from previous methods of generating music with predefined musical parameters. The proposed method gives flexibility to change the musical parameters, namely time signature, range and scale. Moreover, the user can also input any desired motif (a short piece of melody) and generate a melody that includes the motif. The type of music composed in this work is monophonic, which includes melody and rhythm. To create a proper sequence of notes, we used genetic algorithm with suitably formulated crossover and mutation operators. The rhythm is generated using Bresenham's line drawing algorithm, which has been modified to adapt different time signature with changing beats. PySynth, a simple music synthesizer, is chosen to convert music into wave file format. In the end, a comparative analysis is conducted to show the efficacy of the proposed model. Results show that the proposed algorithm performs better than conventional genetic algorithm.
Keyword:
Computer music
Genetic algorithm
Bresenham's line algorithm
Melody
Rhythm
Music composition
期刊
IF:
3
论文数:
2.0W
被引数:
3.2W
机构
引用论文
KEAP1-NRF2 Pathway as a Novel Therapeutic Target for EGFR-Mutant Non-small Cell Lung CancerKEAP1-NRF2通路作为EGFR突变型非小细胞肺癌的新型治疗靶点

