Method, system and player for playing audio file
A technology of audio files and playback methods, applied to instruments, recording of information on disks, magnetic recordings, etc., can solve problems such as affecting the volume adjustment efficiency, increasing the volume, and different song volumes, so as to improve the volume adjustment efficiency. , to achieve automatic volume adjustment, enhance the effect of the application experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] refer to figure 1 as shown, figure 1 It is the audio file playing method flow chart of embodiment one, comprises the following steps:
[0038] Step S101, read the audio file to be played with the gain set, wherein the gain option of the attribute information of the audio file has a gain value set.
[0039] Step S102, detecting the gain value recorded in the gain option in the attribute information of the audio file.
[0040] Step S103, when it is detected that the gain value is not equal to 1, multiply the audio track played by the corresponding audio file by the gain value to obtain an adjusted audio track value, and play the audio file according to the adjusted audio track value.
[0041] As an implementation, the audio file playback method further includes step S104, when it is detected that the gain value is equal to 1, the audio file is played according to the current track value; specifically, the gain value equal to 1 indicates that the volume of the audio file...
Embodiment 2
[0051] refer to image 3 as shown, image 3 It is the audio file playing method flowchart of embodiment two, comprises the following steps:
[0052] Step S301, read an audio file to be played without gain setting, wherein the gain option of the attribute information of the audio file does not set a gain value.
[0053] Step S302, collecting the audio track during the playing of the audio file to obtain the sampled value of the volume.
[0054] Step S303, calculating the gain value of the audio file according to the sampling value and the preset target volume value.
[0055]Step S304, write the gain value into the gain option in the audio file attribute information of the corresponding audio file.
[0056] Step S305, when playing the audio file, multiply the audio track played by the corresponding audio file by the gain value to obtain an adjusted audio track value, and play the audio file according to the adjusted audio track value.
[0057] As an implementation manner, th...
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