The present disclosure relates to the technical field of electroacoustics, and in particular, to a haptic feedback method applied to mobile electronic products.
Haptic feedback technology is a haptic feedback mechanism that combines hardware and software with action such as acting force or vibration. The haptic feedback technology has been adopted by a large number of digital devices to provide excellent haptic feedback functions for products such as cellphones, automobiles, wearable devices, games, medical treatment and consumer electronics.
The haptic feedback technology in the related art can simulate real haptic experience of a person, and then by customizing particular haptic feedback effects, user experience and effects of games, music and videos can be improved.
However, in the related art, there is a lack of mature applications of haptic feedback schemes based on event detection. First, most existing applications based on event detection are not provided with haptic feedback functions and experiences; and second, some haptic feedback schemes of matching vibrations for audio have problems such as high requirements on audio quality, single use scenarios, and poor user experience.
Therefore, it is necessary to provide a new haptic feedback method to solve the above technical problems.
Many aspects of exemplary embodiments can be better understood with reference to following drawings. Components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
In order to make the purpose, technical solutions, and advantages of the embodiments of the present disclosure be understandable, technical solutions in embodiments of the present disclosure are described in the following with reference to the accompanying drawings. It should be understood that the described embodiments are merely exemplary embodiments of the present disclosure, which shall not be interpreted as providing limitations to the present disclosure. All other embodiments obtained by those skilled in the art without creative efforts according to the embodiments of the present disclosure are within the scope of the present disclosure.
With reference to
At step S1, an audio clip containing a known audio event type is algorithmically trained and an algorithm model is obtained.
Further, in the step S1, the method specifically includes a step S11 and a step S12 as described in the following.
At step S11, an audio clip containing a known audio event type is provided.
At step S12, an MFCC feature of the audio clip is extracted and used as an input of a support vector machine (SVM) algorithm, and the known audio event type contained in the audio clip is used as an output of the support vector machine (SVM) algorithm, and the support vector machine (SVM) algorithm model is trained to obtain an algorithm model.
At step S2, an audio is obtained, and the audio is identified by the algorithm model to obtain different audio event types in this audio, and then these audio event types match different vibration effects as a haptic feedback output according to a preset rule.
Further, in the step S2, the method specifically includes a step S21, a step S22, and a step S23 as described in the following.
At step S21, an audio is obtained and framed to obtain a plurality of audio clips;
In one embodiment, before extracting the MFCC feature of the plurality of audio clips, the audio needs to be pre-emphasized, framed, and windowed, and then the plurality of audio clips are obtained after being pre-processed.
At step S22, the MFCC feature of each of the plurality of audio clips is extracted and input to the algorithm model for matching and identifying, to obtain the audio event type of each of the plurality of audio clips;
In one embodiment, in the step S22, extracting the MFCC feature of each of the plurality of audio clips includes: sequentially processing each of the plurality of audio clips by an FFT Fourier transform process, a Meyer frequency filter set filtering process, a logarithmic energy processing, and a DCT cepstrum processing, so as to obtain the MFCC feature.
It should be noted that each of the plurality of audio clips includes one of the audio event types. The audio event types may be obtained by artificial classification. In one embodiment, the audio event types include, but are not limited to, any one of shooting, explosion, object collision, screaming, or engine roaring.
At step S23, the obtained audio event types are matched with different vibration effects as a haptic feedback output according to a preset rule.
In one embodiment, in the step S23, the preset rule is: each of the audio event types corresponds to a different vibration effect.
It should be noted that the support vector machine (SVM) is a machine learning method based on a statistical learning theory. In one embodiment, the support vector machine (SVM) is configured to construct the algorithm model, and the audio is identified according to the algorithm model to obtain different audio event types, and then these vibration effects corresponding to the audio event types are output. The support vector machine (SVM) provides a condition to allow the haptic feedback method of the present disclosure to achieve real-time identification of the audio.
When the above method is applied to mobile electronic products, a particular haptic feedback effect can be customized according to an actual application scenario. The haptic feedback method of the present disclosure identifies the audio event type of the mobile electronic product in real time, thereby providing the mobile electronic product with the vibration effect matched with the audio event type. In this way, effects of games, music and videos of the mobile electronic product can be improved, thereby intuitively reconstructing a “mechanical” touch, and thus compensating for inefficiency of audio and visual feedback in a specific scenario. In this way, real-time haptic feedback can be achieved, thereby improving the user experience. For example, in a mobile game application, applying a haptic feedback technology to a mobile game can create a realistic sense of vibration, such as a recoil of a weapon or an impact of an explosion in a shooting game, or a vibratory sense of a guitar string in a musical instrument application. In an example, when we are playing a piano application, we can distinguish music sounds only by sounds without haptic feedback, but when the haptic feedback technology is provided, different vibration strengths can be provided according to different treble and bass, and thus the real vibration of the guitar can be simulated. In another example, in terms of music, it is possible to match vibrations having different strengths according to characteristics such as a beat or mega bass of music, thereby improving a notification effect such as an incoming call reminder, and thus providing a richer experience of a music melody and rhythm. In still another example, in terms of video, when we watch a movie, if the device can use the haptic feedback technology, we can feel that the device will generate a corresponding vibration as the scenario changes, which is also an improvement of user experience.
Compared with the related art, the haptic feedback method according to the embodiments of the present disclosure can identify the audio event type of the audio in real time, thereby outputting a vibration effect matched with the audio event type. When the haptic feedback method is applied to a mobile electronic product, the mobile electronic product can output a vibration effect matched with the audio event type according to the audio event type, thereby compensating for inefficiency of audio and visual feedback in a specific scenario. In this way, real-time haptic feedback can be achieved, thereby improving the user experience.
The above-described embodiments are merely preferred embodiments of the present disclosure and are not intended to limit the present disclosure. Any modifications, equivalent substitutions and improvements made within the principle of the present disclosure shall fall into the protection scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201811651545.3 | Dec 2018 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
20110190008 | Eronen | Aug 2011 | A1 |
20140161270 | Peters | Jun 2014 | A1 |
Number | Date | Country |
---|---|---|
102509545 | Jun 2012 | CN |
104707331 | Jun 2015 | CN |
3125076 | Feb 2017 | EP |
Number | Date | Country | |
---|---|---|---|
20200211338 A1 | Jul 2020 | US |