CN111899733A - Method and device for determining volume - Google Patents
Method and device for determining volume Download PDFInfo
- Publication number
- CN111899733A CN111899733A CN202010633327.8A CN202010633327A CN111899733A CN 111899733 A CN111899733 A CN 111899733A CN 202010633327 A CN202010633327 A CN 202010633327A CN 111899733 A CN111899733 A CN 111899733A
- Authority
- CN
- China
- Prior art keywords
- volume
- determining
- noise ratio
- signal
- voice command
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000004044 response Effects 0.000 claims abstract description 27
- 238000010586 diagram Methods 0.000 description 16
- 238000004590 computer program Methods 0.000 description 7
- 230000009286 beneficial effect Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000011435 rock Substances 0.000 description 1
Images
Classifications
-
- 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
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
-
- 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/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0316—Speech enhancement, e.g. noise reduction or echo cancellation by changing the amplitude
- G10L21/0324—Details of processing therefor
- G10L21/034—Automatic adjustment
-
- 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
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Acoustics & Sound (AREA)
- Computational Linguistics (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The invention discloses a method and a device for determining volume, which are used for realizing more automatic and intelligent adjustment of the volume of output audio. The method comprises the following steps: receiving an input voice command; acquiring the signal-to-noise ratio of the current environment under the triggering of the voice command; determining the volume of the output audio according to the signal-to-noise ratio; and outputting response audio aiming at the voice command according to the volume.
Description
Technical Field
The present invention relates to the field of computer and communication technologies, and in particular, to a method and an apparatus for determining a volume.
Background
Many devices in life have the function of playing audio, such as playing music, answering with voice, talking, etc. Currently, a user may adjust the volume of audio played by a device by touching the device or by remote control. However, with the solution of intelligent technology, the volume adjustment method is not intelligent enough, and still requires the user to participate.
Disclosure of Invention
The invention provides a method and a device for determining volume, which are used for realizing more automatic and intelligent adjustment of the volume of output audio.
The invention provides a method for determining volume, which comprises the following steps:
receiving an input voice command;
acquiring the signal-to-noise ratio of the current environment under the triggering of the voice command;
determining the volume of the output audio according to the signal-to-noise ratio;
and outputting response audio aiming at the voice command according to the volume.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects: according to the embodiment, the volume of the output audio is automatically adjusted according to the signal-to-noise ratio of the environmental sound, so that the volume of the output audio is more in line with the requirements of users, and the manual operation of the users is reduced.
Optionally, the method further comprises at least one of:
obtaining the sound intensity of the voice command;
determining the distance from the sound source of the voice command to the local;
the determining the volume of the output audio according to the signal-to-noise ratio comprises:
and determining the volume of the output audio according to the signal-to-noise ratio and the sound intensity and/or the distance.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects: the present embodiment also combines the sound intensity of the input audio and the distance of the sound source to determine the volume of the output audio. The volume of the output audio is more in accordance with the requirements of the user, and manual operation of the user is reduced.
Optionally, the determining the volume of the output audio according to the signal-to-noise ratio and the sound intensity and/or the distance includes:
according to preset corresponding weights, carrying out weighted summation on the signal-to-noise ratio, the sound intensity and the distance;
and determining the volume of the output audio according to the summation result.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects: the embodiment provides a weighted summation mode which effectively combines the signal-to-noise ratio, the sound intensity and the distance.
Optionally, after outputting the response audio for the voice command, the method further includes:
receiving a user adjusting command for the volume;
and updating the weights corresponding to the signal-to-noise ratio, the sound intensity and the distance respectively according to the volume indicated by the adjusting command.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects: the present embodiment updates the weight according to the volume adjustment operation of the user, and the weight thus obtained contributes to the next better determination of the volume of the output audio
Optionally, the method further includes:
determining an audio type of the response audio;
the determining the volume of the output audio according to the signal-to-noise ratio comprises:
and determining the volume of the output audio according to the signal-to-noise ratio and the audio type.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects: the embodiment can also be combined with the audio type to more accurately determine the volume of the output audio, and better meet the requirements of users.
Optionally, the method further includes:
determining identity information of a user inputting a voice command;
the determining the volume of the output audio according to the signal-to-noise ratio comprises:
and determining the volume of the output audio according to the signal-to-noise ratio and the identity information.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects: the embodiment can also be combined with the identity information to more accurately determine the volume of the output audio, and better meets the personalized requirements of users.
The invention provides a device for determining volume, comprising:
the first receiving module is used for receiving an input voice command;
the signal-to-noise ratio module is used for acquiring the signal-to-noise ratio of the current environment under the triggering of the voice command;
the volume module is used for determining the volume of the output audio according to the signal-to-noise ratio;
and the output module is used for outputting response audio aiming at the voice command according to the volume.
Optionally, the apparatus further comprises at least one of:
the sound intensity module is used for obtaining the sound intensity of the voice command;
the distance module is used for determining the distance from the sound source of the voice command to the local;
the volume module includes:
and the first volume submodule is used for determining the volume of the output audio according to the signal-to-noise ratio and the sound intensity and/or the distance.
Optionally, the volume submodule performs weighted summation on the signal-to-noise ratio, the sound intensity and the distance according to preset corresponding weights; and determining the volume of the output audio according to the summation result.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving a volume adjusting command of a user;
and the weight module is used for updating the weights corresponding to the signal-to-noise ratio, the sound intensity and the distance respectively according to the volume indicated by the adjusting command.
Optionally, the apparatus further comprises:
a type module for determining an audio type of the response audio;
the volume module includes:
and the second volume submodule is used for determining the volume of the output audio according to the signal-to-noise ratio and the audio type.
Optionally, the apparatus further comprises:
the identity module is used for determining identity information of a user inputting the voice command;
the volume module includes:
and the third sound quantum module is used for determining the volume of the output audio according to the signal-to-noise ratio and the identity information.
The invention provides a device for determining volume, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving an input voice command;
acquiring the signal-to-noise ratio of the current environment under the triggering of the voice command;
determining the volume of the output audio according to the signal-to-noise ratio;
and outputting response audio aiming at the voice command according to the volume.
The present invention provides a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of a method of determining volume in an embodiment of the present invention;
FIG. 2 is a flow chart of a method of determining volume in an embodiment of the present invention;
FIG. 3 is a flow chart of a method of determining volume in an embodiment of the present invention;
FIG. 4 is a block diagram of an apparatus for determining volume in an embodiment of the present invention;
FIG. 5 is a block diagram of an apparatus for determining volume in an embodiment of the present invention;
FIG. 6 is a block diagram of a volume module in an embodiment of the present invention;
FIG. 7 is a block diagram of an apparatus for determining volume in an embodiment of the present invention;
fig. 8 is a diagram showing the structure of an apparatus for determining volume in the embodiment of the present invention;
FIG. 9 is a block diagram of a volume module in an embodiment of the present invention;
fig. 10 is a block diagram of an apparatus for determining volume in an embodiment of the present invention;
fig. 11 is a structural diagram of a volume module in an embodiment of the invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
In the related art, a user may adjust the volume of the audio played by the device by touching the device or by remote control. However, with the solution of intelligent technology, the volume adjustment method is not intelligent enough, and still requires the user to participate.
In order to solve the above problems, the present embodiment automatically determines the volume according to the signal-to-noise ratio of the environmental sound, and the volume better meets the requirements of the user, thereby reducing the manual operations of the user.
Referring to fig. 1, the method for determining the volume in the present embodiment includes:
step 101: an input voice command is received.
Step 102: and acquiring the signal-to-noise ratio of the current environment under the triggering of the voice command.
Step 103: and determining the volume of the output audio according to the signal-to-noise ratio.
Step 104: and outputting response audio aiming at the voice command according to the volume.
The execution subject of the embodiment may be an intelligent device such as an intelligent sound box, which can play audio and execute voice commands. When receiving a voice command input by a user, the intelligent device acquires the sound of the current surrounding environment, and further determines the signal-to-noise ratio of the environment sound. Whether the surrounding environment is a noisy environment or a quiet environment can be known from the signal-to-noise ratio. The volume of the output audio is determined according to the situation of the surrounding environment, and the response audio with the corresponding volume is output according to the volume. The response audio with the volume is more suitable for the current surrounding environment, so that the user has better listening effect. For example, the signal-to-noise ratio is high and the surrounding environment is quiet, and a lower volume of response audio may be output. And vice versa.
The response audio in this embodiment may be response voice to the voice command, or music played after the voice command is executed.
Optionally, the method further comprises at least one of: step a1 and step a 2.
Step A1: and obtaining the sound intensity of the voice command.
Step A2: determining a distance from a sound source of the voice command to a local.
The step 103 comprises: step a 3.
Step A3: and determining the volume of the output audio according to the signal-to-noise ratio and the sound intensity and/or the distance.
The embodiment can jointly determine the volume of the output audio according to the signal-to-noise ratio and the sound intensity of the voice command. Or, according to the signal-to-noise ratio and the distance of the sound source, the volume of the output audio is determined together. Or, the volume of the output audio is determined according to the signal-to-noise ratio, the sound intensity of the voice command and the sound source distance. The volume determined in this way is more suitable for the current environment of the user and more suitable for the requirements of the user. That is, the volume determined in this manner is more accurate.
In this embodiment, the correspondence between the volume and the multiple combination conditions configured with the signal-to-noise ratio, the sound intensity of the voice command, and the sound source distance is preset, and the corresponding volume can be determined according to the correspondence.
Wherein the sound source distance can be determined with a microphone array.
Optionally, the step a3 includes: step a31 and step a 32.
Step A31: and carrying out weighted summation on the signal-to-noise ratio, the sound intensity and the distance according to preset corresponding weights.
Step A32: and determining the volume of the output audio according to the summation result.
In this embodiment, the weights may be preset to be configured for the signal-to-noise ratio, the sound intensity, and the distance, respectively. And then carrying out weighted summation on the signal-to-noise ratio, the sound intensity and the distance so as to determine the corresponding volume. And presetting the corresponding relation between the summation result and the volume. For example, the summation result may be divided into a plurality of ranges, each range corresponding to a volume value. A plurality of sound factors can be effectively combined together in a weighted summation mode to jointly determine a proper volume.
Optionally, after outputting the response audio for the voice command, the method further includes: step B1 and step B2.
Step B1: and receiving a user adjusting command of the volume.
Step B2: and updating the weights corresponding to the signal-to-noise ratio, the sound intensity and the distance respectively according to the volume indicated by the adjusting command.
In this embodiment, the volume determined by the foregoing method may still be unsatisfactory to the user, and the user may further adjust the volume according to the user's own needs, that is, receive a user's command to adjust the volume. Each weight is updated through the volume reached after the adjustment command is executed, so that the volume which meets the requirements of the user better can be determined when the summation is calculated according to the weights next time.
Optionally, the method further includes: step C1.
Step C1: an audio type of the response audio is determined.
The step 103 comprises: step C2.
Step C2: and determining the volume of the output audio according to the signal-to-noise ratio and the audio type.
In this embodiment, when a voice command is executed, the response audio may be determined, and further, the audio type may be determined. The audio type may be speech, music (including music styles such as rock, light music, etc.), story-like audio books, etc. By combining the audio type and the signal-to-noise ratio, a more appropriate volume can be determined, so that the user has better listening effect.
In this embodiment, the audio type may be combined with the sound intensity and the sound source distance of the voice command to determine the corresponding volume.
And the weights of the signal-to-noise ratio, the sound intensity and the distance corresponding to each audio type can be configured. When the weight is updated, the weight corresponding to the audio type of the currently played response audio may be updated.
Optionally, the method further includes: step D1.
Step D1: identity information of a user inputting a voice command is determined.
The step 103 comprises: step D2.
Step D2: and determining the volume of the output audio according to the signal-to-noise ratio and the identity information.
In this embodiment, the identity information of the user may be determined through voiceprint analysis of the voice command. Or the user is photographed by surrounding cameras, and the identity information of the user is determined by utilizing technologies such as face recognition and the like. Other identification technologies are also available and are all suitable for the embodiment.
In this embodiment, the identity information includes age, gender, occupation, and the like, and may also be a specific person (such as a name).
The embodiment can determine the volume corresponding to the identity information, and better meets the personalized requirements of the user.
In this embodiment, the identity information may be combined with the signal-to-noise ratio, and may also be combined with the sound intensity and the sound source distance of the voice command, that is, the user may be combined with the surrounding environment where the user is located, and it may be determined that the personalized requirements of the user are met, and the volume of the current surrounding environment is met.
And the weights of the signal-to-noise ratio, the sound intensity and the distance corresponding to each identity information can be configured. When the weight is updated, the weight corresponding to the current identity information can be updated.
The identity information may also be combined with the audio type, corresponding to the respective weights together.
The implementation is described in detail below by way of several embodiments.
Referring to fig. 2, the method for determining the volume in the present embodiment includes:
step 201: an input voice command is received.
Step 202: and acquiring the signal-to-noise ratio of the current environment under the triggering of the voice command.
Step 203: and obtaining the sound intensity of the voice command.
Step 204: determining a distance from a sound source of the voice command to a local.
Step 205: an audio type of responsive audio for the voice command is determined.
Step 206: identity information of a user inputting a voice command is determined.
The steps 202 to 206 are independent from each other, and the execution sequence can be adjusted or performed synchronously.
Step 207: and determining the volume of the output audio according to the audio type, the identity information, the signal-to-noise ratio and the sound intensity and/or the distance.
Step 208: and outputting response audio aiming at the voice command according to the volume.
Referring to fig. 3, the method for determining the volume in the present embodiment includes:
step 301: an input voice command is received.
Step 302: and acquiring the signal-to-noise ratio of the current environment under the triggering of the voice command.
Step 303: and obtaining the sound intensity of the voice command.
Step 304: determining a distance from a sound source of the voice command to a local.
The steps 302 to 304 are independent from each other, and the execution sequence can be adjusted or performed synchronously.
Step 305: and carrying out weighted summation on the signal-to-noise ratio, the sound intensity and the distance according to preset corresponding weights.
Step 306: and determining the volume of the output audio according to the summation result.
Step 307: and outputting response audio aiming at the voice command according to the volume.
Step 308: and receiving a user adjusting command of the volume.
Step 309: and updating the weights corresponding to the signal-to-noise ratio, the sound intensity and the distance respectively according to the volume indicated by the adjusting command.
The above embodiments can be freely combined according to actual needs.
The implementation of determining the volume is described above and may be implemented by a device, the internal structure and function of which are described below.
Referring to fig. 4, the apparatus for determining a volume in the present embodiment includes: a first receiving module 401, a signal-to-noise ratio module 402, a volume module 403, and an output module 404.
A first receiving module 401, configured to receive an input voice command.
A signal-to-noise ratio module 402, configured to obtain a signal-to-noise ratio of the current environment under the trigger of the voice command.
And a volume module 403, configured to determine a volume of the output audio according to the signal-to-noise ratio.
An output module 404, configured to output a response audio for the voice command according to the volume.
Optionally, as shown in fig. 5, the apparatus further includes at least one of the following: a sound intensity module 501 and a distance module 502.
A sound intensity module 501, configured to obtain the sound intensity of the voice command.
A distance module 502, configured to determine a distance from a sound source of the voice command to a local.
As shown in fig. 6, the volume module 403 includes: a first volume sub-module 601.
The first volume submodule 601 is configured to determine a volume of an output audio according to the signal-to-noise ratio and according to the sound intensity and/or the distance.
Optionally, the volume submodule performs weighted summation on the signal-to-noise ratio, the sound intensity and the distance according to preset corresponding weights; and determining the volume of the output audio according to the summation result.
Optionally, as shown in fig. 7, the apparatus further includes: a second receiving module 701 and a weighting module 702.
A second receiving module 701, configured to receive a command for adjusting the volume from the user.
A weight module 702, configured to update weights corresponding to the signal-to-noise ratio, the sound intensity, and the distance according to the volume indicated by the adjustment command.
Optionally, as shown in fig. 8, the apparatus further includes: a type module 801.
A type module 801, configured to determine an audio type of the response audio.
As shown in fig. 9, the volume module 403 includes: a second volume sub-module 901.
And a second volume submodule 901, configured to determine a volume of an output audio according to the signal-to-noise ratio and the audio type.
Optionally, as shown in fig. 10, the apparatus further includes: an identity module 1001.
An identity module 1001 for determining identity information of a user inputting a voice command;
as shown in fig. 11, the volume module 403 includes: a third quantum module 1101.
And a third sound quantum module 1101, configured to determine a volume of an output audio according to the signal-to-noise ratio and the identity information.
Optionally, an apparatus for determining a volume includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving an input voice command;
acquiring the signal-to-noise ratio of the current environment under the triggering of the voice command;
determining the volume of the output audio according to the signal-to-noise ratio;
and outputting response audio aiming at the voice command according to the volume.
Optionally, a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the above-described method.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (14)
1. A method of determining volume, comprising:
receiving an input voice command;
acquiring the signal-to-noise ratio of the current environment under the triggering of the voice command;
determining the volume of the output audio according to the signal-to-noise ratio;
and outputting response audio aiming at the voice command according to the volume.
2. The method of claim 1, wherein the method further comprises at least one of:
obtaining the sound intensity of the voice command;
determining the distance from the sound source of the voice command to the local;
the determining the volume of the output audio according to the signal-to-noise ratio comprises:
and determining the volume of the output audio according to the signal-to-noise ratio and the sound intensity and/or the distance.
3. The method of claim 2, wherein determining a volume of output audio based on the signal-to-noise ratio and based on the sound intensity and/or the distance comprises:
according to preset corresponding weights, carrying out weighted summation on the signal-to-noise ratio, the sound intensity and the distance;
and determining the volume of the output audio according to the summation result.
4. The method of claim 3, wherein after outputting the responsive audio for the voice command, the method further comprises:
receiving a user adjusting command for the volume;
and updating the weights corresponding to the signal-to-noise ratio, the sound intensity and the distance respectively according to the volume indicated by the adjusting command.
5. The method of claim 1, wherein the method further comprises:
determining an audio type of the response audio;
the determining the volume of the output audio according to the signal-to-noise ratio comprises:
and determining the volume of the output audio according to the signal-to-noise ratio and the audio type.
6. The method of claim 1, wherein the method further comprises:
determining identity information of a user inputting a voice command;
the determining the volume of the output audio according to the signal-to-noise ratio comprises:
and determining the volume of the output audio according to the signal-to-noise ratio and the identity information.
7. An apparatus for determining volume, comprising:
the first receiving module is used for receiving an input voice command;
the signal-to-noise ratio module is used for acquiring the signal-to-noise ratio of the current environment under the triggering of the voice command;
the volume module is used for determining the volume of the output audio according to the signal-to-noise ratio;
and the output module is used for outputting response audio aiming at the voice command according to the volume.
8. The apparatus of claim 7, wherein the apparatus further comprises at least one of:
the sound intensity module is used for obtaining the sound intensity of the voice command;
the distance module is used for determining the distance from the sound source of the voice command to the local;
the volume module includes:
and the first volume submodule is used for determining the volume of the output audio according to the signal-to-noise ratio and the sound intensity and/or the distance.
9. The apparatus of claim 8, wherein the volume submodule performs a weighted summation of the signal-to-noise ratio, the sound intensity and the distance according to preset respective weights; and determining the volume of the output audio according to the summation result.
10. The apparatus of claim 9, wherein the apparatus further comprises:
the second receiving module is used for receiving a volume adjusting command of a user;
and the weight module is used for updating the weights corresponding to the signal-to-noise ratio, the sound intensity and the distance respectively according to the volume indicated by the adjusting command.
11. The apparatus of claim 7, wherein the apparatus further comprises:
a type module for determining an audio type of the response audio;
the volume module includes:
and the second volume submodule is used for determining the volume of the output audio according to the signal-to-noise ratio and the audio type.
12. The apparatus of claim 7, wherein the apparatus further comprises:
the identity module is used for determining identity information of a user inputting the voice command;
the volume module includes:
and the third sound quantum module is used for determining the volume of the output audio according to the signal-to-noise ratio and the identity information.
13. An apparatus for determining volume, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving an input voice command;
acquiring the signal-to-noise ratio of the current environment under the triggering of the voice command;
determining the volume of the output audio according to the signal-to-noise ratio;
and outputting response audio aiming at the voice command according to the volume.
14. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, implement the steps of the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010633327.8A CN111899733A (en) | 2020-07-02 | 2020-07-02 | Method and device for determining volume |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010633327.8A CN111899733A (en) | 2020-07-02 | 2020-07-02 | Method and device for determining volume |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111899733A true CN111899733A (en) | 2020-11-06 |
Family
ID=73191467
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010633327.8A Pending CN111899733A (en) | 2020-07-02 | 2020-07-02 | Method and device for determining volume |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111899733A (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436821A (en) * | 2011-12-02 | 2012-05-02 | 海能达通信股份有限公司 | Method for adaptively adjusting sound effect and equipment thereof |
JP2012217083A (en) * | 2011-04-01 | 2012-11-08 | Nec Casio Mobile Communications Ltd | Volume control apparatus and volume control method |
CN106648527A (en) * | 2016-11-08 | 2017-05-10 | 乐视控股(北京)有限公司 | Volume control method, device and playing equipment |
CN107256139A (en) * | 2017-05-08 | 2017-10-17 | 深圳市科迈爱康科技有限公司 | Method of adjustment, terminal and the computer-readable recording medium of audio volume |
CN108650588A (en) * | 2018-07-24 | 2018-10-12 | 珠海格力电器股份有限公司 | Volume adjustment device, storage medium, and electronic device |
CN108681440A (en) * | 2018-04-03 | 2018-10-19 | 百度在线网络技术(北京)有限公司 | A kind of smart machine method for controlling volume and system |
CN109192193A (en) * | 2018-08-14 | 2019-01-11 | 四川虹美智能科技有限公司 | A kind of speech recognition product test method and test device |
CN109389978A (en) * | 2018-11-05 | 2019-02-26 | 珠海格力电器股份有限公司 | Voice recognition method and device |
US20200034108A1 (en) * | 2018-07-25 | 2020-01-30 | Sensory, Incorporated | Dynamic Volume Adjustment For Virtual Assistants |
CN110806849A (en) * | 2019-10-30 | 2020-02-18 | 歌尔科技有限公司 | Intelligent device, volume adjusting method thereof and computer-readable storage medium |
CN110827863A (en) * | 2019-11-08 | 2020-02-21 | 西安闻泰电子科技有限公司 | Method, device and terminal for intelligently adjusting volume and readable storage medium |
CN111128192A (en) * | 2019-12-31 | 2020-05-08 | 深圳市优必选科技股份有限公司 | Voice recognition noise reduction method, system, mobile terminal and storage medium |
-
2020
- 2020-07-02 CN CN202010633327.8A patent/CN111899733A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012217083A (en) * | 2011-04-01 | 2012-11-08 | Nec Casio Mobile Communications Ltd | Volume control apparatus and volume control method |
CN102436821A (en) * | 2011-12-02 | 2012-05-02 | 海能达通信股份有限公司 | Method for adaptively adjusting sound effect and equipment thereof |
CN106648527A (en) * | 2016-11-08 | 2017-05-10 | 乐视控股(北京)有限公司 | Volume control method, device and playing equipment |
CN107256139A (en) * | 2017-05-08 | 2017-10-17 | 深圳市科迈爱康科技有限公司 | Method of adjustment, terminal and the computer-readable recording medium of audio volume |
CN108681440A (en) * | 2018-04-03 | 2018-10-19 | 百度在线网络技术(北京)有限公司 | A kind of smart machine method for controlling volume and system |
CN108650588A (en) * | 2018-07-24 | 2018-10-12 | 珠海格力电器股份有限公司 | Volume adjustment device, storage medium, and electronic device |
US20200034108A1 (en) * | 2018-07-25 | 2020-01-30 | Sensory, Incorporated | Dynamic Volume Adjustment For Virtual Assistants |
CN109192193A (en) * | 2018-08-14 | 2019-01-11 | 四川虹美智能科技有限公司 | A kind of speech recognition product test method and test device |
CN109389978A (en) * | 2018-11-05 | 2019-02-26 | 珠海格力电器股份有限公司 | Voice recognition method and device |
CN110806849A (en) * | 2019-10-30 | 2020-02-18 | 歌尔科技有限公司 | Intelligent device, volume adjusting method thereof and computer-readable storage medium |
CN110827863A (en) * | 2019-11-08 | 2020-02-21 | 西安闻泰电子科技有限公司 | Method, device and terminal for intelligently adjusting volume and readable storage medium |
CN111128192A (en) * | 2019-12-31 | 2020-05-08 | 深圳市优必选科技股份有限公司 | Voice recognition noise reduction method, system, mobile terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102433834B1 (en) | Method and apparatus for compressing a neural network model, method and apparatus for corpus translation, electronic apparatus, program and recording medium | |
US20200294523A1 (en) | System and Method for Network Bandwidth Management for Adjusting Audio Quality | |
CN107015781B (en) | Speech recognition method and system | |
US9344815B2 (en) | Method for augmenting hearing | |
CN107210039B (en) | Environmentally regulated speaker identification | |
US10453472B2 (en) | Parameter prediction device and parameter prediction method for acoustic signal processing | |
CN105074822B (en) | Device and method for audio classification and processing | |
US9984679B2 (en) | System and method for optimizing speech recognition and natural language parameters with user feedback | |
JP7171532B2 (en) | Apparatus and method for recognizing speech, apparatus and method for training speech recognition model | |
CN108335700B (en) | Voice adjusting method and device, voice interaction equipment and storage medium | |
JP6783339B2 (en) | Methods and devices for processing audio | |
CN104025192B (en) | Intelligent automated audio records leveller | |
CN109783047B (en) | Intelligent volume control method and device on terminal | |
US11710496B2 (en) | Adaptive diarization model and user interface | |
CN111182390A (en) | Volume data processing method and device, computer equipment and storage medium | |
CN111199730B (en) | Voice recognition method, device, terminal and storage medium | |
CN115039169A (en) | Voice instruction recognition method, electronic device and non-transitory computer readable storage medium | |
CN116132899B (en) | Remote verification and adjustment system of hearing aid | |
CN111899733A (en) | Method and device for determining volume | |
CN110472223A (en) | A kind of input configuration method, device and electronic equipment | |
CN111862949B (en) | Natural language processing method and device, electronic equipment and storage medium | |
US6934364B1 (en) | Handset identifier using support vector machines | |
KR20200017160A (en) | Device, method and computer program for recognizing voice | |
KR102689034B1 (en) | Adaptive separation model and user interface | |
US11917386B2 (en) | Estimating user location in a system including smart audio devices |
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 |