Implementation method for changing vibration effect with music
A realization method and music technology, applied in voice analysis, electrical components, code conversion, etc., can solve the problems that cannot meet the requirements of vibration rhythm
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] The program flow chart of the present invention is as figure 1 As shown, a method for realizing the vibration effect changing with the music, the steps are as follows:
[0046]This method involves the following data, the cycle is T, the PCM data read from the PCM buffer is represented by PCM_Level_L, the number of sampling points in one cycle is SubCount, the maximum value of SubCount is MaxSubCount, and the maximum value of the amplitude in an interrupt is MaxV_tmp, The amplitude reference value is set to a constant VLowLimit, the sampling point reference value is set to a constant FLowLimit, the maximum value of the amplitude of all interruption points within a sampling period is MaxV, the number of effective periods is ICount, the minimum reference value of the amplitude is MinV_T, and the sampling period The time is set by the implementer according to the product characteristics.
[0047] Step 1, after the audio file is decoded, the PCM data is intercepted before t...
Embodiment 2
[0062] This method is also suitable for judging the count when PCM_Level_L is less than zero, and when PCM_Level_L is greater than zero, the information of one cycle is interrupted. The software flow chart is as follows figure 2 As shown, the steps are as follows:
[0063] This method involves the following data, the cycle is T, the PCM data read from the PCM buffer is represented by PCM_Level_L, the number of sampling points in one cycle is SubCount, the maximum value of SubCount is MaxSubCount, and the maximum value of the amplitude in an interrupt is MaxV_tmp, The amplitude reference value is set to a constant VLowLimit, the sampling point reference value is set to a constant FLowLimit, the maximum value of the amplitude of all interruption points within a sampling period is MaxV, the number of effective periods is ICount, the minimum reference value of the amplitude is MinV_T, and the sampling period The time is set by the implementer according to the product characterist...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com