CN110796998A - Percussion instrument, percussion exercise data processing method and device and electronic equipment - Google Patents

Percussion instrument, percussion exercise data processing method and device and electronic equipment Download PDF

Info

Publication number
CN110796998A
CN110796998A CN201911099416.2A CN201911099416A CN110796998A CN 110796998 A CN110796998 A CN 110796998A CN 201911099416 A CN201911099416 A CN 201911099416A CN 110796998 A CN110796998 A CN 110796998A
Authority
CN
China
Prior art keywords
striking
exercise
percussion
data
result
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
CN201911099416.2A
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.)
Wensihai Huizhike Technology Co Ltd
Original Assignee
Wensihai Huizhike Technology Co Ltd
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 Wensihai Huizhike Technology Co Ltd filed Critical Wensihai Huizhike Technology Co Ltd
Priority to CN201911099416.2A priority Critical patent/CN110796998A/en
Publication of CN110796998A publication Critical patent/CN110796998A/en
Pending legal-status Critical Current

Links

Images

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
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/32Constructional details

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

The application relates to a percussion instrument, a percussion exercise data processing method and device and electronic equipment. The percussion instrument includes an instrument body, a sensing device and a communication device. The sensing device is arranged on the musical instrument body and used for generating striking practice data when the musical instrument body is struck, and the communication device is connected with the sensing device and used for sending the striking practice data to the electronic equipment connected with the communication device. The striking practice data processing method comprises the following steps: obtaining the striking practice data, analyzing the striking practice data and obtaining an analysis result for representing the practice condition of a practicer. The percussion instrument can achieve the purpose of recording the percussion exercise data generated by a trainer during exercise, and the percussion exercise data processing method, the device and the electronic equipment can analyze the percussion exercise data acquired by the percussion instrument to obtain an analysis result for representing the exercise condition of the trainer, so that the purpose of knowing the exercise condition of the trainer is achieved.

Description

Percussion instrument, percussion exercise data processing method and device and electronic equipment
Technical Field
The application relates to the technical field of musical instruments, in particular to a percussion instrument, a percussion exercise data processing method and device and electronic equipment.
Background
The dumb drum is a necessary tool for practicing the snare drum, and is mainly used for practicing the basic skills of the military drum and the drum kit. In the prior art, the dumb drum is mainly manufactured by a pure physical structure, generally has the characteristics of convenience in carrying, no limitation on exercise environment and the like, and cannot record striking exercise data generated by an exerciser during exercise. Therefore, it is impossible to provide a basis for analyzing the exercise situation of the exerciser, and the purpose of learning the exercise situation of the exerciser cannot be achieved.
Disclosure of Invention
An object of the present invention is to provide a percussion instrument, a percussion practice data processing method, a device and an electronic apparatus, so as to solve the above problems.
In a first aspect, a percussion instrument provided in an embodiment of the present application includes:
a musical instrument body;
the sensing device is arranged on the musical instrument body and used for generating striking practice data when sensing that the musical instrument body is struck;
and the communication device is connected with the sensing device and is used for transmitting the striking practice data to the electronic equipment connected with the communication device.
The percussion instrument provided by the embodiment of the application comprises an instrument body, a sensing device and a communication device. Wherein, induction system sets up on the musical instrument body for when induction musical instrument body is beated, generate the percussion exercise data, communication device is connected with induction system, is used for sending the electronic equipment who is connected with communication device with the percussion exercise data. Therefore, the striking practice data generated by the exerciser can be recorded when the exerciser exercises, so that the striking practice data can be used as the basis for analyzing the exercise condition of the exerciser, namely, after the striking practice data is obtained through the striking instrument provided by the embodiment of the application, the striking practice data can be analyzed, the analysis result for representing the exercise condition of the exerciser is obtained, and the purpose of knowing the exercise condition of the exerciser is achieved.
With reference to the first aspect, embodiments of the present application further provide a first optional implementation manner of the first aspect, where the instrument body includes:
the drum comprises a beating surface and a drum body, wherein the beating surface is arranged on the drum body so as to be matched with the drum body to form a drum cavity;
the sensing device includes:
the vibration inductor sets up on the face of beating for when the face of beating is beated, the vibration signal of response production, and convert vibration signal into and strike exercise data.
In this application embodiment, the musical instrument body can include the musical drum, and the musical drum includes the face of percussion and drum body, and the face of percussion sets up on the drum body to form the drum chamber with the cooperation of drum body, induction system then includes the vibration inductor, and the vibration inductor sets up on the face of percussion, is used for when the face of percussion is hit, the vibration signal of response production, and converts vibration signal into the exercise data of striking, consequently, can strengthen the reliability of the exercise data of striking.
With reference to the first optional implementation manner of the first aspect, this application provides a second optional implementation manner of the first aspect, where the striking face includes:
the drum surface is arranged on the drum body and matched with the drum body to form a drum cavity;
the resonance surface is arranged in the drum cavity and used for arranging a vibration inductor, and the vibration inductor is positioned on one side, deviating from the drum surface, of the resonance surface.
In this application embodiment, the striking surface includes drumhead and resonance face, and the drumhead sets up on the drum body to form the drum chamber with the cooperation of drum body, the resonance face sets up in the drum chamber for set up the vibration inductor, and the vibration inductor is located the one side that deviates from the drumhead on the resonance face. The arrangement of the resonance surface can amplify weak vibration signals, so that the reliability of the striking practice data is further enhanced.
With reference to the first aspect, embodiments of the present application further provide a third optional implementation manner of the first aspect, and the percussion instrument further includes:
the controller is connected with the sensing device and used for acquiring the frequency information of the percussion action of the musical instrument body in a target period according to the percussion exercise data;
and the display is connected with the controller and used for displaying the frequency information.
In the embodiment of the application, the percussion instrument further comprises a controller and a display, the controller is connected with the sensing device and used for obtaining the frequency information of the percussion action of the instrument body in the target period according to the percussion exercise data, and the display is connected with the controller and used for displaying the frequency information. Therefore, the practicer can obtain the information of the times of striking actions executed in the target period through the display to know the self-practice condition, thereby enhancing the functionality and the popularization of the percussion instrument.
With reference to the first aspect, this application provides a fourth alternative implementation manner of the first aspect, and the percussion instrument further includes:
the controller is internally stored with a target beat;
and the loudspeaker is connected with the controller and is used for playing the target beat under the control action of the controller.
In the embodiment of the application, the percussion instrument further comprises a controller and a loudspeaker, the target beat is stored in the controller, and the loudspeaker is connected with the controller and used for playing the target beat under the control action of the controller. Thus, the trainee can exercise with the target tempo as a reference, thereby enhancing the functionality and the generalizability of the percussion instrument.
In a second aspect, an embodiment of the present application provides a percussion practice data processing method, including:
acquiring striking practice data, wherein the striking practice data is generated by a sensing device arranged on the musical instrument body when the sensing device senses that the musical instrument body is struck and is sent out through a communication device connected with the sensing device;
and analyzing the striking exercise data to obtain an analysis result for representing the exercise condition of the exerciser.
The percussion exercise data processing method that this application embodiment provided can acquire percussion exercise data to carry out the analysis to percussion exercise data, obtain the analysis result that is used for the representation practitioner exercise condition, wherein, percussion exercise data is by setting up the induction system on the musical instrument body, and the musical instrument body is produced when being struck in sensing, and sends out through the communication device that induction system connects, based on this, alright realize knowing the purpose of practitioner exercise condition.
With reference to the second aspect, a first optional implementation manner of the second aspect is further provided in this embodiment, where the analysis result includes a first exercise result for characterizing a periodic exercise condition of the exerciser, and the analyzing the hitting exercise data to obtain an analysis result for characterizing the exercise condition of the exerciser, includes:
determining at least one analysis period;
and analyzing the striking exercise data acquired in the analysis period according to each analysis period to acquire a first exercise result.
In the embodiment of the present application, the analysis result includes a first exercise result for characterizing the exercise condition of the exerciser periodically, the hitting exercise data is analyzed, and the analysis result for characterizing the exercise condition of the exerciser is obtained, including: determining at least one analysis period, and analyzing the striking exercise data acquired in the analysis period aiming at each analysis period to acquire a first exercise result so as to reduce the data processing difficulty in the acquisition process of the first exercise result.
With reference to the first optional implementation manner of the second aspect, the present application provides a second optional implementation manner of the second aspect, where the first exercise result includes a first number of hits, and for each analysis period, the hitting exercise data obtained in the analysis period is analyzed to obtain the first exercise result, including:
for each analysis cycle, the number of pieces of all the striking practice data acquired within the analysis cycle is calculated as the first number of strikes.
In this embodiment of the application, the first exercise result includes a first number of times of striking, the striking exercise data is analyzed, and for each analysis period, the number of all striking exercise data acquired in the analysis period is calculated as the first number of times of striking, including: for each analysis period, the number of all the striking practice data acquired within the analysis period is calculated as the first number of strikes to enhance the functionality of the striking practice data processing method.
With reference to the first optional implementation manner of the second aspect, the present application provides a third optional implementation manner of the second aspect, where the first exercise result includes a third striking number, and for each analysis period, the striking exercise data obtained in the analysis period is analyzed to obtain the first exercise result, including:
for each analysis period, dividing the analysis period into a plurality of sub-analysis periods;
calculating the number of all the striking exercise data acquired in each sub-analysis period as a second striking frequency;
and taking the second striking frequency with the largest frequency value in all the second striking frequencies as the third striking frequency in the analysis period.
In an embodiment of the present application, the first exercise result includes a third striking frequency, and for each analysis period, the striking exercise data obtained in the analysis period is analyzed to obtain the first exercise result, including: and aiming at each analysis period, dividing the analysis period into a plurality of sub-analysis periods, calculating the number of all striking practice data acquired in each sub-analysis period to be used as a second striking frequency, and using the second striking frequency with the largest frequency value in all the second striking frequencies as a third striking frequency in the analysis period so as to enhance the functionality of the striking practice data processing method.
With reference to the first optional implementation manner of the second aspect, this application example further provides a fourth optional implementation manner of the second aspect, where the first exercise result includes a striking duration, and for each analysis period, the striking exercise data obtained in the analysis period is analyzed to obtain the first exercise result, including:
aiming at each analysis period, acquiring the striking time corresponding to each piece of striking practice data acquired in the analysis period;
aiming at any two pieces of striking practice data with adjacent striking time, obtaining the striking time difference of the two pieces of striking practice data;
determining an exercise interval included in the analysis period according to the striking time difference;
and acquiring the sum of the time lengths of each exercise interval as the striking time length.
In this embodiment of the application, the first exercise result includes a duration of percussion, and for each analysis cycle, the data of percussion exercise obtained in the analysis cycle is analyzed to obtain the first exercise result, including: the method comprises the steps of acquiring the striking time corresponding to each piece of striking practice data acquired in an analysis period aiming at each analysis period, acquiring the striking time difference of two pieces of striking practice data aiming at any two pieces of striking practice data adjacent to the striking time, determining the practice interval included in the analysis period according to the striking time difference, and acquiring the sum of the time length of each practice interval as the striking time length so as to enhance the functionality of the striking practice data processing method.
With reference to any one of the first to fourth optional implementation manners of the second aspect, in an embodiment of the present application, there is provided a fifth optional implementation manner of the second aspect, where for each analysis period, the striking practice data acquired in the analysis period is analyzed, and before the first practice result is obtained, the striking practice data processing method further includes:
aiming at each analysis period, acquiring the striking intensity of each striking exercise data corresponding to the striking action acquired in the analysis period;
selecting a preset number of pieces of striking practice data which have the same striking intensity and continuous striking time and correspond to striking actions from all the striking practice data as invalid striking practice data.
In this embodiment of the application, for each analysis period, before analyzing the striking practice data acquired in the analysis period and obtaining the first practice result, the striking practice data processing method may further include: aiming at each analysis period, the striking intensity of each striking exercise data corresponding to the striking action, which is obtained in the analysis period, is obtained, and a preset number of striking exercise data which are identical in striking intensity and continuous in striking time are selected from all the striking exercise data to serve as invalid striking exercise data, and the invalid striking exercise data are ignored, so that the reliability of the first exercise result is ensured.
With reference to the second aspect, a sixth optional implementation manner of the second aspect is further provided in an embodiment of the present application, where the analysis result includes a second exercise result for characterizing the exercise condition of the practitioner track, and the analyzing the hitting exercise data to obtain an analysis result for characterizing the exercise condition of the practitioner includes:
determining at least one track exercise period;
for each song practice period, the striking practice data acquired in the song practice period is analyzed to obtain a second practice result.
In the embodiment of this application, the analysis result includes the second exercise result that is used for the exercise condition of characterization practitioner track, and the exercise data of hitting is analyzed, obtains the analysis result that is used for the exercise condition of characterization practitioner, includes: determining at least one song exercise time interval, and analyzing the striking exercise data acquired in the song exercise time interval aiming at each song exercise time interval to acquire a second exercise result so as to reduce the data processing difficulty in the acquisition process of the second exercise result.
With reference to the sixth optional implementation manner of the second aspect, this application example further provides a seventh optional implementation manner of the second aspect, where for each track practice period, the striking practice data obtained in the track practice period is analyzed to obtain a second practice result, including:
aiming at each song practice time interval, obtaining the striking parameters corresponding to each striking practice data obtained in the song practice time interval, wherein the striking parameters comprise striking time or striking time and striking intensity;
and obtaining a second exercise result according to the striking parameters corresponding to each piece of striking exercise data.
In the embodiment of this application, to every song exercise period, the striking exercise data of obtaining in the song exercise period is analyzed, obtains the second exercise result, includes: aiming at each song practice time interval, obtaining the striking parameters corresponding to each striking practice data obtained in the song practice time interval, wherein the striking parameters comprise striking time or striking time and striking intensity, and obtaining a second practice result according to the striking parameters corresponding to each striking practice data so as to enhance the functionality of the striking practice data processing method.
With reference to the second aspect, an eighth optional implementation manner of the second aspect is further provided in the embodiments of the present application, and the striking practice data processing method further includes:
sending the analysis result to a server;
and receiving a processing result returned by the server according to the analysis result, wherein the processing result comprises at least one of a guidance suggestion and a sequencing result.
In an embodiment of the present application, the percussion practice data processing method further includes: the analysis result is sent to the server, and the processing result returned by the server according to the analysis result is received, wherein the processing result comprises at least one of a guidance suggestion and a sequencing result, so that the purpose of more comprehensively knowing the exercise condition of the practicer is realized.
In a third aspect, an embodiment of the present application provides a percussion practice data processing apparatus, including:
the data acquisition module is used for acquiring the percussion exercise data, the percussion exercise data are generated by a sensing device arranged on the musical instrument body when the sensing device senses that the musical instrument body is struck, and the percussion exercise data are sent out through a communication device connected with the sensing device;
and the result acquisition module is used for analyzing the striking exercise data and acquiring an analysis result for representing the exercise condition of the exerciser.
The striking practice data processing device provided by the embodiment of the application has the same beneficial effects as the striking practice data processing method, and the details are not repeated herein.
In a fourth aspect, an electronic device provided in an embodiment of the present application includes a processor and a memory, where the memory stores a computer program thereon, and the processor is configured to execute the computer program to implement the percussion practice data processing method provided in the second aspect or any optional implementation manner of the second aspect.
The electronic device provided by the embodiment of the application has the same beneficial effects as the striking practice data processing method, and details are not repeated herein.
In a fifth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the method for processing percussion practice data provided in the second aspect or any one of the optional embodiments of the second aspect may be implemented.
The computer-readable storage medium provided by the embodiment of the present application has the same beneficial effects as the striking practice data processing method described above, and is not described herein again.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic structural block diagram of a percussion instrument according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a percussion instrument according to an embodiment of the present application.
Fig. 3 is a sectional view taken along the line a-a of the percussion instrument shown in fig. 2.
Fig. 4 is a block diagram showing another schematic structure of a percussion instrument according to an embodiment of the present application.
Fig. 5 is a schematic structural block diagram of an electronic device according to an embodiment of the present application.
FIG. 6 is a flowchart illustrating the steps of a method for processing percussion practice data according to an embodiment of the present application.
Fig. 7 is a block diagram schematically illustrating a percussion practice data processing apparatus according to an embodiment of the present application.
Reference numerals: 100-percussion instrument; 110-instrument body; 111-drum; 1111-a striking surface; 11111-drumhead; 11112-resonant surface; 1112-a drum body; 120-a sensing device; 121-a vibration sensor; 130-a communication device; 140-a controller; 150-a display; 160-a first input device; 170-a loudspeaker; 180-a second input device; 190-a third input device; 200-an electronic device; 210-a processor; 220-a memory; 300-percussion practice data processing means; 310-a data acquisition module; 320-result obtaining module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Referring to fig. 1, the present embodiment provides a percussion instrument 100, which includes an instrument body 110, a sensing device 120 and a communication device 130.
The musical instrument body 110 may be percussion instruments such as a drum, a gong, etc., and when the musical instrument body 110 is a drum, it may be, but not limited to, a dumb drum, a military drum, and a waist drum.
The sensing device 120 is disposed on the instrument body 110, and is configured to generate striking practice data when sensing that the instrument body 110 is struck.
The communication device 130 is connected to the sensing device 120, and is configured to transmit the striking practice data generated by the sensing device 120 to an electronic apparatus connected to the communication device 130. In this embodiment, the communication device 130 may be, but is not limited to, a bluetooth communication device, a serial WiFi module, and a ZigBee communication device, and the electronic device may be, but is not limited to, a smart phone, a tablet computer, a Personal Digital Assistant (PAD), and a Mobile Internet Device (MID).
Through the arrangement, the percussion instrument can record the percussion exercise data generated by the exerciser during the exercise so as to be used as the basis for analyzing the exercise condition of the exerciser. For example, the electronic device may display the striking practice data after acquiring the striking practice data transmitted by the communication device 130, so that an analyst (e.g., a teacher of an instrument of the exerciser) can analyze the striking practice data to obtain an analysis result for characterizing the exercise condition of the exerciser. In addition, in order to enhance the objectivity and reliability of the analysis result, after the electronic device acquires the striking practice data sent by the communication device 130, the electronic device may also analyze the striking practice data through a preset executable software module (e.g., a striking practice data processing device) to obtain an analysis result for representing the practice condition of the exerciser.
In addition, in the embodiment of the present application, as an alternative implementation manner, the sensing device 120 may include a vibration sensor 121. Referring to fig. 2 and 3, the generation process of the striking practice data will be described below by taking the case where the instrument body 110 includes the drum 111 and the sensing device 120 includes the vibration sensor 121.
In the embodiment of the present application, the musical drum 111 may include a striking surface 1111 and a drum body 1112, and the striking surface 1111 is disposed on the drum body 1112 to cooperate with the drum body 1112 to form a drum cavity for generating a vibration signal when being struck. The vibration sensor 121 is disposed on the striking surface 1111 and configured to sense a generated vibration signal when the striking surface 1111 is struck, and convert the vibration signal into striking practice data, that is, the striking practice data is an electrical signal obtained by converting the vibration signal. Therefore, it can be understood that the larger the value of the striking practice data is, the stronger the striking intensity corresponding to the striking motion is, and the smaller the value of the striking practice data is, the weaker the striking intensity corresponding to the striking motion is.
Further, in order to enhance the reliability of the striking practice data, in the embodiment of the present application, the striking surface 1111 may include a drumhead 11111 and a resonance surface 11112. Wherein, drumhead 11111 sets up on drum body 1112 to form the drum chamber with drum body 1112 cooperation, resonance surface 11112 then sets up in the drum chamber, and can laminate with drumhead 11111 for set up vibration inductor 121, and vibration inductor 121 can be located resonance surface 11112 deviate from one side of drumhead 11111, for example, resonance surface 11112 deviate from the middle part of drumhead 11111 one side, communication device 130 can set up in the drum chamber equally, and be located resonance surface 11112 deviate from drumhead 11111 one side. In practice, the drumhead 11111 may be a thin plate made of rubber material, and the resonance surface 11112 may be, but not limited to, a steel plate or an alloy plate.
With the above arrangement, even when the striking intensity of the striking motion is weak, the generated weak vibration signal can be amplified based on the arrangement of the resonance surface to satisfy the minimum sensing threshold requirement of the vibration sensor 121, thereby enhancing the reliability of the striking practice data.
Referring to fig. 4, in order to enhance the functionality and generalizability of percussion instrument 100 provided by the embodiments of the present application, it may further include a controller 140 and a display 150. The controller 140 is connected to the sensing device 120 for obtaining the information of the number of times the instrument body 110 is struck in the target period according to the striking practice data, and the display 150 is connected to the controller 140 for displaying the information of the number of times. In practical implementation, the target period may be a fixed period, for example, every minute, hour, and day, or may be selected from a plurality of fixed periods by manual setting, or may be a time interval determined by manual setting, for example, from 2019, 9, 10, and then to 2019, 9, 10, and 11.
Based on the function requirement that the target period can be set manually, in the embodiment of the present application, the percussion instrument 100 may further include a first input device 160. The first input device 160 is connected to the controller 140, and is configured to receive the input period setting information and send the period setting information to the controller 140, and the controller 140 is configured to obtain the target period according to the period setting information. In practical implementation, the first input device 160 may be a key, a microphone, a touch controller, or other human-computer interaction device.
Through the arrangement, a practicer can obtain the information of the times of percussion in the target period through the display to know the self-practice condition, so that the functionality and the popularization of the percussion instrument are enhanced.
To further enhance the functionality and generalizability of percussion instrument 100, percussion instrument 100 provided by the embodiments of the present application may further include controller 140 and speaker 170. The controller 140 stores a target beat, and the speaker 170 is connected to the controller 140 and is used for playing the target beat under the control of the controller 140. In practical implementation, the target tempo may be a fixed tempo, may be selected from a plurality of fixed tempos through manual setting, or may be downloaded from an electronic device through manual setting.
Based on the function requirement that the target tempo can be manually set, in this embodiment of the application, the percussion instrument 100 may further include a second input device 180, where the second input device 180 is connected to the controller 140, and is configured to receive the input tempo setting information and send the tempo setting information to the controller 140, and the controller 140 is configured to obtain the target tempo according to the period setting information. In practical implementation, the second input device 180 may be a human-computer interaction device such as a key, a microphone, a touch controller, etc.
Through the above arrangement, the trainee can exercise with the target tempo as a reference, thereby further enhancing the functionality and the generalizability of the percussion instrument.
It should be noted that when percussion instrument 100 includes controller 140 and display 150, or includes controller 140 and speaker 170, or includes controller 140, display 150 and speaker 170, or includes both controller 140, display 150 and speaker 170, sensing device 120 may be connected to communication device 130 through controller 140, and percussion instrument 100 further includes third input device 190. The third input device 190 is configured to receive the input mode switching information and send the mode switching information to the controller 140, and the controller 140 is configured to generate a mode switching instruction according to the mode switching information, so as to implement switching of the operating mode of the percussion instrument 100. In practical implementation, the third input device 190 may be a human-computer interaction device such as a key, a microphone, a touch controller, etc.
In the embodiment of the present application, the operation modes of percussion instrument 100 may include a first mode and a second mode. When the current mode is the first mode, the controller 140 can directly obtain the information of the number of times of striking actions performed by the instrument body 110 in the target period according to the striking practice data, and send the information to the display 150 for displaying. When the current mode is the second mode, the controller 140 is configured to transmit the striking practice data generated by the sensing device 120 to the electronic device through the communication device 130, and the electronic device can display and/or analyze the striking practice data.
It should be noted that in the embodiment of the present application, when the first input device 160, the second input device 180, and the third input device 190 are all microphones, they may be the same microphone, and similarly, when the first input device 160, the second input device 180, and the third input device 190 are all touch controllers, they may be the same touch controller.
Referring to fig. 5, a schematic block diagram of an electronic device 200 capable of communicating with the communication apparatus 130 shown in fig. 1, 3 and 4 may include a processor 210 and a memory 220.
The processor 210 and the memory 220 are electrically connected, directly or indirectly, to enable data transmission or interaction, for example, the components may be electrically connected to each other via one or more communication buses or signal lines. The percussion practice data processing device 300 provided in the embodiment of the present application includes at least one executable software module that can be stored in the memory 220 in the form of software or Firmware (Firmware) or solidified in an Operating System (OS) of the electronic device 200, and the processor 210 is configured to execute the executable software module stored in the memory 220, for example, a software functional module and a computer program included in the percussion practice data processing device, so as to implement the percussion practice data processing method provided in the embodiment of the present application. The processor 210 may execute the computer program upon receiving the execution instruction.
In addition, in the embodiment of the present application, the processor 210 may be an integrated circuit chip having signal processing capability. The processor 210 may also be a general-purpose processor, for example, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a discrete gate or transistor logic device, or a discrete hardware component, which may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present Application. Further, a general purpose processor may be a microprocessor or any conventional processor or the like.
The Memory 220 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), and an electrically Erasable Programmable Read-Only Memory (EEPROM). The memory 220 is used for storing a program, and the processor 210 executes the program after receiving the execution instruction.
It should be understood that the structure shown in fig. 5 is merely an illustration, and the electronic device 200 provided in the embodiments of the present application may have fewer or more components than those shown in fig. 5, or may have a different configuration than that shown in fig. 5. Further, the components shown in fig. 5 may be implemented by software, hardware, or a combination thereof.
Referring to fig. 6, fig. 6 is a flowchart illustrating a percussion practice data processing method according to an embodiment of the present application, where the percussion practice data processing method is applied to the electronic device 200 shown in fig. 5. It should be noted that the striking practice data processing method provided in the embodiment of the present application is not limited to the sequence shown in fig. 6 and the following, and the specific flow and steps of the striking practice data processing method are described below with reference to fig. 6.
Step S100, obtaining the striking practice data, wherein the striking practice data is generated by a sensing device arranged on the musical instrument body when the sensing device senses that the musical instrument body is struck, and the striking practice data is sent out through a communication device connected with the sensing device.
Based on the above description, it can be understood that, in the embodiment of the present application, the electronic device is connected to the communication device included in the percussion instrument, and the connection mode may be a Zigbee wireless communication mode, a bluetooth wireless communication mode, and the like, which is not limited in the embodiment of the present application.
In addition, in the embodiment of the present application, the striking practice data carries a time stamp. The time stamp may be added by the sensing device in the percussion instrument according to the generation time when each piece of percussion practice data is generated, or may be added by the electronic device according to the acquisition time when each piece of percussion practice data is acquired, which is not particularly limited in the embodiments of the present application.
And step S200, analyzing the hitting practice data to obtain an analysis result for representing the practice condition of the practicer.
In the embodiment of the application, the hitting practice data can be analyzed to obtain a multi-dimensional analysis result for representing the practice condition of the exerciser, for example, a first exercise result for representing the periodic practice condition of the exerciser and/or a second exercise result for representing the practice condition of the exerciser, so as to achieve the purpose of more comprehensively knowing the practice condition of the exerciser, thereby enhancing the functionality of the hitting practice data processing method.
Based on the above description, in order to obtain the first exercise result, in the embodiment of the present application, the step S200 may include the step S210 and the step S220.
Step S210, at least one analysis period is determined.
In the embodiment of the present application, the analysis period may be a fixed period, for example, daily, weekly, or monthly, or may be selected from a plurality of fixed periods by manual setting, or may be a time interval determined by manual setting, for example, from 9/10/2019/11/hour.
Step S220, analyzing the striking practice data obtained in the analysis period for each analysis period to obtain a first practice result.
In the embodiment of the application, the striking practice data acquired in the analysis period is analyzed, and the acquired first practice result may also include a multidimensional practice result, for example, at least one of the first striking frequency, the third striking frequency and the striking duration, so as to achieve the purpose of comprehensively understanding the practice condition of the exerciser, thereby further enhancing the functionality of the striking practice data processing method.
Based on the above description, in the embodiment of the present application, when the analysis result includes the first number of hits, step S220 may include step S2211.
In step S2211, the number of all the striking practice data acquired in the analysis cycle is calculated as the first number of strikes for each analysis cycle.
In the embodiment of the application, for each piece of striking practice data obtained, an analysis period corresponding to the piece of striking practice data can be determined according to the time stamp of the piece of striking practice data, and thereafter, the number of pieces of striking practice data obtained in each analysis period can be calculated as the first striking frequency.
In the embodiment of the present application, when the analysis result includes the third striking count, the step S200 may include a step S2221, a step S2222, and a step S2223.
In step S2221, the analysis period is divided into a plurality of sub-analysis periods for each analysis period.
In the embodiment of the present application, the time length of the sub-analysis period may be a fixed length, for example, 1min or 2min, or may be selected from a plurality of fixed lengths through manual setting.
In addition, in the embodiment of the present application, any two consecutive sub-analysis periods may be time coincidence periods, or may be time continuous periods. It should be further noted that, in the embodiment of the present application, when any two consecutive sub-analysis periods are time coincidence periods, a difference between a start time of a previous sub-analysis period and a start time of a next sub-analysis period is a preset step value, for example, 1s, 2 s. Taking any two consecutive sub-analysis periods as time coincidence periods and the preset step value is 1s as an example, the two consecutive sub-analysis periods may be 10 minutes 50 seconds at 10 hours of 9/10 hours of 2019, 11 minutes 50 seconds at 10 hours of 9/10 days of 2019, and 10 minutes 51 seconds at 10 hours of 9/10 days of 2019, 11 minutes 51 seconds at 10 hours of 9/9 days of 2019. Similarly, it should be further noted that, in the embodiment of the present application, when any two consecutive sub-analysis periods are time-consecutive periods, the ending time of the previous sub-analysis period coincides with the starting time of the next sub-analysis period. Taking any two consecutive sub-analysis periods as the time continuous period as an example, any two consecutive sub-analysis periods may be 10 minutes 50 seconds at 9/10 of 2019 to 11 minutes 50 seconds at 9/10 of 2019 and 11 minutes 50 seconds at 10 hours at 9/10 of 2019 to 12 minutes 50 seconds at 10 hours at 9/2019.
In step S2222, the number of pieces of all the striking practice data acquired in each sub-analysis period is calculated as the second striking count.
After the analysis period is divided into a plurality of sub-analysis periods, for each piece of acquired striking practice data, the sub-analysis period corresponding to the piece of striking practice data can be determined according to the time stamp of the piece of striking practice data. Thereafter, the number of pieces of all the striking practice data acquired in each sub-analysis period can be calculated as the second striking count.
In step S2223, the second striking count with the largest count value among all the second striking counts is set as the third striking count in the analysis period.
In the embodiment of the present application, when the analysis result includes the striking length, step S200 may include step S2231, step S2232, step S2233, and step S2234.
In step S2231, for each analysis period, a striking time corresponding to each piece of striking practice data acquired in the analysis period is acquired.
Similarly, in the embodiment of the present application, for each piece of acquired striking practice data, an analysis period corresponding to the piece of striking practice data may be determined according to the time stamp of the piece of striking practice data. Based on this, it can be understood that, in the embodiment of the present application, the striking time corresponding to each piece of striking practice data may be determined according to the time stamp carried by the striking practice data.
In step S2232, a striking time difference between two pieces of striking practice data is obtained for any two pieces of striking practice data whose striking times are adjacent to each other.
In step S2233, an exercise interval included in the analysis period is determined according to the striking time difference.
In the embodiment of the application, the striking practice data with the most forward striking time, the striking practice data with the most backward striking time and the two adjacent striking practice data with the striking time difference larger than the preset difference value in the analysis period can be used as interval division data, and then the two interval division data can be used as a group of division data sets according to the sequence of the acquisition time, and each group of division data sets determines an exercise interval. The preset difference may be 30s, 1min, or 10min, which is not specifically limited in this application. Taking the analysis period as an example every day, for the analysis period from 2019, 9, 00 hours to 2019, 9, 10, 00 hours, it is assumed that the interval division data acquired in the analysis period includes, in the order of acquisition time, the first division data, the second division data, the third division data and the fourth division data, and the exercise interval includes a first exercise interval between the first division data and the second division data and a second exercise interval between the third division data and the fourth division data.
In step S2234, the sum of the time lengths of each exercise interval is obtained as the striking time length.
For each exercise interval, the striking exercise data with the striking time most ahead in the exercise interval is used as the starting data, the striking time corresponding to the starting data is used as the starting time, meanwhile, the striking exercise data with the striking time most behind in the exercise interval is used as the ending data, and the striking time corresponding to the ending data is used as the ending time. Thereafter, the difference between the cut-off time and the start time is obtained as the time length of the exercise interval.
Specific flows and steps of step S2231, step S2232, step S2233, and step S2234 will be described below by way of example.
Taking the analysis period from 9/10/2019 to 10/11/2019/10/2019 and the preset difference value is 10min as an example, assuming that 2000 pieces of striking exercise data are included in the analysis period, and only two adjacent striking exercise data with the striking time difference of more than 10min, namely the 1000 th striking exercise data and the 1001 st striking exercise data, exist in the 2000 pieces of striking exercise data, the 1 st striking exercise data, the 1000 th striking exercise data, the 1001 st striking exercise data and the 1001 st striking exercise data are taken as interval division data, and it is determined that the analysis period includes two exercise intervals, that is, a first exercise interval between the 1 st striking exercise data and the 1000 th striking exercise data, and a second exercise interval between the 1001 st striking exercise data and the 2000 st striking exercise data.
In the first exercise interval, the striking exercise data with the most forward striking time is the 1 st striking exercise data, the striking exercise data with the most backward striking time is the 1000 th striking exercise data, and if the striking time corresponding to the 1 st striking exercise data is the 10 th striking exercise data in 2019, 9, 10 th hour, and the striking time corresponding to the 1000 th striking exercise data is the 15 th striking exercise data in 2019, 9, 10 th hour, the time length of the first interval is 15 min. In the second interval, the striking practice data with the most forward striking time is 1001 st striking practice data, the striking practice data with the most backward striking time is 2000 th striking practice data, and if the striking time corresponding to the 1001 st striking practice data is 9/15/2019, and the striking time corresponding to the 2000 th striking practice data is 9/15/12/2019, the time length of the second interval is 12 min. Thus, the sum of the time length of the first interval and the time length of the second interval is 27min, which is the striking time of the analysis period from 2019, 9, 10, 11 hours in 2019, 9, 10, 11.
In addition, in the practice stage, a practicer may use a cheating means, for example, a mechanical percussion instrument is used to strike the main body of the musical instrument, and because the striking intensity of each striking is always the same when the mechanical percussion instrument strikes the main body of the musical instrument, based on this, in the embodiment of the present application, a preset number of pieces of striking practice data with the same striking intensity and continuous striking time can be used as invalid striking data, and the invalid striking practice data can be ignored, so as to improve the reliability of the first practice result.
In order to achieve the above purpose of improving the reliability of the analysis result, the striking practice data processing method provided in the embodiment of the present application may further include step S001 and step S002 before performing step S220, and analyzing the striking practice data acquired in the analysis cycle for each analysis cycle to obtain the first practice result.
And S001, acquiring the striking intensity of each striking exercise data corresponding to the striking action, which is acquired in the analysis period, aiming at each analysis period.
In the embodiment of the application, the value of the striking practice data is in direct proportional relation with the strength of the striking strength, so that the striking strength corresponding to the striking action can be represented directly through the value of the striking practice data.
Step S002, selecting a preset number of pieces of striking practice data having the same striking intensity and continuous striking time from all the striking practice data as invalid striking practice data.
In the embodiment of the application, the striking intensity is the same, the striking intensity can be in the preset number of striking exercise data, the numerical values of all striking exercise data are equal, and the numerical difference of any two striking exercise data can be in the preset difference range in the preset number of striking exercise data. The preset number may be 8, 12, or 20, which is not specifically limited in the embodiments of the present application.
With the above arrangement, when step S212 is executed, the striking practice data acquired in the analysis period is analyzed for each analysis period, and the first practice result is obtained, only the effective striking practice data except the ineffective striking practice data can be analyzed, and the first practice result is obtained, so that the reliability of the first practice result is improved.
To obtain the second exercise result, in the embodiment of the present application, the step S200 may include a step S230 and a step S240.
In step S230, at least one track practice period is determined.
In the embodiment of the present application, the track exercise time period may be determined according to a track exercise request triggered by an exerciser. The song exercise request comprises a target song and an exercise starting time, wherein the exercise starting time can be the current time or a specified appointed time, and based on the target song time, the target song time interval can be determined according to the duration of the target song and the exercise starting time.
Step S240, analyzing the striking practice data obtained in the song practice time period for each song practice time period, and obtaining a second practice result.
In the embodiment of the application, the striking practice data acquired in the song practice period are analyzed, and mainly striking parameters corresponding to the striking practice data are analyzed. Based on this, in the embodiment of the present application, step S240 may include step S241 and step S242.
Step S241, for each song practice time interval, obtaining a striking parameter corresponding to each striking practice data obtained in the song practice time interval, where the striking parameter includes striking time, or striking time and striking intensity.
In the embodiment of the present application, the striking time corresponding to each piece of striking practice data may be determined according to the time stamp carried by the striking practice data. In addition, the value of the striking practice data is in direct proportion to the strength of the striking strength, so that the striking strength corresponding to the striking action can be represented directly through the value of the striking practice data.
In step S242, a second exercise result is obtained according to the striking parameters corresponding to each piece of striking exercise data.
Regarding step S242, in the present embodiment, as a first optional implementation, step S24211 and step S24212 may be included.
Step S24211, generating a target audio track according to the striking parameters corresponding to each piece of striking practice data.
When the striking parameters include striking time, a target track including a plurality of rhythm points is generated according to the striking time of each piece of striking practice data. When the striking parameters include striking time and striking intensity, a target audio track including a plurality of rhythm points each having a corresponding striking intensity is generated according to the striking time and striking intensity of each piece of striking practice data.
Step S24212, comparing the target audio track with the standard audio track to obtain a second exercise result.
In the embodiment of the present application, the standard track is a track of the target track. In addition, in the embodiment of the present application, the target audio track is compared with the standard audio track to obtain the second exercise result, and the similarity between the target audio track and the standard audio track may be obtained, and an exercise score proportional to the similarity may be obtained as the second exercise result.
In practice, the target track may be divided into a plurality of sub-target tracks, and the standard track may be divided into a plurality of sub-standard tracks. For each sub-target track, the sub-target track is compared with the corresponding sub-standard track to obtain a paragraph score corresponding to the sub-target track, for example, the similarity between the sub-target track and the corresponding sub-standard track is obtained, and a paragraph score in a direct proportion relation with the similarity is obtained. Thereafter, the practice scores are obtained according to the paragraph scores corresponding to all the sub-target tracks, for example, the average of the paragraph scores corresponding to all the sub-target tracks is obtained as the practice scores.
In addition, in the embodiment of the present application, any two consecutive sub-target tracks may be time coincidence tracks or time consecutive tracks. It should be further noted that, in the embodiment of the present application, when any two consecutive sub-target tracks are time-coincident tracks, the start rhythm point of the previous sub-target track is consecutive to the start rhythm point of the next sub-target track. Taking any two consecutive sub-target tracks as time coincidence tracks as an example, the any two consecutive sub-target tracks may be a first sub-target period including the first rhythm point, the second rhythm point, the third rhythm point, the fourth rhythm point, and the fifth rhythm point, and a second sub-target period including the second rhythm point, the third rhythm point, the fourth rhythm point, the fifth rhythm point, and the sixth rhythm point. Similarly, it should be further noted that, in the embodiment of the present application, when any two consecutive sub-target tracks are time-consecutive tracks, the ending rhythm point of the previous sub-target track coincides with the starting rhythm point of the next sub-target period. Taking any two consecutive sub-target tracks as time-consecutive tracks for example, the any two consecutive sub-target tracks may be a first sub-target period including the first rhythm point, the second rhythm point, the third rhythm point, the fourth rhythm point, and the fifth rhythm point, and a second sub-target period including the sixth rhythm point, the seventh rhythm point, the eighth rhythm point, the ninth rhythm point, and the tenth rhythm point.
In order to facilitate the learning progress of the trainee, in the embodiment of the application, after the training score is obtained, a sub-target track with a paragraph score smaller than a first preset score threshold value can be selected and played as a hitting error part to remind the trainee of strengthening the hitting error part.
In order to reduce the striking parameters corresponding to each piece of striking practice data, the data processing difficulty in the process of obtaining the second practice result is reduced. In the embodiment of the application, since the target track has a plurality of rhythm points, each rhythm point has a corresponding standard parameter, and the standard parameter includes standard time, or standard time and standard intensity. It is understood that, in the embodiment of the present application, when the striking parameters include striking time, the standard parameters include standard time, and when the striking parameters include striking time and striking intensity, the standard parameters include standard time and standard intensity. Based on this, for step S242, in the embodiment of the present application, as a second optional implementation, it may also include three sub-steps, namely step S24221, step S24222 and step S24223.
Step S24221, when each piece of striking practice data is acquired, determining a rhythm point corresponding to the piece of striking practice data, and using a standard parameter corresponding to the rhythm point as a target parameter.
In the embodiment of the application, when each piece of striking practice data is acquired, the corresponding striking time can be determined according to the time stamp carried by the striking practice data, and the standard time adjacent to and before the striking time is acquired, so that the standard parameter corresponding to the standard time is used as the target parameter.
Step S24222, the striking parameters corresponding to the striking practice data are compared with the target parameters, and the click score corresponding to the striking practice data is obtained.
In the embodiment of the application, the striking parameters corresponding to the striking practice data are compared with the target parameters to obtain the click score corresponding to the striking practice data, wherein the click score can be obtained by obtaining the similarity between the striking parameters and the target parameters and obtaining the click score which is in a direct proportion relation with the similarity.
And step S24223, obtaining a second exercise result according to the click scores corresponding to all the striking exercise data.
In the embodiment of the present application, the second exercise result may be the average of the click scores corresponding to all the striking exercise data.
Similarly, in order to facilitate the learning progress of the practicer, in the embodiment of the application, after the second exercise result is obtained, the striking exercise data with the clicking score smaller than the preset score threshold value can be selected as error data, the rhythm point corresponding to the error data is determined and used as a target rhythm point, and then a preset length segment sub-track including the target rhythm point is intercepted from the target track and used as a striking error part to be played so as to remind the practicer of strengthening the striking error part.
In addition, in order to achieve the purpose of more fully understanding the practice situation of the exerciser, the striking practice data processing method in the embodiment of the present application may further include step S300 and step S400.
And step S300, sending the analysis result to a server.
And step S400, receiving a processing result returned by the server according to the analysis result, wherein the processing result comprises at least one of a guidance suggestion and a sequencing result.
In the embodiment of the present application, the electronic device can further communicate with a server for sending the analysis result to the server, and the server may be, but is not limited to, a network server or a database server.
With the above arrangement, after obtaining the analysis result, the server can obtain the guidance suggestion according to the analysis result, and return the processing result including the guidance suggestion to the electronic device. For example, when the first striking frequency is smaller than a preset frequency threshold, or the striking time length is smaller than a preset exercise time length at that time, or the exercise score is smaller than a preset passing score, prompt information for reminding the exerciser of needing to increase the exercise time can be generated to serve as the guidance suggestion.
In addition, in the embodiment of the application, when the electronic device sends the analysis result to the server, the electronic device may also send the identity information corresponding to the analysis result to the server at the same time. Based on this, when receiving a viewing request sent by a musical instrument teacher, a social friend, or the like of a trainee through the terminal device, the server can return an analysis result corresponding to the viewing request to the terminal device. Therefore, the musical instrument teacher, the social friends and the like of the practicer can check the analysis result corresponding to the identity information of the practicer through the terminal equipment, so that the practicer can know the exercise condition. In the embodiment of the present application, the terminal device may be, but is not limited to, a smart phone, a tablet computer, a PAD, and a MID.
In this embodiment, the server may further sort all the received analysis results to obtain a sorting result, and return a processing result including the sorting result to all the electronic devices. For example, when the analysis result includes the first number of hits, all the received first number of hits may be sorted, when the analysis result includes the third number of hits, all the received third number of hits may be sorted, when the analysis result includes the hit duration, all the hit durations may be sorted, and when the analysis result includes the exercise scores, all the exercise scores may be sorted.
It should be noted that, in the embodiment of the present application, when the server sorts all the received analysis results, the server may further obtain the identity attribute of the practitioner according to the identity information corresponding to the analysis results, so as to sort all the analysis results according to the identity attribute. Based on this, it can be understood that, in the embodiment of the present application, for each received analysis result, the server obtains the identity attribute of the practitioner according to the identity information corresponding to the analysis result, so as to sort the analysis result and the analysis result corresponding to the practitioner with the identity attribute of the same kind. In the embodiment of the present application, the identity attribute includes at least one of age, region, and professional level.
Based on the same inventive concept as the striking practice data processing method described above, the present embodiment also provides a striking practice data processing device 300. Referring to fig. 7, the striking practice data processing apparatus 300 according to the embodiment of the present application includes a data obtaining module 310 and a result obtaining module 320.
Data acquisition module 310 for acquireing the exercise data of striking, the exercise data of striking is generated when sensing the musical instrument body by the induction system who sets up on the musical instrument body, and sends out through the communication device that induction system connects.
The description of the data acquisition module 310 may refer to the detailed description of step S100 shown in fig. 6, that is, step S100 may be performed by the data acquisition module 310.
And the result acquisition module 320 is used for analyzing the striking exercise data to obtain an analysis result for representing the exercise condition of the exerciser.
The description of the result obtaining module 320 may refer to the detailed description of step S200 shown in fig. 6, that is, step S200 may be performed by the result obtaining module 320.
In an embodiment of the present application, the analysis result may include a first exercise result for characterizing a periodic exercise condition of the exerciser, and based on this, the result obtaining module 320 may include an analysis period determining unit and a first exercise result obtaining unit.
An analysis period determination unit for determining at least one analysis period.
The description about the analysis cycle determination unit may refer specifically to the detailed description about step S210 in the embodiment of the striking practice data processing method described above, that is, step S210 may be performed by the analysis cycle determination unit.
And the first exercise result acquisition unit is used for analyzing the striking exercise data acquired in the analysis period according to each analysis period to acquire a first exercise result.
The description of the first exercise result acquisition unit may refer specifically to the detailed description of the embodiment of the percussion exercise data processing method described above with respect to step S220, that is, step S220 may be performed by the first exercise result acquisition unit.
In an embodiment of the application, the first exercise result may include a first number of hits, based on which the first exercise result obtaining unit may include a first calculating subunit.
A first calculating subunit for calculating, for each analysis cycle, the number of pieces of all the striking practice data acquired within the analysis cycle as the first number of strikes.
The description of the first computing subunit may refer specifically to the detailed description of the embodiment of the percussion practice data processing method described above with respect to step S2211, that is, step S2211 may be performed by the first computing subunit.
In an embodiment of the present application, the first exercise result may include a third number of hits, based on which the first exercise result acquisition unit may include a first division subunit, a second calculation subunit, and a determination subunit.
A first dividing unit for dividing the analysis period into a plurality of sub-analysis periods for each analysis period.
The description of the first sub-division unit can refer to the detailed description of the striking practice data processing method in the above section with respect to step S2221, that is, step S2221 can be performed by the first sub-division unit.
A second calculating subunit for calculating the number of pieces of all the striking practice data acquired in each sub-analysis period as a second striking count.
The description of the second calculating subunit may refer to the detailed description of the embodiment of the striking practice data processing method about step S2222, that is, step S2222 may be executed by the second calculating subunit.
And a first determining subunit, configured to use the second striking count with the largest count value among all the second striking counts as the third striking count in the analysis period.
The description of the first determining subunit may refer specifically to the detailed description of the embodiment of the striking practice data processing method described above with respect to step S2223, that is, step S2223 may be performed by the first determining subunit.
In the embodiment of the present application, the first exercise result may include a striking time period, and based on this, the first exercise result acquisition unit may include a first acquisition subunit, a second division subunit, and a second sub-determination unit.
And the first acquisition subunit is used for acquiring the striking time corresponding to each piece of striking practice data acquired in the analysis period aiming at each analysis period.
The description about the first acquiring subunit may refer specifically to the detailed description about step S2231 of the embodiment of the percussion practice data processing method described above, that is, step S2231 may be performed by the first acquiring subunit.
And the second acquisition subunit is used for acquiring the striking time difference of any two adjacent striking practice data according to the striking time.
The description about the second acquiring subunit may refer specifically to the detailed description about step S2232 in the above-mentioned striking practice data processing method embodiment, that is, step S2232 may be performed by the second acquiring subunit.
And the second dividing subunit is used for determining the exercise interval included in the analysis period according to the striking time difference.
The description about the second dividing subunit may refer specifically to the detailed description about step S2233 of the embodiment of the striking practice data processing method described above, that is, step S2233 may be performed by the second dividing subunit.
And a second determining subunit, configured to obtain the sum of the time lengths of each exercise interval as the striking time length.
The description about the second determining subunit may refer specifically to the detailed description about step S2234 of the embodiment of the striking practice data processing method described above, that is, step S2234 may be performed by the second determining subunit.
In order to improve the reliability of the first exercise result, the striking exercise data acquisition device provided by the embodiment of the application may further include an intensity acquisition module and a data processing module.
And the strength acquisition module is used for acquiring the striking strength of each striking exercise data corresponding to the striking action, which is acquired in the analysis period, aiming at each analysis period.
The description of the intensity acquisition module may refer to the detailed description of the striking practice data processing method in the above-mentioned embodiment about step S001, that is, step S001 may be performed by the intensity acquisition module.
And the data processing module is used for selecting a preset number of pieces of striking practice data with the same striking intensity and continuous striking time from all the striking practice data as invalid striking practice data.
The description of the data processing module may refer to the detailed description of the striking practice data processing method embodiment about step S002, that is, step S002 may be executed by the data processing module.
In an embodiment of the present application, the analysis result may include a second exercise result for characterizing the exercise condition of the trainer track, and based on this, the result obtaining module 320 may include an exercise period determining unit and a second exercise result obtaining unit.
An exercise period determination unit for determining at least one track exercise period.
The description about the practice period determination unit may refer specifically to the detailed description about step S230 in the embodiment of the striking practice data processing method described above, that is, step S230 may be performed by the practice period determination unit.
And the second exercise result acquisition unit is used for analyzing the striking exercise data acquired in the song exercise time interval aiming at each song exercise time interval to acquire a second exercise result.
The description of the second exercise result acquisition unit may refer specifically to the detailed description of the embodiment of the percussion exercise data processing method described above with respect to step S240, that is, step S240 may be performed by the second exercise result acquisition unit.
In an embodiment of the present application, the second exercise result acquisition unit may include a third acquisition subunit and a second exercise result acquisition subunit.
And the third acquisition subunit is used for acquiring the striking parameters corresponding to each piece of striking practice data acquired in the song practice time interval aiming at each song practice time interval, wherein the striking parameters comprise striking time or striking time and striking intensity.
The description of the third acquiring subunit may refer specifically to the detailed description of the striking practice data processing method embodiment section above regarding step S241, that is, step S241 may be performed by the third acquiring subunit.
And the second exercise result acquisition subunit is used for acquiring a second exercise result according to the striking parameters corresponding to each piece of striking exercise data.
The description of the second exercise result acquisition subunit may refer specifically to the detailed description of the striking exercise data processing method embodiment section above regarding step S242, that is, step S242 may be performed by the second exercise result acquisition subunit.
The striking practice data acquisition device provided by the embodiment of the application can further comprise a result sending module and a result receiving module.
And the result sending module is used for sending the analysis result to the server.
The description of the result transmission module may refer to the detailed description of the embodiment of the percussion practice data processing method as described above with respect to step S300, that is, step S300 may be performed by the result transmission module.
And the result receiving module is used for receiving a processing result returned by the server according to the analysis result, and the processing result comprises at least one of a guidance suggestion and a sequencing result.
The description of the result receiving module may refer to the detailed description of the striking practice data processing method as described above with respect to step S400, that is, step S400 may be executed by the result receiving module.
In addition, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the online video method provided in the foregoing method embodiment may be implemented, which may be referred to as the foregoing method for processing the striking practice data specifically, and details of this embodiment are not repeated.
In summary, the percussion instrument provided by the embodiment of the present application includes an instrument body, a sensing device and a communication device. The sensing device is arranged on the musical instrument body and used for generating striking practice data when the musical instrument body is struck, and the communication device is connected with the sensing device and used for sending the striking practice data to the electronic equipment connected with the communication device. Thus, the percussion instrument can record the percussion practice data generated by the exerciser during the practice as the basis for analyzing the practice condition of the exerciser. After that, the method, the device and the electronic device for processing the percussion practice data provided by the embodiment of the application can analyze the percussion practice data acquired by the percussion instrument to obtain an analysis result for representing the practice situation of the practitioner, thereby realizing the purpose of knowing the practice situation of the practitioner.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in each embodiment of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in each embodiment of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a RAM, a ROM, a magnetic disk, or an optical disk.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as "first," "second," and "third," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.

Claims (17)

1. A percussion instrument, comprising:
a musical instrument body;
the sensing device is arranged on the musical instrument body and used for generating striking practice data when sensing that the musical instrument body is struck;
and the communication device is connected with the sensing device and is used for transmitting the striking exercise data to the electronic equipment connected with the communication device.
2. The percussion instrument of claim 1, wherein the instrument body comprises:
the drum comprises a beating surface and a drum body, wherein the beating surface is arranged on the drum body so as to be matched with the drum body to form a drum cavity;
the sensing device includes:
the vibration inductor, the vibration inductor set up in on the face of beating, be used for when the face of beating is beaten, the vibration signal of response production, and will vibration signal converts into strike exercise data.
3. The percussion instrument of claim 2, wherein the striking face comprises:
the drumhead is arranged on the drum body and matched with the drum body to form a drum cavity;
the resonance surface is arranged in the drum cavity and used for arranging the vibration inductor, and the vibration inductor is positioned on one side, deviating from the drum surface, of the resonance surface.
4. The percussion instrument of claim 1, further comprising:
the controller is connected with the sensing device and used for acquiring the frequency information of the percussion action executed by the musical instrument body in a target period according to the percussion exercise data;
and the display is connected with the controller and used for displaying the frequency information.
5. The percussion instrument of claim 1, further comprising:
a controller having a target tempo stored therein;
and the loudspeaker is connected with the controller and used for playing the target beat under the control action of the controller.
6. A percussion practice data processing method, comprising:
acquiring striking practice data, wherein the striking practice data is generated by a sensing device arranged on a musical instrument body when the sensing device senses that the musical instrument body is struck and is sent out through a communication device connected with the sensing device;
and analyzing the striking exercise data to obtain an analysis result for representing the exercise condition of the exerciser.
7. The method for processing striking practice data according to claim 6, wherein the analysis result comprises a first exercise result for representing the exercise condition of the exerciser periodically, and the analyzing the striking practice data to obtain the analysis result for representing the exercise condition of the exerciser comprises:
determining at least one analysis period;
and analyzing the striking practice data acquired in the analysis period for each analysis period to acquire the first practice result.
8. The percussion exercise data processing method according to claim 7, wherein the first exercise result includes a first number of times of percussion, and the analyzing, for each analysis period, the percussion exercise data acquired in the analysis period to obtain the first exercise result includes:
for each analysis cycle, calculating the number of all the striking practice data acquired in the analysis cycle as the first number of strikes.
9. The percussion exercise data processing method according to claim 7, wherein the first exercise result includes a third number of times of percussion, and the analyzing the percussion exercise data obtained in the analysis period for each analysis period to obtain the first exercise result includes:
for each analysis period, dividing the analysis period into a plurality of sub-analysis periods;
calculating the number of all the striking exercise data acquired in each sub-analysis period as a second striking frequency;
and taking the second striking frequency with the maximum frequency value in all the second striking frequencies as a third striking frequency in the analysis period.
10. The percussion exercise data processing method according to claim 7, wherein the first exercise result includes a percussion duration, and the analyzing the percussion exercise data obtained in the analysis period for each analysis period to obtain the first exercise result includes:
aiming at each analysis period, obtaining the striking time corresponding to each piece of striking practice data obtained in the analysis period;
aiming at any two pieces of striking practice data with adjacent striking time, acquiring striking time difference of the two pieces of striking practice data;
determining an exercise interval included in the analysis period according to the striking time difference;
and acquiring the sum of the time lengths of all the exercise intervals as the striking time length.
11. The method for processing striking practice data according to any one of claims 7 to 10, wherein the method further comprises, for each analysis period, before analyzing the striking practice data acquired in the analysis period and obtaining the first exercise result:
aiming at each analysis period, obtaining the striking intensity of each striking exercise data corresponding to the striking action obtained in the analysis period;
and selecting a preset number of pieces of striking practice data which have the same striking intensity and continuous striking time and correspond to striking actions from all the striking practice data as invalid striking practice data.
12. The method for processing percussion exercise data according to claim 6, wherein the analysis result includes a second exercise result for characterizing the exercise condition of the exerciser track, and the analyzing the percussion exercise data to obtain the analysis result for characterizing the exercise condition of the exerciser includes:
determining at least one track exercise period;
and aiming at each song exercise time interval, analyzing the striking exercise data acquired in the song exercise time interval to obtain the second exercise result.
13. The percussion exercise data processing method according to claim 12, wherein the analyzing the percussion exercise data obtained in the track exercise period for each track exercise period to obtain the second exercise result comprises:
aiming at each song practice time interval, obtaining a striking parameter corresponding to each piece of striking practice data obtained in the song practice time interval, wherein the striking parameter comprises striking time or striking time and striking intensity;
and obtaining the second exercise result according to the striking parameters corresponding to each piece of striking exercise data.
14. The percussion exercise data processing method according to claim 6, further comprising:
sending the analysis result to a server;
receiving a processing result returned by the server according to the analysis result, wherein the processing result comprises at least one of a guidance suggestion and a sequencing result.
15. A percussion practice data processing apparatus, comprising:
the data acquisition module is used for acquiring striking practice data, wherein the striking practice data are generated by a sensing device arranged on the musical instrument body when the musical instrument body is sensed to be struck and are sent out through a communication device connected with the sensing device;
and the result acquisition module is used for analyzing the striking exercise data and acquiring an analysis result for representing the exercise condition of the exerciser.
16. An electronic device comprising a processor and a memory, the memory having a computer program stored thereon, the processor being configured to execute the computer program to implement the percussion practice data processing method according to any one of claims 6 to 14.
17. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed, implements the percussion practice data processing method according to any one of claims 6 to 14.
CN201911099416.2A 2019-11-12 2019-11-12 Percussion instrument, percussion exercise data processing method and device and electronic equipment Pending CN110796998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911099416.2A CN110796998A (en) 2019-11-12 2019-11-12 Percussion instrument, percussion exercise data processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911099416.2A CN110796998A (en) 2019-11-12 2019-11-12 Percussion instrument, percussion exercise data processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN110796998A true CN110796998A (en) 2020-02-14

Family

ID=69444025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911099416.2A Pending CN110796998A (en) 2019-11-12 2019-11-12 Percussion instrument, percussion exercise data processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110796998A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102376299A (en) * 2010-07-01 2012-03-14 罗兰株式会社 Stroke sensing device for percussion instruments
CN103514866A (en) * 2012-06-28 2014-01-15 曾平蔚 Method and device for instrumental performance grading
CN104700823A (en) * 2013-12-05 2015-06-10 苏州乐聚一堂电子科技有限公司 Intelligent drum
US20170206869A1 (en) * 2016-01-18 2017-07-20 Yamaha Corporation Keyboard musical instrument, adjusting method thereof, and computer-readable recording medium therefor
CN107393512A (en) * 2017-06-26 2017-11-24 太仓市方克乐器有限公司 A kind of percussion music army drum with counter
CN207637479U (en) * 2017-12-23 2018-07-20 深圳市伊诺乐器有限公司 A kind of mute drum
CN108854003A (en) * 2018-06-29 2018-11-23 罗春芳 A kind of intelligence hitting drill system and its detection method
CN109300453A (en) * 2018-06-09 2019-02-01 程建铜 A kind of bulging stick, terminal device and audio frequency broadcast system
CN109658909A (en) * 2018-12-27 2019-04-19 秦皇岛爱跑科技开发有限公司 A kind of intelligence small drum system and its implementation
CN109961771A (en) * 2017-12-26 2019-07-02 天津清音乐器有限公司 A kind of percussion instrument

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102376299A (en) * 2010-07-01 2012-03-14 罗兰株式会社 Stroke sensing device for percussion instruments
CN103514866A (en) * 2012-06-28 2014-01-15 曾平蔚 Method and device for instrumental performance grading
CN104700823A (en) * 2013-12-05 2015-06-10 苏州乐聚一堂电子科技有限公司 Intelligent drum
US20170206869A1 (en) * 2016-01-18 2017-07-20 Yamaha Corporation Keyboard musical instrument, adjusting method thereof, and computer-readable recording medium therefor
CN107393512A (en) * 2017-06-26 2017-11-24 太仓市方克乐器有限公司 A kind of percussion music army drum with counter
CN207637479U (en) * 2017-12-23 2018-07-20 深圳市伊诺乐器有限公司 A kind of mute drum
CN109961771A (en) * 2017-12-26 2019-07-02 天津清音乐器有限公司 A kind of percussion instrument
CN109300453A (en) * 2018-06-09 2019-02-01 程建铜 A kind of bulging stick, terminal device and audio frequency broadcast system
CN108854003A (en) * 2018-06-29 2018-11-23 罗春芳 A kind of intelligence hitting drill system and its detection method
CN109658909A (en) * 2018-12-27 2019-04-19 秦皇岛爱跑科技开发有限公司 A kind of intelligence small drum system and its implementation

Similar Documents

Publication Publication Date Title
JP4027387B2 (en) Game results evaluation method and apparatus
US6426455B2 (en) System and method for teaching/learning to play a musical instrument
JP5786361B2 (en) Notification signal control device
CN105358046A (en) Automatic exercise segmentation and recognition
US8809662B2 (en) Musical performance training apparatus, musical performance training method, and computer readable medium
CN105142745A (en) Extending game play with physical activity monitoring device
JP7367690B2 (en) information processing equipment
JP2015128510A (en) Evaluation program, evaluation method, and evaluation device
US10660566B2 (en) Cardio-respiratory fitness assessment
US20150242797A1 (en) Methods and systems for evaluating performance
US20090104997A1 (en) Data computation unit for music game, data computation program for music game, and data computation method for music game
US11901062B2 (en) Utilizing athletic activities to augment audible compositions
KR102165844B1 (en) Assist apparatus for education of playing piano
CN109658909A (en) A kind of intelligence small drum system and its implementation
US8221236B2 (en) Game process control method, information storage medium, and game device
CN109410972B (en) Method, device and storage medium for generating sound effect parameters
CN110796998A (en) Percussion instrument, percussion exercise data processing method and device and electronic equipment
JP3961003B2 (en) Game results evaluation method and apparatus
CN112802439B (en) Performance data identification method, device, equipment and storage medium
WO2021197243A1 (en) Method for detecting basketball moves on basis of wearable device, and wearable device
CN115346553A (en) Method and device for detecting user action based on music beat
JP7252745B2 (en) programs and computer systems
US20130074678A1 (en) Support function recommending apparatus, a support function recommending method, a support function recommending system, and a recording medium
CN112632401A (en) Recommendation device, information providing system, recommendation method, and storage medium
CN113158917B (en) Behavior pattern recognition method and device

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