CN111147976A - Method and device for adjusting sound volume balance degree, terminal and storage medium - Google Patents

Method and device for adjusting sound volume balance degree, terminal and storage medium Download PDF

Info

Publication number
CN111147976A
CN111147976A CN201811305768.4A CN201811305768A CN111147976A CN 111147976 A CN111147976 A CN 111147976A CN 201811305768 A CN201811305768 A CN 201811305768A CN 111147976 A CN111147976 A CN 111147976A
Authority
CN
China
Prior art keywords
sound
noise data
volume
determining
adjusting
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
Application number
CN201811305768.4A
Other languages
Chinese (zh)
Inventor
邱刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201811305768.4A priority Critical patent/CN111147976A/en
Publication of CN111147976A publication Critical patent/CN111147976A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/20Arrangements for obtaining desired frequency or directional characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Abstract

The embodiment of the application discloses a method and a device for adjusting sound volume balance degree, a terminal and a storage medium, wherein the method comprises the following steps: acquiring noise data of each sound in at least two sounds within a preset distance range; determining noise data of one sound as reference noise data from the noise data corresponding to the at least two sounds; determining a compensation amount corresponding to the noise data of each sound according to the reference noise data and the noise data of each sound; and compensating the volume of the corresponding sound according to the compensation amount corresponding to the noise data of each sound.

Description

Method and device for adjusting sound volume balance degree, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of multimedia, in particular to a method and a device for adjusting sound volume balance degree, a terminal and a storage medium.
Background
With the gradual diversification of multimedia entertainment modes, audio devices have become one of the most applied scenes and the most widely applied multimedia devices. In order to realize the sound effects of surround sound, a plurality of sounds, such as a cinema sound apparatus, a home theater sound apparatus, a car sound apparatus, etc., are generally placed at different positions within one space. Generally, a plurality of sound devices in a space have an initial setting of stereo balance to balance the sound of the plurality of sounds. However, if a part of the sound in a space is affected by other factors, such as noise, the balance of the sound is affected, and the user experience is reduced. Use on-vehicle stereo set as the example, general car has four stereo sets, is located near four doors or door window respectively, and when one of them door window was opened, the degree that near stereo set of this door window received noise disturbance will be greater than other three stereo sets far away to reduce the stereo set equilibrium degree, influenced the stereo effect, makeed user experience reduce.
Disclosure of Invention
In view of the above, embodiments of the present application provide a method for adjusting a sound volume balance to solve at least one problem in the related art.
The embodiment of the application provides a method for adjusting sound volume balance degree, which comprises the following steps:
acquiring noise data of each sound in at least two sounds within a preset distance range;
determining noise data of one sound as reference noise data from the noise data corresponding to the at least two sounds;
determining a compensation amount corresponding to the noise data of each sound according to the reference noise data and the noise data of each sound;
and compensating the volume of the corresponding sound according to the compensation amount corresponding to the noise data of each sound.
The embodiment of this application still provides a device of adjusting stereo set volume adjustment degree, and the device includes:
the acquisition unit is used for acquiring noise data of each sound in at least two sounds within a preset distance range;
a first determining unit configured to determine noise data of one sound as reference noise data from the noise data corresponding to the at least two sounds;
a second determining unit, configured to determine, according to the reference noise data and the noise data of each sound, a compensation amount corresponding to the noise data of each sound;
and the compensation unit is used for compensating the volume of the corresponding sound according to the compensation amount corresponding to the noise data of each sound.
The embodiment of the present application further provides a terminal for adjusting sound volume balance degree, the terminal includes: the storage stores a computer program capable of running on the processor, and the processor executes the computer program to realize the method for adjusting the sound volume balance degree.
An embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are configured to execute the method for adjusting the sound volume balance.
Adopt the technical scheme that this application embodiment provided, can adjust the equilibrium of stereo set according to the position developments of difference, compensate the noise influence near every stereo set respectively for the stereo effect of stereo set can continuously reach dynamic balance, promotes the user and uses the impression.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation process of a method for adjusting sound volume balance according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a method for adjusting sound volume balance according to another embodiment of the present disclosure;
fig. 3 is a schematic flowchart illustrating a method for adjusting sound volume balance according to another embodiment of the present disclosure;
FIG. 4 is a schematic structural diagram of an on-board system in an embodiment of the present application;
FIG. 5 is a schematic signal diagram of an onboard system according to an embodiment of the present application;
fig. 6A is a schematic circuit diagram of a microphone matching circuit and a microphone differential trace of the vehicle-mounted system in the embodiment of the present application;
FIG. 6B is a schematic diagram of an interface structure of an in-vehicle system according to an embodiment of the present disclosure;
FIG. 7 is a schematic structural diagram of an apparatus according to an embodiment of the present application;
fig. 8 is a hardware entity diagram of a terminal for adjusting sound volume balance according to an embodiment of the present disclosure.
Detailed Description
The following describes the method for adjusting the sound volume balance based on the present application in detail with reference to the accompanying drawings and embodiments.
The embodiment provides a method for adjusting sound volume balance, which is applied to a terminal for adjusting sound volume balance, and the function implemented by the method can be implemented by calling a program code by a processor in the terminal for adjusting sound volume balance, where of course, the program code can be stored in a computer storage medium, and thus, the terminal for adjusting sound volume balance at least comprises a processor and a storage medium.
Fig. 1 is a schematic flow chart of an implementation process of a method for adjusting sound volume balance according to an embodiment of the present application, and as shown in fig. 1, the method includes:
step 101, collecting noise data of each sound in at least two sounds within a preset distance range;
taking the car stereo as an example, four stereo are distributed near four windows or doors of a car, and a group of sound collection devices are arranged near each stereo for collecting nearby noise data. The sound collection device can be a microphone array or a common microphone; the acquisition mode can adopt a real-time polling mode, and the acquisition is carried out in a fixed period or a certain variable period. In order to ensure the balance effect of several sound boxes, the distance between each group of sound collection devices and the corresponding sound box and the distance between each group of sound collection devices and the noise source can be respectively the same.
The preset distance range can be determined by the performance of the sound collection device, and the range in which the sound collection device can collect noise is the preset distance range corresponding to the current sound collection device.
Step 102, determining noise data of one sound from noise data corresponding to at least two sounds as reference noise data;
in order to adjust the volume balance, an adjustment criterion is acquired. Because each stereo is affected by different noise, the volume of each stereo needs to be adjusted to balance after being superposed with the corresponding noise. Therefore, one of the noise data of each sound can be used as a standard, i.e., reference noise data, and the compensation amount can be obtained based on the reference data and compensated based on the compensation amount.
103, determining a compensation amount corresponding to the noise data of each sound according to the reference noise data and the noise data of each sound;
the noise data of other sound devices are compared with the reference noise data according to the reference noise data determined in step 102, and the relative relationship between the noise data of each sound device is determined according to the comparison result. The compensation amount of the sound volume is determined according to the relative relationship between each sound.
And 104, compensating the volume of the corresponding sound according to the compensation amount corresponding to the noise data of each sound.
After the compensation amount corresponding to each sound is determined, the compensation amount is compensated to each sound, and finally the sound volume actually played by each sound can be balanced after being superposed with the noise.
An embodiment of the present application further provides a method for adjusting sound volume balance, where fig. 2 is a schematic flow chart of implementation of the method according to the embodiment, and as shown in fig. 2, the method includes:
step 201, collecting noise data of each sound in at least two sounds within a preset distance range;
step 202, determining noise data of one sound from noise data corresponding to the at least two sounds as reference noise data;
step 203, determining a compensation amount corresponding to the noise data of each sound according to the reference noise data and the noise data of each sound;
step 204, determining whether the compensation amount corresponding to each sound is larger than a preset allowable error, and if at least one sound is larger than the allowable error, compensating the volume of the corresponding sound according to the compensation amount larger than the allowable error;
an allowable error of the compensation amount may be preset, and when the compensation amount is small, no adjustment may be made to reduce the processing pressure of the system. When the compensation amount corresponding to the noise data of at least one sound is larger than the allowable error, the subsequent steps are carried out to compensate the sound volume.
And step 205, compensating the volume of the corresponding sound according to the compensation amount corresponding to the noise data of each sound.
Steps 201 to 203 and 205 in this embodiment are the same as steps 101 to 104 in the previous embodiment, and are not described again here.
In other embodiments, determining noise data of one sound as reference noise data from the noise data corresponding to the at least two sounds includes:
determining noise data of any sound as reference noise data from the noise data corresponding to the at least two sounds; alternatively, the first and second electrodes may be,
and determining noise data of the sound meeting the condition from the noise data corresponding to the at least two sounds as reference noise data.
In the present embodiment, the reference noise data may be any one of noise data of all sounds; in order to ensure a certain volume, the minimum one of all the sound noise data may be used as the reference noise data, and then the volumes of other sounds may be adjusted higher based on the minimum one.
In other embodiments, the adjusting the volume of the corresponding sound according to the compensated volume value includes:
and if the compensated volume value exceeds a preset volume threshold value, adjusting the volume of the corresponding sound according to the volume threshold value.
Here, in order to ensure that the volume of the sound is within a certain threshold range and is not adjusted too much due to the influence of noise, a volume threshold may be set, and if the volume value exceeds the volume threshold due to the compensation in the above steps 201 to 205, the volume of the corresponding sound is adjusted according to the volume threshold. Generally, a volume threshold of 90dB (decibel) can be set in the car audio device, that is, the actual volume of the audio can be controlled between 0dB (decibel) and 90dB (decibel). Since the sound volume to the ear is less than 85dB (decibel), the standard for CE authentication (security certification) can be satisfied, and the car audio is at a distance from the ear, the sound volume threshold can be set to 90dB (decibel). If the method is applied to other scenes, the volume threshold value can be set according to actual requirements.
In other embodiments, the method further comprises:
determining the identifier of the sound with the maximum compensated volume value from the sound set with the compensated volume value exceeding the volume threshold value;
step one, taking the noise data of the sound as reference noise data according to the identification of the sound;
determining a compensation amount corresponding to the noise data of each sound according to the reference noise data and the noise data of each sound;
and thirdly, compensating the volume of the corresponding sound according to the compensation amount corresponding to the noise data of each sound.
If the compensated sound volumes of a plurality of sounds exceed the volume threshold, the sound balance degree cannot be adjusted if the sound volumes are simply set to the corresponding volumes of the volume threshold. It is necessary to use the one having the largest volume of the noise data as the reference noise data and reduce the volume of the other sounds with respect to the reference noise data to adjust the degree of balance.
The sound set is the sound with the volume exceeding the volume threshold value after compensation, one sound with the maximum compensated volume value is selected, and the sound is identified; and then the acquired noise data of the identified sound is used as reference noise data.
In other embodiments, determining the compensation amount corresponding to the noise data of each sound according to the reference noise data and the noise data of each sound comprises:
and determining the difference between the noise data of each sound and the reference noise data, and taking the difference as the compensation quantity of the corresponding sound.
The noise data may be the volume of noise, and the relative noise influence relationship between each sound system can be obtained by subtracting the reference noise data from the other noise data. The difference value is a value with a positive sign, the reference noise data is subtracted from the noise data of one sound, if the difference value is positive, the compensation amount is a positive value, and the sound volume of the sound is increased during compensation; if the difference is negative, the compensation amount is negative, and the sound volume is reduced during compensation.
In other embodiments, compensating the volume of the sound according to the compensation amount corresponding to the noise data of each sound includes:
determining a current volume value of each sound;
summing the compensation quantity corresponding to each sound with the current volume value of the corresponding sound to obtain a compensated volume value;
and adjusting the volume of the corresponding sound according to the compensated volume value.
In this embodiment, after the current volume value of each sound is determined, the compensation amount is summed with the current volume value to obtain the compensated volume value. In this way, compensation can be achieved by simple volume adjustment.
The method is a method for realizing a function of adaptively adjusting the volume balance degree of the vehicle-mounted sound on vehicle-mounted equipment. Because the vehicle-mounted sound box of the automobile generally comprises sound boxes in four directions of a left front door, a right front door, a left rear door and a right rear door. The positions of the four sound boxes and the factory sound field equalizer can ensure that under a quiet static condition, the volume of the music in the whole carriage is in a balanced state when the user plays music, and the volume of the music heard by the user sitting on any seat is very close. In general, the volume of four sounds in the car is adjusted in a linkage manner, namely, the volume is increased or reduced at the same time, but the volume of each sound is not adjusted independently. Such an arrangement is suitable for a carriage with four closed windows, but if one or more windows are opened during operation and the opening amplitudes are different, wind noise or other various noises outside the carriage are transmitted into the carriage from the four windows, the sound volume balance degree in the whole carriage is damaged, and a user sitting on the side with the window can be interfered by the noises when hearing the sound volume, so that the user experience degree is reduced.
The embodiment solves the problems by a method and a device for adjusting the sound volume balance degree, the noise interference degree of the sound volume in each direction is calculated by acquiring the noise real-time data near the sound at each window position, then the sound volume in the vehicle is enabled to reach a new balance by dynamically compensating each sound volume in real time, and the adjustment range is between 0 decibel and 90 decibel in order to meet the requirement of CE authentication on the safety of human ears. CE authentication requires less than 85db of sound volume to the human ear, and since the sound volume from the sound to the human ear is attenuated, the maximum sound volume at the sound is set to 90 db. The advantage of this device is that the regulation is real-time dynamic, and the regulation of each stereo is independent separately, so the user can not influence the experience feeling of vehicle music playing because of external noise.
The embodiment of the application provides a device of adjusting stereo set volume adjustment degree, and the device includes:
and the noise collection module comprises a microphone array, namely a sound Sensor (Sensor), which is arranged near each car audio. If the vehicle-mounted sound box comprises four sound boxes of a front left sound box, a front right sound box, a rear left sound box and a rear right sound box, the noise acquisition module at least comprises four sound sensors of a front left microphone, a front right microphone, a rear left microphone and a rear right microphone. The noise acquisition module is used for acquiring noise data near each sound box.
And the bus module is used for connecting the modules and realizing data transmission.
The data processing module is used for storing, comparing and calculating noise data acquired by each sound sensor of the noise acquisition module; judging whether noise compensation is needed according to the comparison and calculation results; and calculating a volume value requiring noise compensation according to the comparison and calculation result.
And the control module is used for controlling and adjusting the volume value of each sound according to the compensation quantity of each noise obtained by the data processing module.
The embodiment of the present application provides a method for adjusting sound volume balance by using the above apparatus, as shown in fig. 3, the method includes:
301, a noise acquisition module acquires noise data near each sound in real time;
the car audio generally includes four sets of audio, namely, a front left audio, a front right audio, a rear left audio and a rear right audio, wherein the front left audio and the front right are close to a front left side and a front right side door and a front right side window, the rear left audio and the rear right audio are close to a rear left side and a rear right side door and a rear right side window, and the volume of each audio is influenced by noise at the corresponding window and door and then transmitted to a user. If the four sets of the vehicle doors and the vehicle windows are not opened or closed at the same time, the noise volume near each sound box is different, and accordingly, the sound boxes heard by the user are different in transmission.
Noise data near each vehicle-mounted sound is collected through a noise collection module, and the collection mode is a real-time polling mode. The real-time polling method is to cyclically acquire noise data around each sound device according to a certain period in real time and cyclically and continuously perform real-time adjustment through subsequent steps.
Step 302, the bus module transmits the noise data acquired by the noise acquisition module to the data processing module in real time;
and step 303, the data processing module stores, compares and calculates the noise data collected by the four microphones to obtain whether the four sounds need to compensate the volume and the compensation amount needed by the volume of each sound.
Step 304, if the volume data collected by the four microphones are very close and within a certain allowable error, the data processing module considers that the sound volume does not need to be adjusted, returns to step 301, and continues to wait for receiving the noise data transmitted by the bus module;
step 305, if compensation is needed, calculating compensation quantity needed to be compensated for each sound box;
the calculation process is as follows: finding the minimum SP of the noise volume value from the collected noise dataminAnd transmitting with other soundsThe minimum noise volume value is subtracted from the noise data collected by the sensor to obtain the volume values of the other three sound devices, and then the volume values of the four sound devices which need to be increased can be calculated as follows:
ΔSPlf=SPlf-SPmin(1-1);
ΔSPrf=SPrf-SPmin(1-2);
ΔSPlb=SPlb-SPmin(1-3);
ΔSPrb=SPrb-SPmin(1-4);
wherein Δ SPlfIndicating the amount of compensation, Δ SP, for the left front stereorfIndicating the compensation amount of the front right sound, Δ SPlbIndicating the amount of compensation, Δ SP, of the left rear soundrbRepresenting the compensation amount of the right rear sound;
SPlfnoise data representing the left front sound, SPrfNoise data representing the front right sound, SPlbNoise data representing the left rear sound, SPrbNoise data representing the right rear sound.
The value of each variable is dynamically updated according to the data collected by real-time polling.
Step 306, the data processing module sends the volume compensation variables of the four directions to the control module through the bus module;
step 307, the control module receives the four compensation quantities Δ SPlf、ΔSPrf、ΔSPlb、ΔSPrbAnd respectively sending volume adjusting instructions to the four sound devices to enable the four current sound device volumes to be respectively added with four compensation quantities, so that the balance is achieved again. And returning to the step 301 after the adjustment is completed, and circularly repeating the steps.
The system structure of the method applied to the vehicle-mounted device is shown in fig. 4, the noise collection module 401 and the vehicle-mounted device 402 in fig. 4 implement the functions of steps 301 to 305, and the control module 403 implements the function of step 306. The front left sound 404, the rear left sound 405, the front right sound 406, and the rear right sound 407 are car sounds. In practical applications, the noise collection modules 401 are divided into four groups, and are respectively disposed near the four speakers.
Fig. 5 shows a signal transmission diagram of the system in fig. 4, a noise signal collected by a microphone 501 in fig. 5 is an analog signal, a differential signal is obtained through processing of a microphone matching circuit 502 and a microphone differential trace 503, the differential signal is transmitted to a micro processing unit (MCU)505 through a 40PIN connector for processing, digital-to-analog conversion is finally performed through a digital-to-analog conversion circuit 506 to obtain a digital audio signal, and final noise data is obtained through audio encoding and decoding.
Fig. 6A is a circuit schematic diagram of the microphone matching circuit 502 and the microphone differential trace 503 in fig. 5. Fig. 6B is a schematic diagram of the system interface structure in fig. 5. The sound Sensor 601(Sensor) in fig. 6B collects noise signals, and after processing by the matching and differential routing processing unit 602, transmits the differential signals to the control chip 604(CAN X2) through the 40PIN connector 603, and the control chip interacts with the micro processing unit 606(MCU) through the transmitting end (Tx) and the receiving end (Rx); in this embodiment, the differential signal may interact with the micro processing unit 606(MCU) through a GPIO and ADC interface only through the processing of the connection circuit, the processing circuit, and the self-test circuit block 607 without passing through the control chip 604; a satellite positioning unit 605(GPS) provides positioning support for a micro processing unit 606 (MCU); the power supply 608 is used to power the system.
Based on the foregoing embodiments, the present application provides a device for adjusting sound volume balance, where the device includes units, modules included in the units, and sub-modules included in the modules, and all can be implemented by a processor in a computer device; of course, may be implemented by logic circuits; in implementation, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 7 is a schematic diagram of a structure of a device for adjusting sound volume balance according to an embodiment of the present application, as shown in fig. 7, the device 700 includes:
the acquisition unit 701 is used for acquiring noise data of each sound in at least two sounds within a preset distance range;
a first determining unit 702 configured to determine noise data of one sound as reference noise data from the noise data corresponding to the at least two sounds;
a second determining unit 703, configured to determine, according to the reference noise data and the noise data of each sound, a compensation amount corresponding to the noise data of each sound;
a compensating unit 704 for compensating the volume of the corresponding sound according to the compensation amount corresponding to the noise data of each sound.
In other embodiments, the first determination unit is further configured to:
determining noise data of any sound as reference noise data from the noise data corresponding to the at least two sounds; alternatively, the first and second electrodes may be,
and determining noise data of the sound meeting the condition from the noise data corresponding to the at least two sounds as reference noise data.
In other embodiments, the second determination unit is further configured to:
and determining the difference between the noise data of each sound and the reference noise data, and taking the difference as the compensation quantity of the corresponding sound.
In other embodiments, the compensation unit further includes:
the determining subunit is used for determining the current volume value of each sound;
the summation subunit is used for summing the compensation quantity corresponding to each sound and the current volume value of the corresponding sound to obtain a compensated volume value;
and the adjusting subunit is used for adjusting the volume of the corresponding sound equipment according to the compensated volume value.
In other embodiments, the adjustment subunit is further configured to:
and if the compensated volume value exceeds a preset volume threshold value, adjusting the volume of the corresponding sound according to the volume threshold value.
In other embodiments, the apparatus further comprises:
the identification subunit is used for determining the identification of the sound with the maximum compensated volume value from the sound set with the compensated volume value exceeding the volume threshold value;
the first determining unit is used for taking the noise data of the sound as reference noise data according to the identification of the sound;
the second determining unit is used for determining a compensation amount corresponding to the noise data of each sound according to the reference noise data and the noise data of each sound;
and the compensation unit is used for compensating the volume of the corresponding sound according to the compensation amount corresponding to the noise data of each sound.
In other embodiments, the apparatus further comprises:
the error determining unit is used for determining whether the compensation amount corresponding to each sound is larger than a preset allowable error or not; and if the compensation amount corresponding to each sound is larger than the preset allowable error, the compensation unit compensates the volume of the corresponding sound according to the compensation amount corresponding to the noise data of each sound.
The description of the embodiments of the apparatus of the present application is similar to the description of the embodiments of the method described above, and has similar advantageous effects to the embodiments of the method. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that, in the embodiment of the present application, if the method for adjusting the sound volume balance degree is implemented in the form of a software functional module, and is sold or used as a standalone product, it may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially implemented in the form of a software product, which is stored in a storage medium and includes instructions for enabling a device (which may be a personal computer, a server, or a network device) for adjusting the sound volume balance to perform all or part of the methods described in the embodiments of the present application. 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 magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Correspondingly, the terminal for adjusting the sound volume balance degree provided by the embodiment of the application comprises a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the processor executes the program to realize the steps in the method for adjusting the sound volume balance degree provided by the embodiment.
Correspondingly, the embodiment of the present application 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 in the method for adjusting the sound volume balance provided by the above embodiment.
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that fig. 8 is a schematic diagram of a hardware entity of a terminal for adjusting sound volume balance in the embodiment of the present application, and as shown in fig. 8, the hardware entity of the terminal 800 for adjusting sound volume balance includes: a processor 801, a communication interface 802, and a memory 803, wherein
The processor 801 generally controls the overall operation of the computer device 800.
The communication interface 802 may enable the terminal that adjusts the degree of sound volume balance to communicate with other terminals or servers through a network.
The Memory 803 is configured to store instructions and applications executable by the processor 801, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by each module in the terminal 800 that waits for the processor 801 and adjusts the degree of sound volume balance, and may be implemented by a Flash Memory (Flash) or a Random Access Memory (RAM).
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, 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 like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially implemented in the form of a software product, which is stored in a storage medium and includes instructions for enabling a device (which may be a personal computer, a server, etc.) for adjusting the sound volume balance to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of adjusting the volume balance of a sound system, the method comprising:
acquiring noise data of each sound in at least two sounds within a preset distance range;
determining noise data of one sound as reference noise data from the noise data corresponding to the at least two sounds;
determining a compensation amount corresponding to the noise data of each sound according to the reference noise data and the noise data of each sound;
and compensating the volume of the corresponding sound according to the compensation amount corresponding to the noise data of each sound.
2. The method of claim 1, wherein determining noise data for one of the sounds as reference noise data from the noise data corresponding to the at least two sounds comprises:
determining noise data of any sound as reference noise data from the noise data corresponding to the at least two sounds; alternatively, the first and second electrodes may be,
and determining noise data of the sound meeting the condition from the noise data corresponding to the at least two sounds as reference noise data.
3. The method of claim 2, wherein determining the compensation amount corresponding to the noise data of each sound according to the reference noise data and the noise data of each sound comprises:
and determining the difference between the noise data of each sound and the reference noise data, and taking the difference as the compensation quantity of the corresponding sound.
4. The method of claim 3, wherein the compensating the volume of the sound according to the compensation amount corresponding to the noise data of each sound comprises:
determining a current volume value of each sound;
summing the compensation quantity corresponding to each sound with the current volume value of the corresponding sound to obtain a compensated volume value;
and adjusting the volume of the corresponding sound according to the compensated volume value.
5. The method of claim 4, wherein adjusting the volume of the corresponding sound according to the compensated volume value comprises:
and if the compensated volume value exceeds a preset volume threshold value, adjusting the volume of the corresponding sound according to the volume threshold value.
6. The method of claim 5, further comprising:
determining the identifier of the sound with the maximum compensated volume value from the sound set with the compensated volume value exceeding the volume threshold value;
taking the noise data of the sound as reference noise data according to the identification of the sound;
determining a compensation amount corresponding to the noise data of each sound according to the reference noise data and the noise data of each sound;
and compensating the volume of the corresponding sound according to the compensation amount corresponding to the noise data of each sound.
7. The method of any of claims 1 to 6, further comprising:
and determining whether the compensation amount corresponding to each sound is larger than a preset allowable error, and if at least one sound is larger than the allowable error, compensating the volume of the corresponding sound according to the compensation amount larger than the allowable error.
8. An apparatus for adjusting a volume balance of a sound box, the apparatus comprising:
the acquisition unit is used for acquiring noise data of each sound in at least two sounds within a preset distance range;
a first determining unit configured to determine noise data of one sound as reference noise data from the noise data corresponding to the at least two sounds;
a second determining unit, configured to determine, according to the reference noise data and the noise data of each sound, a compensation amount corresponding to the noise data of each sound;
and the compensation unit is used for compensating the volume of the corresponding sound according to the compensation amount corresponding to the noise data of each sound.
9. A terminal for adjusting sound volume balance, the terminal comprising: a memory storing a computer program operable on a processor, the processor implementing the method of adjusting sound volume balance as provided in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium having computer-executable instructions stored thereon, the computer-executable instructions being configured to perform the method of adjusting sound volume balance as provided in any one of claims 1 to 7.
CN201811305768.4A 2018-11-05 2018-11-05 Method and device for adjusting sound volume balance degree, terminal and storage medium Pending CN111147976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811305768.4A CN111147976A (en) 2018-11-05 2018-11-05 Method and device for adjusting sound volume balance degree, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811305768.4A CN111147976A (en) 2018-11-05 2018-11-05 Method and device for adjusting sound volume balance degree, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN111147976A true CN111147976A (en) 2020-05-12

Family

ID=70515117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811305768.4A Pending CN111147976A (en) 2018-11-05 2018-11-05 Method and device for adjusting sound volume balance degree, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111147976A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0684499U (en) * 1993-05-14 1994-12-02 セイコー電子工業株式会社 Car audio system
US20060251261A1 (en) * 2005-05-04 2006-11-09 Markus Christoph Audio enhancement system
TWI274472B (en) * 2005-11-25 2007-02-21 Hon Hai Prec Ind Co Ltd System and method for managing volume
CN101005588A (en) * 2006-12-15 2007-07-25 华为技术有限公司 Method and device for automatically regulating device voice volume
KR20170053252A (en) * 2015-11-06 2017-05-16 현대자동차주식회사 Apparatus and method for improving the sound quality during driving.
CN107071635A (en) * 2015-11-20 2017-08-18 哈曼贝克自动系统股份有限公司 Audio strengthens

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0684499U (en) * 1993-05-14 1994-12-02 セイコー電子工業株式会社 Car audio system
US20060251261A1 (en) * 2005-05-04 2006-11-09 Markus Christoph Audio enhancement system
TWI274472B (en) * 2005-11-25 2007-02-21 Hon Hai Prec Ind Co Ltd System and method for managing volume
CN101005588A (en) * 2006-12-15 2007-07-25 华为技术有限公司 Method and device for automatically regulating device voice volume
KR20170053252A (en) * 2015-11-06 2017-05-16 현대자동차주식회사 Apparatus and method for improving the sound quality during driving.
CN107071635A (en) * 2015-11-20 2017-08-18 哈曼贝克自动系统股份有限公司 Audio strengthens

Similar Documents

Publication Publication Date Title
US20230403515A1 (en) Hearing aid and method for use of same
US20160020744A1 (en) Personalized adjustment of an audio device
CN107690119B (en) Binaural hearing system configured to localize sound source
CN105530580B (en) Hearing system
CN105074814B (en) Low time delay multiple driver self-adapted noise elimination (ANC) system of personal audio set
CN104508737B (en) The signal transacting related for the noise of the Vehicular communication system with multiple acoustical areas
US7889872B2 (en) Device and method for integrating sound effect processing and active noise control
US10425745B1 (en) Adaptive binaural beamforming with preservation of spatial cues in hearing assistance devices
CN101635877A (en) System for reducing acoustic feedback in hearing aids using inter-aural signal transmission and method
CN112087701B (en) Speaker emulation of microphone for wind detection
US10735849B2 (en) Headphones
EP2859772A2 (en) Wind noise detection for in-car communication systems with multiple acoustic zones
CN111415673A (en) Customized audio processing based on user-specific and hardware-specific audio information
CN111083589A (en) Earplug including foreign substance inflow prevention portion and electronic device including the same
US10812031B2 (en) Electronic device and method for adjusting gain of digital audio signal based on hearing recognition characteristics
CN113038337B (en) Audio playing method, wireless earphone and computer readable storage medium
WO2020035158A1 (en) Method of operating a hearing aid system and a hearing aid system
CN111669682A (en) Method for optimizing sound quality of loudspeaker equipment
CN111147976A (en) Method and device for adjusting sound volume balance degree, terminal and storage medium
AU2019244700B2 (en) Voice-activated sound encoding for headsets using frequency domain representations of microphone signals
EP3837861B1 (en) Method of operating a hearing aid system and a hearing aid system
US10388301B2 (en) Method for processing audio signal and electronic device for supporting the same
CN111510847A (en) Micro loudspeaker array, in-vehicle sound field control method and device and storage device
US20230112073A1 (en) Electronic device for controlling ambient sound based on audio scene and operating method thereof
CN112104947B (en) Self-adaptive sound field control method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200512

Address after: 201203 No. 889 blue wave road, Shanghai, Pudong New Area

Applicant after: ZTE Corp.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Applicant before: ZTE Corp.

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination