摘要
阐述一种基于航姿参考系统的音乐设备数字接口控制器。相比于传统音乐设备数字接口控制器来说,它的优点是可穿戴,操作无摩擦阻力,可以非常快速高效地进行控制,体积小重量轻,成本低廉。系统在硬件上由两部分构成:传感器、接收机。传感器上放置九轴传感器芯片、单片机以及2. 4 G无线电,用来采集三轴加速度、三轴陀螺仪、三轴电子罗盘的数据进行九轴融合,生成姿态四元数,通过2. 4 G无线电发送给接收机。接收机是一个外形上接近U盘的设备,具备USB接口,将收到的姿态四元数转换成欧拉角,取出横滚分量后用贝塞尔函数转换成用于控制音乐设备数字接口的某个通道上的控制数据,通过音乐设备数字接口设备发送给后端的合成器作为合成器控制参数,用于音乐制作以及音乐演奏。
We demonstrate a digital interface controller for music equipment based on navigation attitude reference system. Compared with the traditional digital interface controller of music equipment,it has the advantages of wearable,friction-free operation,fast and efficient control,small size,light weight and low cost. This system of the thesis consists of two parts,a sensor and a receiver. A nine-axis sensor chip,microcontroller,and 2. 4 G radio are placed on the sensor to collect data from three-axis accelerations,three-axis gyroscopes,and three-axis electronic compasses for nine-axis fusion to generate attitude quaternion,and then sent to the receiver through the 2. 4 G radio. The receiver is a device that is physically close to the U disk and has a USB interface that converts the received attitude quaternion into Euler angles. After the roll component is taken out,the Bessel function is used to convert the control data on a channel used to control the digital interface of the music device. The synthesizer is transmitted to the back end synthesizer through the music device digital interface device as a synthesizer control parameter for music making and music playing.
引文
[1]通用MIDI标准系统第一级(General MIDI system Level1)[S/OL].1991.https://www.midi.org/specifications/category/gm-specifications.
[2]庄曜,章崇彬.MIDI音乐制作与编曲[M].上海:上海音乐学院出版社,2016.
[3]Grewal M S,Andrews A P,Bartone C G.GNSS惯性导航组合[M].陈军,余金峰,纪学军,等译.3版.北京:电子工业出版社,2016.
[4]樊昌信,曹丽娜.通信原理[M].7版.北京:国防工业出版社,2013.
[5]刘昶.微机电系统基础[M].黄庆安,译.2版.北京:机械工业出版社,2013.
[6]Madgwick S.An efficient orientation filter for inertial and inertial/magnetic sensor arrays[R/OL].http://x-io.co.uk/res/doc/madgwick_internal_report.pdf.
[7]今野纪雄.四元数[M].日本:森北出版株式会社,2016.
[8]奚定平.贝塞尔函数[M].北京:高等教育出版社,1998.
[9]Summerfield M.Advanced Qt Programming:Creating Great Software with C++and Qt 4[M].Prentice Hall Press,2010.
[10]沈红卫.STM32单片机应用与全案例实践[M].北京:电子工业出版社,2017.