CN109286772A - Audio method of adjustment, device, electronic equipment and storage medium - Google Patents
Audio method of adjustment, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109286772A CN109286772A CN201811026574.0A CN201811026574A CN109286772A CN 109286772 A CN109286772 A CN 109286772A CN 201811026574 A CN201811026574 A CN 201811026574A CN 109286772 A CN109286772 A CN 109286772A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- scene
- preview image
- audio
- current scene
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 79
- 230000000694 effects Effects 0.000 claims abstract description 27
- 238000012512 characterization method Methods 0.000 claims description 29
- 238000012545 processing Methods 0.000 claims description 25
- 230000008569 process Effects 0.000 claims description 17
- 238000004422 calculation algorithm Methods 0.000 claims description 10
- 230000001105 regulatory effect Effects 0.000 claims description 8
- 239000000284 extract Substances 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 12
- 238000013507 mapping Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 8
- 230000005236 sound signal Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000005611 electricity Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000007619 statistical method Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000009394 selective breeding Methods 0.000 description 1
- 210000001260 vocal cord Anatomy 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/22—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/003—Changing voice quality, e.g. pitch or formants
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
-
- 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/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72433—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
-
- 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/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
-
- 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
-
- 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
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Acoustics & Sound (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
This application discloses a kind of audio method of adjustment, device, electronic equipment and storage mediums, are related to technical field of electronic equipment.This method is applied to electronic equipment, the described method includes: during electronic equipment is in Video chat mode, the preview image of electronic equipment acquisition is obtained in real time, identify the preview image, and the current scene where electronic equipment, the output audio based on the current scene adjustment electronic equipment during being in Video chat mode are obtained based on the result after identification.The application realizes the output audio of the configuration electronic equipment of automatic quick, promotes the effect and user experience of output audio according to output audio of current scene adjustment electronic equipment during being in Video chat mode where electronic equipment.
Description
Technical field
This application involves technical field of electronic equipment, set more particularly, to a kind of audio method of adjustment, device, electronics
Standby and storage medium.
Background technique
With the development of science and technology, electronic equipment have become in people's daily life most common electronic product it
One.Also, user often passes through electronic equipment and listens to music, sees video or play game etc., and still, electronic equipment is to audio at present
The processing mode of data is fixed, and the audio of output is poor, and user experience is bad.
Summary of the invention
In view of the above problems, present applicant proposes a kind of audio method of adjustment, device, electronic equipment and storage medium,
To solve the above problems.
In a first aspect, the embodiment of the present application provides a kind of audio method of adjustment, it is applied to electronic equipment, the method packet
It includes: during the electronic equipment is in Video chat mode, obtaining the preview image of the electronic equipment acquisition in real time;
It identifies the preview image, and obtains the current scene where the electronic equipment based on the result after identification;Worked as based on described
Preceding scene adjusts output audio of electronic equipment during in the Video chat mode.
Second aspect, the embodiment of the present application provide a kind of sound-effect regulating device, are applied to electronic equipment, described device packet
It includes: obtaining module, for obtaining the electronic equipment in real time and adopting during the electronic equipment is in Video chat mode
The preview image of collection;Identification module, the preview image for identification, and the electronic equipment is obtained based on the result after identification
The current scene at place;Module is adjusted, is chatted for adjusting the electronic equipment based on the current scene in the video
Output audio during day mode.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including memory and processor, the memory
It is couple to the processor, the memory store instruction, the processor is held when executed by the processor
The row above method.
Fourth aspect, the embodiment of the present application provides a kind of computer-readable storage medium, described computer-readable
Program code is stored in storage medium, said program code can be called by processor and execute the above method.
Compared with the existing technology, scheme provided by the present application, it is real during electronic equipment is in Video chat mode
When obtain the preview image of electronic equipment acquisition, identify the preview image, and electronic equipment institute is obtained based on the result after identification
Current scene, based on the current scene adjustment electronic equipment be in Video chat mode during output audio,
To according to output sound of current scene adjustment electronic equipment during being in Video chat mode where electronic equipment
Effect realizes the output audio of the configuration electronic equipment of automatic quick, promotes the effect and user experience of output audio.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 shows the flow diagram of the audio method of adjustment of the application one embodiment offer;
Fig. 2 shows the processes of the step S130 of the audio method of adjustment of the embodiment shown in FIG. 1 of the application offer to show
It is intended to;
Fig. 3 shows the flow diagram of the audio method of adjustment of another embodiment of the application offer;
The process of the step S250 for the audio method of adjustment that the embodiment shown in Fig. 3 that Fig. 4 shows the application provides is shown
It is intended to;
Fig. 5 shows the flow diagram of the audio method of adjustment of the application further embodiment offer;
Fig. 6 shows the module frame chart of sound-effect regulating device provided by the embodiments of the present application;
Fig. 7 shows the embodiment of the present application for executing the electronic equipment of the audio method of adjustment according to the embodiment of the present application
Block diagram;
Fig. 8 shows adjusting for saving or carrying realization according to the audio of the embodiment of the present application for the embodiment of the present application
The storage unit of the program code of method.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described.
Currently, requirement of the user to electronic equipment is higher and higher, therefore, electronic equipment in order to meet the needs of users and
It is provided conveniently for user, starts to support playing audio-fequency data, wherein the audio framework of electronic equipment and the audio framework of computer
It is similar, mainly completed by processor and built-in audio CODEC (codec).Specifically, processor receives audio data
After input, it is converted into I2S signal, and is transmitted to CODEC and is converted into analog signal, is then played out.
Further, in order to promote audio experience, more and more users start the proposition of the output audio to electronic equipment
Demand, wherein audio refers to the effect as manufactured by sound, refers to promote the sense of reality, atmosphere or the drama message of scene, and
The noise or sound being added on vocal cords are the artificial sound manufactured or reinforce, for enhance to film, electronic game, music or
The acoustic processing of the art or other content of other media, for example, electronic game audio refers to whop in game, running
Sound, shot etc..Therefore, with the development of electronic device technology, more and more electronic equipments start to provide audio output, but
It is that the sound effect function of electronic equipment is mainly to pass through user according to the hobby artificial selection of oneself and certain scene is arranged at present
Audio mode does not account for the influence of extraneous factor using conventional and fixed processing mode, does not account for such as different fields
The influence of scape, output audio are fixed.
In view of the above-mentioned problems, inventor has found by long-term research, and propose audio provided by the embodiments of the present application
Method of adjustment, device, electronic equipment and storage medium are being located according to the current scene adjustment electronic equipment where electronic equipment
Output audio during Video chat mode is realized the output audio of the configuration electronic equipment of automatic quick, is promoted defeated
The effect and user experience of audio out.Wherein, specific audio method of adjustment is described in detail in subsequent embodiment.
Embodiment
Referring to Fig. 1, Fig. 1 shows the flow diagram of the audio method of adjustment of the application one embodiment offer.Institute
Audio method of adjustment is stated for being in Video chat mode according to the current scene adjustment electronic equipment where electronic equipment
Output audio in the process realizes the output audio of the configuration electronic equipment of automatic quick, promotes the effect and use of output audio
Family experience.In the particular embodiment, the audio method of adjustment be applied to sound-effect regulating device 200 as shown in FIG. 6 and
Electronic equipment 100 (Fig. 7) configured with the sound-effect regulating device 200.It will illustrate the present embodiment by taking electronic equipment as an example below
Detailed process, it will of course be understood that, electronic equipment applied by the present embodiment can for smart phone, tablet computer, wear
Formula electronic equipment, mobile unit, gateway etc. are worn, does not do specific restriction herein.It will be carried out below for process shown in FIG. 1 detailed
Thin elaboration, the audio method of adjustment can specifically include following steps:
Step S110: during the electronic equipment is in Video chat mode, the electronic equipment is obtained in real time
The preview image of acquisition.
In the present embodiment, it is detected first to whether electronic equipment is in Video chat mode, wherein can support to regard
Frequency chat application program during running Video chat, the application program can electronic equipment front stage operation,
The running background of electronic equipment or before and after electronic equipment and the switchover operation of backstage.Specifically, front stage operation, which refers to, usually may be used
To interact with user, the foreground of electronic equipment can be operated in, will be suspended when it is invisible (such as: game);Afterwards
Platform operation refer to user interaction it is very limited, in addition to configuration during, the other times of life cycle be all it is hiding (such as:
SMS automatically replies program and alarm clock program);The foreground of electronic equipment and backstage switchover operation refer to can foreground and after
Arbitrarily switch between platform.It should be understood that characterizing the electricity when the application program for running Video chat is not killed (kill)
Sub- equipment is in Video chat mode.In addition, can also check that the electronics is set by the code of electronic equipment as a kind of mode
Standby whether to be in Video chat mode, details are not described herein.
Further, it when determining that the electronic equipment is in Video chat mode, then corresponds to and is in view in electronic equipment
During frequency Chat mode, the preview image of the electronic equipment acquisition is obtained in real time.Specifically, when determining at electronic equipment
When Video chat mode, characterizes the electronic equipment and is exporting audio or audio will be exported at the next a certain moment,
For example, establishing the corresponding user of other electronic equipments of Video chat with the electronic equipment, it just is arrived in input voice information
He arrives input voice information to be transmitted to the electronic equipment output audio, or at the next a certain moment electronic equipment
Other electronic equipments are to be transmitted to the electronic equipment output audio.Therefore, as a kind of mode, electronic equipment can be being determined
When in Video chat mode, it is carried out the preview image for obtaining electronic equipment acquisition in real time;Alternatively, Ke Yijian
It surveys whether the electronic equipment has audio output, and when detecting that the electronic equipment has audio output, then executes and obtain in real time
The preview image for taking electronic equipment to acquire, concrete mode is it is not limited here.
Wherein, since electronic equipment is during being in Video chat mode, collected preview image may be with
The change in time and/or place and change, therefore, in the present embodiment, can be using obtaining the preview image in real time
Mode, to avoid the problem of the preview image inaccuracy of acquisition.Further, as a kind of mode, which can be with
Including electronic equipment ontology and CCD camera assembly, which is set on electronic equipment ontology for acquiring preview graph
Picture, wherein electronic equipment and be in Video chat mode when, the CCD camera assembly is in the open state, therefore, can pass through
The CCD camera assembly acquires preview image in real time, optionally, the CCD camera assembly be front camera or rear camera, herein
Without limitation.
Step S120: identifying the preview image, and obtains working as where the electronic equipment based on the result after identification
Preceding scene.
In the present embodiment, the preview image obtained to electronic equipment identifies, as first way, can pass through
OCR identification technology handles the preview image of input, to identify image information included in the visit image.Specifically
Ground, it is to turn character recognition technology using image that image, which turns Text region, can take offline, i.e., image is turned to the identification library of text
It is transplanted to the mode of electronic equipment.Specifically, Text region library is turned according to the image in electronic equipment and figure is carried out to pictorial information
As turning Text region operation;Image can also be sent to remote image and turn the progress of text service device by online mode
Identification.Pictorial information is uploaded to image and turns text service device, image turns text service device and turns text knowledge according to internal image
Other library pictorial information carries out image and turns Text region operation, and recognition result is sent to electronic equipment.Further, image turns
Text other than the text information that identification returns in image, can also be attached to the x coordinate of each text, y-coordinate, width and
Height etc., details are not described herein.
Multiple figures are previously stored with as the second way, electronic equipment or the server connecting with the electronic equipment
Picture, the basis of characterization for the preview image that multiple described images are used to acquire as electronic equipment, it is possible to understand that, described in acquisition
After preview image, the preview image and multiple pre-stored images can be compared, with from multiple images obtain with
The matched image of the preview image, so as to realize the identification of the preview image.
Further, identification preview image with it is after identify as a result, the result being then based on after the identification obtain it is electric
Current scene where sub- equipment.Specifically, it when the preview image, which turns text operation by image, to be identified, then identifies
Result afterwards is text information, such as " supermarket ", " subway station ", " family ", at this point, the electricity obtained based on the result after the identification
Current scene where sub- equipment is " supermarket ", " subway station ", " family " etc.;When the preview image is operated by image comparison
When being identified, then the result after identifying is pictorial information, such as supermarket's picture, subway station picture, at this point, based on after the identification
Result obtain electronic equipment where current scene be " supermarket ", " subway station ", " family " etc..
As a kind of mode, the current scene includes at least one of supermarket, market, bookstore, subway, street or several
The combination of kind.
As a kind of enforceable mode, electronic equipment further includes the audio signal reception device being set on electronic equipment ontology, should
Audio signal reception device is used for during electronic equipment is in Video chat mode, and real-time reception user inputs the language of the electronic equipment
Message breath, and the transmission of speech information to processor is analyzed and processed to obtain voice entrained by the voice messaging
Content.Wherein, which can be microphone, the microphone etc. on electronic equipment, and in the present embodiment, electronic equipment is at least
It may include voice communication microphone, wherein voice communication microphone is mainly used for receiving the voice messaging of input electronic equipment,
Such as when recording, the voice messaging record of input electronic equipment is entered, converts electric signal in real time for voice messaging, to divide
The voice messaging is analysed to obtain the voice content of the voice messaging.
Further, judge whether include the voice content of characterization scene in the voice messaging, for example, judging that the voice is believed
Whether the voice content of scene is characterized including " I am in supermarket ", " I am in subway station " etc. in breath.It should be understood that when the voice is believed
When including the voice content of characterization scene in breath, the result after can identifying based on the voice content and based on preview image is common
Obtain the current scene where electronic equipment.For example, result after preview image identification is supermarket's image, and voice messaging packet
Me is included in the voice content of supermarket, then the current scene where the electronic equipment can be confirmed is supermarket;When preview image is known
Result after not is supermarket's image and subway station image, and voice messaging includes me in the voice content of supermarket, then can be true
Current scene where recognizing the electronic equipment is supermarket, to promote the accuracy of the current scene obtained.
Step S130: the electronic equipment is adjusted in the process for being in the Video chat mode based on the current scene
In output audio.
In the present embodiment, after determining the current scene where the electronic equipment, the current scene tune can be based on
Output audio of whole electronic equipment during being in Video chat mode.Specifically, the electronic equipment can be based on being somebody's turn to do
Current scene increases or reduces output audio of electronic equipment during in Video chat mode.As a kind of mode,
When the current scene is Outdoor Scene, characterize that the electronic equipment location is more miscellaneous to make an uproar, at this point, if the electronic equipment just
When in Video chat mode, the interference of the ambient sound for the current scene that output audio is subject to is larger, i.e. raising electronic equipment
Output audio, with promoted the electronic equipment output audio effect;When the current scene is indoor scene, characterization should
Electronic equipment location is more quiet, at this point, if when the electronic equipment is in Video chat mode, output audio by
The ambient sound interference of current scene is smaller, can keep output of electronic equipment during in Video chat mode
Audio, or output audio of electronic equipment during in Video chat mode is slightly reduced, to guarantee to export
The power consumption of electronic equipment is reduced on the basis of the effect of audio.
As a kind of mode, the electronic equipment can pre-establish scene and export the mapping relations between audio, and
Generate mapping table storage in the electronic device, as shown in table 1.Wherein, the mapping relations between scene and output audio can
Can be closed automatically by electronic equipment auto-associating or the server by being connect with the electronic equipment by user's manual association
Connection etc., it is not limited here, and the mapping relations between scene and output audio may include a scene corresponding one defeated
Audio or the corresponding output audio of multiple scenes etc. out, it is not limited here.
It further, will be pre-stored multiple in the current scene and mapping table after determining current scene
Scene compares one by one, searches the scene pair further according to the mapping table with the matched scene of the current scene to obtain
The output audio answered, so as to obtain the corresponding output audio of the current scene, with current according to locating for electronic equipment
Scene adjusts output audio of electronic equipment during being in Video chat mode, realizes that the configuration electronics of automatic quick is set
Standby output audio promotes the effect and user experience of output audio.
Table 1
Scene | Export audio |
A1 | B1 |
A2 | B2 |
A3 | B3 |
Referring to Fig. 2, the step of Fig. 2 shows the audio methods of adjustment of the embodiment shown in FIG. 1 of the application offer
The flow diagram of S130.In the present embodiment, current scene is the first current scene or the second current scene, wherein first
The ambient sound of current scene is higher than the ambient sound of the second current scene, will carry out detailed explain for process shown in Fig. 2 below
It states, the method can specifically include following steps:
Step S131: when the current scene is first current scene, the electronic equipment is promoted in institute
State the output audio during Video chat mode.
In the present embodiment, as first way, the ambient sound of first current scene can be by way of estimating
It obtains, for example, when first current scene is supermarket the ambient sound of supermarket can be estimated, wherein the ambient sound of supermarket can
With by the historical data acquisition for statistical analysis to multiple supermarkets, details are not described herein.As the second way, Ke Yitong
The audio signal reception device of the electronic equipment is crossed, the environment when the current scene where the electronic equipment is the first current scene is obtained
Sound, for example, electronic equipment can be obtained by audio signal reception device in current environment when first current scene is supermarket
Sound.
Wherein, in the present embodiment, first current scene can be Outdoor Scene or other noisy scenes, that is,
It says, the ambient sound of first current scene is higher, therefore, can correspond to and promote electronic equipment in the mistake for being in Video chat mode
Output audio in journey promotes the effect of output audio to weaken the interference of ambient sound.
Step S132: when the current scene is second current scene, the electronic equipment is reduced in institute
State the output audio during Video chat mode.
Likewise, the ambient sound of second current scene can be obtained by way of estimating, example as first way
Such as, when second current scene is family, the ambient sound of family can be estimated, wherein the ambient sound of family can pass through
To the acquisition for statistical analysis of the historical data of family, details are not described herein.As the second way, can be set by the electronics
Standby audio signal reception device obtains the ambient sound when the current scene where the electronic equipment is the second current scene, for example, working as institute
State the second current scene be family when, can by audio signal reception device obtain electronic equipment in current ambient sound.
Wherein, in the present embodiment, the first ambient sound for currently setting scene is higher than the ambient sound of the second current scene, i.e., should
Second current scene can be indoor scene or other quiet scenes, that is to say, that the ambient sound of second current scene is lower,
Therefore, the corresponding output audio for reducing electronic equipment during being in Video chat mode, to reduce the function of electronic equipment
Consumption.
The audio method of adjustment that the application one embodiment provides, is in the process of Video chat mode in electronic equipment
In, the preview image of electronic equipment acquisition is obtained in real time, identifies the preview image, and electronics is obtained based on the result after identification and is set
The current scene at standby place, the output sound based on the current scene adjustment electronic equipment during being in Video chat mode
Effect, thus according to output of current scene adjustment electronic equipment during being in Video chat mode where electronic equipment
Audio realizes the output audio of the configuration electronic equipment of automatic quick, promotes the effect and user experience of output audio.
Referring to Fig. 3, Fig. 3 shows the flow diagram of the audio method of adjustment of another embodiment of the application offer.
The audio method of adjustment is applied to above-mentioned electronic equipment, wherein in the present embodiment, it is logical that electronic equipment is provided with a plurality of audio
Road, every voice-frequency channel in a plurality of voice-frequency channel correspond to different audio effect processing algorithms.It will be directed to stream shown in Fig. 3 below
Journey is explained in detail, and the method can specifically include following steps:
Step S210: during the electronic equipment is in Video chat mode, the electronic equipment is obtained in real time
The preview image of acquisition.
Wherein, the specific descriptions of step S210 please refer to step S110, and details are not described herein.
Step S220: identifying the preview image and extracts multiple sub- preview images in the preview image.
It should be understood that preview image is considered as being made of multiple sub- preview images, therefore, in the present embodiment,
After obtaining preview image, preview image can be identified and extract multiple sub- preview images in the preview image.For example,
When the preview image includes supermarket, blue sky, white clouds, trees, pedestrian, vehicle etc., then, supermarket, blue sky, white clouds, trees, row
People, vehicle etc. are the sub- preview image of the preview image, and therefore, extracting to the sub- preview image of the preview image can
To obtain supermarket's subgraph, blue sky subgraph, white clouds subgraph, trees subgraph, pedestrian's subgraph, vehicle subgraph etc.,
This is without limitation.
Step S230: judge in the multiple sub- preview image whether to include the sub- preview image of target for characterizing scene.
Further, after obtaining multiple sub- preview images, multiple sub- preview images are identified, it is multiple to judge
It whether include the sub- preview image of target for characterizing scene in sub- preview image.Specifically, electronic equipment can be pre-created and deposit
The corresponding relationship between image and scene is stored up, i.e., some image corresponds to some scene, certain several image corresponds to some scene, certain
Image does not correspond to scene etc., after obtaining multiple sub- preview images, multiple sub- preview image can be corresponding with what is stored
Whether the image of scene compares, to judge in multiple sub- preview image to include the image for corresponding to scene.It should be understood that
When the sub- preview image for the images match for including in multiple sub- preview images and corresponding to scene, multiple sub- preview image is characterized
In include characterization scene the sub- preview image of target;When not including in multiple sub- preview images and correspond to the images match of scene
Sub- preview image when, characterizing does not include the sub- preview image of target for characterizing scene in multiple sub- preview image.
Step S240: when the sub- preview image of the target in the multiple sub- preview image including characterization scene, it is based on institute
It states the sub- preview image of target and obtains current scene where the electronic equipment.
In the present embodiment, when determining includes the sub- preview image of target of characterization scene in multiple sub- preview image,
The current scene where electronic equipment is obtained based on the sub- preview image of the target.For example, working as the sub- preview image of the multiple target
In include characterization supermarket sub- preview image when, then the current scene where electronic equipment can be determined as supermarket;When described more
When including the sub- preview image of characterization subway station in a sub- preview image of target, then the current scene where electronic equipment can be true
It is set to subway station.
As a kind of mode, when the sub- preview image in the multiple sub- preview image including at least two characterization scenes
When, for example, when the sub- preview graph of the sub- preview image and characterization subway station that in multiple sub- preview images simultaneously include characterization supermarket
When picture, then the foreground image and background image in the preview image are obtained, and using the foreground image as the sub- preview image of target.
For example, the sub- preview image for characterizing supermarket in the preview image is foreground image, characterize subway station sub- preview image be after
When scape image, the sub- preview image of the characterization supermarket is determined as the sub- preview image of target, then is based on the sub- preview graph of the target
As the current scene where the electronic equipment obtained is supermarket;Before the sub- preview image for characterizing subway station in the preview image is
The sub- preview image of the characterization subway station when the sub- preview image for characterizing supermarket is background image, is determined as mesh by scape image
Sub- preview image is marked, then the current scene where the electronic equipment obtained based on the sub- preview image of the target is subway station.
Step S250: selected from a plurality of voice-frequency channel based on the current scene at least one voice-frequency channel as
Target audio access.
In the present embodiment, electronic equipment is provided with a plurality of voice-frequency channel, every voice-frequency channel in a plurality of voice-frequency channel
Different audio processing algorithms are corresponded to, specifically, the electronic equipment is individually for difference according to the existing framework of audio system
Scene add different voice-frequency channels, wherein every voice-frequency channel refers to that different sound walked is different access.As
A kind of mode obtains corresponding at least one voice-frequency channel of the scene after obtaining the current scene where electronic equipment, can be with
Understand, the corresponding different audio effect processing algorithm of every voice-frequency channel, the audio data transmitted through the voice-frequency channel is exporting
When can have different audios, for example, different volumes, different loudness, different types of sound etc..Therefore, in this implementation
In example, when determining the current scene where electronic equipment is supermarket, the volume of the output audio needed is higher, then corresponds to from more
Select the voice-frequency channel of exportable higher volume as target audio access in voice-frequency channel;Where determining electronic equipment
When current scene is family, the volume of the output audio needed is lower, then it is corresponding selected from a plurality of voice-frequency channel it is exportable compared with
The voice-frequency channel of small volume is as target audio access.Certainly, alternative voice-frequency channel may include all voice-frequency channels,
It can only include the corresponding multiple voice-frequency channels of application program for supporting Video chat, can also only include supporting Video chat
Corresponding voice-frequency channel of application program etc..
It is possible to further obtain electronic equipment during in Video chat mode, answering for Video chat is carried out
With the type of program, such as wechat or QQ.After the type for obtaining application program, it is logical to obtain corresponding at least one audio of the type
The audio data of the application program is specifically analyzed in road, obtain audio data in sound type, further according to point
Result after analysis selects at least one voice-frequency channel as target audio access from a plurality of voice-frequency channel, that is to say, that
One application program can correspond to a plurality of voice-frequency channel.As a kind of mode, when only including a type in the audio data
Sound when, can only select wherein a voice-frequency channel as target audio access;When in the audio data include it is multiple
When the sound of type, a plurality of voice-frequency channel can choose as target audio access.For example, when including strike in the application program
The sound types such as sound, running sound, shot, can the selection and whop, running sound, shot etc. pair respectively from a plurality of voice-frequency channel
The voice-frequency channel answered transmits the whop, running sound, shot etc. as target audio access respectively, thus different audio numbers
According to passing through different audio effect processing algorithm process, better processing effect.
Certainly, in the present embodiment, each application program can also have independent corresponding voice-frequency channel, that is to say, that one
Application program corresponds to a voice-frequency channel, therefore, after the type for obtaining application program, is obtained according to the type and applies journey with this
The corresponding voice-frequency channel of sequence is as target audio access, and certainly, which can also run according to the difference of scene
Different audio effect processing algorithm, to obtain different output audios.
Referring to Fig. 4, Fig. 4 shows the step of audio method of adjustment of embodiment shown in Fig. 3 offer of the application
The flow diagram of S240.To be explained in detail below for process shown in Fig. 4, the method can specifically include with
Lower step:
Step S251: the corresponding present video access of the current scene, the default pass are determined according to preset relation table
It is in table including the corresponding relationship between scene and voice-frequency channel.
As an embodiment, electronic equipment can pre-establish the mapping relations between scene and voice-frequency channel, and
Generate mapping table storage in the electronic device, as shown in table 2.Wherein, the mapping relations between scene and voice-frequency channel can
It, can be by electronic equipment auto-associating or by server auto-associating etc., it is not limited here with by user's manual association.
It further, will be pre-stored multiple in the current scene and mapping table after determining current scene
Scene compares one by one, searches the scene pair further according to the mapping table with the matched scene of the current scene to obtain
The voice-frequency channel answered, so as to obtain the corresponding voice-frequency channel of the current scene.
Table 2
Scene | Voice-frequency channel |
A1 | C1 |
A2 | C2 |
A3 | C3 |
Step S252: the present video access is determined as the target audio access.
Step S260: the Video chat mode is being in by electronic equipment described in the target audio tunnel
Output audio in the process.
It should be understood that target audio access includes at least a voice-frequency channel, when voice-frequency channel is one, then pass through
The voice-frequency channel handles original audio data, and different audio effect processing algorithms is run according to different scenes, is corresponded to
Output audio;When voice-frequency channel is a plurality of, since each voice-frequency channel is corresponding with independent audio effect processing algorithm,
It, can be to original by output audio of the electronic equipment described in target audio tunnel during being in Video chat mode
Beginning audio data carries out different processing, to obtain the different output audio of sound, better processing effect.
The audio method of adjustment that another embodiment of the application provides, is in the process of Video chat mode in electronic equipment
In, the preview image of electronic equipment acquisition is obtained in real time, is identified the preview image and is extracted multiple sub- previews in preview image
Whether image judges in multiple sub- preview images to include the sub- preview image of target for characterizing scene, when in multiple sub- preview images
When the sub- preview image of target including characterizing scene, the current scene where electronic equipment is obtained based on the sub- preview image of target,
It selects at least one voice-frequency channel as target audio access from a plurality of voice-frequency channel based on current scene, passes through target audio
Output audio of tunnel electronic equipment during being in Video chat mode, adjusts compared to audio shown in FIG. 1
Method, the present embodiment is by extracting the sub- preview image in preview image and by where sub- preview image acquisition electronic equipment
Current scene, to promote the acquisition speed and accuracy of current scene, in addition, the present embodiment is calculated by the way that a plurality of audio processing is arranged
The different voice-frequency channel of method promotes the effect of output audio so that easily and fast output audio to be adjusted.
Referring to Fig. 5, Fig. 5 shows the flow diagram of the audio method of adjustment of the application further embodiment offer.
The audio method of adjustment is applied to above-mentioned electronic equipment, wherein in the present embodiment, it is logical that electronic equipment is provided with a plurality of audio
Road, every voice-frequency channel in a plurality of voice-frequency channel correspond to different audio effect processing algorithms.It will be directed to stream shown in fig. 5 below
Journey is explained in detail, and the method can specifically include following steps:
Step S310: during the electronic equipment is in Video chat mode, the electronic equipment is obtained in real time
The preview image of acquisition.
Step S320: identifying the preview image and extracts multiple sub- preview images in the preview image.
Step S330: judge in the multiple sub- preview image whether to include the sub- preview image of target for characterizing scene.
Wherein, the specific descriptions of step S310- step S330 please refer to step S210- step S230, and details are not described herein.
Step S340: when the sub- preview image of the target in the multiple sub- preview image including characterization scene, institute is obtained
State the current location information where electronic equipment.
In the present embodiment, the sub- preview image of multiple characterization scenes, example be may include in the sub- preview image of the target
Such as, the sub- preview image of the target may include supermarket's image and subway station image simultaneously, it is possible to understand that, field is characterized from such
The scene where the electronic equipment can not be judged in the sub- preview image of the target of scape, it is understood that there may be the case where erroneous judgement, therefore, make
For a kind of mode, the current location information where the electronic equipment is obtained, wherein the current location information of the electronic equipment can
To obtain by positioning, as a kind of mode, location based service (LBS) and/or global positioning system can be passed through
The current location of (Global Positioning System, GPS) acquisition electronic equipment.It should be understood that due to the electronics
The position of equipment may change at any time, therefore, in the present embodiment, obtain the location information of the electronic equipment in real time,
To which when the position of current electronic device changes, the LBS and/or GPS can be real according to the position change of electronic equipment
When obtain the current location information of the electronic equipment.
Step S350: the corresponding scene of the current location information is determined based on the current location information.
Further, after obtaining the current location information, the present bit can be determined based on the current location information
Confidence ceases corresponding scene and specifically obtains the positioning of the current location information, and obtains the scene at the positioning, Ke Yili
Solution, the scene obtained through the above way be the electronic equipment where scene, the scene may include " XX supermarket ",
" XX cell " etc..
Step S360: when the scene one of the corresponding scene of the current location information and the sub- preview image characterization of the target
When cause, is obtained based on the sub- preview image of the target and/or the current location information and work as front court where the electronic equipment
Scape.
Further, the scene of the corresponding scene in the current location and the sub- preview image characterization of target is compared,
To judge whether the corresponding scene in the current location and the scene of the sub- preview image characterization of target are consistent, for example, it is assumed that present bit
Setting corresponding scene is " supermarket ", and the scene of target sub- preview image characterization is " supermarket ", then the corresponding scene in current location and
The scene of the sub- preview image characterization of target is consistent;Assuming that the corresponding scene in current location is " supermarket ", the sub- preview image table of target
The scene of sign is that the scene of the sub- preview image characterization of " subway station ", the then corresponding scene in current location and target is inconsistent.
In the present embodiment, when the corresponding scene in the current location is consistent with the scene of the sub- preview image characterization of target
When, characterize scene of the scene of the sub- preview image characterization of the target where electronic equipment, that is to say, that the sub- preview graph of the target
Therefore scene as where the scene characterized may be considered user can be based on the sub- preview image of the target and/or present bit
The current scene where acquisition of information electronic equipment is set, to reduce erroneous judgement.
Step S370: selected from a plurality of voice-frequency channel based on the current scene at least one voice-frequency channel as
Target audio access.
Step S380: the Video chat mode is being in by electronic equipment described in the target audio tunnel
Output audio in the process.
Wherein, the specific descriptions of step S370- step S380 please refer to step S250- step S260, and details are not described herein.
The audio method of adjustment that the application further embodiment provides, is in the process of Video chat mode in electronic equipment
In, the preview image of electronic equipment acquisition is obtained in real time, is identified the preview image and is extracted multiple sub- previews in preview image
Whether image judges in multiple sub- preview images to include the sub- preview image of target for characterizing scene, when in multiple sub- preview images
Including characterize scene sub- preview image when, obtain electronic equipment where current location information, be based on the current location information
The corresponding scene of current location information is determined, when the scene of the corresponding scene of current location information and the sub- preview image characterization of target
When consistent, the current scene where electronic equipment is obtained based on the sub- preview image of target and/or current location information, based on current
Scene selects at least one voice-frequency channel as target audio access from a plurality of voice-frequency channel, passes through target audio tunnel
Output audio of electronic equipment during being in Video chat mode, compared to audio method of adjustment shown in Fig. 3, this reality
Apply that example also passes through subgraph and location information obtains current scene jointly, to promote the accuracy of current scene.
Referring to Fig. 6, Fig. 6 shows the module frame chart of sound-effect regulating device 200 provided by the embodiments of the present application.Audio tune
Engagement positions 200 are applied to above-mentioned electronic equipment.It will be illustrated below for block diagram shown in fig. 6, the sound-effect regulating device
200 include: to obtain module 210, identification module 220 and adjustment module 230, in which:
Module 210 is obtained, for obtaining the electricity in real time during the electronic equipment is in Video chat mode
The preview image of sub- equipment acquisition.
Identification module 220, the preview image for identification, and the electronic equipment institute is obtained based on the result after identification
Current scene.Further, the identification module 230 includes: that voice messaging acquisition submodule, voice messaging judge submodule
Block, current scene acquisition submodule, sub- preview image extracting sub-module and sub- preview image judging submodule, in which:
Voice messaging acquisition submodule, for being obtained during the electronic equipment is in Video chat mode in real time
Take the voice messaging for inputting the electronic equipment.
Voice messaging judging submodule, the voice messaging for identification, and judge whether the voice messaging includes table
Levy the voice content of scene.
Current scene acquisition submodule, for being based on institute when the voice messaging includes characterizing the voice content of scene
Result after stating voice content and the identification obtains the current scene where the electronic equipment.
Sub- preview image extracting sub-module the preview image and extracts multiple sons in the preview image for identification
Preview image.
Sub- preview image judging submodule, for judging in the multiple sub- preview image whether to include the mesh for characterizing scene
Mark sub- preview image.
The current scene acquisition submodule is also used to when the target in the multiple sub- preview image including characterization scene
When sub- preview image, the current scene where the electronic equipment is obtained based on the sub- preview image of the target.Further, institute
Stating current scene acquisition submodule includes: location information acquiring unit, scene determination unit and scene acquiring unit, in which:
Location information acquiring unit, for obtaining the current location information where the electronic equipment.
Scene determination unit, for determining the corresponding scene of the current location information based on the current location information.
Scene acquiring unit, for when the corresponding scene of the current location information and the sub- preview image characterization of the target
Scene it is consistent when, where obtaining the electronic equipment based on the sub- preview image of the target and/or the current location information
Current scene.
Module 230 is adjusted, is being in the Video chat mould for adjusting the electronic equipment based on the current scene
Output audio during formula.Further, the electronic equipment is provided with a plurality of voice-frequency channel, a plurality of voice-frequency channel
In every voice-frequency channel correspond to different audio effect processing algorithms, the adjustment module 230 includes: selection submodule and transmission
Submodule, in which:
Submodule is selected, for selecting at least one audio logical from a plurality of voice-frequency channel based on the current scene
Road is as target audio access.Further, the selection submodule comprises determining that unit, in which:
Determination unit, it is described pre- for determining the corresponding present video access of the current scene according to preset relation table
If in relation table including the corresponding relationship between scene and voice-frequency channel.
The determination unit is also used to the present video access being determined as the target audio access.
Submodule is transmitted, for being in the Video chat by electronic equipment described in the target audio tunnel
Output audio during mode.
Further, the current scene is the first current scene or the second current scene, wherein the first current scene
Ambient sound is higher than the ambient sound of the second current scene, the adjustment module 230 further include: and it promotes submodule and reduces submodule,
Wherein:
Submodule is promoted, for the electronic equipment being promoted and being existed when the current scene is first current scene
Output audio during the Video chat mode.
Submodule is reduced, for the electronic equipment being reduced and being existed when the current scene is second current scene
Output audio during the Video chat mode.
It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description device and
The specific work process of module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, the mutual coupling of module can be electrical property, mechanical or other
The coupling of form.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application
It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.
Sound-effect regulating device provided by the embodiments of the present application includes obtaining module, identification module and adjustment module, wherein
It obtains module to be used for during the electronic equipment is in Video chat mode, obtains the electronic equipment acquisition in real time
Preview image, the identification module preview image for identification, and where obtaining the electronic equipment based on the result after identification
Current scene, adjustment module, which is used to adjust the electronic equipment based on the current scene, is being in the Video chat mode
During output audio, thus according to where electronic equipment current scene adjustment electronic equipment be in Video chat mould
Output audio during formula realizes the output audio of the configuration electronic equipment of automatic quick, promotes the effect of output audio
And user experience.
Referring to Fig. 7, it illustrates the structural block diagrams of a kind of electronic equipment 100 provided by the embodiments of the present application.The electronics
Equipment 100, which can be smart phone, tablet computer, e-book etc., can run the electronic equipment of application program.In the application
Electronic equipment 100 may include one or more such as lower component: processor 110, memory 120 and one or more application journey
Sequence, wherein one or more application programs can be stored in memory 120 and be configured as by one or more processors
110 execute, and one or more programs are configured to carry out the method as described in preceding method embodiment.
Processor 110 may include one or more processing core.Processor 110 is whole using various interfaces and connection
Various pieces in a electronic equipment 100, by run or execute the instruction being stored in memory 120, program, code set or
Instruction set, and the data being stored in memory 120 are called, execute the various functions and processing data of electronic equipment 100.It can
Selection of land, processor 110 can use Digital Signal Processing (Digital Signal Processing, DSP), field-programmable
Gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable
LogicArray, PLA) at least one of example, in hardware realize.Processor 110 can integrating central processor (Central
Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc.
One or more of combinations.Wherein, the main processing operation system of CPU, user interface and application program etc.;GPU is for being responsible for
Show the rendering and drafting of content;Modem is for handling wireless communication.It is understood that above-mentioned modem
It can not be integrated into processor 110, be realized separately through one piece of communication chip.
Memory 120 may include random access memory (Random Access Memory, RAM), also may include read-only
Memory (Read-Only Memory).Memory 120 can be used for store instruction, program, code, code set or instruction set.It deposits
Reservoir 120 may include storing program area and storage data area, wherein the finger that storing program area can store for realizing operating system
Enable, for realizing at least one function instruction (such as touch function, sound-playing function, image player function etc.), be used for
Realize the instruction etc. of following each embodiments of the method.Storage data area can also store the number that terminal 100 is created in use
According to (such as phone directory, audio, video data, chat record data) etc..
Referring to Fig. 8, it illustrates a kind of structural block diagrams of computer readable storage medium provided by the embodiments of the present application.
Program code is stored in the computer-readable medium 300, said program code can be called by processor and execute above method reality
Apply method described in example.
Computer readable storage medium 300 can be such as flash memory, EEPROM (electrically erasable programmable read-only memory),
The electronic memory of EPROM, hard disk or ROM etc.Optionally, computer readable storage medium 300 includes non-volatile meter
Calculation machine readable medium (non-transitory computer-readable storage medium).Computer-readable storage
Medium 300 has the memory space for the program code 310 for executing any method and step in the above method.These program codes can
With from reading or be written in one or more computer program product in this one or more computer program product.
Program code 310 can for example be compressed in a suitable form.
In conclusion audio method of adjustment, device, electronic equipment and storage medium provided by the embodiments of the present application,
During electronic equipment is in Video chat mode, the preview image of electronic equipment acquisition is obtained in real time, identifies the preview graph
Picture, and based on the current scene where the result acquisition electronic equipment after identification, existed based on current scene adjustment electronic equipment
Output audio during Video chat mode, to adjust electronic equipment according to the current scene where electronic equipment
Output audio during being in Video chat mode is realized the output audio of the configuration electronic equipment of automatic quick, is mentioned
Rise the effect and user experience of output audio.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although
The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding: it still can be with
It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And
These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and
Range.
Claims (11)
1. a kind of audio method of adjustment, which is characterized in that be applied to electronic equipment, which comprises
During the electronic equipment is in Video chat mode, the preview graph of the electronic equipment acquisition is obtained in real time
Picture;
It identifies the preview image, and obtains the current scene where the electronic equipment based on the result after identification;
Output audio of electronic equipment during in the Video chat mode is adjusted based on the current scene.
2. described the method according to claim 1, wherein the electronic equipment is provided with a plurality of voice-frequency channel
Every voice-frequency channel in a plurality of voice-frequency channel corresponds to different audio effect processing algorithms, described to be adjusted based on the current scene
Output audio of electronic equipment during being in the Video chat mode, comprising:
Select at least one voice-frequency channel as target audio access from a plurality of voice-frequency channel based on the current scene;
Pass through output of the electronic equipment described in target audio tunnel during being in the Video chat mode
Audio.
3. according to the method described in claim 2, it is characterized in that, described logical from a plurality of audio based on the current scene
Select at least one voice-frequency channel as target audio access in road, comprising:
The corresponding present video access of the current scene is determined according to preset relation table, includes scene in the preset relation table
Corresponding relationship between voice-frequency channel;
The present video access is determined as the target audio access.
4. the method according to claim 1, wherein the method also includes:
During the electronic equipment is in Video chat mode, the voice letter for inputting the electronic equipment is obtained in real time
Breath;
It identifies the voice messaging, and judges whether the voice messaging includes the voice content for characterizing scene;
When the voice messaging includes characterizing the voice content of scene, based on the result after the voice content and the identification
Obtain the current scene where the electronic equipment.
5. the method according to claim 1, wherein the identification preview image, and based on identification after
As a result the current scene where the electronic equipment is obtained, comprising:
It identifies the preview image and extracts multiple sub- preview images in the preview image;
Judge in the multiple sub- preview image whether to include the sub- preview image of target for characterizing scene;
When the sub- preview image of the target in the multiple sub- preview image including characterization scene, it is based on the sub- preview graph of the target
Current scene as where obtaining the electronic equipment.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
Obtain the current location information where the electronic equipment;
The corresponding scene of the current location information is determined based on the current location information;
When the corresponding scene of the current location information is consistent with the scene of the sub- preview image characterization of the target, based on described
The sub- preview image of target and/or the current location information obtain the current scene where the electronic equipment.
7. the method according to claim 1, wherein the current scene is that the first current scene or second are current
Scene, wherein the ambient sound of first current scene is higher than the ambient sound of second current scene, described to be worked as based on described
Preceding scene adjusts output audio of electronic equipment during in the Video chat mode, comprising:
When the current scene is first current scene, the electronic equipment is promoted in the Video chat mode
During output audio;
When the current scene is second current scene, the electronic equipment is reduced in the Video chat mode
During output audio.
8. method according to claim 1-7, which is characterized in that the current scene includes at least time-out, quotient
The combination of one or more of field, bookstore, subway, street.
9. a kind of sound-effect regulating device, which is characterized in that be applied to electronic equipment, described device includes:
Module is obtained, for obtaining the electronic equipment in real time during the electronic equipment is in Video chat mode
The preview image of acquisition;
Identification module, the preview image for identification, and working as where the electronic equipment, is obtained based on the result after identification
Preceding scene;
Module is adjusted, for adjusting the electronic equipment in the process for being in the Video chat mode based on the current scene
In output audio.
10. a kind of electronic equipment, which is characterized in that including memory and processor, the memory is couple to the processor,
The memory store instruction, the processor executes claim 1-8 such as and appoints when executed by the processor
Method described in one.
11. a kind of computer-readable storage medium, which is characterized in that be stored with journey in the computer-readable storage medium
Sequence code, said program code can be called by processor and execute the method according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811026574.0A CN109286772B (en) | 2018-09-04 | 2018-09-04 | Sound effect adjusting method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811026574.0A CN109286772B (en) | 2018-09-04 | 2018-09-04 | Sound effect adjusting method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109286772A true CN109286772A (en) | 2019-01-29 |
CN109286772B CN109286772B (en) | 2021-03-12 |
Family
ID=65183952
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811026574.0A Active CN109286772B (en) | 2018-09-04 | 2018-09-04 | Sound effect adjusting method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109286772B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110047487A (en) * | 2019-06-05 | 2019-07-23 | 广州小鹏汽车科技有限公司 | Awakening method, device, vehicle and the machine readable media of vehicle-mounted voice equipment |
CN113129917A (en) * | 2020-01-15 | 2021-07-16 | 荣耀终端有限公司 | Speech processing method based on scene recognition, and apparatus, medium, and system thereof |
CN113556604A (en) * | 2020-04-24 | 2021-10-26 | 深圳市万普拉斯科技有限公司 | Sound effect adjusting method and device, computer equipment and storage medium |
CN113573143A (en) * | 2021-07-21 | 2021-10-29 | 维沃移动通信有限公司 | Audio playing method and electronic equipment |
WO2023230782A1 (en) * | 2022-05-30 | 2023-12-07 | 北京小米移动软件有限公司 | Sound effect control method and apparatus, and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008199449A (en) * | 2007-02-15 | 2008-08-28 | Funai Electric Co Ltd | Television receiver |
CN101552010A (en) * | 2009-04-30 | 2009-10-07 | 华为技术有限公司 | Audio treating method and audio treating device |
CN202889458U (en) * | 2012-11-02 | 2013-04-17 | 姚西 | Automatic call volume regulation mobile phone based on environmental noise |
CN105244048A (en) * | 2015-09-25 | 2016-01-13 | 小米科技有限责任公司 | Audio play control method and apparatus |
CN106375590A (en) * | 2016-09-28 | 2017-02-01 | 珠海格力电器股份有限公司 | Volume adjustment method and device for smart terminal |
CN106464939A (en) * | 2016-07-28 | 2017-02-22 | 北京小米移动软件有限公司 | Method and device for playing sound effect |
CN107231471A (en) * | 2017-05-15 | 2017-10-03 | 努比亚技术有限公司 | In Call method of adjustment, mobile terminal and storage medium |
CN107395873A (en) * | 2017-06-30 | 2017-11-24 | 广东欧珀移动通信有限公司 | volume adjusting method, device, storage medium and terminal |
-
2018
- 2018-09-04 CN CN201811026574.0A patent/CN109286772B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008199449A (en) * | 2007-02-15 | 2008-08-28 | Funai Electric Co Ltd | Television receiver |
CN101552010A (en) * | 2009-04-30 | 2009-10-07 | 华为技术有限公司 | Audio treating method and audio treating device |
CN202889458U (en) * | 2012-11-02 | 2013-04-17 | 姚西 | Automatic call volume regulation mobile phone based on environmental noise |
CN105244048A (en) * | 2015-09-25 | 2016-01-13 | 小米科技有限责任公司 | Audio play control method and apparatus |
CN106464939A (en) * | 2016-07-28 | 2017-02-22 | 北京小米移动软件有限公司 | Method and device for playing sound effect |
CN106375590A (en) * | 2016-09-28 | 2017-02-01 | 珠海格力电器股份有限公司 | Volume adjustment method and device for smart terminal |
CN107231471A (en) * | 2017-05-15 | 2017-10-03 | 努比亚技术有限公司 | In Call method of adjustment, mobile terminal and storage medium |
CN107395873A (en) * | 2017-06-30 | 2017-11-24 | 广东欧珀移动通信有限公司 | volume adjusting method, device, storage medium and terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110047487A (en) * | 2019-06-05 | 2019-07-23 | 广州小鹏汽车科技有限公司 | Awakening method, device, vehicle and the machine readable media of vehicle-mounted voice equipment |
CN113129917A (en) * | 2020-01-15 | 2021-07-16 | 荣耀终端有限公司 | Speech processing method based on scene recognition, and apparatus, medium, and system thereof |
WO2021143599A1 (en) * | 2020-01-15 | 2021-07-22 | 荣耀终端有限公司 | Scene recognition-based speech processing method and apparatus, medium and system |
CN113556604A (en) * | 2020-04-24 | 2021-10-26 | 深圳市万普拉斯科技有限公司 | Sound effect adjusting method and device, computer equipment and storage medium |
CN113556604B (en) * | 2020-04-24 | 2023-07-18 | 深圳市万普拉斯科技有限公司 | Sound effect adjusting method, device, computer equipment and storage medium |
CN113573143A (en) * | 2021-07-21 | 2021-10-29 | 维沃移动通信有限公司 | Audio playing method and electronic equipment |
CN113573143B (en) * | 2021-07-21 | 2023-09-19 | 维沃移动通信有限公司 | Audio playing method and electronic equipment |
WO2023230782A1 (en) * | 2022-05-30 | 2023-12-07 | 北京小米移动软件有限公司 | Sound effect control method and apparatus, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109286772B (en) | 2021-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109286772A (en) | Audio method of adjustment, device, electronic equipment and storage medium | |
CN107799126B (en) | Voice endpoint detection method and device based on supervised machine learning | |
CN109040471B (en) | Emotion prompting method and device, mobile terminal and storage medium | |
CN109388367A (en) | Audio method of adjustment, device, electronic equipment and storage medium | |
US11527242B2 (en) | Lip-language identification method and apparatus, and augmented reality (AR) device and storage medium which identifies an object based on an azimuth angle associated with the AR field of view | |
CN110995933A (en) | Volume adjusting method and device of mobile terminal, mobile terminal and storage medium | |
CN109284080B (en) | Sound effect adjusting method and device, electronic equipment and storage medium | |
CN112053683A (en) | Voice instruction processing method, device and control system | |
KR20100062207A (en) | Method and apparatus for providing animation effect on video telephony call | |
CN102760077A (en) | Method and device for self-adaptive application scene mode on basis of human face recognition | |
CN106375590A (en) | Volume adjustment method and device for smart terminal | |
WO2022199500A1 (en) | Model training method, scene recognition method, and related device | |
CN107316635B (en) | Voice recognition method and device, storage medium and electronic equipment | |
JP2015517709A (en) | A system for adaptive distribution of context-based media | |
CN109240641A (en) | Audio method of adjustment, device, electronic equipment and storage medium | |
JP6713057B2 (en) | Mobile body control device and mobile body control program | |
CN105474212A (en) | Method and apparatus for classifying data items based on sound tags | |
CN109151789A (en) | Interpretation method, device, system and bluetooth headset | |
CN109819288A (en) | Determination method, apparatus, electronic equipment and the storage medium of advertisement dispensing video | |
CN109391842B (en) | Dubbing method and mobile terminal | |
CN109739464A (en) | Setting method, device, terminal and the storage medium of audio | |
CN108898591A (en) | Methods of marking and device, electronic equipment, the readable storage medium storing program for executing of picture quality | |
CN107968890A (en) | theme setting method, device, terminal device and storage medium | |
CN113301372A (en) | Live broadcast method, device, terminal and storage medium | |
CN107632992B (en) | Method and device for matching relatives based on voice recognition |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |