CN103366779A - Method and device for automatic setting of sound-effect parameters - Google Patents
Method and device for automatic setting of sound-effect parameters Download PDFInfo
- Publication number
- CN103366779A CN103366779A CN2012101027271A CN201210102727A CN103366779A CN 103366779 A CN103366779 A CN 103366779A CN 2012101027271 A CN2012101027271 A CN 2012101027271A CN 201210102727 A CN201210102727 A CN 201210102727A CN 103366779 A CN103366779 A CN 103366779A
- Authority
- CN
- China
- Prior art keywords
- file
- file type
- effect parameters
- sound effect
- played
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 230000000694 effects Effects 0.000 claims description 57
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/19—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
- G11B27/28—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
- G11B27/32—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on separate auxiliary tracks of the same or an auxiliary record carrier
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/34—Indicating arrangements
Abstract
The invention discloses a method and device for automatic setting of sound-effect parameters, wherein the method includes: acquiring a file name of a file to be played currently and judging a corresponding file type of the file according to the file name; judging whether sound-effect parameters are needed to be changed according to the file type and acquiring the sound-effect parameters corresponding to the file to be played currently when it is determined that the sound-effect parameters are needed to be changed; and triggering a player to perform a decoding play of audio data according to the sound-effect parameters corresponding to the file to be played currently. Through judgment of types of audio and video files to be played by a user, the method and device for the automatic setting of the sound-effect parameters enable intelligent setting of sound-effect parameters to be realized.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and device of Lookup protocol sound effect parameters.
Background technology
The terminal of each producer has added various sound effect control for the user who promotes audio-visual aspect experiences at present, and wherein the Doby audio is obtaining affirming of numerous terminal users as the application of specialty aspect the audio experience.
In the market, mainly contain two schemes about the setting of Doby audio, as follows:
A kind of scheme is to ignore audio file with the sound effect parameters difference of video file, the unified a certain group of sound effect parameters that adopts wherein; In this scheme, because audio file and video file are distinguishing at design parameters such as the sound field of voice data, loudness, so if adopt wherein a certain cover parameter to do overall applicability, can not reach so best user and experience.
Another kind of scheme is that the program interface that the user uses by Doby manually arranges, and carries out manual parameters according to the file type of next needs broadcast and sets; And that this scheme operates concerning the user is cumbersome, not hommization.
Summary of the invention
In view of above-mentioned analysis, the present invention aims to provide a kind of method and device of Lookup protocol sound effect parameters, and the problem of Doby sound effect parameters is set when playing audio/video file in order to solve in the prior art.
Purpose of the present invention mainly is achieved through the following technical solutions:
The invention provides a kind of method of Lookup protocol sound effect parameters, comprising:
Obtain the current file name of wanting played file, and determine its corresponding file type according to described file name;
Judge whether needs change sound effect parameters according to described file type, and when determining to need change, obtain current sound effect parameters corresponding to played file of wanting;
Trigger player by current sound effect parameters corresponding to played file of wanting, carry out the decoding of voice data and play.
Further, when being checked through the user and will opening the File Open related function of wanting played file and calling terminal operating system by audio/video player, obtain the file name of wanting played file.
Further, judge that the process of file type specifically comprises: the extension name in the described file name is intercepted out, judge that according to described extension name wanting the file type of played file is audio file or video file.
Further, judge whether that according to described file type the process of needs change sound effect parameters specifically comprises:
The file type of playing according to the file type that obtains and the last time of preserving before compares, if file type is the same, does not then need change, obtains the current corresponding sound effect parameters of file type of wanting played file otherwise trigger.
Further, also comprise:
Preserve after changing the file type of current played file, replace the file type of last played file.
The present invention also provides a kind of device of Lookup protocol sound effect parameters, comprising: file type acquisition module, file type analysis on altered project module and sound effect parameters arrange module, wherein,
Described file type acquisition module is used for obtaining the current file name of wanting played file, and determines its corresponding file type according to described file name, sends to described file type analysis on altered project module;
Described file type analysis on altered project module is used for judging whether needs change sound effect parameters according to the file type that obtains, and wants sound effect parameters corresponding to played file to send to described sound effect parameters module is set with current when determining to need change;
Described sound effect parameters arranges module, be used for receive current want sound effect parameters corresponding to played file after, trigger player carries out voice data by described sound effect parameters decoding broadcast.
Further, described file type acquisition module specifically comprises: detecting unit and judging unit, wherein,
Described detecting unit is used for obtaining the file name of wanting played file and triggering described judging unit when being checked through the user and will opening the File Open related function of wanting played file and calling terminal operating system by player;
Described judging unit is used for the extension name of described file name is intercepted out, judges that according to described extension name the file type of described file is audio file or video file, and judged result is sent to described file type analysis on altered project module.
Further, described file type analysis on altered project module specifically comprises: analytic unit and change unit, wherein,
Described analytic unit is used for comparing according to the file type that obtains and the last file type of playing, if file type is the same, does not then need change, obtains described change unit otherwise trigger;
Described change unit is used for obtaining and currently wants the corresponding sound effect parameters of file type of played file and send to described sound effect parameters module is set.
Further, described file type analysis on altered project unit also comprises:
Storage unit for the file type of preserving after changing current played file, is replaced the file type of last played file.
Beneficial effect of the present invention is as follows:
The present invention is about to the audio-video document type of playing by judging the user, can realize the intelligent set sound effect parameters.
Other features and advantages of the present invention will be set forth in the following description, and becoming apparent from instructions of part perhaps understood by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the instructions of writing, claims and accompanying drawing.
Description of drawings
Fig. 1 is the schematic flow sheet of the described method of the embodiment of the invention;
Fig. 2 is the structural representation of the described device of the embodiment of the invention.
Embodiment
Specifically describe the preferred embodiments of the present invention below in conjunction with accompanying drawing, wherein, accompanying drawing consists of the application's part, and is used for explaining together with embodiments of the present invention principle of the present invention.
1 pair of described method of the embodiment of the invention is elaborated at first, by reference to the accompanying drawings.
As shown in Figure 1, Fig. 1 is the schematic flow sheet of the described method of the embodiment of the invention, specifically can comprise the steps:
Step 101: when being checked through the user and opening selected audio or video file and call the File Open related function of terminal OS (operating system) by the audio/video player in file management or the terminal, get access to the file name that this wants played file;
Step 102: want the file name of played file to carry out string processing to this, with the extension name in the file name (character of ". " back in the file name) intercepting out, then judge that according to this extension name this file type of wanting played file is audio file or video file;
Step 103: the file type of the file type that judges and the last played file of preserving is before compared, judge whether change: if file type is the same, then do not need change, directly execution in step 105; (current is audio types, and be video type last time if file type is different; Perhaps, current is video type, and be audio types last time), then need to change, forward step 104 to;
Step 104: in pre-stored Doby sound effect parameters, find the Doby sound effect parameters corresponding with the current file type of wanting played file, then the current file type of played file of wanting is preserved, in order to judge next time;
Step 105: the power amplifier module that triggers player is play;
Specifically comprise two kinds of situations: the one, change has occured, write register with Doby sound effect parameters after changing this moment, and the power amplifier module that then triggers player adopts effect corresponding to this sound effect parameters to carry out the decoding broadcast of voice data; The 2nd, do not change, the power amplifier module that triggers player this moment adopts the Doby sound effect parameters that arranges before to carry out the decoding broadcast of voice data.
Next, 2 pairs of described devices of the embodiment of the invention are elaborated by reference to the accompanying drawings.
As shown in Figure 2, Fig. 2 is the structural representation of the described device of the embodiment of the invention, specifically can comprise: file type acquisition module, file type change detection module and sound effect parameters arrange module, wherein,
(1) file type acquisition module mainly is responsible for obtaining the current file name of wanting played file, and determines corresponding file type according to described file name, sends to file type analysis on altered project module;
This document type acquisition module specifically comprises: detecting unit and judging unit, wherein,
Detecting unit is opened when wanting played file and calling the File Open related function of terminal OS by the audio/video player in file management or the terminal when being checked through the user, obtains this and wants the file name of played file and trigger judging unit;
Judging unit wants the extension name in the file name of played file to intercept out this, judges that according to this extension name this file type of wanting played file is audio file or video file, and judged result is sent to file type analysis on altered project module.
(2) file type analysis on altered project module, main being responsible for judges whether needs change sound effect parameters according to the file type that obtains, and wants sound effect parameters corresponding to played file to send to sound effect parameters module is set with current when determining to need change;
This document type analysis unit specifically comprises: analytic unit and change unit, can also comprise storage unit, wherein,
Analytic unit compares according to the file type that obtains and the last file type of playing, if file type is the same, does not then need change, and the audio frequency parameter of still playing by the last time is play and got final product; Otherwise trigger the change unit;
The change unit obtains and currently wants the corresponding Doby sound effect parameters of file type of played file and send to the Doby audio module is set;
Storage unit is preserved the file type of current played file after changing, replaces the file type of last played file.
(3) sound effect parameters arranges module, mainly be responsible for receive current want sound effect parameters corresponding to played file after, and trigger the decoding that player carries out voice data by described sound effect parameters and play.
In sum, the embodiment of the invention provides a kind of method and device of Lookup protocol sound effect parameters, by judging that the user is about to the audio-video document type of playing, the parameter of intelligent set Doby audio, solved the loaded down with trivial details step that needs the user manually to arrange in the existing scheme, the user who has also avoided simultaneously adopting same set of audio frequency and video parameter to bring experiences can not best problem, brings maximum experience to promote to the user.
Need to prove, the embodiment of the invention only is illustrated as an example of the Doby sound effect parameters example, is equally applicable to the sound effect parameters of other types but those skilled in the art should be understood that the present invention, and principle is similar, so locate to repeat no more.
The above; only for the better embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claims.
Claims (9)
1. the method for a Lookup protocol sound effect parameters is characterized in that, comprising:
Obtain the current file name of wanting played file, and determine its corresponding file type according to described file name;
Judge whether needs change sound effect parameters according to described file type, and when determining to need change, obtain current sound effect parameters corresponding to played file of wanting;
Trigger player by current sound effect parameters corresponding to played file of wanting, carry out the decoding of voice data and play.
2. method according to claim 1 is characterized in that, when being checked through the user and will opening the File Open related function of wanting played file and calling terminal operating system by player, obtains the file name of wanting played file.
3. method according to claim 1 and 2, it is characterized in that, the process of judging file type specifically comprises: the extension name in the described file name is intercepted out, judge that according to described extension name wanting the file type of played file is audio file or video file.
4. method according to claim 1 and 2 is characterized in that, judges whether that according to described file type the process of needs change sound effect parameters specifically comprises:
Compare according to the file type of the file type that obtains with the last played file of preserving before, if file type is the same, then do not need change, obtain the current corresponding sound effect parameters of file type of wanting played file otherwise trigger.
5. method according to claim 4 is characterized in that, also comprises:
Preserve after changing the file type of current played file, replace the file type of last played file.
6. the device of a Lookup protocol sound effect parameters is characterized in that, comprising: file type acquisition module, file type analysis on altered project module and sound effect parameters arrange module, wherein,
Described file type acquisition module is used for obtaining the current file name of wanting played file, and determines its corresponding file type according to described file name, sends to described file type analysis on altered project module;
Described file type analysis on altered project module is used for judging whether needs change sound effect parameters according to the file type that obtains, and wants sound effect parameters corresponding to played file to send to described sound effect parameters module is set with current when determining to need change;
Described sound effect parameters arranges module, be used for receive current want sound effect parameters corresponding to played file after, trigger player carries out voice data by described sound effect parameters decoding broadcast.
7. device according to claim 6 is characterized in that, described file type acquisition module specifically comprises: detecting unit and judging unit, wherein,
Described detecting unit is used for obtaining the file name of wanting played file and triggering described judging unit when being checked through the user and will opening the File Open related function of wanting played file and calling terminal operating system by player;
Described judging unit is used for the extension name of described file name is intercepted out, judges that according to described extension name the file type of described file is audio file or video file, and judged result is sent to described file type analysis on altered project module.
8. according to claim 6 or 7 described devices, it is characterized in that, described file type analysis on altered project module specifically comprises: analytic unit and change unit, wherein,
Described analytic unit is used for comparing according to the file type that obtains and the file type of last played file, if file type is the same, does not then need change, obtains described change unit otherwise trigger;
Described change unit is used for obtaining and currently wants the corresponding sound effect parameters of file type of played file and send to described sound effect parameters module is set.
9. device according to claim 8 is characterized in that, described file type analysis on altered project unit also comprises:
Storage unit for the file type of preserving after changing current played file, is replaced the file type of last played file.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101027271A CN103366779A (en) | 2012-04-10 | 2012-04-10 | Method and device for automatic setting of sound-effect parameters |
PCT/CN2012/076800 WO2013152554A1 (en) | 2012-04-10 | 2012-06-12 | Method and device for automatically setting sound effect parameter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101027271A CN103366779A (en) | 2012-04-10 | 2012-04-10 | Method and device for automatic setting of sound-effect parameters |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103366779A true CN103366779A (en) | 2013-10-23 |
Family
ID=49327031
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012101027271A Pending CN103366779A (en) | 2012-04-10 | 2012-04-10 | Method and device for automatic setting of sound-effect parameters |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103366779A (en) |
WO (1) | WO2013152554A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106126165A (en) * | 2016-06-16 | 2016-11-16 | 广东欧珀移动通信有限公司 | A kind of audio stream processing method and mobile terminal |
CN106155624A (en) * | 2016-06-16 | 2016-11-23 | 广东欧珀移动通信有限公司 | A kind of effect adjusting method and user terminal |
CN106507187A (en) * | 2016-09-22 | 2017-03-15 | 深圳市金立通信设备有限公司 | A kind of video broadcasting method and terminal |
CN106775568A (en) * | 2017-01-12 | 2017-05-31 | 珠海格力电器股份有限公司 | A kind of effect adjusting method, device and mobile terminal |
CN111966630A (en) * | 2020-08-05 | 2020-11-20 | 北京锐安科技有限公司 | File type detection method, device, equipment and medium |
CN114501125A (en) * | 2021-12-21 | 2022-05-13 | 广州番禺巨大汽车音响设备有限公司 | Method and system for automatically matching Dolby panorama supporting sound frequency |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101179700A (en) * | 2006-12-20 | 2008-05-14 | 腾讯科技(深圳)有限公司 | Program source switch method and stream media play system |
CN101272390A (en) * | 2008-05-12 | 2008-09-24 | 腾讯科技(深圳)有限公司 | Filter link establishing method and device for media file |
CN101552791A (en) * | 2009-05-22 | 2009-10-07 | 腾讯科技(深圳)有限公司 | Method and system for playing multiple media file |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101034582B (en) * | 2007-04-02 | 2011-01-26 | 北京暴风网际科技有限公司 | System for improving the playing effect of the media file and its method |
-
2012
- 2012-04-10 CN CN2012101027271A patent/CN103366779A/en active Pending
- 2012-06-12 WO PCT/CN2012/076800 patent/WO2013152554A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101179700A (en) * | 2006-12-20 | 2008-05-14 | 腾讯科技(深圳)有限公司 | Program source switch method and stream media play system |
CN101272390A (en) * | 2008-05-12 | 2008-09-24 | 腾讯科技(深圳)有限公司 | Filter link establishing method and device for media file |
CN101552791A (en) * | 2009-05-22 | 2009-10-07 | 腾讯科技(深圳)有限公司 | Method and system for playing multiple media file |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106126165A (en) * | 2016-06-16 | 2016-11-16 | 广东欧珀移动通信有限公司 | A kind of audio stream processing method and mobile terminal |
CN106155624A (en) * | 2016-06-16 | 2016-11-23 | 广东欧珀移动通信有限公司 | A kind of effect adjusting method and user terminal |
CN106507187A (en) * | 2016-09-22 | 2017-03-15 | 深圳市金立通信设备有限公司 | A kind of video broadcasting method and terminal |
CN106775568A (en) * | 2017-01-12 | 2017-05-31 | 珠海格力电器股份有限公司 | A kind of effect adjusting method, device and mobile terminal |
CN111966630A (en) * | 2020-08-05 | 2020-11-20 | 北京锐安科技有限公司 | File type detection method, device, equipment and medium |
CN114501125A (en) * | 2021-12-21 | 2022-05-13 | 广州番禺巨大汽车音响设备有限公司 | Method and system for automatically matching Dolby panorama supporting sound frequency |
CN114501125B (en) * | 2021-12-21 | 2023-09-12 | 广州番禺巨大汽车音响设备有限公司 | Method and system for supporting dolby panoramic sound audio frequency by automatic matching |
Also Published As
Publication number | Publication date |
---|---|
WO2013152554A1 (en) | 2013-10-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103366779A (en) | Method and device for automatic setting of sound-effect parameters | |
US9986331B2 (en) | Method and apparatus for selecting main microphone | |
CN103019529B (en) | A kind of volume adjusting method and system | |
CN105451070B (en) | TV set control method and device | |
CN103607609B (en) | The method for switching languages and device of a kind of TV channel | |
US20140314247A1 (en) | Method for controlling terminal device and the smart terminal device thereof | |
CN101917514B (en) | Application control method and system, terminal and earphones | |
CN106302997B (en) | Output control method, electronic equipment and system | |
CN103345929B (en) | A kind of method and apparatus regulating volume | |
CN105096977B (en) | The control method and mobile terminal of a kind of multimedia | |
CN107609034A (en) | A kind of audio frequency playing method of intelligent sound box, audio playing apparatus and storage medium | |
CN102917119B (en) | Method and system for processing music by mobile terminal according to voice recognition | |
CN104020979B (en) | A kind of mobile terminal and method of adaptive desktop selection audio | |
CN104834435A (en) | Method and device for playing audio comments | |
CN104394445A (en) | Automatic switch-off method and automatic switch-off device | |
CN109271129B (en) | Sound effect adjusting method and device, electronic equipment and storage medium | |
CN105006240B (en) | A kind of musical sound control method and system based on audio-frequence player device | |
CN103324459A (en) | Method and system for implementing USB (universal serial bus) headset devices | |
CN102938819A (en) | Mobile terminal music control system and method | |
CN105739943A (en) | Method for selecting audio and video applications during access of mobile device to earphone | |
CN105812581A (en) | Volume automatic adjustment method and device | |
WO2017148270A1 (en) | Volume control method and device, and terminal | |
CN103856819A (en) | Play speed adjusting device and method | |
CN105373371A (en) | Method and system for controlling volume of windows equipment through browser | |
CN103442132B (en) | Control system and method for automatically adjusting voice frequency setting according to external environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20131023 |
|
WD01 | Invention patent application deemed withdrawn after publication |