Electronic musical instrument based on electronic gyroscope and electronic accelerometer

文档序号:1217191 发布日期:2020-09-04 浏览:16次 中文

阅读说明:本技术 一种基于电子陀螺仪和电子加速度计的电子乐器 (Electronic musical instrument based on electronic gyroscope and electronic accelerometer ) 是由 李胜 于 2020-06-16 设计创作,主要内容包括:本发明公开了一种基于电子陀螺仪和电子加速度计的电子乐器,包括数据采集单元,用于采集演奏者动作数据;控制换算单元,用于预设动作数据与音频映射关系且将动作数据转换为相应视频数据;发音单元,可选择不同乐器对应的音色、调节音量大小并将音频数据输出。其有益效果是:本发明可预设动作数据与音频的对应关系,通过数据采集单元采集演奏者动作数据,通过控制换算单元将动作数据换算成对应的音频,再由发音单元输出。改变了传统乐器的演奏方式,增加了演奏过程中的趣味性与自主性。(The invention discloses an electronic musical instrument based on an electronic gyroscope and an electronic accelerometer, which comprises a data acquisition unit, a data processing unit and a data processing unit, wherein the data acquisition unit is used for acquiring action data of a player; the control conversion unit is used for presetting a mapping relation between the action data and the audio and converting the action data into corresponding video data; and the pronunciation unit can select the tone colors corresponding to different musical instruments, adjust the volume and output audio data. The beneficial effects are as follows: the invention can preset the corresponding relation between the action data and the audio, collects the action data of the player through the data collection unit, converts the action data into the corresponding audio through the control conversion unit, and then outputs the audio through the pronunciation unit. The playing mode of the traditional musical instrument is changed, and the interestingness and the autonomy in the playing process are increased.)

1. An electronic musical instrument based on an electronic gyroscope and an electronic accelerometer, which is characterized by comprising

The data acquisition unit is used for acquiring player motion data;

the control conversion unit is used for presetting a mapping relation between the action data and the audio frequency and converting the action data into corresponding audio frequency data;

and the pronunciation unit can select the tone colors corresponding to different musical instruments, adjust the volume and output audio data.

2. Electronic musical instrument based on an electronic gyroscope and an electronic accelerometer according to claim 1, characterized in that the data acquisition unit comprises an electronic gyroscope and an electronic accelerometer.

3. Electronic musical instrument based on electronic gyroscopes and electronic accelerometers according to claim 2, wherein said motion data comprise spatial angles, angular velocities and spatial accelerations.

4. Electronic musical instrument based on electronic gyroscopes and electronic accelerometers according to claim 1, characterized in that said control conversion unit is a single-chip microcomputer.

5. The electronic musical instrument based on an electronic gyroscope and an electronic accelerometer according to claim 1, wherein the sound unit is a sound producing device with an audio output subsystem and a speaker.

6. The electronic musical instrument based on the electronic gyroscope and the electronic accelerometer according to any one of claims 1-5, wherein the data acquisition unit and the control conversion unit are integrated in a wearable device or a handheld device including a mobile phone, and the control conversion unit is wirelessly connected with the pronunciation unit.

7. The electronic musical instrument based on the electronic gyroscope and the electronic accelerometer according to any one of claims 1-5, wherein the data acquisition unit is arranged on a wearable device or a handheld device, the control conversion unit is integrated with the pronunciation unit, and the data acquisition unit is wirelessly connected with the control conversion unit.

8. The electronic musical instrument based on the electronic gyroscope and the electronic accelerometer according to any one of claims 1-5, wherein the data acquisition unit, the control conversion unit and the pronunciation unit are integrated with each other and are arranged in a wearable device or a handheld device.

Technical Field

The invention relates to the technical field of musical instruments, in particular to an electronic musical instrument based on an electronic gyroscope and an electronic accelerometer.

Background

Most of the electronic musical instruments on the market are the electronization of the traditional musical instruments, which mainly shows the electronization of the sound output part, but the performance input part is not innovated, and most of the musical instruments still adopt the traditional performance mode and skill. The traditional musical instrument playing needs a lot of training for a long time, and the common consumers are difficult to master in a short time.

Meanwhile, due to different structures of various musical instruments, playing modes and skills of the various musical instruments are different, a long time is needed for skillful mastering of a single musical instrument, and a universal mode which can be applied to playing of all musical instruments is not available in the market. Therefore, the input of the traditional musical instrument is improved, and a universal control mode is provided, so that the improvement direction of the traditional musical instrument is realized.

Disclosure of Invention

In order to overcome the defects that the input mode of the traditional musical instrument can not be unified and the playing mode is complex in the prior art, the invention provides an electronic musical instrument based on an electronic gyroscope and an electronic accelerometer, and the specific technical scheme is as follows:

an electronic musical instrument based on an electronic gyroscope and an electronic accelerometer comprises a data acquisition unit, a data processing unit and a data processing unit, wherein the data acquisition unit is used for acquiring player motion data; the control conversion unit is used for presetting a mapping relation between the action data and the audio and converting the action data into corresponding video data; and the pronunciation unit can select the tone colors corresponding to different musical instruments, adjust the volume and output audio data.

Further, the data acquisition unit comprises an electronic gyroscope and an electronic accelerometer.

Further, the motion data includes a spatial angle, an angular velocity, and a spatial acceleration.

Further, the control conversion unit is a single-chip microcomputer.

Further, the pronunciation unit is a pronunciation apparatus with an audio output subsystem and a speaker.

Further, the data acquisition unit and the control conversion unit are integrated in a wearable device or a handheld device, and the control conversion unit is in wireless connection with the pronunciation unit.

Further, the data acquisition unit sets up on wearable equipment or handheld device, control conversion unit with pronunciation unit is integrated, the data acquisition unit with control conversion unit wireless connection.

Furthermore, the data acquisition unit, the control conversion unit and the pronunciation unit are integrated with each other and are all arranged on the wearable device or the handheld device.

The invention has the beneficial effects that: the invention can preset the corresponding relation between the action data and the audio, collects the action data of the player through the data collection unit, converts the action data into the corresponding audio through the control conversion unit, and then outputs the audio through the pronunciation unit. The playing mode of the traditional musical instrument is changed, the playing methods of different musical instruments are unified, the interaction between a user and the musical instruments is enhanced, and the interestingness in the playing process is increased.

Drawings

Fig. 1 is a block diagram of the first embodiment of the present invention.

Fig. 2 is a block diagram of a second embodiment of the present invention.

Fig. 3 is a block diagram of a third embodiment of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

The invention mainly comprises a data acquisition unit for acquiring the action data of a player, a control conversion unit for converting the corresponding action data into corresponding audio, and a pronunciation unit for pronouncing according to the audio data. The data acquisition unit transmits the motion data to the control conversion unit after acquiring the motion data of the player, the control conversion unit analyzes and converts the motion data into corresponding audio data and then transmits the audio data to the pronunciation unit, and the pronunciation unit pronounces according to the received audio data. The data acquisition unit, the control conversion unit and the pronunciation unit can be in physical and electrical connection or in wireless connection.

In a first embodiment, as shown in fig. 1, the data acquisition unit is integrated with the control scaling unit, and the control scaling unit is wirelessly connected with the pronunciation unit.

In this embodiment, the data acquisition unit includes an electronic gyroscope and an electronic accelerometer that operate independently. The electronic gyroscope measures an included angle between a vertical axis of a gyroscope rotor in a three-dimensional coordinate system and equipment, calculates an angular velocity, and judges the motion state of an object in a three-dimensional space through the included angle and the angular velocity; the accelerometer sensor works based on the basic principle of acceleration, can measure the space acceleration, and can comprehensively and accurately reflect the motion property of an object. Therefore, the player's motion data includes three indexes of the spatial angle, the angular velocity, and the spatial acceleration. And the data acquisition unit transmits corresponding data to the control conversion unit after the acquisition is finished.

In the control conversion unit, the mapping relationship between the motion data and the audio data needs to be preset, and the corresponding "do", "re", "mi", "fa", "sol", "la" and si "in the music score is represented by an arabic numeral" 1234567 ". The custom settings may be: setting the horizontal movement from the origin to the left and returning to the origin as "1", the horizontal movement from the origin to the right and returning to the origin as "2", the vertical movement from the origin to the top and returning to the origin as "3", the vertical movement from the origin to the bottom and returning to the origin as "4", the circle drawn clockwise on the horizontal plane as "5", the circle drawn counterclockwise on the horizontal plane as "6", and the circle drawn clockwise or counterclockwise on the vertical plane as "7". A mapping relation table corresponding to the action and the note can also be set, such as a Sudoku, and a player holds the equipment to reciprocate from the original point to the left, right upwards, right leftwards, right rightwards, left downwards and right downwards, and respectively represents '1', '2', '3', '4', '5', '6' and '7'. In the control conversion unit, the spatial included angle, the angular velocity and the spatial acceleration are converted into corresponding audio data, and then the audio data are transmitted to the pronunciation unit.

In this embodiment, the data acquisition unit and the control conversion unit are built in the wearable device such as a watch and a bracelet, and can also be arranged in the handheld device such as a baton. Since the data acquisition unit mainly acquires the motion data of the player, particularly the hand motion data, other devices or apparatuses meeting the requirements can also be applied. In this embodiment, the wearable device or the handheld device is provided with a plurality of keys for adjusting the tone height. In a specific embodiment, the control scaling unit employs a single-chip microcomputer. The control conversion unit and the pronunciation unit are connected in a common wireless connection mode such as Wifi connection, Zigbee connection or BT connection.

The pronunciation unit may employ a pronunciation instrument with an audio output subsystem and a speaker. And after receiving the audio data of the control conversion unit, the pronunciation unit calls the output parameters of the corresponding musical instrument to make the loudspeaker send out corresponding music. In a specific embodiment, the sound generation unit may be a mobile phone, a tablet, a smart speaker, etc. with a corresponding software program.

The music mainly comprises loudness, tone and timbre, wherein in the invention, the loudness can be adjusted by the pronunciation unit to the intensity of the output sound, and the timbre can be adjusted according to the instrument selected in the pronunciation unit; the final heard tone is correspondingly output by the action acquisition unit, so that the input mode of the traditional musical instrument is changed.

In a second embodiment, as shown in fig. 2, the control conversion unit is integrated with the pronunciation unit, and the data acquisition unit is wirelessly connected with the control conversion unit. In this embodiment, the external sound generation unit may be output by using a terminal such as a mobile phone, a tablet, a sound box, etc. The second embodiment has higher product stability and lower production cost than the first embodiment.

In the third embodiment, the data acquisition unit, the control conversion unit and the pronunciation unit are integrated integrally and are arranged in a watch strap, a bracelet or a baton. In this embodiment, the data is not transmitted in a wireless manner, the data acquisition unit is an electronic gyroscope and an electronic accelerometer, the control conversion unit is a PCB, and the sound generation unit can be a sound generation structure such as a speaker. The action data are collected by the data acquisition unit, converted into electric signals by the PCB, and converted into corresponding acoustic signals by the loudspeaker for output. The third embodiment is higher in structural integration than the first embodiment or the second embodiment, but the speaker is in an unstable state as the player moves, and affects the sense of hearing.

The method comprises the following steps: 1. presetting a corresponding relation between actions in the control conversion unit and audio; 2. selecting timbres corresponding to different musical instruments at the sound pitch; 3. the music performance can be started by wearing the wearable equipment with the data acquisition unit or holding the handheld device with the data acquisition unit, and the volume can be properly adjusted at the pronunciation unit during the performance.

Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:音频变速方法、装置、电子设备和计算机可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!