摘要
基于LabVIEW建立一种数字图像转化为音乐旋律的算法,提高纸媒的趣味性,为音乐创作提供动机。通过分析图像灰度直方图与音乐旋律的关系,基于LabVIEW完成了通过图像灰度直方图获得一段旋律并转化为MIDI文件的功能。生成结果表明:不同灰度直方图能够生成不同的音乐旋律;通过对生成乐谱的观察,发现生成的旋律能够反映灰度直方图的大致变化趋势,阶调丰富的图像最适合生成旋律。
Based on LabVIEW,an algorithm for converting digital image into melody is established to improve the interest of paper media and provide motivation for music creation.By analyzing the relationship between gray histogram of image and music melody,the model for the image and music is obtained according to LabVIEW.Results show that different gray-scale histograms could generate different musical melodies.Through the observation of the generated score,it is found that the generated melody could reflect the general change trend of the gray-scale histogram,and that the image with rich gradations is most suitable for generating melody.
作者
郭凌华
刘明磊
丁亭文
张宜洋
王杰
GUO Linghua;LIU Minglei;DING Tingwen;ZHANG Yiyang;WANG Jie(College of Light Industry Science and Engineering,Shaanxi University of Science&Technology,Xi’an 710021,China;National Demonstration Center for Experimental Light Chemistry Engineering Education,Shaanxi University of Science&Technology,Xi’an 710021,China;Key Laboratory of Paper Based Functional Materials of China National Light Industry,Shaanxi University of Science&Technology,Xi’an 710021,China;Shaanxi Provincial Key Laboratory of Paper Technology and Specialty Paper Development,Shaanxi University of Science&Technology,Xi’an 710021,China)
出处
《西安理工大学学报》
CAS
北大核心
2020年第1期65-71,共7页
Journal of Xi'an University of Technology
基金
陕西省科技厅工业公关资助项目(2016GY-017,2016GY-079)
西安市科技局高校院所人才服务企业工程资助项目(2017068CG/RC031(SXKD008))
西安市未央区科技计划资助项目(201825)。
作者简介
第一作者:郭凌华,女,教授,博士,研究方向为防伪印刷及颜色科学。E-mail:guolinghua@sust.edu.com。