[go: up one dir, main page]

CN108269563A - A kind of virtual jazz drum and implementation method - Google Patents

A kind of virtual jazz drum and implementation method Download PDF

Info

Publication number
CN108269563A
CN108269563A CN201810006692.9A CN201810006692A CN108269563A CN 108269563 A CN108269563 A CN 108269563A CN 201810006692 A CN201810006692 A CN 201810006692A CN 108269563 A CN108269563 A CN 108269563A
Authority
CN
China
Prior art keywords
drum
jazz drum
jazz
hitting
player
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810006692.9A
Other languages
Chinese (zh)
Inventor
付勇
曾志广
郑栋珂
陈伟江
黄俊炜
钟睿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jinan University
Original Assignee
Jinan University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jinan University filed Critical Jinan University
Priority to CN201810006692.9A priority Critical patent/CN108269563A/en
Publication of CN108269563A publication Critical patent/CN108269563A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H7/00Instruments in which the tones are synthesised from a data store, e.g. computer organs
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2220/00Input/output interfacing specifically adapted for electrophonic musical tools or instruments
    • G10H2220/155User input interfaces for electrophonic musical instruments
    • G10H2220/391Angle sensing for musical purposes, using data from a gyroscope, gyrometer or other angular velocity or angular movement sensing device
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2220/00Input/output interfacing specifically adapted for electrophonic musical tools or instruments
    • G10H2220/155User input interfaces for electrophonic musical instruments
    • G10H2220/395Acceleration sensing or accelerometer use, e.g. 3D movement computation by integration of accelerometer data, angle sensing with respect to the vertical, i.e. gravity sensing
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2220/00Input/output interfacing specifically adapted for electrophonic musical tools or instruments
    • G10H2220/155User input interfaces for electrophonic musical instruments
    • G10H2220/441Image sensing, i.e. capturing images or optical patterns for musical purposes or musical control purposes
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2220/00Input/output interfacing specifically adapted for electrophonic musical tools or instruments
    • G10H2220/155User input interfaces for electrophonic musical instruments
    • G10H2220/441Image sensing, i.e. capturing images or optical patterns for musical purposes or musical control purposes
    • G10H2220/455Camera input, e.g. analyzing pictures from a video camera and using the analysis results as control data
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2230/00General physical, ergonomic or hardware implementation of electrophonic musical tools or instruments, e.g. shape or architecture
    • G10H2230/045Special instrument [spint], i.e. mimicking the ergonomy, shape, sound or other characteristic of a specific acoustic musical instrument category
    • G10H2230/251Spint percussion, i.e. mimicking percussion instruments; Electrophonic musical instruments with percussion instrument features; Electrophonic aspects of acoustic percussion instruments or MIDI-like control therefor
    • G10H2230/275Spint drum
    • G10H2230/281Spint drum assembly, i.e. mimicking two or more drums or drumpads assembled on a common structure, e.g. drum kit

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本发明公开了一种虚拟爵士鼓及实现方法,该虚拟爵士鼓包括脚踏、鼓槌、摄像头、上位机、爵士鼓软件程序、存储器、爵士鼓声音数据库和音箱,其中,鼓槌和脚踏用作爵士鼓演奏工具,摄像头与上位机连接,实时拍摄演奏者的手部和脚部动作,爵士鼓软件程序运行在上位机上,爵士鼓声音数据库存储在上位机的存储器中,音箱通过线路连接到上位机;上位机将摄像头采集到的视频信号,经爵士鼓软件程序分析后,即可匹配到爵士鼓声音数据中的声音信号,声音信号再经音频处理形成音频文件,音频文件最后通过音箱进行播放。该发明具易携带、低成本、强实用性并能够最大程度满足个体用户爵士鼓演奏的个性化需求,适合不同场合不同人群使用。

The invention discloses a virtual jazz drum and its realization method. The virtual jazz drum includes foot pedals, drumsticks, cameras, host computer, jazz drum software program, memory, jazz drum sound database and sound box, wherein the drumsticks and foot pedals Used as a jazz drum performance tool, the camera is connected to the host computer to capture the player's hand and foot movements in real time, the jazz drum software program runs on the host computer, the jazz drum sound database is stored in the memory of the host computer, and the speakers are connected through lines to the upper computer; the upper computer can match the video signal collected by the camera to the sound signal in the sound data of the jazz drum after being analyzed by the jazz drum software program, and the sound signal is then processed to form an audio file, and the audio file is finally passed through the speaker to play. The invention is easy to carry, low cost, strong practicability and can meet the individual needs of individual users for jazz drum performance to the greatest extent, and is suitable for use by different groups of people on different occasions.

Description

一种虚拟爵士鼓及实现方法A virtual jazz drum and its implementation method

技术领域technical field

本发明涉及综合教育娱乐技术领域,具体涉及一种虚拟爵士鼓及实现方法。The invention relates to the technical field of comprehensive education and entertainment, in particular to a virtual jazz drum and its implementation method.

背景技术Background technique

爵士鼓(Drum kit,Drum set),是一套各种不同类型、不同音色的手击乐器和脚击乐器集结为一体由单人利用脚踏、鼓槌或鼓刷来演奏的大型乐器。主要用在摇滚乐和爵士乐中,抑扬顿挫的立体鼓点配上鼓手投入演出的神情,演奏起来极具渲染性。爵士鼓的基本组合包括了大鼓(bass drum)、小鼓(snare drum)、两个筒鼓(tom-tom)、一个落地鼓(floortom)、脚踏钹(hi-hat cymbal)和钹(cymbal)。其中钹分为碎音钹(crash cymbal)、叠音钹(ride cymbal)以及发出效果音的中国钹(Chinese cymbal)、水钹(splashcymbal)和crashride(crash/ride cymbal)等。因从外观上看去就像一排架子上挂着很多鼓,又名架子鼓。爵士鼓演奏,集娱乐及运动于一身。然而传统爵士鼓,价格昂贵,占用空间大等缺点,很大程度上限制其普及。众所周知,西方现代音乐是建立在电声乐器演奏的基础上,但是作为基础乐器的爵士鼓的电声化研发道路却显得默默无闻,目前电子爵士鼓,是通过鼓槌的敲击鼓皮(非传统套鼓筒)引起震动,震动触发鼓皮下的震动传感器,震动传感器把震动信号转变为电信号,传达到电子鼓的音源,音源再经专用芯片合成为各风格鼓声,实现爵士鼓的电声化。电子爵士鼓在一定程度上解决了传统爵士鼓体积大的缺点,但其价格仍居高不下。Jazz drum (Drum kit, Drum set) is a set of hand percussion instruments and foot percussion instruments of various types and different timbres assembled into one large musical instrument played by a single person using pedals, drum sticks or drum brushes. It is mainly used in rock music and jazz. The ups and downs of the three-dimensional drum beats are matched with the drummer's expression on the performance, which is very rendering. The basic combination of jazz drums includes bass drum, snare drum, two toms (tom-tom), a floor tom (floortom), hi-hat cymbal and cymbal (cymbal) . Among them, cymbals are divided into crash cymbals, ride cymbals, Chinese cymbals, splash cymbals and crashride (crash/ride cymbals) that produce sound effects. Because it looks like a row of drums hanging on a row of racks, it is also known as a drum kit. Jazz drum performance, a combination of entertainment and sports. However, traditional jazz drums are expensive and take up a lot of space, which largely limits their popularity. As we all know, western modern music is based on the performance of electroacoustic instruments, but the electroacoustic research and development of jazz drums as a basic instrument seems to be unknown. Drum tube) causes vibration, and the vibration triggers the vibration sensor under the drum skin. The vibration sensor converts the vibration signal into an electrical signal, which is transmitted to the sound source of the electronic drum. change. Electronic jazz drums have solved the shortcomings of traditional jazz drums to a certain extent, but their prices are still high.

发明内容Contents of the invention

本发明的目的是为了解决现有技术中的上述缺陷,提供一种虚拟爵士鼓及实现方法。The object of the present invention is to provide a virtual jazz drum and its implementation method in order to solve the above-mentioned defects in the prior art.

根据公开的实施例,本发明的第一方面公开了一种虚拟爵士鼓,所述的虚拟爵士鼓包括脚踏10、鼓槌13、摄像头2、上位机3、爵士鼓软件程序4、存储器5、爵士鼓声音数据库6和音箱7,其中,所述的鼓槌13和所述的脚踏10用作爵士鼓演奏工具,所述的摄像头2与所述的上位机3连接,实时拍摄演奏者1的手部和脚部动作,所述的爵士鼓软件程序4运行在所述的上位机3上,所述的爵士鼓声音数据库6存储在所述的上位机3的存储器5中,所述的音箱7通过线路连接到所述的上位机3;According to the disclosed embodiment, the first aspect of the present invention discloses a kind of virtual jazz drum, and described virtual jazz drum comprises pedal 10, drumstick 13, camera 2, upper computer 3, jazz drum software program 4, memory 5 , jazz drum sound database 6 and sound box 7, wherein, described drumstick 13 and described pedal 10 are used as jazz drum performance tool, and described camera 2 is connected with described upper computer 3, and real-time photographing player 1’s hand and foot movements, the jazz drum software program 4 runs on the host computer 3, the jazz drum sound database 6 is stored in the memory 5 of the host computer 3, the The speaker 7 is connected to the host computer 3 through a line;

所述的上位机3将所述的摄像头2采集到的视频信号,经所述的爵士鼓软件程序4分析后,即可匹配到所述的爵士鼓声音数据6中的声音信号,声音信号再经音频处理形成音频文件,音频文件最后通过所述的音箱进行播放。The video signal collected by the camera 2 in the host computer 3 can be matched to the sound signal in the drum sound data 6 after the analysis of the drum software program 4, and the sound signal can then be After audio processing, an audio file is formed, and the audio file is finally played through the speaker.

进一步地,所述的脚踏10包括对应演奏者左脚位置的踩镲脚踏11和对应演奏者右脚位置的大鼓脚踏12,所述的鼓槌13为左右手各一根。Further, the pedal 10 includes a hi-hat pedal 11 corresponding to the position of the player's left foot and a bass drum pedal 12 corresponding to the position of the player's right foot, and the drumsticks 13 are one for each of the left and right hands.

进一步地,所述的爵士鼓软件程序通过运算分析出所述的摄像头2实时采集视频数据中的相关信息,并将利用上述相关信息用来匹配爵士鼓数据库中对应的音频信号、配置音箱相关参数、交互界面显示,最后通过音箱将相应的音频播放出来,同时爵士鼓软件程序的交互界面将显示给演奏者,方便演奏者进行演奏;Further, the jazz drum software program calculates and analyzes relevant information in the video data collected by the camera 2 in real time, and uses the above-mentioned relevant information to match the corresponding audio signal in the jazz drum database and configure related parameters of the speaker , The interactive interface is displayed, and finally the corresponding audio is played out through the speaker, and the interactive interface of the jazz drum software program will be displayed to the player at the same time, which is convenient for the player to perform;

其中,所述的相关信息为手部鼓槌槌头与脚部脚踏锤头的位置信息和运动信息,所述的爵士鼓软件程序根据位置信息和运动信息判断演奏者击打的是哪一个鼓或者钹及具体的击打点位置,根据运动信息判断演奏者击打鼓面或钹面的力度和方向,根据击打点位置,结合其在视频画面固定位置显示的各鼓和钹的相对位置信息,所述的爵士鼓软件程序将匹配爵士鼓数据库的对应声音信号,结合用户的在程序界面进行的相关设置形成音频文件。Wherein, the relevant information is the position information and motion information of the drumstick head of the hand and the pedal hammer head of the foot, and the jazz drum software program judges which one the player hits according to the position information and motion information. Drums or cymbals and the specific location of the hitting point, according to the motion information to judge the strength and direction of the player hitting the drum or cymbal surface, according to the location of the hitting point, combined with the relative position information of each drum and cymbal displayed at a fixed position on the video screen, The jazz drum software program will match the corresponding sound signal of the jazz drum database, and form an audio file in combination with the relevant settings made by the user on the program interface.

进一步地,所述的爵士鼓软件程序的界面40包括基本操作栏401、乐器模型选择区402和乐器模型放置区403,所述的基本操作栏401包括声音大小、音乐风格、存储与否、脚踏与鼓槌设定和初始化按钮。Further, the interface 40 of the jazz drum software program includes a basic operation column 401, an instrument model selection area 402 and an instrument model placement area 403, and the basic operation column 401 includes sound size, music style, storage or not, foot Pedal with sticks to set and initialize buttons.

根据公开的实施例,本发明的第二方面公开了一种虚拟爵士鼓的实现方法,所述的实现方法包括下列步骤:According to the disclosed embodiment, the second aspect of the present invention discloses a kind of realization method of virtual jazz drum, and described realization method comprises the following steps:

S1、摄像头2放置在演奏者1正前方,拍摄演奏者1对脚踏10和鼓槌13的操作动作,其中,所述的脚踏包括对应演奏者左脚位置的踩镲脚踏和对应演奏者右脚位置的大鼓脚踏,所述的鼓槌为左右手各一根;S1. The camera 2 is placed directly in front of the player 1 to capture the operation of the player 1 on the pedal 10 and the drumstick 13, wherein the pedal includes the hi-hat pedal corresponding to the position of the player's left foot and the corresponding performance The big drum pedal at the position of the right foot, and the drum sticks are one for each of the left and right hands;

S2、摄像头2将拍摄到的视频数据上传到上位机3,视频数据同时存储于存储器5,由上位机3的爵士鼓软件程序4进行实时分析,得到击打信息,击打信息同时存储为演奏记录,通过击打信息来匹配爵士鼓声音数据库6中声音信号,匹配到的声音信号再经音频处理形成音频文件,该音频文件作为演奏记录存储在存储器5上;S2, the camera 2 uploads the captured video data to the host computer 3, and the video data is stored in the memory 5 at the same time, and is analyzed in real time by the jazz drum software program 4 of the host computer 3 to obtain the hitting information, which is stored as a performance at the same time Record, match the sound signal in the jazz drum sound database 6 by hitting information, the sound signal that matches forms audio file through audio processing again, and this audio file is stored on memory 5 as performance record;

S3、将音频文件或演奏记录文件通过音箱进行播放。S3. Play the audio file or performance record file through the speaker.

进一步地,其特征在于,所述的步骤S2的过程如下:Further, it is characterized in that the process of step S2 is as follows:

通过运算分析出摄像头2实时采集视频数据中的相关信息,并将利用上述相关信息用来匹配爵士鼓数据库中对应的音频信号、配置音箱相关参数、交互界面显示,最后通过音箱将相应的音频播放出来,同时爵士鼓软件程序的交互界面将显示给演奏者,方便演奏者进行演奏;Through calculation and analysis, the relevant information in the video data collected by the camera 2 in real time will be used to match the corresponding audio signal in the jazz drum database, configure the relevant parameters of the speaker, display the interactive interface, and finally play the corresponding audio through the speaker At the same time, the interactive interface of the jazz drum software program will be displayed to the player, which is convenient for the player to perform;

其中,所述的相关信息为手部鼓槌槌头与脚部脚踏锤头的位置信息和运动信息,所述的爵士鼓软件程序根据位置信息和运动信息判断演奏者击打的是哪一个鼓或者钹及具体的击打点位置,根据运动信息判断演奏者击打鼓面或钹面的力度和方向,根据击打点位置,结合其在视频画面固定位置显示的各鼓和钹的相对位置信息,所述的爵士鼓软件程序将匹配爵士鼓数据库的对应声音信号,结合用户的在程序界面进行的相关设置形成音频文件。Wherein, the relevant information is the position information and motion information of the drumstick head of the hand and the pedal hammer head of the foot, and the jazz drum software program judges which one the player hits according to the position information and motion information. Drums or cymbals and the specific location of the hitting point, according to the motion information to judge the strength and direction of the player hitting the drum or cymbal surface, according to the location of the hitting point, combined with the relative position information of each drum and cymbal displayed at a fixed position on the video screen, The jazz drum software program will match the corresponding sound signal of the jazz drum database, and form an audio file in combination with the relevant settings made by the user on the program interface.

进一步地,所述的击打点位置的确定,是通过分析连续视频帧中槌头、锤头的空间位置变化,判断其运动速度大小和方向,当速度大小小于某一个阈值且速度方向为特定方向时,认为此时刻为击打时刻,然后取出该时刻前后连续视频帧图像,综合分析,得到槌头、锤头的空间位置,此空间位置即为击打点位置;Further, the determination of the position of the hitting point is to determine the magnitude and direction of its motion speed by analyzing the spatial position changes of the hammer head and the hammer head in continuous video frames. When the speed is smaller than a certain threshold and the speed direction is a specific direction When , it is considered that this moment is the striking moment, and then the continuous video frame images before and after this moment are taken out and comprehensively analyzed to obtain the spatial position of the hammer head and the hammer head, and this spatial position is the position of the striking point;

所述的击打鼓面或钹面的力度和方向的确定,是通过分析上述击打时刻附近槌头、锤头速度变化的快慢和方向,得到击打加速度大小和方向,从而就可以推断出击打力度和击打方向。The determination of the strength and direction of hitting the drum surface or cymbal surface is to obtain the magnitude and direction of the hitting acceleration by analyzing the speed and direction of the hammer head and the speed change of the hammer head near the above hitting moment, so that the hitting acceleration can be inferred. strength and direction of impact.

进一步地,所述的爵士鼓软件程序会在用户拖放完击打乐器模型后,将各模型位置固定显示在程序界面上,结合获得到的槌头、锤头击打位置,可以判断出演奏者击打的是哪一个鼓或者钹,以及击打点在鼓面、钹面的相对位置,击打点会有水波纹效果,不同击打乐器水波纹颜色不一样,不同击打力度和角度会影响水波颜色深浅。Further, the jazz drum software program will fix and display the position of each model on the program interface after the user drags and drops the percussion instrument model, and combined with the obtained hammer head and hammer head hitting position, it can be judged that the player Which drum or cymbal is being hit, and the relative position of the hitting point on the drum head and the cymbal face, the hitting point will have a water ripple effect, and the color of the water ripple is different for different percussion instruments. Color shades.

进一步地,所述的步骤S2中通过击打信息来匹配爵士鼓声音数据库6中声音信号具体如下:Further, in the described step S2, match the sound signal in the jazz drum sound database 6 by striking the information, specifically as follows:

将每一个乐器模型的被击打位置进行编号,每一个编号对应一个声音信号,所述的爵士鼓软件程序据此将匹配出相对应的爵士鼓声音数据库的声音信号,其中,声音信号包括音调和音色,然后将声音信号经响度调整和音频混合处理成音频文件,其中,响度调整根据击打力度和方向确定,音频混合处理是多声音信号混合以及用户的混音设置。The hit position of each musical instrument model is numbered, and each number corresponds to a sound signal, and the described jazz drum software program will match the sound signal of the corresponding jazz drum sound database accordingly, wherein the sound signal includes the tone and timbre, and then the sound signal is processed into an audio file through loudness adjustment and audio mixing, wherein the loudness adjustment is determined according to the hitting force and direction, and the audio mixing process is the mixing of multiple sound signals and the user's mixing settings.

进一步地,所述的步骤S2中爵士鼓软件程序实时分析视频数据的过程如下:Further, the process of the real-time analysis of the video data by the jazz drum software program in the step S2 is as follows:

S201、将视频信号逐帧提取并对其进行模式识别,找到帧中踩镲踏板11、大鼓踏板12和鼓槌13并确定其位置,连续三帧的位置信息被用来计算踩镲踏板11、大鼓踏板12和鼓槌13的运动速度和加速度,其中运动速度作为是否为击打点的判断依据,加速度作为击打力度和方向的判断依据;S201, extract the video signal frame by frame and perform pattern recognition on it, find the hi-hat pedal 11, bass drum pedal 12 and drumstick 13 in the frame and determine their positions, and the position information of three consecutive frames is used to calculate the hi-hat pedal 11, The speed of motion and the acceleration of the drum pedal 12 and the drumstick 13, wherein the speed of motion is used as the basis for judging whether it is the hitting point, and the acceleration is used as the basis for judging the strength and direction of the hit;

S202、当确认为击打点后,将击打点的位置信息将与乐器的位置信息进行相对计算,得到该击打点在乐器模型的相对位置,击打点位置将显示水波纹,不同乐器模型不同颜色,不同击打强度不同颜色深度。S202. After the hit point is confirmed, the position information of the hit point will be calculated relative to the position information of the musical instrument to obtain the relative position of the hit point on the musical instrument model, and water ripples will be displayed at the position of the hit point, with different colors for different musical instrument models. Different stroke intensity different color depth.

本发明相对于现有技术具有如下的优点及效果:Compared with the prior art, the present invention has the following advantages and effects:

本发明设计了一种虚拟爵士鼓及实现方法,具易携带、低成本、强实用性并能够最大程度满足个体用户爵士鼓演奏的个性化需求,即适合游戏娱乐、专业演奏、爵士鼓教学等不同场合不同人群使用。The invention designs a virtual jazz drum and its implementation method, which is easy to carry, low cost, strong practicability and can meet the individual needs of individual users in jazz drum performance to the greatest extent, that is, it is suitable for game entertainment, professional performance, jazz drum teaching, etc. It is used by different groups of people on different occasions.

附图说明Description of drawings

图1是本发明中虚拟架子鼓实施的全流程示意图;Fig. 1 is the full flow schematic diagram that virtual kit drum implements among the present invention;

图2是本发明中摄像头拍摄演奏者实施实例一示意图;Fig. 2 is a schematic diagram of the implementation example one of camera shooting player in the present invention;

图3是本发明中摄像头拍摄演奏者实施实例二示意图;Fig. 3 is the second schematic diagram of the implementation example of the camera shooting the player in the present invention;

图4是本发明中摄像头拍摄演奏者动作示意图;Fig. 4 is a schematic diagram of the player's actions taken by the camera in the present invention;

图5是本发明中爵士鼓软件程序界面示意图;Fig. 5 is a schematic diagram of a jazz drum software program interface in the present invention;

图6是本发明中爵士鼓软件程序视频信息分析流程图;Fig. 6 is the video information analysis flowchart of jazz drum software program in the present invention;

图7是本发明中爵士鼓软件程序流程图;Fig. 7 is a jazz drum software program flowchart in the present invention;

附图标记说明:1—演奏者,10—脚踏,11—大鼓脚踏,12—踩镲脚踏,13—鼓槌,2—摄像头,21—摄像头A,22—摄像头B,23—摄像头C,24—摄像头D,3—上位机,4—爵士鼓软件程序,40—爵士鼓程序界面,401—基本操作栏,402—乐器模型选择区,403—乐器模型放置区,5—存储器,6—爵士鼓声音数据库,7—音箱。Description of reference signs: 1—player, 10—foot pedal, 11—bass drum pedal, 12—hi-hat pedal, 13—drumstick, 2—camera, 21—camera A, 22—camera B, 23—camera C, 24—camera D, 3—host computer, 4—jazz drum software program, 40—jazz drum program interface, 401—basic operation bar, 402—musical instrument model selection area, 403—musical instrument model placement area, 5—memory, 6—jazz drum sound database, 7—sound box.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

实施例一Embodiment one

参见图1-图4,如图1示出一种虚拟爵士鼓及实现方法,包括脚踏10、鼓槌13、摄像头2、上位机3、爵士鼓软件程序4、存储器5、爵士鼓声音数据库6和音箱7。摄像头2正对演奏者1,摄像头2与上位机3通过数据线或者无线连接,爵士鼓软件程序4运行在上位机3上,存储器5通过总线与上位机3连接,爵士鼓声音数据库6位于上位机的存储器5上,音箱7与上位机3线路连接。Referring to Fig. 1-Fig. 4, as Fig. 1 shows a kind of virtual jazz drum and implementation method, comprise pedal 10, drumstick 13, camera 2, host computer 3, jazz drum software program 4, memory 5, jazz drum sound database 6 and speaker 7. The camera 2 faces the performer 1, the camera 2 is connected to the host computer 3 via a data line or wirelessly, the jazz drum software program 4 runs on the host computer 3, the memory 5 is connected to the host computer 3 through a bus, and the jazz drum sound database 6 is located on the host computer. On the memory 5 of machine, sound box 7 is connected with upper computer 3 lines.

摄像头2放置在演奏者1正前方,主要拍摄演奏者1对脚踏10和鼓槌13的操作动作,脚踏10和鼓槌13是爵士鼓击打工具,其中脚踏10有两个,对应演奏者左脚边的为踩镲脚踏11,对应演奏者右脚边的为大鼓脚踏12,鼓槌13为左右手各一根。摄像头2主是用来拍摄脚踏10和鼓槌11的踩击、击打动作(图4),摄像头2的分布可以如图2直接正对着演奏者1,同样可以采用多个摄像头进行拍摄如图3,其中摄像头A20,摄像头B21,摄像头C22,摄像头D23分别放置在演奏者1周围。摄像头2将采集到的视频数据上传到上位机3,视频数据可以存储于存储器5,同样视频信号实时被上位机3的爵士鼓软件程序4进行实时分析,得到击打信息,击打信息可以存储为演奏记录,方便演奏者1后期使用。击打信息用来匹配爵士鼓声音数据库6声音信号,匹配到的声音信号,声音信号再经音频处理形成音频文件,此处的音频处理主要涉及到多声音信号的混合及演奏者1对音乐风格的音频处理,这个演奏者1的音频文件可以作为演奏记录存储在存储器5上,以便后期调用。即时音频文件和演奏记录文件均可通过音箱进行播放。The camera 2 is placed directly in front of the player 1, and mainly photographs the operation actions of the player 1 on the pedal 10 and the drumstick 13. The pedal 10 and the drumstick 13 are jazz drum beating tools, and there are two pedals 10, corresponding to The one on the player's left foot is a hi-hat pedal 11, the one corresponding to the player's right foot is a big drum pedal 12, and the drumstick 13 is each one for the left and right hands. The camera 2 is mainly used to photograph the stepping and hitting actions of the pedal 10 and the drumstick 11 (Fig. 4). The distribution of the camera 2 can be directly facing the player 1 as shown in Fig. 2, and multiple cameras can also be used for shooting. As shown in Fig. 3, the camera A20, the camera B21, the camera C22, and the camera D23 are respectively placed around the player 1. The camera 2 uploads the collected video data to the host computer 3, and the video data can be stored in the memory 5, and the same video signal is analyzed in real time by the jazz drum software program 4 of the host computer 3 to obtain the hitting information, which can be stored For performance recording, it is convenient for player 1 to use later. The hitting information is used to match the 6 sound signals of the jazz drum sound database, the matched sound signal, and the sound signal is processed to form an audio file. The audio processing here mainly involves the mixing of multiple sound signals and the pair of music styles of the player. Audio processing, the audio file of the player 1 can be stored on the memory 5 as a performance record, so that it can be recalled later. Both live audio files and recorded performance files can be played through the speakers.

实施例二Embodiment two

一种虚拟爵士鼓及实现方法,包括脚踏10、鼓槌13、摄像头2、上位机3、爵士鼓软件程序4、存储器5、爵士鼓声音数据库6和音箱7。鼓槌13和脚踏10为爵士鼓演奏工具,摄像头2与上位机3连接,实时拍摄演奏者1手部和脚部动作,爵士鼓软件程序4运行在上位机3上,爵士鼓声音数据库6存储在上位机3的存储器5中,音箱7通过线路连接到上位机3。上位机3将摄像头2采集到的视频信号,经爵士鼓软件程序4分析后,即可匹配到爵士鼓声音数据6中的声音信号,声音信号再经音频处理形成音频文件,音频文件最后通过音箱进行播放。A virtual jazz drum and its realization method, comprising pedal 10, drumstick 13, camera 2, host computer 3, jazz drum software program 4, memory 5, jazz drum sound database 6 and sound box 7. Drumsticks 13 and pedals 10 are jazz drum performance tools. Camera 2 is connected with host computer 3 to capture player 1 hand and foot movements in real time. Jazz drum software program 4 runs on host computer 3, and jazz drum sound database 6 Stored in the memory 5 of the host computer 3, the speaker 7 is connected to the host computer 3 through a line. The host computer 3 can match the video signal collected by the camera 2 to the sound signal in the jazz drum sound data 6 after the analysis of the jazz drum software program 4, and the sound signal is processed to form an audio file, and the audio file is finally passed through the speaker to play.

其中,鼓槌、脚踏可以为传统爵士鼓的鼓槌和脚踏,也可以由其他任何可方便移动或踩动的物体代替,其主要作用是标记出手部和脚部,方便上位机程序根据实时摄像头数据分析出手部鼓槌和脚部脚踏的运动信息和位置信息。Among them, the drumsticks and pedals can be traditional jazz drum sticks and pedals, or can be replaced by any other objects that can be easily moved or stepped on. Their main function is to mark the hands and feet, which is convenient for the host computer program to The real-time camera data analyzes the movement information and position information of the drumsticks of the hands and the pedals of the feet.

其中,摄像头是用来拍摄鼓槌和脚踏动作,摄像头的帧率、像素及视角有一定参数要求,摄像头相关参数需要输入到爵士鼓软件程序中。此处摄像头数目可以多个,种类可以是2D或3D摄像头,摄像头将拍摄到的视频数据经过数据传输线路或无线上传到上位机。Among them, the camera is used to take pictures of drumsticks and pedal movements. The frame rate, pixel and viewing angle of the camera have certain parameter requirements, and the relevant parameters of the camera need to be input into the jazz drum software program. The number of cameras here can be multiple, and the types can be 2D or 3D cameras, and the video data captured by the cameras are uploaded to the host computer through data transmission lines or wirelessly.

其中,上位机是具有运算、存储、显示功能的微型计算机。Among them, the upper computer is a microcomputer with computing, storage and display functions.

其中,存储器主要是用来存储上位机操作系统、爵士鼓软件程序、爵士鼓声音数据库和演奏者相关演奏记录。Among them, the memory is mainly used to store the upper computer operating system, the jazz drum software program, the jazz drum sound database and the relevant performance records of the players.

其中,爵士鼓软件程序作用是运算分析出实时视频数据中的相关信息,并将利用这些信息用来匹配爵士鼓数据库、配置音箱、交互界面显示。爵士鼓软件程序是运行在上位机的程序,该程序能够对摄像头上传的视频图像进行分析运算并得到相关信息,然后再匹配到爵士鼓音频数据库中对应的音频信号、配置音箱相关参数,最后通过音箱将相应的音频播放出来,同时爵士鼓软件程序的交互界面将显示给演奏者,方便演奏者进行演奏。Among them, the role of the jazz drum software program is to calculate and analyze relevant information in real-time video data, and use this information to match the jazz drum database, configure speakers, and display interactive interfaces. The jazz drum software program is a program running on the host computer. This program can analyze and calculate the video images uploaded by the camera and obtain relevant information, and then match the corresponding audio signals in the jazz drum audio database, configure speaker related parameters, and finally pass The speaker will play the corresponding audio, and at the same time, the interactive interface of the jazz drum software program will be displayed to the player, which is convenient for the player to perform.

其中,爵士鼓软件程序界面,可以由演奏者自己选择拖放各种爵士鼓击打乐器的模型,每种乐器有不同规格提供选择,击打乐器模型主要包括:大鼓、小鼓、中鼓、落地鼓、脚踏钹、碎音钹、叠音钹、中国钹、水钹、牛铃、木鱼、沙锤、三角铁、吊钟等。Among them, in the jazz drum software program interface, players can choose to drag and drop models of various jazz drum percussion instruments. Each instrument has different specifications for selection. Percussion instrument models mainly include: bass drum, snare drum, middle drum, floor drum Drums, hi-hats, crash cymbals, ride cymbals, Chinese cymbals, splash cymbals, cowbells, wooden fish, shakers, triangles, bells, etc.

其中,爵士鼓软件程序分析运算得到的相关信息具体指的是:手部鼓槌槌头与脚部脚踏锤头的位置信息和运动信息。然后根据位置信息和运动信息可判断演奏者击打的是哪一个鼓或者钹及具体的击打点位置,根据其他运动信息可以判断演奏者击打鼓面或钹面的力度和方向。根据击打点位置,结合其在视频画面固定位置显示的各鼓和钹的相对位置信息,程序将匹配爵士鼓数据库的对应声音信号,结合用户的在程序界面进行的相关设置形成音频文件,最终由音箱播放出来。Wherein, the relevant information obtained through the analysis and calculation of the jazz drum software program specifically refers to the position information and motion information of the drumstick head of the hand and the hammer head of the foot pedal. Then, according to the position information and motion information, it can be judged which drum or cymbal the player is hitting and the specific hitting point position, and according to other motion information, the strength and direction of the player hitting the drum head or cymbal face can be judged. According to the position of the hit point, combined with the relative position information of each drum and cymbal displayed at a fixed position on the video screen, the program will match the corresponding sound signal of the jazz drum database, and form an audio file in combination with the relevant settings made by the user on the program interface, and finally by The speakers play out.

其中,击打点位置的确定,是通过分析连续视频帧中槌头、锤头的空间位置变化,可以判断其运动速度大小和方向,当速度大小小于某一个阈值且速度方向为特定方向时,认为此时刻为击打时刻,然后取出该时刻前后连续视频帧图像,综合分析,得到槌头、锤头的空间位置,此空间位置即为击打点位置。Among them, the location of the hitting point is determined by analyzing the spatial position changes of the hammer head and the hammer head in continuous video frames, and the size and direction of its motion speed can be judged. When the speed is smaller than a certain threshold and the speed direction is a specific direction, it is considered This moment is the hitting moment, and then the continuous video frame images before and after this moment are taken out, and comprehensively analyzed to obtain the spatial position of the hammer head and the hammer head, and this spatial position is the hitting point position.

其中,击打力度、击打方向的确定,是通过分析上述击打时刻附近槌头、锤头速度变化的快慢和方向,得到击打加速度大小和方向,从而就可以推断出击打力度和击打方向。Among them, the determination of the hitting force and the hitting direction is to obtain the size and direction of the hitting acceleration by analyzing the speed and direction of the hammer head and the speed change of the hammer head near the above hitting time, so that the hitting force and hitting direction can be deduced. direction.

其中,爵士鼓软件程序会在用户拖放完击打乐器模型后,将各模型位置固定显示在程序界面上。结合获得到的槌头、锤头击打位置,可以判断出演奏者击打的是哪一个鼓或者钹,以及击打点在鼓面、钹面的相对位置,击打点会有水波纹效果,不同击打乐器水波纹颜色不一样,不同击打力度和角度会影响水波颜色深浅。Wherein, the jazz drum software program will fix and display the position of each model on the program interface after the user drags and drops the percussion instrument models. Combined with the obtained hammer head and hammer head hitting position, it can be judged which drum or cymbal the player is hitting, and the relative position of the hitting point on the drum surface and the cymbal surface. The hitting point will have a water ripple effect. The water ripples of percussion instruments have different colors, and different hitting strengths and angles will affect the color of the water waves.

其中,程序将如何匹配到爵士鼓声音数据库对应声音信号。每一个乐器模型的被击打位置均有编号,每一个编号对应一个声音信号。据此,程序将匹配出相对应的爵士鼓声音数据库的声音信号。Among them, how the program will match the corresponding sound signal to the jazz drum sound database. The struck positions of each musical instrument model are numbered, and each number corresponds to a sound signal. According to this, the program will match the corresponding sound signal of the jazz drum sound database.

其中,声音信号主要包括音调和音色。Wherein, the sound signal mainly includes pitch and timbre.

其中,声音信号处理成音频文件,其处理包括:响度调整,音频混合。响度调整主要根据击打力度和方向确定,音频混合处理主要指的是多声音信号混合以及用户的混音设置。Wherein, the sound signal is processed into an audio file, and the processing includes: loudness adjustment and audio mixing. The loudness adjustment is mainly determined according to the hitting strength and direction, and the audio mixing process mainly refers to the mixing of multiple sound signals and the user's mixing settings.

其中,音频信号送到音箱中进行播放。其播放的音量大小的控制在爵士鼓软件程序、音箱端均可以调整。Wherein, the audio signal is sent to the speaker for playing. The volume of its playback can be adjusted in the jazz drum software program and the speaker end.

实施例三Embodiment Three

参见图5-图7,使用虚拟爵士鼓时,点击打开上位机3上爵士鼓软件程序4,上位机上3将显示出爵士鼓程序界面40如图5,首先在乐器模型选择区402位置选择需要的乐器模型并将其拖放到乐器模型放置区403,此区域可以同时显示出摄像头2视频。基本操作栏401中包含:声音大小、音乐风格、存储与否、脚踏与鼓槌设定等配置和初始化按钮,脚踏10和鼓槌13默认为传统样式,此处可以提供用户定义当前视频画面中的任何物体为脚踏和鼓槌。当点击初始化后,程序将形成配置文件,并初始化摄像头2等端口,并锁定踩镲踏板11、大鼓踏板12和鼓槌13。初始化成功后,提示演奏者开始演奏,同时程序将进入视频分析流程如图6,第一步,视频信号将被逐帧提取并对其进行模式识别,找到帧中踩镲踏板11、大鼓踏板12和鼓槌13并确定其位置,连续三帧的位置信息被用来计算踩镲踏板11、大鼓踏板12和鼓槌13的运动速度和加速度,其中运动速度作为是否为击打点的重要判断依据,加速度为击打力度和方向主要参考。当确认为击打点后,击打点的位置信息将与乐器的位置信息进行相对计算,得到该击打点在乐器模型的相对位置。击打点位置将显示水波纹,不同乐器模型不同颜色,不同击打强度不同颜色深度。第二步,由于乐器模型的每一个位置都有唯一编码与爵士鼓声音数据库一一对应,同样,击打力度和方向信息将决定此声音的响度,最后再结合演奏者1对音乐风格的选择,进行最终的音频处理,形成音频文件。最后一步,音频信号将由音箱播放和根据演奏者1设定进行演奏记录存储。Referring to Fig. 5-Fig. 7, when using the virtual jazz drum, click to open the jazz drum software program 4 on the host computer 3, the jazz drum program interface 40 will be displayed on the host computer 3 as shown in Fig. drag and drop the musical instrument model to the musical instrument model placement area 403, this area can simultaneously display the camera 2 video. The basic operation column 401 includes: volume of sound, music style, storage or not, pedal and drumstick setting and other configuration and initialization buttons. Any objects in the frame are pedals and drumsticks. After clicking initialization, the program will form a configuration file, initialize the ports such as the camera 2, and lock the hi-hat pedal 11, bass drum pedal 12 and drum stick 13. After the initialization is successful, the player will be prompted to start playing. At the same time, the program will enter the video analysis process as shown in Figure 6. In the first step, the video signal will be extracted frame by frame and its pattern recognition will be performed to find the hi-hat pedal 11 and bass drum pedal 12 in the frame. And the drumstick 13 and determine its position, the position information of three consecutive frames is used to calculate the motion speed and acceleration of the hi-hat pedal 11, the bass drum pedal 12 and the drumstick 13, wherein the motion speed is an important basis for judging whether it is the hitting point, Acceleration is the main reference for hitting strength and direction. After the hit point is confirmed, the position information of the hit point will be calculated relative to the position information of the instrument to obtain the relative position of the hit point on the instrument model. The location of the hitting point will display water ripples, different colors for different instrument models, and different color depths for different hitting strengths. In the second step, since each position of the instrument model has a unique code corresponding to the jazz drum sound database, similarly, the hitting strength and direction information will determine the loudness of the sound, and finally combined with player 1's choice of music style , to perform final audio processing to form an audio file. In the last step, the audio signal will be played by the speakers and recorded and stored according to the player 1 settings.

该实施方案,适合于爵士鼓娱乐、练习、教学等领域。This embodiment is suitable for the fields of jazz drum entertainment, practice, teaching and the like.

上述实施例公开了一种虚拟爵士鼓及实现方法,极其便利,完全可以在个人计算机上实现其核心功能,适用于不同年龄,不同爵士鼓操作水平的使用者,而且该虚拟爵士鼓设备,能够带来很好的临场感,适合演奏、娱乐和学习。The above-mentioned embodiment discloses a kind of virtual jazz drum and its implementation method, which is extremely convenient and can fully realize its core functions on a personal computer, and is suitable for users of different ages and different jazz drum operation levels, and this virtual jazz drum device can Bring a good sense of presence, suitable for performance, entertainment and learning.

上述实施例为本发明较佳的实施方式,但本发明的实施方式并不受上述实施例的限制,其他的任何未背离本发明的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本发明的保护范围之内。The above-mentioned embodiment is a preferred embodiment of the present invention, but the embodiment of the present invention is not limited by the above-mentioned embodiment, and any other changes, modifications, substitutions, combinations, Simplifications should be equivalent replacement methods, and all are included in the protection scope of the present invention.

Claims (10)

1.一种虚拟爵士鼓,其特征在于,所述的虚拟爵士鼓包括脚踏、鼓槌、摄像头、上位机、爵士鼓软件程序、存储器、爵士鼓声音数据库和音箱,其中,所述的鼓槌和所述的脚踏用作爵士鼓演奏工具,所述的摄像头与所述的上位机连接,实时拍摄演奏者的手部和脚部动作,所述的爵士鼓软件程序运行在所述的上位机上,所述的爵士鼓声音数据库存储在所述的上位机的存储器中,所述的音箱通过线路连接到所述的上位机;1. a kind of virtual jazz drum, it is characterized in that, described virtual jazz drum comprises pedal, drumstick, camera, host computer, jazz drum software program, memory, jazz drum sound database and sound box, wherein, described drum The mallet and the pedal are used as jazz drum performance tools, the camera is connected with the host computer, and the player's hand and foot movements are photographed in real time, and the jazz drum software program runs on the On the host computer, the jazz drum sound database is stored in the memory of the host computer, and the sound box is connected to the host computer through a line; 所述的上位机将所述的摄像头采集到的视频信号,经所述的爵士鼓软件程序分析后,即可匹配到所述的爵士鼓声音数据中的声音信号,声音信号再经音频处理形成音频文件,音频文件最后通过所述的音箱进行播放。The video signal collected by the camera in the host computer can be matched to the sound signal in the sound data of the jazz drum after being analyzed by the jazz drum software program, and the sound signal is formed by audio processing. audio files, and the audio files are finally played through the speakers. 2.根据权利要求1所述的一种虚拟爵士鼓,其特征在于,所述的脚踏包括对应演奏者左脚位置的踩镲脚踏和对应演奏者右脚位置的大鼓脚踏,所述的鼓槌为左右手各一根。2. A kind of virtual jazz drum according to claim 1, characterized in that, said pedals include a hi-hat pedal corresponding to the position of the player's left foot and a bass drum pedal corresponding to the position of the player's right foot, said There is one drumstick for each of the left and right hands. 3.根据权利要求1所述的一种虚拟爵士鼓,其特征在于,所述的爵士鼓软件程序通过运算分析出所述的摄像头实时采集视频数据中的相关信息,并将利用上述相关信息用来匹配爵士鼓数据库中对应的音频信号、配置音箱相关参数、交互界面显示,最后通过音箱将相应的音频播放出来,同时爵士鼓软件程序的交互界面将显示给演奏者,方便演奏者进行演奏;3. a kind of virtual jazz drum according to claim 1, is characterized in that, described jazz drum software program analyzes the relevant information in the real-time collection video data of described camera by operation, and will utilize above-mentioned relevant information with To match the corresponding audio signal in the jazz drum database, configure the relevant parameters of the speaker, and display the interactive interface, and finally play the corresponding audio through the speaker, and at the same time, the interactive interface of the jazz drum software program will be displayed to the player, which is convenient for the player to perform; 其中,所述的相关信息为手部鼓槌槌头与脚部脚踏锤头的位置信息和运动信息,所述的爵士鼓软件程序根据位置信息和运动信息判断演奏者击打的是哪一个鼓或者钹及具体的击打点位置,根据运动信息判断演奏者击打鼓面或钹面的力度和方向,根据击打点位置,结合其在视频画面固定位置显示的各鼓和钹的相对位置信息,所述的爵士鼓软件程序将匹配爵士鼓数据库的对应声音信号,结合用户的在程序界面进行的相关设置形成音频文件。Wherein, the relevant information is the position information and motion information of the drumstick head of the hand and the pedal hammer head of the foot, and the jazz drum software program judges which one the player hits according to the position information and motion information. Drums or cymbals and the specific location of the hitting point, according to the motion information to judge the strength and direction of the player hitting the drum or cymbal surface, according to the location of the hitting point, combined with the relative position information of each drum and cymbal displayed at a fixed position on the video screen, The jazz drum software program will match the corresponding sound signal of the jazz drum database, and form an audio file in combination with the relevant settings made by the user on the program interface. 4.根据权利要求1所述的一种虚拟爵士鼓,其特征在于,所述的爵士鼓软件程序的界面包括基本操作栏、乐器模型选择区和乐器模型放置区,所述的基本操作栏包括声音大小、音乐风格、存储与否、脚踏与鼓槌设定和初始化按钮。4. a kind of virtual jazz drum according to claim 1, is characterized in that, the interface of described jazz drum software program comprises basic operation column, instrument model selection area and instrument model placement area, and described basic operation column comprises Sound level, music style, storage or not, pedal and drumstick setting and initialization buttons. 5.一种虚拟爵士鼓的实现方法,其特征在于,所述的实现方法包括下列步骤:5. a kind of realization method of virtual jazz drum, it is characterized in that, described realization method comprises the following steps: S1、摄像头放置在演奏者正前方,拍摄演奏者对脚踏和鼓槌的操作动作,其中,所述的脚踏包括对应演奏者左脚位置的踩镲脚踏和对应演奏者右脚位置的大鼓脚踏,所述的鼓槌为左右手各一根;S1. The camera is placed directly in front of the player to photograph the player's operation on the pedals and drumsticks, wherein the pedals include a hi-hat pedal corresponding to the position of the player's left foot and a hi-hat pedal corresponding to the position of the player's right foot. Drum pedals, the drum sticks are one for each of the left and right hands; S2、摄像头将拍摄到的视频数据上传到上位机,视频数据同时存储于存储器,由上位机的爵士鼓软件程序进行实时分析,得到击打信息,击打信息同时存储为演奏记录,通过击打信息来匹配爵士鼓声音数据库中声音信号,匹配到的声音信号再经音频处理形成音频文件,该音频文件作为演奏记录存储在存储器上;S2. The camera uploads the video data captured by the camera to the host computer, and the video data is stored in the memory at the same time. The jazz drum software program of the host computer performs real-time analysis to obtain the hitting information, which is stored as a performance record at the same time. information to match the sound signal in the jazz drum sound database, and the matched sound signal forms an audio file through audio processing, and the audio file is stored on the memory as a performance record; S3、将音频文件或演奏记录文件通过音箱进行播放。S3. Play the audio file or performance record file through the speaker. 6.根据权利要求5所述的一种虚拟爵士鼓的实现方法,其特征在于,所述的步骤S2的过程如下:6. the realization method of a kind of virtual jazz drum according to claim 5, is characterized in that, the process of described step S2 is as follows: 通过运算分析出摄像头实时采集视频数据中的相关信息,并将利用上述相关信息用来匹配爵士鼓数据库中对应的音频信号、配置音箱相关参数、交互界面显示,最后通过音箱将相应的音频播放出来,同时爵士鼓软件程序的交互界面将显示给演奏者,方便演奏者进行演奏;Through calculation and analysis, the relevant information in the video data collected by the camera in real time will be used to match the corresponding audio signal in the jazz drum database, configure the relevant parameters of the speaker, display the interactive interface, and finally play the corresponding audio through the speaker , and at the same time, the interactive interface of the jazz drum software program will be displayed to the player, which is convenient for the player to perform; 其中,所述的相关信息为手部鼓槌槌头与脚部脚踏锤头的位置信息和运动信息,所述的爵士鼓软件程序根据位置信息和运动信息判断演奏者击打的是哪一个鼓或者钹及具体的击打点位置,根据运动信息判断演奏者击打鼓面或钹面的力度和方向,根据击打点位置,结合其在视频画面固定位置显示的各鼓和钹的相对位置信息,所述的爵士鼓软件程序将匹配爵士鼓数据库的对应声音信号,结合用户的在程序界面进行的相关设置形成音频文件。Wherein, the relevant information is the position information and motion information of the drumstick head of the hand and the pedal hammer head of the foot, and the jazz drum software program judges which one the player hits according to the position information and motion information. Drums or cymbals and the specific location of the hitting point, according to the motion information to judge the strength and direction of the player hitting the drum or cymbal surface, according to the location of the hitting point, combined with the relative position information of each drum and cymbal displayed at a fixed position on the video screen, The jazz drum software program will match the corresponding sound signal of the jazz drum database, and form an audio file in combination with the relevant settings made by the user on the program interface. 7.根据权利要求6所述的一种虚拟爵士鼓的实现方法,其特征在于,所述的击打点位置的确定,是通过分析连续视频帧中槌头、锤头的空间位置变化,判断其运动速度大小和方向,当速度大小小于某一个阈值且速度方向为特定方向时,认为此时刻为击打时刻,然后取出该时刻前后连续视频帧图像,综合分析,得到槌头、锤头的空间位置,此空间位置即为击打点位置;7. the realization method of a kind of virtual jazz drum according to claim 6, is characterized in that, the determination of described impact point position, is by analyzing the spatial position variation of mallet, hammerhead in the continuous video frame, judge its The magnitude and direction of the movement speed. When the magnitude of the velocity is less than a certain threshold and the direction of the velocity is in a specific direction, it is considered that this moment is the hitting moment, and then the continuous video frame images before and after this moment are taken out and comprehensively analyzed to obtain the space of the hammer head and the hammer head. position, this spatial position is the hitting point position; 所述的击打鼓面或钹面的力度和方向的确定,是通过分析上述击打时刻附近槌头、锤头速度变化的快慢和方向,得到击打加速度大小和方向,从而就可以推断出击打力度和击打方向。The determination of the strength and direction of hitting the drum surface or cymbal surface is to obtain the magnitude and direction of the hitting acceleration by analyzing the speed and direction of the hammer head and the speed change of the hammer head near the above hitting moment, so that the hitting acceleration can be inferred. strength and direction of impact. 8.根据权利要求6所述的一种虚拟爵士鼓的实现方法,其特征在于,所述的爵士鼓软件程序会在用户拖放完击打乐器模型后,将各模型位置固定显示在程序界面上,结合获得到的槌头、锤头击打位置,可以判断出演奏者击打的是哪一个鼓或者钹,以及击打点在鼓面、钹面的相对位置,击打点会有水波纹效果,不同击打乐器水波纹颜色不一样,不同击打力度和角度会影响水波颜色深浅。8. The realization method of a kind of virtual jazz drum according to claim 6, characterized in that, the described jazz drum software program will fix and display the position of each model on the program interface after the user drags and drops the percussion instrument model In combination with the obtained hammer head and hammer head hitting position, it can be judged which drum or cymbal the player is hitting, and the relative position of the hitting point on the drum surface and the cymbal surface. The hitting point will have a water ripple effect. Different percussion instruments have different colors of water ripples, and different hitting strength and angles will affect the color of the water waves. 9.根据权利要求8所述的一种虚拟爵士鼓的实现方法,其特征在于,所述的步骤S2中通过击打信息来匹配爵士鼓声音数据库中声音信号具体如下:9. the realization method of a kind of virtual jazz drum according to claim 8, is characterized in that, in described step S2, matches sound signal in the jazz drum sound database by striking information and is specifically as follows: 将每一个乐器模型的被击打位置进行编号,每一个编号对应一个声音信号,所述的爵士鼓软件程序据此将匹配出相对应的爵士鼓声音数据库的声音信号,其中,声音信号包括音调和音色,然后将声音信号经响度调整和音频混合处理成音频文件,其中,响度调整根据击打力度和方向确定,音频混合处理是多声音信号混合以及用户的混音设置。The hit position of each musical instrument model is numbered, and each number corresponds to a sound signal, and the described jazz drum software program will match the sound signal of the corresponding jazz drum sound database accordingly, wherein the sound signal includes the tone and timbre, and then the sound signal is processed into an audio file through loudness adjustment and audio mixing, wherein the loudness adjustment is determined according to the hitting force and direction, and the audio mixing process is the mixing of multiple sound signals and the user's mixing settings. 10.根据权利要求5所述的一种虚拟爵士鼓的实现方法,其特征在于,所述的步骤S2中爵士鼓软件程序实时分析视频数据的过程如下:10. the realization method of a kind of virtual jazz drum according to claim 5, is characterized in that, in the described step S2, the process of the jazz drum software program real-time analysis video data is as follows: S201、将视频信号逐帧提取并对其进行模式识别,找到帧中踩镲踏板、大鼓踏板和鼓槌并确定其位置,连续三帧的位置信息被用来计算踩镲踏板、大鼓踏板和鼓槌的运动速度和加速度,其中运动速度作为是否为击打点的判断依据,加速度作为击打力度和方向的判断依据;S201. Extract the video signal frame by frame and perform pattern recognition on it, find the hi-hat pedal, bass drum pedal and drumstick in the frame and determine their positions, and the position information of three consecutive frames is used to calculate the hi-hat pedal, bass drum pedal and drumstick The movement speed and acceleration of the mallet, wherein the movement speed is used as the basis for judging whether it is the hitting point, and the acceleration is used as the basis for judging the strength and direction of the hitting; S202、当确认为击打点后,将击打点的位置信息将与乐器的位置信息进行相对计算,得到该击打点在乐器模型的相对位置,击打点位置将显示水波纹,不同乐器模型不同颜色,不同击打强度不同颜色深度。S202. After the hit point is confirmed, the position information of the hit point will be calculated relative to the position information of the musical instrument to obtain the relative position of the hit point on the musical instrument model, and water ripples will be displayed at the position of the hit point, with different colors for different musical instrument models. Different stroke intensity different color depth.
CN201810006692.9A 2018-01-04 2018-01-04 A kind of virtual jazz drum and implementation method Pending CN108269563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810006692.9A CN108269563A (en) 2018-01-04 2018-01-04 A kind of virtual jazz drum and implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810006692.9A CN108269563A (en) 2018-01-04 2018-01-04 A kind of virtual jazz drum and implementation method

Publications (1)

Publication Number Publication Date
CN108269563A true CN108269563A (en) 2018-07-10

Family

ID=62773364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810006692.9A Pending CN108269563A (en) 2018-01-04 2018-01-04 A kind of virtual jazz drum and implementation method

Country Status (1)

Country Link
CN (1) CN108269563A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109036348A (en) * 2018-08-24 2018-12-18 北京康哥教育科技有限公司 A kind of projection intelligence small drum system and implementation method
CN109493685A (en) * 2018-12-29 2019-03-19 深圳市掌网科技股份有限公司 A kind of virtual percussion instrument training system based on augmented reality
CN111462580A (en) * 2019-01-29 2020-07-28 德州一诺文化传媒有限公司 Jazz drum multimedia teaching system and using method
CN111862910A (en) * 2019-04-25 2020-10-30 逢甲大学 Virtual electronic musical instrument system and its operation method
CN117975920A (en) * 2024-03-28 2024-05-03 深圳市戴乐体感科技有限公司 Drumstick dynamic identification positioning method, device, equipment and storage medium
CN119376682A (en) * 2024-12-27 2025-01-28 佛山指向智能科技有限公司 An intelligent air instrument based on motion capture and virtual reality technology

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001027896A (en) * 1999-05-07 2001-01-30 Atr Media Integration & Communications Res Lab Multi-media art generating device
JP2006053167A (en) * 2004-07-14 2006-02-23 Rarugo:Kk Electronic musical instrument device and playing method of virtual musical instrument and program for performance processing of virtual musical instrument and recording medium recored with its program
JP2007121355A (en) * 2005-10-25 2007-05-17 Rarugo:Kk Playing system
CN101231842A (en) * 2006-12-19 2008-07-30 雅马哈株式会社 Keyboard musical instrument
US20130118339A1 (en) * 2011-11-11 2013-05-16 Fictitious Capital Limited Computerized percussion instrument
CN103310767A (en) * 2012-03-15 2013-09-18 卡西欧计算机株式会社 Musical performance device,and method for controlling musical performance device
CN103325365A (en) * 2012-03-19 2013-09-25 卡西欧计算机株式会社 Sound generation device and sound generation method
CN103325363A (en) * 2012-03-19 2013-09-25 卡西欧计算机株式会社 Musical instrument, method and recording medium
CN103729062A (en) * 2014-01-19 2014-04-16 浙江大学 Multifunctional synchronous interaction system and method of music instruments
CN105976800A (en) * 2015-03-13 2016-09-28 三星电子株式会社 Electronic device, method for recognizing playing of string instrument in electronic device
CN106169292A (en) * 2016-09-20 2016-11-30 西北农林科技大学 A kind of virtual frame drum
CN107408376A (en) * 2015-01-08 2017-11-28 沐择歌有限责任公司 Interactive musical instrument and other strike objects

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001027896A (en) * 1999-05-07 2001-01-30 Atr Media Integration & Communications Res Lab Multi-media art generating device
JP2006053167A (en) * 2004-07-14 2006-02-23 Rarugo:Kk Electronic musical instrument device and playing method of virtual musical instrument and program for performance processing of virtual musical instrument and recording medium recored with its program
JP2007121355A (en) * 2005-10-25 2007-05-17 Rarugo:Kk Playing system
CN101231842A (en) * 2006-12-19 2008-07-30 雅马哈株式会社 Keyboard musical instrument
US20130118339A1 (en) * 2011-11-11 2013-05-16 Fictitious Capital Limited Computerized percussion instrument
CN103310767A (en) * 2012-03-15 2013-09-18 卡西欧计算机株式会社 Musical performance device,and method for controlling musical performance device
CN103325365A (en) * 2012-03-19 2013-09-25 卡西欧计算机株式会社 Sound generation device and sound generation method
CN103325363A (en) * 2012-03-19 2013-09-25 卡西欧计算机株式会社 Musical instrument, method and recording medium
CN103729062A (en) * 2014-01-19 2014-04-16 浙江大学 Multifunctional synchronous interaction system and method of music instruments
CN107408376A (en) * 2015-01-08 2017-11-28 沐择歌有限责任公司 Interactive musical instrument and other strike objects
CN105976800A (en) * 2015-03-13 2016-09-28 三星电子株式会社 Electronic device, method for recognizing playing of string instrument in electronic device
CN106169292A (en) * 2016-09-20 2016-11-30 西北农林科技大学 A kind of virtual frame drum

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109036348A (en) * 2018-08-24 2018-12-18 北京康哥教育科技有限公司 A kind of projection intelligence small drum system and implementation method
CN109493685A (en) * 2018-12-29 2019-03-19 深圳市掌网科技股份有限公司 A kind of virtual percussion instrument training system based on augmented reality
CN111462580A (en) * 2019-01-29 2020-07-28 德州一诺文化传媒有限公司 Jazz drum multimedia teaching system and using method
CN111862910A (en) * 2019-04-25 2020-10-30 逢甲大学 Virtual electronic musical instrument system and its operation method
CN117975920A (en) * 2024-03-28 2024-05-03 深圳市戴乐体感科技有限公司 Drumstick dynamic identification positioning method, device, equipment and storage medium
CN119376682A (en) * 2024-12-27 2025-01-28 佛山指向智能科技有限公司 An intelligent air instrument based on motion capture and virtual reality technology

Similar Documents

Publication Publication Date Title
CN108269563A (en) A kind of virtual jazz drum and implementation method
Gillick et al. Learning to groove with inverse sequence transformations
US8777747B2 (en) System and method for playing a music video game with a drum system game controller
US10376785B2 (en) Audio, video, simulation, and user interface paradigms
US20100009746A1 (en) Music video game with virtual drums
JP5792131B2 (en) Game machine, control method used therefor, and computer program
US20090088249A1 (en) Systems and methods for altering a video game experience based on a controller type
JP4127561B2 (en) GAME DEVICE, OPERATION EVALUATION METHOD, AND PROGRAM
JP2009531153A (en) Game controller that simulates a guitar
US20020002900A1 (en) Drum educational entertainment apparatus
WO2009007512A1 (en) A gesture-controlled music synthesis system
TWI743472B (en) Virtual electronic instrument system and operating method thereof
JP6420345B2 (en) Sound source evaluation method, performance information analysis method and recording medium used therefor, and sound source evaluation device using the same
CN103310766A (en) Musical instrument and method
US20240321012A1 (en) Information Processing Apparatus, Method for Processing Information, and Non-Transitory Computer-Readable Storage Medium
Haugen et al. Rhythmical structures in music and body movement in samba performance
CN113539212B (en) Method for generating drum beating rhythm
Bouënard et al. Enhancing the visualization of percussion gestures by virtual character animation
Dolhansky et al. Designing an expressive virtual percussion instrument
WO2023080080A1 (en) Performance analysis method, performance analysis system, and program
Tissieres et al. An expressive multidimensional physical modelling percussion instrument
Miura Inter-player variability of a roll performance on a snare-drum performance
WO2006090528A1 (en) Music sound generation method and device thereof
Brown Afro-Latin rhythm dictionary: a complete dictionary for all musicians
Casciato On the choice of gestural controllers for musical applications: an evaluation of the Lightning II and the Radio Baton

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180710

RJ01 Rejection of invention patent application after publication