用深度学习区分埃及古典与现代音乐作曲家,并生成相似新音乐。
Arabic Music Classification and Generation using Deep Learning
- 用卷积神经网络分析音乐的梅尔频谱图来识别作曲家。
- 作曲家分类准确率达81.4%,生成音乐能保留原风格特征。
- 适合音乐推荐、创作辅助和教育场景使用。
本文提出一种基于机器学习的方法,用于区分古典与现代埃及音乐的作曲家,并生成风格相近的新音乐。系统采用卷积神经网络(CNN)进行分类,对每段音乐样本进行归一化并转换为梅尔频谱图作为输入,以作曲家标签作为输出类别。模型在该任务上达到81.4%的分类准确率,验证了方法的有效性。为生成新音乐,训练了一个CNN自编码器,在相同数据集上将原始梅尔频谱图编码至低维潜在空间并重构还原。通过从潜在空间采样并解码,生成新的梅尔频谱图,再转换为音频。实验表明,该系统在埃及古典音乐的分类与生成方面具有应用前景,可服务于音乐推荐、制作与教育等场景。
原文摘要 · Abstract (English)
This paper proposes a machine learning approach for classifying classical and new Egyptian music by composer and generating new similar music. The proposed system utilizes a convolutional neural network (CNN) for classification and a CNN autoencoder for generation. The dataset used in this project consists of new and classical Egyptian music pieces composed by different composers. To classify the music by composer, each sample is normalized and transformed into a mel spectrogram. The CNN model is trained on the dataset using the mel spectrograms as input features and the composer labels as output classes. The model achieves 81.4\% accuracy in classifying the music by composer, demonstrating the effectiveness of the proposed approach. To generate new music similar to the original pieces, a CNN autoencoder is trained on a similar dataset. The model is trained to encode the mel spectrograms of the original pieces into a lower-dimensional latent space and then decode them back into the original mel spectrogram. The generated music is produced by sampling from the latent space and decoding the samples back into mel spectrograms, which are then transformed into audio. In conclusion, the proposed system provides a promising approach to classifying and generating classical Egyptian music, which can be applied in various musical applications, such as music recommendation systems, music production, and music education.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。