CN115052070A - Method and device for adjusting call volume, call equipment and medium - Google Patents
Method and device for adjusting call volume, call equipment and medium Download PDFInfo
- Publication number
- CN115052070A CN115052070A CN202210727059.5A CN202210727059A CN115052070A CN 115052070 A CN115052070 A CN 115052070A CN 202210727059 A CN202210727059 A CN 202210727059A CN 115052070 A CN115052070 A CN 115052070A
- Authority
- CN
- China
- Prior art keywords
- current
- user
- loudspeaker
- loudness
- current voice
- 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 75
- 230000006854 communication Effects 0.000 claims abstract description 34
- 238000004891 communication Methods 0.000 claims abstract description 24
- 230000008569 process Effects 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 12
- 238000001914 filtration Methods 0.000 claims description 6
- 230000007613 environmental effect Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000009467 reduction Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000008451 emotion Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Images
Classifications
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
Abstract
The application discloses a method and a device for adjusting call volume, call equipment and a medium, and relates to the technical field of communication. The method comprises the following steps: acquiring current voice information of a user and acquiring performance parameters of a current loudspeaker; acquiring current voice loudness according to current voice information of a user; determining the performance parameters of the loudspeaker corresponding to the current voice loudness according to the preset corresponding relation between the voice loudness of the user and the performance parameters of the loudspeaker; and under the condition that the performance parameter corresponding to the current voice loudness is different from the performance parameter of the current loudspeaker, adjusting the performance parameter of the current loudspeaker to the performance parameter of the loudspeaker corresponding to the current voice loudness so as to adjust the call volume. Therefore, the method adjusts the performance parameters of the loudspeaker according to the speaking loudness of the user, achieves the purpose of adjusting the loudspeaker playing volume, does not need to adjust the loudspeaker playing volume manually, facilitates the communication of the user in various scenes, and is particularly suitable for the smart watch.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for adjusting a call volume, a call device, and a medium.
Background
Along with the continuous development of call equipment, call equipment is purchased and used by more people, such as the equipment that can talk on such as cell-phone, intelligent bracelet. The conversation is to play out the speaker sound so that the user hears the content of the other party's speech. However, in the process of communication, the loudspeaker is played out, which causes a certain trouble to the user, for example, when the user communicates in a quiet office, the higher volume of the played-out sound easily affects the offices of other people. Most users have the use habit that the speaking sound is small and the external sound volume is small in a quiet environment, the speaking sound is large and the external sound volume is large in a noisy environment, and the speaking sound volume and the external sound volume basically keep a linear relation.
The common mode of adjusting the outgoing call volume of the call equipment in the current market is realized by touching a screen. When the user is inconvenient to adjust the volume of the outgoing call by hands, the user experience is greatly reduced.
Therefore, how to improve the user experience is an urgent problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a method, a device, a communication device and a medium for adjusting the communication volume, which are used for adjusting the performance parameters of a loudspeaker according to the speaking loudness of a user, so that the aim of adjusting the loudspeaker outgoing volume is achieved, and the experience of the user when the user uses the communication device is improved.
In order to solve the above technical problem, the present application provides a method for adjusting a call volume, including:
in the communication process, acquiring current voice information of a user and acquiring performance parameters of a current loudspeaker;
acquiring current voice loudness corresponding to the current voice information;
determining the performance parameters of the loudspeaker corresponding to the current voice loudness according to the preset corresponding relation between the voice loudness of the user and the performance parameters of the loudspeaker;
and under the condition that the performance parameter corresponding to the current voice loudness is different from the performance parameter of the speaker, adjusting the performance parameter of the speaker to the performance parameter of the speaker corresponding to the current voice loudness so as to adjust the call volume.
Preferably, the performance parameters of the loudspeaker comprise at least a scale of the loudspeaker, a gain of the loudspeaker; correspondingly, the method comprises the following steps:
in the communication process, acquiring the current voice information of the user and acquiring the scale and/or the gain of the current loudspeaker;
acquiring the current voice loudness corresponding to the current voice information;
determining the scale and/or the gain of the loudspeaker corresponding to the current voice loudness according to the preset corresponding relation between the voice loudness of the user and the scale and/or the gain of the loudspeaker;
and under the condition that the scale and/or the gain corresponding to the current voice loudness is not the same as the scale and/or the gain of the current loudspeaker, adjusting the scale and/or the gain of the current loudspeaker to be the scale and/or the gain of the current loudspeaker corresponding to the current voice loudness.
Preferably, in the call process, the acquiring the current voice information of the user includes:
collecting current sound information in the communication process; wherein the current voice information comprises current voice information of the user and current environmental noise;
and denoising and filtering the current voice information so as to acquire the current voice information of the user.
Preferably, before the collecting the current voice information in the call process, the method further includes:
inputting voiceprint information of the user;
correspondingly, after the denoising and filtering processing is performed on the sound so as to obtain the current speech information of the user, the method further includes:
comparing the current voice information of the user with the voiceprint information of the user;
if so, entering the step of obtaining the current voice loudness;
and if not, returning to the step of collecting the current voice information in the call process.
Preferably, the obtaining of the current speech loudness corresponding to the current speech information includes:
acquiring the average loudness of the current voice information of the user in a preset time period;
and taking the average loudness as the current voice loudness corresponding to the current voice information.
Preferably, the preset correspondence between the loudness of the user's voice and the scale and/or gain of the speaker includes:
the voice loudness of the user in each first preset range corresponds to the gain of one scale and/or a second preset range of the loudspeaker respectively.
Preferably, in the call process, the acquiring current voice information of the user and acquiring performance parameters of the current speaker includes:
and collecting the current voice information of the user and the current performance parameters of the loudspeaker from the beginning of connecting the user with the communication equipment.
In order to solve the above technical problem, the present application further provides a device for adjusting a call volume, including:
the acquisition module is used for acquiring the current voice information of a user and acquiring the performance parameters of the current loudspeaker in the call process;
the acquisition module is used for acquiring the current voice loudness corresponding to the current voice information;
the determining module is used for determining the performance parameters of the loudspeaker corresponding to the current voice loudness according to the preset corresponding relation between the voice loudness of the user and the performance parameters of the loudspeaker;
and the adjusting module is used for adjusting the current loudspeaker performance parameter to the performance parameter of the loudspeaker corresponding to the current voice loudness so as to adjust the call volume under the condition that the performance parameter corresponding to the current voice loudness is different from the performance parameter of the loudspeaker.
In order to solve the above technical problem, the present application further provides a communication device, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the method for adjusting the call volume when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method for adjusting the call volume described above.
The method for adjusting the call volume provided by the application comprises the following steps: in the communication process, acquiring current voice information of a user and acquiring performance parameters of a current loudspeaker; acquiring current voice loudness according to current voice information of a user; determining the performance parameters of the loudspeaker corresponding to the current voice loudness according to the preset corresponding relation between the voice loudness of the user and the performance parameters of the loudspeaker; and under the condition that the performance parameter corresponding to the current voice loudness is different from the performance parameter of the current loudspeaker, adjusting the performance parameter of the current loudspeaker to the performance parameter of the loudspeaker corresponding to the current voice loudness so as to adjust the call volume. Therefore, the performance parameters of the loudspeaker are adjusted according to the speaking loudness of the user, the loudspeaker playing volume is adjusted, the call playing volume does not need to be adjusted manually, the user can conveniently talk in various scenes, and the user experience is greatly improved.
In addition, the application also provides a device for adjusting the call volume, a call device and a computer readable storage medium, which have the same or corresponding technical characteristics and effects as the above mentioned method for adjusting the call volume.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a method for adjusting a call volume according to an embodiment of the present disclosure;
fig. 2 is a structural diagram of an apparatus for adjusting a call volume according to an embodiment of the present application;
fig. 3 is a structural diagram of a communication device according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a method, a device, a communication device and a medium for adjusting the communication volume, which are used for adjusting the performance parameters of a loudspeaker according to the speaking loudness of a user, so as to achieve the purpose of adjusting the loudspeaker outgoing volume and improve the experience of the user when the user uses the communication device.
When the call equipment is used for calling, the sound is played through an earphone of the call equipment or is radiated out through a loudspeaker, so that a user can hear the speaking content of the other party, for example, the sound of the loudspeaker is radiated out in the call of the smart watch, and the user can hear the speaking content of the other party. However, the call device may cause a certain trouble to the user in the process of playing out the sound. If a user makes a call in a quiet environment, the sound emitted from the call device may be too loud, which may affect the user and people around the user, and therefore, the call volume needs to be adjusted. In order to adjust the communication volume conveniently, the performance parameters of the loudspeaker are adjusted according to the speaking loudness of the user, so that the aim of adjusting the loudspeaker outgoing volume is fulfilled. It should be noted that, in the present application, the telephony device refers to a device having a telephony device function, such as a smart watch, a mobile phone, a computer, a stereo, an intelligent robot, and the like. The specific communication equipment used is not limited, and is determined according to the actual application scenario.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. Fig. 1 is a flowchart of a method for adjusting a call volume according to an embodiment of the present application, and as shown in fig. 1, the method includes:
s10: in the conversation process, the current voice information of the user is collected and the performance parameters of the current loudspeaker are obtained.
In the process of communication, the voice information of the user is collected firstly. The manner of collecting the voice information is not limited, as long as the voice information of the user can be collected, for example, the voice information of the user can be collected by a sound sensor. The frequency of the voice sensor for collecting the voice information of the user is not limited and is determined according to the actual situation. Because the adjustment of the call volume of the call device is realized through the voice loudness of the user, when the voice information of the user is collected, the performance parameters of the speaker need to be acquired correspondingly. In the present application, the performance parameter of the speaker represents the volume of the sound emitted from the speaker, and the index reflecting the performance parameter of the speaker may be the scale of the speaker, the gain of the speaker, and the like.
S11: and acquiring the current voice loudness corresponding to the current voice information.
The current voice information is collected in the steps, and the current voice loudness corresponding to the current voice information is obtained. The loudness describes the loudness of sound, and calculating the loudness is to calculate the speech energy, so that the current speech loudness corresponding to the current speech information is obtained, that is, the speech energy corresponding to the current speech information is calculated.
S12: and determining the performance parameters of the loudspeaker corresponding to the current voice loudness according to the preset corresponding relationship between the voice loudness of the user and the performance parameters of the loudspeaker.
In order to determine whether the performance parameters of the speaker need to be adjusted according to the current voice loudness, a reference standard, that is, a correspondence between the voice loudness of the user and the performance parameters of the speaker, needs to be preset. In the corresponding relationship, the loudness of the speech of the user may be a performance parameter of a speaker corresponding to a loudness value, or may be a performance parameter of a speaker corresponding to a loudness range, which is not limited herein. It should be noted that the correspondence between the voice loudness of the user and the performance parameters of the speaker, which is established in the present application, is established in a specific scene (such as a noisy environment, a quiet environment, etc.) according to the conversation habits of the user. In a noisy environment, a user is used to make a loud speaking sound, and the loud sound volume of a corresponding loudspeaker is also high, so that the speaking sound of an opposite party can be heard in the noisy environment, and the opposite party can also hear the sound of the user; in a quiet environment, a user is used to have small speaking voice and the corresponding loudspeaker has small loudspeaker external sound volume, so that the conversation in the quiet environment does not affect other people and the experience of using the conversation equipment by the user is improved. Therefore, in the correspondence between the voice loudness of the user and the performance parameters of the loudspeaker, which is pre-established in the application, the voice loudness of the user and the performance parameters of the loudspeaker are in a positive relationship. In practice, the speaking habits of the users may be different, so that the pre-established correspondence between the loudness of the speech of the user and the performance parameters of the speaker does not necessarily have a positive correlation. For the correspondence between the voice loudness of the user and the performance parameters of the speaker, which is established according to the conversation habits of the user, the specific correspondence is not limited, and is determined according to actual conditions, for example, the correspondence between the voice loudness and the performance parameters of the speaker can be set for different age groups and specific users, and it is assumed that the performance parameters of the speaker corresponding to 30db are 1, the performance parameters of the speaker corresponding to 60db are 2, and the performance parameters of the speaker corresponding to 90db are 3.
After the corresponding relation between the voice loudness of the user and the performance parameters of the loudspeaker is established in advance, whether the performance parameters of the loudspeaker need to be adjusted or not can be judged according to the current voice loudness. First, the current speech loudness is compared with the user speech loudness in the pre-established correspondence. When one voice loudness range corresponds to the performance parameter of one loudspeaker in the pre-established corresponding relation, firstly finding the loudness range where the current voice loudness is located, and then finding the performance parameter of the loudspeaker corresponding to the loudness range; when one voice loudness value in the pre-established corresponding relation corresponds to the performance parameter of one loudspeaker, the voice loudness is found, and then the performance parameter of the loudspeaker corresponding to the voice loudness is found.
S13: and under the condition that the performance parameter corresponding to the current voice loudness is different from the performance parameter of the current loudspeaker, adjusting the performance parameter of the current loudspeaker to the performance parameter of the loudspeaker corresponding to the current voice loudness so as to adjust the call volume.
In order to determine whether the performance parameters of the speaker need to be adjusted, comparing the performance parameters of the speaker corresponding to the current speech loudness obtained in the above embodiment with the performance parameters of the current speaker obtained in step S10, and when the performance parameters of the speaker corresponding to the current speech loudness are the same as the performance parameters of the current speaker, indicating that the performance parameters of the current speaker meet the requirements, and not needing to adjust the performance parameters of the current speaker; when the performance parameters of the loudspeaker corresponding to the current voice loudness are different from the performance parameters of the current loudspeaker, the performance parameters of the current loudspeaker cannot meet requirements, the performance parameters of the current loudspeaker need to be adjusted, the performance parameters of the loudspeaker corresponding to the current voice loudness are adjusted to meet the requirements of a user on the call volume, and the user experience is improved.
The method for adjusting the call volume provided by the embodiment comprises the following steps: in the communication process, acquiring current voice information of a user and acquiring performance parameters of a current loudspeaker; acquiring current voice loudness according to current voice information of a user; determining the performance parameters of the loudspeaker corresponding to the current voice loudness according to the preset corresponding relation between the voice loudness of the user and the performance parameters of the loudspeaker; and under the condition that the performance parameter corresponding to the current voice loudness is different from the performance parameter of the current loudspeaker, adjusting the performance parameter of the current loudspeaker to the performance parameter of the loudspeaker corresponding to the current voice loudness so as to adjust the call volume. Therefore, the performance parameters of the loudspeaker are adjusted according to the speaking loudness of the user, the loudspeaker playing volume is adjusted, the call playing volume does not need to be adjusted manually, the user can conveniently talk in various scenes, and the user experience is greatly improved.
In order to flexibly realize the adjustment of the volume of the loudspeaker, the performance parameters of the loudspeaker at least comprise the scale of the loudspeaker and the gain of the loudspeaker; correspondingly, the method comprises the following steps:
in the communication process, acquiring current voice information of a user and acquiring the scale and/or gain of a current loudspeaker;
acquiring current voice loudness corresponding to current voice information;
determining the scale and/or gain of the loudspeaker corresponding to the current voice loudness according to the preset corresponding relation between the voice loudness of the user and the scale and/or gain of the loudspeaker;
and under the condition that the scale and/or gain corresponding to the current voice loudness is different from the scale and/or gain of the current loudspeaker, adjusting the scale and/or gain of the current loudspeaker to the scale and/or gain of the loudspeaker corresponding to the current voice loudness.
The performance parameters of the loudspeaker comprise at least the scale of the loudspeaker and the gain of the loudspeaker. In the above embodiments, it is described in detail that the adjustment of the call volume is realized by adjusting the performance parameter of the speaker, and therefore, details of embodiments of adjusting the call volume according to the scale and the gain in the performance parameter of the speaker are not repeated herein. It should be noted that, in implementation, when it is determined that the scale or gain of the current speaker needs to be adjusted, if the scale of the current speaker cannot be adjusted or a user does not want to adjust the scale of the speaker corresponding to the current voice loudness, the call volume may be adjusted by adjusting the gain of the speaker; similarly, if the gain of the current speaker cannot be adjusted or the user does not want to adjust the gain of the speaker corresponding to the current voice loudness, the adjustment of the call volume can be realized by adjusting the scale of the speaker. If the scale of the current loudspeaker is 3 and the scale of the loudspeaker corresponding to the current voice loudness is 5, that is, the scale needs to be adjusted from 3 to 5, but the user cannot adjust the scale or does not want to adjust the scale, the gain can be adjusted to adjust the call volume. In this embodiment, only the performance parameters of the speaker are the scale and the gain of the speaker, and in implementation, other performance parameters of the speaker may be adjusted.
When the performance parameters such as the scale and/or the gain of the speaker can not be adjusted or a user does not want to adjust a certain performance parameter, the purpose of adjusting the call volume can still be achieved by adjusting other performance parameters, so that the call volume adjusting mode can be realized and is more flexible.
When collecting the current voice information of the user, under the influence of environmental noise and the like, the collected voice information may not only contain the current voice information of the user, but may also contain other voices, and in order to accurately collect the voice information of the user, in the process of a call, the preferred embodiment is that collecting the current voice information of the user includes:
collecting current sound information in the communication process; wherein the current sound information comprises current voice information of the user and current environmental noise;
and carrying out noise reduction and filtering processing on the current voice information so as to acquire the current voice information of the user.
Since there may be bird calls, sounds of surrounding people, sounds of machines, or the like in the environment where the user is located, the environment includes only the voice information of the user, and the sounds except the current voice information of the user are considered as noise of the current environment in the present embodiment. The collected voice information is processed through the noise reduction circuit and the filter circuit, and environmental noise is filtered, so that the collected voice information only contains the current voice information of the user as far as possible.
The embodiment of the invention reduces the noise of the collected current sound information and filters the collected current sound information, so that only the current voice information of the user is obtained as much as possible, and the call volume can be adjusted accurately according to the voice loudness of the user.
In order to be able to recognize the voice of the user more accurately, in the implementation, a preferred embodiment is that before collecting the current sound information in the call process, the method further includes:
inputting voiceprint information of a user;
correspondingly, after the noise reduction and filtering processing is performed on the sound so as to obtain the current voice information of the user, the method further comprises the following steps:
comparing the current voice information of the user with the voiceprint information of the user;
if the voice loudness is matched with the preset loudness, the step of obtaining the current voice loudness is carried out;
and if not, returning to the step of collecting the current sound information in the call process.
Voiceprints are the spectrum of sound waves carrying verbal information displayed with an electro-acoustic instrument. The voiceprint is not only specific, but also has the characteristic of relative stability. Whether the speaker intentionally imitates the voice and tone of another person or speaks with a soft sound, the voiceprint is always unchanged, and therefore the voice of the user is recognized based on the voiceprint. In the communication equipment, the number of the recorded voiceprint information is not limited and is determined according to the actual situation. A call device such as a mobile phone is almost exclusive, and therefore, only voiceprint information of a holder of the current mobile phone can be entered. After the current voice information of the user is collected, the current voice information can be compared with the voiceprint information recorded in advance, if the current voice information is matched with the voiceprint information, the collected voice information of the current user is shown, the current voice loudness is directly obtained, and the subsequent steps are carried out; if not, it indicates that the collected voice information is not the voice information of the current user, so that the voice information needs to be collected again, namely, the step of collecting the current voice information in the call process needs to be returned.
The voiceprint information of the user is input in advance, the voice information of the current user is determined according to the voiceprint information, and the voiceprint information of the current user is relatively stable, so that the collected voice information can be accurately identified as the voice information of the current user according to the voiceprint information.
In order to make the obtained loudness value more accurate, it is a preferred embodiment that the obtaining of the current loudness of speech corresponding to the current speech information includes:
acquiring the average loudness of the current voice information of the user in a preset time period;
and taking the average loudness as the current voice loudness corresponding to the current voice information.
In practice, when a situation that emotion fluctuation may occur in a call process of a user causes a speaking sound to be temporarily large, or when a call sound of the user is temporarily small in a thinking process of the user, selecting a speech loudness at a certain moment as a current speech loudness of the user, and then starting to judge whether the call volume needs to be adjusted according to the speech loudness, which may cause that the adjusted call volume cannot meet a call requirement of the user. The specific value of the preset time period is not limited, and is determined according to actual conditions, such as calculating the average loudness within 3 s.
Since the usage scenario of the user is constantly changing, even the speaking loudness in a scenario is changing in real time, in order to avoid frequently adjusting the volume of the loudspeaker, in the implementation, it is preferable that the preset correspondence between the loudness of the user's voice and the scale and/or gain of the loudspeaker includes:
the loudness of the user's voice in each first preset range corresponds to the gain of a scale and/or a second preset range of the speaker.
Specifically, each scale corresponds to a certain loudness range, and as long as the loudness of the user's voice is within the range, the scale of the speaker cannot be adjusted; each speaker gain corresponds to a certain voice loudness range, or a certain speaker gain range corresponds to a certain voice loudness range. The first preset range and the second preset range are not limited and are determined according to actual conditions.
The voice loudness of the user in each first preset range provided by the embodiment respectively corresponds to the gain of one scale and/or the second preset range of the loudspeaker, so that frequent adjustment of the loud-speaker volume can be avoided as much as possible, and the user experience is improved.
In the implementation, in order to adjust the call volume in time, it is preferable that, in the call process, the acquiring current voice information of the user and acquiring the performance parameter of the current speaker include:
and collecting the current voice information of the user and the performance parameters of the current loudspeaker from the beginning of connecting the call equipment by the user.
Here, the user turns on the call device means that the user starts a call with the other party. The voice information of the user is collected from the beginning of the connection of the user to the call equipment, and compared with the situation that the voice information of the user is collected after the call is carried out for a period of time, the call volume of the user can be adjusted in time, and the user experience is improved.
In the above embodiments, a method for adjusting call volume is described in detail, and the present application also provides an apparatus for adjusting call volume and an embodiment corresponding to a call device. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one from the perspective of the function module and the other from the perspective of the hardware.
Fig. 2 is a structural diagram of an apparatus for adjusting a call volume according to an embodiment of the present application. The present embodiment is based on the angle of the function module, including:
the system comprises an acquisition module 10, a processing module and a processing module, wherein the acquisition module is used for acquiring current voice information of a user and acquiring performance parameters of a current loudspeaker in the process of communication;
the obtaining module 11 is configured to obtain a current voice loudness corresponding to current voice information;
the determining module 12 is configured to determine, according to a preset correspondence between the voice loudness of the user and the performance parameters of the speakers, the performance parameters of the speakers corresponding to the current voice loudness;
and the adjusting module 13 is configured to adjust the performance parameter of the current speaker to the performance parameter of the speaker corresponding to the current voice loudness to adjust the call volume when the performance parameter corresponding to the current voice loudness is different from the performance parameter of the current speaker.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
The device for adjusting the call volume provided by this embodiment collects the current voice information of the user and obtains the performance parameters of the current speaker through the collection module during the call; acquiring current voice loudness corresponding to current voice information through an acquisition module; determining the performance parameters of the loudspeaker corresponding to the current voice loudness through a determining module according to the preset corresponding relation between the voice loudness of the user and the performance parameters of the loudspeaker; and adjusting the performance parameter of the current loudspeaker to the performance parameter of the loudspeaker corresponding to the current voice loudness by the adjusting module under the condition that the performance parameter corresponding to the current voice loudness is different from the performance parameter of the current loudspeaker so as to adjust the call volume. Therefore, the performance parameters of the loudspeaker are adjusted according to the speaking loudness of the user, the loudspeaker playing volume is adjusted, the loudspeaker playing volume does not need to be adjusted manually, the user can conveniently talk in various scenes, and the user experience is greatly improved.
Fig. 3 is a structural diagram of a communication device according to another embodiment of the present application. In this embodiment, based on the hardware perspective, as shown in fig. 3, the telephony device includes:
a memory 20 for storing a computer program;
a processor 21 for implementing the steps of the method for adjusting the call volume as mentioned in the above embodiments when executing the computer program.
The communication device provided by the embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The Processor 21 may be implemented in hardware using at least one of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), and a Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 21 may further include an Artificial Intelligence (AI) processor for processing computational operations related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing a computer program 201, wherein after being loaded and executed by the processor 21, the computer program is capable of implementing relevant steps of the method for adjusting call volume disclosed in any one of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, Windows, Unix, Linux, and the like. The data 203 may include, but is not limited to, data related to the above-mentioned method of adjusting the call volume, and the like.
In some embodiments, the telephony device may also include a display 22, an input/output interface 23, a communications interface 24, a power supply 25, and a communications bus 26.
Those skilled in the art will appreciate that the configuration shown in FIG. 3 is not intended to be limiting of telephony devices and may include more or fewer components than those shown.
The communication device provided by the embodiment of the application comprises a memory and a processor, and when the processor executes a program stored in the memory, the following method can be realized: the effect of the method for adjusting the call volume is the same as that of the method.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The computer-readable storage medium provided by the application comprises the above mentioned method for adjusting the call volume, and the effects are the same as above.
The method, the device, the call equipment and the medium for adjusting the call volume provided by the application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. A method for adjusting a volume of a call, comprising:
in the communication process, acquiring current voice information of a user and acquiring performance parameters of a current loudspeaker;
acquiring current voice loudness corresponding to the current voice information;
determining the performance parameters of the loudspeaker corresponding to the current voice loudness according to the preset corresponding relation between the voice loudness of the user and the performance parameters of the loudspeaker;
and under the condition that the performance parameter corresponding to the current voice loudness is different from the performance parameter of the speaker, adjusting the performance parameter of the speaker to the performance parameter of the speaker corresponding to the current voice loudness so as to adjust the call volume.
2. The method of adjusting call volume according to claim 1, wherein the performance parameters of the speaker include at least a scale of the speaker, a gain of the speaker; correspondingly, the method comprises the following steps:
in the communication process, acquiring the current voice information of the user and acquiring the scale and/or the gain of the current loudspeaker;
acquiring the current voice loudness corresponding to the current voice information;
determining the scale and/or the gain of the loudspeaker corresponding to the current voice loudness according to the preset corresponding relation between the voice loudness of the user and the scale and/or the gain of the loudspeaker;
and under the condition that the scale and/or the gain corresponding to the current voice loudness are/is not the same as the scale and/or the gain of the current loudspeaker, adjusting the scale and/or the gain of the current loudspeaker to be the scale and/or the gain of the loudspeaker corresponding to the current voice loudness.
3. The method for adjusting the call volume according to claim 1 or 2, wherein the collecting the current voice information of the user during the call comprises:
collecting current sound information in the communication process; wherein the current voice information comprises current voice information of the user and current environmental noise;
and denoising and filtering the current voice information so as to acquire the current voice information of the user.
4. The method for adjusting the call volume according to claim 3, further comprising, before the collecting the current voice information during the call:
inputting voiceprint information of the user;
correspondingly, after the denoising and filtering processing is performed on the sound so as to obtain the current speech information of the user, the method further includes:
comparing the current voice information of the user with the voiceprint information of the user;
if so, entering the step of obtaining the current voice loudness;
and if not, returning to the step of collecting the current sound information in the call process.
5. The method according to claim 4, wherein the obtaining of the current loudness of speech corresponding to the current speech information comprises:
acquiring the average loudness of the current voice information of the user in a preset time period;
and taking the average loudness as the current voice loudness corresponding to the current voice information.
6. The method according to claim 5, wherein the preset correspondence between the loudness of the user's voice and the scale and/or gain of the speaker comprises:
the voice loudness of the user in each first preset range corresponds to the gain of one scale and/or a second preset range of the loudspeaker respectively.
7. The method of claim 1, wherein the acquiring current voice information of a user and acquiring performance parameters of a current speaker during a call comprises:
and collecting the current voice information of the user and the current performance parameters of the loudspeaker from the beginning of connecting the user with the communication equipment.
8. An apparatus for adjusting a volume of a call, comprising:
the acquisition module is used for acquiring the current voice information of a user and acquiring the performance parameters of the current loudspeaker in the call process;
the acquisition module is used for acquiring the current voice loudness corresponding to the current voice information;
the determining module is used for determining the performance parameters of the loudspeaker corresponding to the current voice loudness according to the preset corresponding relation between the voice loudness of the user and the performance parameters of the loudspeaker;
and the adjusting module is used for adjusting the current loudspeaker performance parameter to the performance parameter of the loudspeaker corresponding to the current voice loudness so as to adjust the call volume under the condition that the performance parameter corresponding to the current voice loudness is different from the performance parameter of the loudspeaker.
9. A telephony device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method of adjusting the volume of a call as claimed in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of adjusting a call volume according to any one of claims 1 to 7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210727059.5A CN115052070A (en) | 2022-06-24 | 2022-06-24 | Method and device for adjusting call volume, call equipment and medium |
PCT/CN2022/102775 WO2023245715A1 (en) | 2022-06-24 | 2022-06-30 | Method and apparatus for adjusting call volume, call device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210727059.5A CN115052070A (en) | 2022-06-24 | 2022-06-24 | Method and device for adjusting call volume, call equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115052070A true CN115052070A (en) | 2022-09-13 |
Family
ID=83163399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210727059.5A Pending CN115052070A (en) | 2022-06-24 | 2022-06-24 | Method and device for adjusting call volume, call equipment and medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115052070A (en) |
WO (1) | WO2023245715A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413218A (en) * | 2011-08-03 | 2012-04-11 | 宇龙计算机通信科技(深圳)有限公司 | Method, device and communication terminal for automatically adjusting speaking tone |
CN107172255A (en) * | 2017-07-21 | 2017-09-15 | 广东欧珀移动通信有限公司 | Voice signal self-adapting regulation method, device, mobile terminal and storage medium |
CN107450882A (en) * | 2017-07-17 | 2017-12-08 | 深圳中泰智丰物联网科技有限公司 | A kind of method, apparatus and storage medium for adjusting sound intensity |
WO2018059030A1 (en) * | 2016-09-27 | 2018-04-05 | 华为技术有限公司 | Volume adjustment method and terminal |
CN112235462A (en) * | 2020-10-14 | 2021-01-15 | 展讯通信(上海)有限公司 | Voice adjusting method, system, electronic equipment and computer readable storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105657125B (en) * | 2014-11-12 | 2018-10-30 | 阿尔卡特朗讯 | A kind of method and apparatus for adjusting In Call |
US10103699B2 (en) * | 2016-09-30 | 2018-10-16 | Lenovo (Singapore) Pte. Ltd. | Automatically adjusting a volume of a speaker of a device based on an amplitude of voice input to the device |
CN108804069B (en) * | 2018-05-25 | 2020-09-11 | 科大讯飞股份有限公司 | Volume adjusting method and device, storage medium and electronic equipment |
CN112203188B (en) * | 2020-07-24 | 2021-10-01 | 北京工业大学 | Automatic volume adjusting method |
CN113709625B (en) * | 2021-06-04 | 2023-12-29 | 北京工业大学 | Self-adaptive volume adjusting method |
-
2022
- 2022-06-24 CN CN202210727059.5A patent/CN115052070A/en active Pending
- 2022-06-30 WO PCT/CN2022/102775 patent/WO2023245715A1/en unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413218A (en) * | 2011-08-03 | 2012-04-11 | 宇龙计算机通信科技(深圳)有限公司 | Method, device and communication terminal for automatically adjusting speaking tone |
WO2018059030A1 (en) * | 2016-09-27 | 2018-04-05 | 华为技术有限公司 | Volume adjustment method and terminal |
CN107450882A (en) * | 2017-07-17 | 2017-12-08 | 深圳中泰智丰物联网科技有限公司 | A kind of method, apparatus and storage medium for adjusting sound intensity |
CN107172255A (en) * | 2017-07-21 | 2017-09-15 | 广东欧珀移动通信有限公司 | Voice signal self-adapting regulation method, device, mobile terminal and storage medium |
CN112235462A (en) * | 2020-10-14 | 2021-01-15 | 展讯通信(上海)有限公司 | Voice adjusting method, system, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2023245715A1 (en) | 2023-12-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6381153B2 (en) | User terminal and method and apparatus for adjusting volume of terminal | |
CN113676803B (en) | Active noise reduction method and device | |
US9208766B2 (en) | Computer program product for adaptive audio signal shaping for improved playback in a noisy environment | |
CN112770214B (en) | Earphone control method and device and earphone | |
US10277750B2 (en) | Method and system for improving echo in hands-free call of mobile terminal | |
JP2017510200A (en) | Coordinated audio processing between headset and sound source | |
CN108922558B (en) | Voice processing method, voice processing device and mobile terminal | |
CN105187602B (en) | A kind of adjusting method and device of terminal volume | |
CN110312146B (en) | Audio processing method and device, electronic equipment and storage medium | |
CN112954563B (en) | Signal processing method, electronic device, apparatus, and storage medium | |
US20240073577A1 (en) | Audio playing method, apparatus and system for in-ear earphone | |
CN110113688A (en) | Dynamic regulating method, device, wireless headset and the TWS earphone of earpiece volume | |
CN112947886A (en) | Method and device for protecting user hearing and electronic equipment | |
CN113038337B (en) | Audio playing method, wireless earphone and computer readable storage medium | |
CN111970609B (en) | Sound quality adjusting method, sound quality adjusting system and computer readable storage medium | |
CN108270913B (en) | Mobile terminal and hearing protection method | |
CN116132875B (en) | Multi-mode intelligent control method, system and storage medium for hearing-aid earphone | |
CN115052070A (en) | Method and device for adjusting call volume, call equipment and medium | |
CN115499744A (en) | Earphone noise reduction method and device, computer readable storage medium and earphone | |
CN106293607B (en) | Method and system for automatically switching audio output modes | |
CN109274826B (en) | Voice playing mode switching method and device, terminal and computer readable storage medium | |
CN107493376A (en) | A kind of ringing volume adjusting method and device | |
CN113517000A (en) | Echo cancellation test method, terminal and storage device | |
CN106791252A (en) | The player method and device of a kind of incoming ring tone | |
CN110827851B (en) | Method for adjusting volume, electronic device and computer storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220913 |