Method for identifying gunshot in audio data, method for driving motor and related device

A technology of audio data and recognition method, which is applied in the field of data processing and can solve problems such as poor gunshot recognition effect

Active Publication Date: 2020-09-01
SHANGHAI AWINIC TECH CO LTD
View PDF8 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the above technical problems, this application provides a gunshot recognition method in audio data, a motor driving method and related devices, so as to solve the problem of poor gunshot recognition effect in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for identifying gunshot in audio data, method for driving motor and related device
  • Method for identifying gunshot in audio data, method for driving motor and related device
  • Method for identifying gunshot in audio data, method for driving motor and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0073] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0074] The embodiment of the present application provides a method for identifying gunshots in audio data, such as figure 1 shown, including:

[0075] S101: Acquire audio data to be processed, the audio data to be processed includes multiple groups of audio combinations, each group of audio groups includes two frames of audio units adjacent in time sequence, and each frame of the audio unit includes M audio sampling points, M is a positive integer greater than 1;

[0076] Optional...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for identifying a gunshot in audio data, a driving method of a motor and a related device. The identifying method comprises the following steps: firstly, acquiring to-be-processed audio data, wherein the to-be-processed audio data comprises multiple groups of audio combinations, each group of audio combination comprises two frames of audio units to carry out the subsequent gunshot recognition process by taking a frame as a unit, providing a basis for the accurate identification of a single gunshot, calculating an average energy value of each frame of audio unit, and carrying out gunshot judgment according to the average energy value of each frame of audio unit in the audio combination to realize the accurate identification of a gunshot generated during single gunshot. A foundation is laid for the accurate vibration of the motor during multiple continuous shots; and finally, when the audio combination contains the gunshot, vibration sense judgment data corresponding to the audio combination are determined, and when the vibration sense judgment data corresponding to the audio combination are different, the vibration intensity corresponding to the motor can also be different, and a foundation is laid for the motor to execute the vibration of different intensities according to the gunshot magnitude.

Description

technical field [0001] The present application relates to the technical field of data processing, and more specifically, to a method for recognizing gunshots in audio data, a method for driving a motor, and related devices. Background technique [0002] With the improvement of the data processing capability of mobile smart devices, most mobile smart devices have the function of running various game programs, among which shooting games have become one of the mainstream games due to their simple and lively game rhythm. [0003] In shooting games, players control the movement and shooting of characters to complete specific tasks. In this process, in order to improve the real shooting experience of players, in addition to the game sound broadcast from the speakers, More dimensional game feedback can also be achieved through the vibration of the built-in motor in the mobile smart device. [0004] However, in the prior art, the recognition effect of gunshots during continuous sho...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): A63F13/837G10L25/03G10L25/51
CPCA63F13/837G10L25/51G10L25/03A63F2300/8076A63F2300/6081
Inventor 缪丽林李伟雷
Owner SHANGHAI AWINIC TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products