CN106095384B - Sound effect adjusting method and user terminal - Google Patents
Sound effect adjusting method and user terminal Download PDFInfo
- Publication number
- CN106095384B CN106095384B CN201610437114.1A CN201610437114A CN106095384B CN 106095384 B CN106095384 B CN 106095384B CN 201610437114 A CN201610437114 A CN 201610437114A CN 106095384 B CN106095384 B CN 106095384B
- Authority
- CN
- China
- Prior art keywords
- volume value
- audio
- user terminal
- current
- output
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M19/00—Current supply arrangements for telephone systems
- H04M19/02—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
- H04M19/04—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The embodiment of the invention discloses a sound effect adjusting method and a user terminal, wherein the sound effect adjusting method comprises the following steps: when an audio stream output instruction is received, detecting an output scene of an audio stream; determining a plurality of sound effect modes according to an output scene of the audio stream; acquiring a current volume value by using a preset mode; selecting a target sound effect mode from the multiple sound effect modes according to the current volume value; and outputting the audio stream according to the target sound effect mode. Therefore, by implementing the embodiment of the invention, the multiple sound effect modes can be determined according to the output scene of the audio stream, the target sound effect mode can be selected from the multiple sound effect modes according to the current volume value, and finally the audio stream is output in the target sound effect mode, so that the operation convenience of setting the sound effect by the user terminal can be improved, and the user experience and the auditory effect can be effectively improved.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of effect adjusting methods and user terminal.
Background technique
With the rapid development of terminal technology, the user terminals such as mobile phone, plate have become indispensable for people's lives
Component part.People not only can use user terminal and carry out periodic traffic, can also carry out every amusement, such as object for appreciation game,
Online, audio and video playing etc..Currently, most users terminal can support sound effect control function, user can according to itself
Demand carries out audio adjusting manually.Once adjusting finishes, then user terminal will carry out multimedia text with the sound effect parameters after adjusting
The broadcasting of part (such as audio-video document) is until adjust next time.However, finding in practical applications, different multimedia files pair
The requirement of audio be it is different, tend not to reach preferable effect when playing different files using a set of sound effect parameters.
Therefore, in order to which it is new to generally require the manual duplicate removal of user when carrying out the switching of different files for the result of broadcast for meeting different files
Suitable sound effect parameters are set, for multimedia file frequent switching in the case where, can make cumbersome and time-consuming.
Summary of the invention
The embodiment of the invention provides a kind of effect adjusting method and user terminals, and suitable audio can be arranged automatically.
In a first aspect, the embodiment of the invention discloses a kind of effect adjusting methods, comprising:
When receiving audio stream output order, the output scene of the audio stream is detected;
A variety of audio modes are determined according to the output scene of the audio stream;
Current volume value is obtained using predetermined manner;
According to the current volume value, target audio mode is selected from a variety of audio modes;
The audio stream is exported according to the target audio mode.
Implementation with reference to first aspect, it is in the first possible implementation of the first aspect, described using pre-
If mode obtains current volume value, comprising:
The volume value of the user terminal current environment is obtained using the volume acquisition device of the user terminal;
It is wherein, described that target audio mode is selected from a variety of audio modes according to the current volume value,
Include:
According to the volume value of the user terminal current environment, selected from a variety of audio modes with it is described
The audio mode that the volume value of user terminal current environment matches, and using the audio mode as target audio mould
Formula.
Implementation with reference to first aspect, it is in the second possible implementation of the first aspect, described using pre-
If mode obtains current volume value, comprising:
The current output volume value of the user terminal is obtained using the volume acquisition device of the user terminal;
It is wherein, described that target audio mode is selected from a variety of audio modes according to the current volume value,
Include:
According to the current output volume value of the user terminal, selected and the user from a variety of audio modes
The audio mode that the current output volume value of terminal matches, and using the audio mode as target audio mode.
The of the first possible implementation of implementation, first aspect with reference to first aspect and first aspect
Any one implementation in two kinds of possible implementations, in a third possible implementation of the first aspect, institute
It states according to the current volume value, before selecting target audio mode in a variety of audio modes, can also include
Following steps:
Judge whether output scene and the history output scene of the audio stream are consistent, and the history output scene is described
User terminal is apart from the corresponding output scene of audio stream that current time is played recently;
Judge whether the current volume value and history volume value are located in same default volume section, the history sound
Magnitude is the user terminal volume value acquired in the case where the history exports scene;
If the output scene of the audio stream current volume value consistent and described with history output scene and institute
History volume value is stated not in same default volume section, then execute it is described according to the current volume value, from described a variety of
The step of target audio mode is selected in audio mode.
The third possible implementation with reference to first aspect, in the 4th kind of possible implementation of first aspect
In, can with the following steps are included:
If the output scene of the audio stream current volume value consistent and described with history output scene and institute
It states history volume value to be located in same default volume section, then scene is exported according to the history and history volume value institute is right
The audio mode answered exports the audio stream.
Second aspect, the embodiment of the invention also discloses a kind of user terminals, comprising:
Detection module, for when receiving audio stream output order, detecting the output scene of the audio stream;
Determining module determines a variety of audio modes for the output scene according to the audio stream;
Module is obtained, for obtaining current volume value using predetermined manner;
Module is chosen, for selecting target audio from a variety of audio modes according to the current volume value
Mode;
Output module, for exporting the audio stream according to the target audio mode.
In conjunction with the user terminal of second aspect, in the first possible user terminal of second aspect, the acquisition mould
Block is that the acquisition module utilizes the user terminal using the specific embodiment that predetermined manner obtains current volume value
Volume acquisition device obtains the volume value of the user terminal current environment;
The selection module selects target audio mould from a variety of audio modes according to the current volume value
The specific embodiment of formula is the selection module according to the volume value of the user terminal current environment, from described a variety of
Select the audio mode to match with the volume value of the user terminal current environment in audio mode, and by the sound
Effect mode is as target audio mode.
In conjunction with the user terminal of second aspect, in second of possible user terminal of second aspect, the acquisition mould
Block utilizes the volume acquisition device that the specific embodiment that predetermined manner obtains current volume value is using the user terminal
Obtain the current output volume value of the user terminal;
The selection module selects target audio mould from a variety of audio modes according to the current volume value
The specific embodiment of formula is the selection module output volume value current according to the user terminal, from a variety of audios
The audio mode that the output volume value current with the user terminal matches is selected in mode, and the audio mode is made
For target audio mode.
In conjunction with the of the user terminal of second aspect, the first possible user terminal of second aspect and second aspect
Any one user terminal in two kinds of possible user terminals, in the third possible user terminal of second aspect, institute
State user terminal further include:
Judgment module is selected from a variety of audio modes for the selection module according to the current volume value
Before taking out target audio mode, judge whether the output scene of the audio stream and history output scene are consistent, the history
The corresponding output scene of audio stream that output scene is played by the user terminal apart from current time recently;
The judgment module, is also used to judge whether the current volume value and history volume value are located at same default sound
It measures in section, the history volume value is the user terminal volume value acquired in the case where the history exports scene;
The selection module selects target audio mould from a variety of audio modes according to the current volume value
If the specific embodiment of formula is that the output scene of the audio stream is consistent with history output scene and described current
Volume value and the history volume value be not in same default volume section, then according to the current volume value, from described more
Target audio mode is selected in kind audio mode.
In conjunction with the third possible user terminal of second aspect, in the 4th kind of possible user terminal of second aspect
In, the output module, if be also used to the audio stream output scene and history output scene it is consistent and described work as
Preceding volume value and the history volume value are located in same default volume section, then according to history output scene and described
Audio mode corresponding to history volume value exports the audio stream.
In the embodiment of the present invention, when receiving audio stream output order, the output scene of audio stream is detected;According to audio
The output scene of stream determines a variety of audio modes;Current volume value is obtained using predetermined manner;According to current volume value, from
Target audio mode is selected in a variety of audio modes;Audio stream is exported according to target audio mode.As it can be seen that it is real to implement the present invention
Example is applied, a variety of audio modes can be determined according to the output scene of audio stream, and can be according to current volume value, from a variety of sounds
Target audio mode is selected in effect mode, finally to state target audio mode output audio stream, so as to improve user's end
The convenience of the operation of end setting audio, and it is effectively improved user experience and auditory effect.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of effect adjusting method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another effect adjusting method disclosed by the embodiments of the present invention;
Fig. 3 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention;
Fig. 4 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of effect adjusting method and user terminals, in embodiments of the present invention, Ke Yigen
A variety of audio modes are determined according to the output scene of audio stream, and can be selected from a variety of audio modes according to current volume value
Target audio mode is taken out, finally to state target audio mode output audio stream, so as to improve user terminal setting audio
Operation convenience, and be effectively improved user experience and auditory effect.It is described in detail individually below.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of effect adjusting method disclosed by the embodiments of the present invention.Wherein, scheme
Method shown in 1 is applicable to cell phone, tablet computer, palm PC, personal digital assistant (Personal Digital
Assistant, PDA), mobile internet device (Mobile Internet Device, MID), multimedia player (such as MP3,
CD player etc.), in each Terminal Type such as intelligent wearable device (such as smartwatch, Intelligent bracelet).As shown in Figure 1, the audio is adjusted
Method may comprise steps of:
101, when receiving audio stream output order, the output scene of audio stream is detected.
In the embodiment of the present invention, whether user terminal can receive audio output instruction with real-time detection, wherein audio is defeated
Instruction can include but is not limited to music output order, video output order, quarter-bell output order and game application out
Any one instruction in the instruction such as enabled instruction.
Further, when user terminal receives audio stream output order, then it can detecte the output scene of audio stream.Its
In, the output scene of audio stream can include but is not limited to music output, video output, quarter-bell output and gaming-related information
Output in scene in any one scene.
102, a variety of audio modes are determined according to the output scene of audio stream.
In the embodiment of the present invention, a variety of audio modes can be preset in the user terminal, wherein each audio mould
The corresponding sound effect parameters of formula are different, wherein sound effect parameters can include but is not limited to loudness value, tone color and tone.That is, every
At least one of a kind of corresponding loudness value of audio mode, tone color and tone parameter is different.
Specifically, after the output scene of detection audio stream, then user terminal can be further according to the defeated of audio stream
Scene determines a variety of audio modes out.For example, the audio mode stored in user terminal includes audio Mode A, audio mould
Formula B, audio mode C, audio mode D, audio mode E and audio model F, wherein audio Mode A and audio Mode B pair
The output scene answered is music output, and audio mode C and the corresponding output scene of audio mode D export for video, audio mould
Formula E and the corresponding output scene of audio model F are the output of gaming-related information, if detecting, the output scene of audio stream is
Music output then can export scene according to music and determine audio Mode A and audio Mode B.
103, current volume value is obtained using predetermined manner.
In the embodiment of the present invention, it can preset in the user terminal a variety of for obtaining the default of current volume value
Mode, wherein the predetermined manner can be user and be configured as needed, be also possible to user terminal according to the history of user
Setting record is configured, and the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, current volume value can be the volume value of current environment, that is, for describing to work as
The volume value of the noisy degree of preceding environment;Current volume value is also possible to the current output volume value of user terminal.
Specifically, user terminal then can use after the output scene according to audio stream determines a variety of audio modes
Predetermined manner obtains current volume value.
104, according to current volume value, target audio mode is selected from a variety of audio modes.
In the embodiment of the present invention, user terminal is before obtaining current volume value using predetermined manner, according to sound
Frequency stream output scene determine a variety of audio modes, then when user terminal using predetermined manner obtain current volume value it
Afterwards, then target audio mode can be selected from a variety of audio modes further according to current volume value.For example,
If detecting, the output scene of audio stream for music output, can export scene according to music and determine audio Mode A and sound
Mode B is imitated, and after obtaining current volume value using predetermined manner, can be closed according to the mapping of volume value and audio mode
System selects the audio mode to match with current volume value, and using the audio mode to match with current volume value as
Target audio mode.
Wherein, the mapping relations of above-mentioned volume value and audio mode can be user and set as needed, can also be with
It is that user terminal is set according to the history of user setting record, can also be user terminal in the server bound therewith
It obtains, the embodiment of the present invention is not construed as limiting.
105, audio stream is exported according to target audio mode.
In the embodiment of the present invention, according to current volume value, target audio mode is selected from a variety of audio modes
Later, then audio stream can be exported according to target audio mode.
In Fig. 1, user terminal is described in detail when receiving audio stream output order, detects the output field of audio stream
Scape;A variety of audio modes are determined according to the output scene of audio stream;Current volume value is obtained using predetermined manner;According to current
Volume value, target audio mode is selected from a variety of audio modes;Audio stream is exported according to target audio mode.As it can be seen that
Implement the embodiment of the present invention, a variety of audio modes can be determined according to the output scene of audio stream, and can be according to current sound
Magnitude selects target audio mode from a variety of audio modes, finally exports audio stream with target audio mode, so as to
The convenience of the operation of user terminal setting audio is improved, and is effectively improved user experience and auditory effect.
Referring to Fig. 2, Fig. 2 is the flow diagram of another effect adjusting method disclosed by the embodiments of the present invention.Such as Fig. 2
Shown, which may comprise steps of:
201, when receiving audio stream output order, the output scene of audio stream is detected.
In the embodiment of the present invention, whether user terminal can receive audio output instruction with real-time detection, wherein audio is defeated
Instruction can include but is not limited to music output order, video output order, quarter-bell output order and game application out
Any one instruction in the instruction such as enabled instruction.
Further, when terminal receives audio stream output order, then it can detecte the output scene of audio stream.Wherein,
The output scene of audio stream can include but is not limited to music output, video output, quarter-bell output and gaming-related information
Any one scene in scene in output.
202, a variety of audio modes are determined according to the output scene of audio stream.
203, current volume value is obtained using predetermined manner.
In the embodiment of the present invention, it can preset in the user terminal a variety of for obtaining the default of current volume value
Mode, wherein the predetermined manner can be user and be configured as needed, be also possible to user terminal according to the history of user
Setting record is configured, and the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, current volume value can be the volume value of current environment, that is, for describing to work as
The volume value of the noisy degree of preceding environment;Current volume value is also possible to the current output volume value of user terminal.
As an alternative embodiment, user terminal obtains current volume value specific embodiment party using predetermined manner
Formula is the volume value that user terminal obtains user terminal current environment using the volume acquisition device of user terminal.Wherein,
The volume acquisition device of user terminal can include but is not limited to microphone.
Specifically, user terminal acquires the audio frequency vibration signal in air by volume acquisition device, and to collected
Audio frequency vibration signal is filtered, and determines user's end according to the signal parameter of the audio frequency vibration signal after filtering processing
Hold the volume value of current environment.
Wherein, user terminal executes step according to current volume value, selects target audio from a variety of audio modes
The specific embodiment of mode be according to the volume value of user terminal current environment, selected from a variety of audio modes with
The audio mode that the volume value of user terminal current environment matches, and using audio mode as target audio mode.
As another optional embodiment, user terminal obtains the specific reality of current volume value using predetermined manner
Applying mode is to obtain the current output volume value of user terminal using the volume acquisition device of user terminal;Wherein, user terminal
Volume acquisition device can include but is not limited to microphone.
Specifically, user terminal acquires the audio frequency vibration signal in air by volume acquisition device, and to collected
Audio frequency vibration signal is filtered, and determines user's end according to the signal parameter of the audio frequency vibration signal after filtering processing
Hold current output volume value.
Wherein, user terminal selects the tool of target audio mode according to current volume value from a variety of audio modes
Body embodiment is the output volume value current according to user terminal, is selected from a variety of audio modes current with user terminal
The audio mode that matches of output volume value, and using audio mode as target audio mode.
204, judge whether output scene and the history output scene of audio stream are consistent.
In the embodiment of the present invention, history exports the audio stream pair that scene is played by user terminal apart from current time recently
The output scene answered.For example, current time is 10 points of the morning of June 6 in 2016, and user terminal is detected at 2016 6
The moon, 8 a.m. on the 6th received music output order, received quarter-bell output order 6 points of the morning of June 6 in 2016, then above-mentioned
On June 6th, 2016 8 a.m. receive music output order be foregoing description history export scene.
Specifically, user terminal then may determine that audio stream after obtaining current volume value using predetermined manner
It exports scene and whether history output scene is consistent.
205, judge whether current volume value and history volume value are located in same default volume section.
In the embodiment of the present invention, history volume value is the user terminal volume value acquired in the case where history exports scene.It lifts
For example, if history exports scene as music output, user terminal can be when carrying out music output, corresponding to user terminal
Volume value.
Further, user terminal can be when whether output scene and history the output scene for judging audio stream be consistent, together
When obtain the corresponding history volume value of history output scene, and it is same to judge whether current volume value is located at history volume value
In default volume section.
If 206, output scene with history the output scene of audio stream consistent and current volume value and history volume value
Not in same default volume section, then according to current volume value, target audio mode is selected from a variety of audio modes.
In the embodiment of the present invention, if the volume value that the output scene of audio stream is consistent and current with history output scene
With history volume value not in same default volume section, then user terminal can be according to current volume value, from a variety of audios
Target audio mode is selected in mode.
Further, user terminal judges that the output scene of audio stream and history output scene are inconsistent, then without further
The user terminal volume value acquired in the case where history exports scene is obtained, whether to judge current volume value and history volume value
In same default volume section.
Further, if the output scene of audio stream exports the consistent and current volume value and history sound of scene with history
Magnitude is located in same default volume section, then the audio mode output according to corresponding to history output scene and history volume value
Audio stream.
Specifically, if the output scene of audio stream exports the consistent and current volume value and history sound of scene with history
Magnitude, then according to current volume value, selects target audio from a variety of audio modes not in same default volume section
Mode.
207, audio stream is exported according to target audio mode.
In the embodiment of the present invention, according to current volume value, target audio mode is selected from a variety of audio modes
Later, then audio stream can be exported according to target audio mode.
In Fig. 2, user terminal, which is described in detail, can use the volume acquisition device acquisition user terminal of user terminal
The volume value of current environment;Also the volume acquisition device that can use user terminal obtains the current output sound of user terminal
Magnitude, it can be seen that, current volume value be not refer specifically to single a certain volume value, but can according to the actual situation really
It is fixed, so as to increase user terminal according to current volume value, when selecting target audio mode from a variety of audio modes
Accuracy, select more particularly suitable audio mode, improve user experience.
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of user terminal disclosed by the embodiments of the present invention, for executing
State effect adjusting method.Wherein, user terminal shown in Fig. 3 can include but is not limited to cell phone, tablet computer, palm electricity
Brain, personal digital assistant (Personal Digital Assistant, PDA), mobile internet device (Mobile
Internet Device, MID), multimedia player (such as MP3, CD player), intelligent wearable device (such as smartwatch, intelligence
Bracelet etc.) etc. each Terminal Type.As shown in figure 3, the user terminal may include: detection module 301, determining module 302, obtain mould
Block 303 chooses module 304 and output module 305, wherein
Detection module 301, for when receiving audio stream output order, detecting the output scene of audio stream.
In the embodiment of the present invention, whether detection module 301 can receive audio output instruction with real-time detection, wherein sound
Frequency output order can include but is not limited to music output order, video output order, quarter-bell output order and game application
Any one instruction in the instruction such as program enabled instruction.
Further, when user terminal receives audio stream output order, then detection module 301 can detecte audio stream
Export scene.Wherein, the output scene of audio stream can include but is not limited to music output, video output, quarter-bell output and
Any one scene in scene in the output of gaming-related information.
Determining module 302 determines a variety of audio modes for the output scene according to audio stream.
In the embodiment of the present invention, a variety of audio modes can be preset in the user terminal, wherein each audio mould
The corresponding sound effect parameters of formula are different, wherein sound effect parameters can include but is not limited to loudness value, tone color and tone.That is, every
At least one of a kind of corresponding loudness value of audio mode, tone color and tone parameter is different.
Specifically, after the output scene that detection module 301 detects audio stream, it is determined that module 302 can be further
A variety of audio modes are determined according to the output scene of audio stream.For example, the audio mode stored in user terminal includes sound
Imitate Mode A, audio Mode B, audio mode C, audio mode D, audio mode E and audio model F, wherein audio Mode A with
And the corresponding output scene of audio Mode B is music output, audio mode C and the corresponding output scene of audio mode D are view
Frequency exports, and audio mode E and the corresponding scene that exports of audio model F is the outputs of gaming-related information, if detecting audio
The output scene of stream is music output, it is determined that module 302 can export scene according to music and determine audio Mode A and audio
Mode B.
Module 303 is obtained, for obtaining current volume value using predetermined manner.
In the embodiment of the present invention, it can preset in the user terminal a variety of for obtaining the default of current volume value
Mode, wherein the predetermined manner can be user and be configured as needed, be also possible to user terminal according to the history of user
Setting record is configured, and the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, current volume value can be the volume value of current environment, that is, for describing to work as
The volume value of the noisy degree of preceding environment;Current volume value is also possible to the current output volume value of user terminal.
Specifically, it is determined that module 302 then obtains mould after the output scene according to audio stream determines a variety of audio modes
Block 303 can use predetermined manner and obtain current volume value.
Module 304 is chosen, for selecting target audio mode from a variety of audio modes according to current volume value.
In the embodiment of the present invention, module 303 is obtained before obtaining current volume value using predetermined manner, basis
The output scene of audio stream determines a variety of audio modes, then when user terminal using predetermined manner obtain current volume value it
Afterwards, then target audio mould can be selected further according to current volume value from a variety of audio modes by choosing module 304
Formula.For example, if detecting, the output scene of audio stream for music output, can export scene according to music and determine audio
Mode A and audio Mode B, and after obtaining current volume value using predetermined manner, it can be according to volume value and audio
The mapping relations of mode select the audio mode to match with current volume value, and will match with current volume value
Audio mode is as target audio mode.
Wherein, the mapping relations of above-mentioned volume value and audio mode can be user and set as needed, can also be with
It is that user terminal is set according to the history of user setting record, can also be user terminal in the server bound therewith
It obtains, the embodiment of the present invention is not construed as limiting.
Output module 305, for exporting audio stream according to target audio mode.
In the embodiment of the present invention, module 304 is being chosen according to current volume value, is selecting mesh from a variety of audio modes
After mark with phonetic symbols effect mode, then output module 305 can export audio stream according to target audio mode.
In Fig. 3, user terminal is described in detail when receiving audio stream output order, detection module 301 detects sound
The output scene of frequency stream;Determining module 302 determines a variety of audio modes according to the output scene of audio stream;Obtain 303 benefit of module
Current volume value is obtained with predetermined manner;Module 304 is chosen according to current volume value, is selected from a variety of audio modes
Target audio mode;Output module 305 exports audio stream according to target audio mode.As it can be seen that implementing the embodiment of the present invention, determine
Module 302 can determine a variety of audio modes according to the output scene of audio stream, and choosing module 304 can be according to current sound
Magnitude, selects target audio mode from a variety of audio modes, and last output module 305 exports audio with target audio mode
Stream so as to improve the convenience that the operation of audio is arranged in user terminal, and is effectively improved user experience and auditory effect.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention, for executing
Above-mentioned effect adjusting method.Wherein, Fig. 4 is that further refinement obtains on the basis of Fig. 3, except including all moulds shown in Fig. 3
It can also include judgment module 306 other than block, wherein
Judgment module 306 is selected from a variety of audio modes for choosing module 304 according to current volume value
Before target audio mode, judge whether the output scene of audio stream and history output scene are consistent, and it is to use that history, which exports scene,
Family terminal is apart from the corresponding output scene of audio stream that current time is played recently.
Judgment module 306, is also used to judge whether current volume value and history volume value are located at same default volume area
In, history volume value is the user terminal volume value acquired in the case where history exports scene.
Module 304 is chosen according to current volume value, the specific of target audio mode is selected from a variety of audio modes
If embodiment is that the output scene of audio stream and history export the consistent and current volume value of scene and history volume value not
In same default volume section, then according to current volume value, target audio mode is selected from a variety of audio modes.
Wherein, if output module 305 be also used to audio stream output scene and history output scene it is consistent and current
Volume value and history volume value are located in same default volume section, then according to corresponding to history output scene and history volume value
Audio mode export the audio stream.
In the embodiment of the present invention, the specific embodiment that module 303 obtains current volume value using predetermined manner is obtained
The volume value of user terminal current environment is obtained to obtain module 303 using the volume acquisition device of user terminal.
Module 304 is chosen according to current volume value, the specific of target audio mode is selected from a variety of audio modes
Embodiment is to choose module 304 according to the volume value of user terminal current environment, is selected from a variety of audio modes
The audio mode to match with the volume value of user terminal current environment, and using audio mode as target audio mode.
In the embodiment of the present invention, the specific embodiment that module 303 obtains current volume value using predetermined manner is obtained
To obtain the current output volume value of user terminal using the volume acquisition device of user terminal.
Module 304 is chosen according to current volume value, the specific of target audio mode is selected from a variety of audio modes
Embodiment is to choose the output volume value current according to user terminal of module 304, selects and uses from a variety of audio modes
The audio mode that terminal current output volume value in family matches, and using audio mode as target audio mode.
By implementing embodiment shown in Fig. 4, the convenience of the operation of user terminal setting audio can be improved, and have
Effect improves user experience and auditory effect.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of another user terminal disclosed by the embodiments of the present invention, for executing
Above-mentioned effect adjusting method.As shown in figure 5, the user terminal 500 may include: at least one processor 501, at least one is defeated
Enter device 502, at least one output device 503, the equal components of memory 504.Wherein, these components can pass through one or more
Bus 505 is communicatively coupled.It will be understood by those skilled in the art that the structure of user terminal shown in Fig. 5 is not constituted
Restriction to the embodiment of the present invention, it is also possible to hub-and-spoke configuration either busbar network, can also include than illustrating more
More or less component perhaps combines certain components or different component layouts.Wherein:
In the embodiment of the present invention, processor 501 is the control centre of user terminal, whole using various interfaces and connection
The various pieces of a user terminal, by running or executing the program and/or module that are stored in memory 504, and calling
The data being stored in memory 504, to execute the various functions and processing data of user terminal.Processor 501 can be by collecting
It is formed at circuit (Integrated Circuit, abbreviation IC), such as the IC that can be encapsulated by single is formed, it can also be by even
It meets the encapsulation IC of more identical functions or different function and forms.For example, processor 501 can only include central processing unit
(Central Processing Unit, abbreviation CPU) is also possible to CPU, digital signal processor (Digital Signal
Processor, abbreviation DSP), graphics processor (Graphic Processing Unit, abbreviation GPU) and various control chips
Combination.In embodiments of the present invention, CPU can be single operation core, also may include multioperation core.
In the embodiment of the present invention, it also may include wired that input unit 502, which may include the touch screen of standard, keyboard etc.,
Interface, wireless interface etc. can be used to implement the interaction between user and user terminal 500.
In the embodiment of the present invention, output device 503 may include display screen, loudspeaker etc., also may include wireline interface,
Wireless interface etc..
In the embodiment of the present invention, memory 504 can be used for storing application program and module, processor 501, input unit
502 and output device 503 by calling the application program and module that are stored in memory 504, thereby executing user's end
The various function applications and realization data processing at end.Memory 504 mainly include program storage area and data storage area,
In, program storage area can application program needed for storage program area, at least one function etc.;Data storage area can store basis
User terminal uses created data etc..In embodiments of the present invention, operating system can be android system, iOS system
System or Windows operating system etc..
In user terminal shown in Fig. 5, processor 501 calls the application program being stored in memory 504, for holding
The following operation of row:
When receiving audio stream output order, the output scene of audio stream is detected;
A variety of audio modes are determined according to the output scene of audio stream;
Current volume value is obtained using predetermined manner;
According to current volume value, target audio mode is selected from a variety of audio modes;
Audio stream is exported according to target audio mode.
As an alternative embodiment, processor 501 obtains current volume value using predetermined manner, comprising:
The volume value of user terminal current environment is obtained using the volume acquisition device of user terminal;
Wherein, according to current volume value, target audio mode is selected from a variety of audio modes, comprising:
According to the volume value of user terminal current environment, selected from a variety of audio modes current with user terminal
The audio mode that the volume value of local environment matches, and using audio mode as target audio mode.
As an alternative embodiment, processor 501 obtains current volume value using predetermined manner, comprising:
The current output volume value of user terminal is obtained using the volume acquisition device of user terminal;
Wherein, according to the current volume value, target audio mode is selected from a variety of audio modes, comprising:
According to the current output volume value of user terminal, selected from a variety of audio modes and current defeated of user terminal
The audio mode that volume value matches out, and using audio mode as target audio mode.
As an alternative embodiment, processor 501 may call upon the application journey being stored in memory 504
Sequence, execute step can also be performed before selecting target audio mode in a variety of audio modes according to current volume value
Following steps:
Judge whether output scene and the history output scene of audio stream are consistent, and it is user terminal distance that history, which exports scene,
The corresponding output scene of the audio stream that current time is played recently;
Judge whether current volume value and history volume value are located in same default volume section, history volume value is to use
The family terminal volume value acquired in the case where history exports scene;
If the output scene of the audio stream volume value and history volume value consistent and current with history output scene do not exist
In same default volume section, then executes according to current volume value, target audio mode is selected from a variety of audio modes
The step of.
As an alternative embodiment, processor 501 may call upon the application journey being stored in memory 504
Sequence, and execute following operation:
If the output scene of the audio stream volume value consistent and current with history output scene is located at history volume value
In same default volume section, then the audio mode according to corresponding to history output scene and history volume value exports audio stream.
Specifically, the sound that the present invention combines Fig. 1, Fig. 2 introduction can be implemented in the user terminal introduced in the embodiment of the present invention
Process some or all of in effect adjusting method embodiment.
Module or submodule in all embodiments of the invention can pass through universal integrated circuit, such as CPU (Central
Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated
Circuit, specific integrated circuit) Lai Shixian.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in user terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, abbreviation RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (10)
1. a kind of effect adjusting method characterized by comprising
When receiving audio stream output order, the output scene of the audio stream is detected;
A variety of audio modes are determined according to the output scene of the audio stream;
Current volume value is obtained using predetermined manner;
Judge whether output scene and the history output scene of the audio stream are consistent, and the history output scene is user terminal
The corresponding output scene of the audio stream played recently apart from current time;Judge the current volume value and history volume value
Whether it is located in same default volume section, history volume value institute in the case where the history exports scene for the user terminal
The volume value of acquisition;If the output scene of the audio stream current volume consistent and described with history output scene
Value and the history volume value be not in same default volume section, according to the current volume value, from a variety of audios
Target audio mode is selected in mode;
The audio stream is exported according to the target audio mode.
2. the method according to claim 1, wherein described obtain current volume value, packet using predetermined manner
It includes:
The volume value of the user terminal current environment is obtained using the volume acquisition device of the user terminal;
Wherein, described that target audio mode is selected from a variety of audio modes according to the current volume value, packet
It includes:
According to the volume value of the user terminal current environment, selected and the user from a variety of audio modes
The audio mode that the volume value of terminal current environment matches, and using the audio mode to match as target audio
Mode.
3. the method according to claim 1, wherein described obtain current volume value, packet using predetermined manner
It includes:
The current output volume value of the user terminal is obtained using the volume acquisition device of the user terminal;
Wherein, described that target audio mode is selected from a variety of audio modes according to the current volume value, packet
It includes:
According to the current output volume value of the user terminal, selected and the user terminal from a variety of audio modes
The audio mode that current output volume value matches, and using the audio mode to match as target audio mode.
4. method described in any one of claim 1 to 3, which is characterized in that the method also includes:
If the output scene of the audio stream current volume value consistent and described with history output scene is gone through with described
History volume value is located in same default volume section, then according to corresponding to history output scene and the history volume value
Audio mode exports the audio stream.
5. a kind of user terminal characterized by comprising
Detection module, for when receiving audio stream output order, detecting the output scene of the audio stream;
Determining module determines a variety of audio modes for the output scene according to the audio stream;
Module is obtained, for obtaining current volume value using predetermined manner;
Module is chosen, for selecting target audio mode from a variety of audio modes according to the current volume value;
Output module, for exporting the audio stream according to the target audio mode;
Wherein, the user terminal further include:
Judgment module, for, according to the current volume value, being chosen from a variety of audio modes in the selection module
Out before target audio mode, judge whether the output scene of the audio stream and history output scene are consistent, and the history is defeated
The corresponding output scene of audio stream that scene is played by the user terminal apart from current time recently out;
The judgment module, is also used to judge whether the current volume value and history volume value are located at same default volume area
In, the history volume value is the user terminal volume value acquired in the case where the history exports scene;
The selection module selects target audio mode from a variety of audio modes according to the current volume value
If specific embodiment is the output scene current volume consistent and described with history output scene of the audio stream
Value and the history volume value be not in same default volume section, then according to the current volume value, from a variety of sounds
Target audio mode is selected in effect mode.
6. user terminal according to claim 5, which is characterized in that the acquisition module is obtained current using predetermined manner
The specific embodiment of volume value be that the acquisition module using the volume acquisition device of the user terminal obtains the use
The volume value of family terminal current environment;
The selection module selects target audio mode from a variety of audio modes according to the current volume value
Specific embodiment is volume value of the selection module according to the user terminal current environment, from a variety of audios
The audio mode to match with the volume value of the user terminal current environment is selected in mode, and is matched described
Audio mode as target audio mode.
7. user terminal according to claim 6, which is characterized in that the acquisition module is obtained current using predetermined manner
The specific embodiment of volume value be that obtain the user terminal using the volume acquisition device of the user terminal current
Output volume value;
The selection module selects target audio mode from a variety of audio modes according to the current volume value
Specific embodiment is the selection module output volume value current according to the user terminal, from a variety of audio modes
In select the audio mode that the output volume value current with the user terminal matches, and by the audio mould to match
Formula is as target audio mode.
8. according to user terminal described in claim 5 to 7 any one, which is characterized in that
The output module, if be also used to the audio stream output scene and the history output scene it is consistent and described
Current volume value and the history volume value are located in same default volume section, then export scene and institute according to the history
It states audio mode corresponding to history volume value and exports the audio stream.
9. a kind of computer-readable storage medium, which is characterized in that the computer-readable storage medium is stored with calculating
Machine program, the computer program is for instructing relevant hardware, to complete method described in Claims 1-4 any one.
10. a kind of user terminal, which is characterized in that including such as lower component: at least one processor, at least one input unit,
At least one output device and memory;Wherein, these components are communicatively coupled by one or more bus;
Wherein, processor calls application program stored in memory, to require 1 to 4 any one institute for perform claim
The method stated.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610437114.1A CN106095384B (en) | 2016-06-16 | 2016-06-16 | Sound effect adjusting method and user terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610437114.1A CN106095384B (en) | 2016-06-16 | 2016-06-16 | Sound effect adjusting method and user terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106095384A CN106095384A (en) | 2016-11-09 |
| CN106095384B true CN106095384B (en) | 2019-03-15 |
Family
ID=57236279
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610437114.1A Active CN106095384B (en) | 2016-06-16 | 2016-06-16 | Sound effect adjusting method and user terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106095384B (en) |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107133010A (en) * | 2017-05-04 | 2017-09-05 | 宇龙计算机通信科技(深圳)有限公司 | A kind of reminding sound volume of application program determines method, device and terminal |
| CN108196820B (en) * | 2018-01-31 | 2019-10-18 | 百度在线网络技术(北京)有限公司 | Method and apparatus for adjusting play parameter |
| CN108347672B (en) * | 2018-02-09 | 2021-01-22 | 广州酷狗计算机科技有限公司 | Method, device and storage medium for playing audio |
| CN109107158B (en) * | 2018-09-04 | 2020-09-22 | Oppo广东移动通信有限公司 | Sound effect processing method and device, electronic equipment and computer readable storage medium |
| CN109410900B (en) * | 2018-09-04 | 2022-06-21 | Oppo广东移动通信有限公司 | Sound effect processing method, device and electronic device |
| CN110049404B (en) * | 2019-04-23 | 2021-08-06 | 深圳慧安康科技有限公司 | Smart device and volume control method thereof |
| CN112000835A (en) * | 2020-08-31 | 2020-11-27 | 上海商米科技集团股份有限公司 | Dynamic sound effect loading system and method for electronic equipment |
| CN114640924A (en) * | 2020-12-16 | 2022-06-17 | 厦门硕擎科技有限公司 | Sound effect control method, device and system and sounder |
| WO2023284593A1 (en) * | 2021-07-16 | 2023-01-19 | 深圳市韶音科技有限公司 | Earphone and earphone sound effect adjusting method |
| CN113993038B (en) * | 2021-10-27 | 2024-09-27 | 成都知道创宇信息技术有限公司 | Volume adjustment method, volume adjustment device, electronic equipment and computer readable storage medium |
| CN115268824A (en) * | 2022-07-21 | 2022-11-01 | 深圳市亚昱科技有限公司 | Audio device control method, audio device, controller, and storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100235747A1 (en) * | 2008-12-26 | 2010-09-16 | Aescu Technology | Method for adjusting parameters of audio device |
| CN103051794A (en) * | 2012-12-18 | 2013-04-17 | 广东欧珀移动通信有限公司 | Method and device for dynamically setting sound effect of mobile terminal |
| CN103927146A (en) * | 2014-04-30 | 2014-07-16 | 深圳市中兴移动通信有限公司 | Sound effect self-adapting method and device |
| CN104090766A (en) * | 2014-07-17 | 2014-10-08 | 广东欧珀移动通信有限公司 | Sound effect switching method and system for mobile terminal |
-
2016
- 2016-06-16 CN CN201610437114.1A patent/CN106095384B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100235747A1 (en) * | 2008-12-26 | 2010-09-16 | Aescu Technology | Method for adjusting parameters of audio device |
| CN103051794A (en) * | 2012-12-18 | 2013-04-17 | 广东欧珀移动通信有限公司 | Method and device for dynamically setting sound effect of mobile terminal |
| CN103927146A (en) * | 2014-04-30 | 2014-07-16 | 深圳市中兴移动通信有限公司 | Sound effect self-adapting method and device |
| CN104090766A (en) * | 2014-07-17 | 2014-10-08 | 广东欧珀移动通信有限公司 | Sound effect switching method and system for mobile terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106095384A (en) | 2016-11-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106095384B (en) | Sound effect adjusting method and user terminal | |
| EP3007163B1 (en) | Asynchronous chorus method and device | |
| CN109543064B (en) | Lyric display processing method and device, electronic equipment and computer storage medium | |
| CN107393569A (en) | Audio frequency and video clipping method and device | |
| EP3306606A1 (en) | Audio processing method, apparatus and system | |
| CN111785238B (en) | Audio calibration method, device and storage medium | |
| US10649729B2 (en) | Audio device with auditory system display and methods for use therewith | |
| CN112506341A (en) | Vibration effect generation method and device, terminal equipment and storage medium | |
| CN101924833A (en) | Terminal control method and terminal | |
| CN105120063A (en) | Volume prompting method of input voice and electronic device | |
| CN105682011A (en) | Bluetooth module control method and device of playback device, and audio and video playback system | |
| CN109982231A (en) | A kind of information processing method, equipment and storage medium | |
| CN104636111A (en) | Information processing method and electronic device | |
| CN106775568A (en) | Sound effect adjusting method and device and mobile terminal | |
| JP2019505944A (en) | Audio file re-recording method, apparatus and storage medium | |
| CN108600526A (en) | Alarm clock control method and related product | |
| CN108053696A (en) | A kind of method, apparatus and terminal device that sound broadcasting is carried out according to reading content | |
| CN104092809A (en) | Call recording method, call recording playback method and corresponding device | |
| CN101466010B (en) | Method for playing video on mobile terminal and mobile terminal | |
| CN105224230B (en) | Method for playing audio file and mobile terminal | |
| CN108269460B (en) | Electronic screen reading method and system and terminal equipment | |
| CN106095380A (en) | Sound signal acquisition method and device | |
| CN109065017B (en) | Voice data generation method and related device | |
| JP2010078926A (en) | Duet partner extracting system | |
| CN111314553B (en) | Volume adjustment method, device, terminal and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
| CB02 | Change of applicant information | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |