CN111970609A - Sound quality adjusting method, sound quality adjusting system, electronic device, earphone, and computer-readable storage medium - Google Patents

Sound quality adjusting method, sound quality adjusting system, electronic device, earphone, and computer-readable storage medium Download PDF

Info

Publication number
CN111970609A
CN111970609A CN202010880039.2A CN202010880039A CN111970609A CN 111970609 A CN111970609 A CN 111970609A CN 202010880039 A CN202010880039 A CN 202010880039A CN 111970609 A CN111970609 A CN 111970609A
Authority
CN
China
Prior art keywords
noise energy
noise
energy distribution
earphone
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010880039.2A
Other languages
Chinese (zh)
Other versions
CN111970609B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010880039.2A priority Critical patent/CN111970609B/en
Publication of CN111970609A publication Critical patent/CN111970609A/en
Application granted granted Critical
Publication of CN111970609B publication Critical patent/CN111970609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)

Abstract

The application discloses tone quality adjusting method, tone quality adjusting system, electronic equipment, earphone and non-volatile computer readable storage medium, the tone quality adjusting method includes: when the earphone is connected with the electronic equipment to play audio, acquiring environmental noise energy distribution around the electronic equipment; identifying the current scene of the electronic equipment according to the environmental noise energy distribution to output an identification result; and adjusting the tone quality of the audio played by the earphone according to the recognition result. According to the tone quality adjusting method, the tone quality adjusting system, the electronic device, the earphone and the nonvolatile computer readable storage medium, when the earphone is connected with the electronic device to play audio, the current scene where the electronic device is located can be identified according to the environmental noise energy distribution to output the identification result, and the tone quality of the played audio is adjusted according to the identification result, so that the tone quality of the audio conforming to the current scene can be quickly adjusted, and the high pursuit of the current user on the sound quality is met.

Description

Sound quality adjusting method, sound quality adjusting system, electronic device, earphone, and computer-readable storage medium
Technical Field
The present invention relates to the field of sound playing, and more particularly, to a sound quality adjustment method, a sound quality adjustment system, an electronic device, an earphone, and a non-volatile computer-readable storage medium.
Background
At present, most earphones detect sound signals through a microphone of the earphones in a noisy environment, and therefore the purpose of reducing noise to adjust tone quality is achieved. However, when the surrounding environment changes, the sound quality adjustment achieved only by noise reduction has not been able to satisfy the current high pursuit of sound quality by users.
Disclosure of Invention
The embodiment of the application provides a tone quality adjusting method, a tone quality adjusting system, an electronic device, an earphone and a nonvolatile computer readable storage medium.
The tone quality adjusting method according to the embodiment of the application includes: when an earphone is connected with electronic equipment to play audio, acquiring environmental noise energy distribution around the electronic equipment; identifying the current scene of the electronic equipment according to the environmental noise energy distribution to output an identification result; and adjusting the tone quality of the audio played by the earphone according to the identification result.
The tone quality adjusting method according to the embodiment of the application includes: when an earphone is connected with electronic equipment to play audio, acquiring environmental noise energy distribution around the electronic equipment; and identifying the current scene of the electronic equipment according to the environmental noise energy distribution so as to output an identification result.
The tone quality adjusting method according to the embodiment of the application includes: acquiring an identification result of a current scene where the electronic equipment is located, wherein the identification result is transmitted by the electronic equipment; and adjusting the tone quality of the audio played by the earphone according to the identification result.
The tone quality adjusting system of the embodiment of the application comprises electronic equipment and an earphone. The electronic equipment comprises a microphone and an equipment processor, when an earphone is connected with the electronic equipment to play audio, the microphone collects ambient noise around the electronic equipment, and the equipment processor is used for acquiring ambient noise energy distribution according to the ambient noise collected by the microphone and identifying the current scene where the electronic equipment is located according to the ambient noise energy distribution so as to output an identification result. The earphone is used for adjusting the tone quality of the audio played by the earphone according to the identification result.
The electronic device of the embodiment of the application comprises a microphone and a device processor. When an earphone is connected with the electronic equipment to play audio, the microphone collects ambient noise around the electronic equipment. The device processor is used for acquiring environmental noise energy distribution according to the environmental noise acquired by the microphone, and identifying the current scene of the electronic device according to the environmental noise energy distribution to output an identification result.
The headset of the present application embodiment includes a headset processor. The earphone processor is used for acquiring an identification result of a current scene where the electronic equipment is located, wherein the identification result is transmitted by the electronic equipment; and adjusting the tone quality of the audio played by the earphone according to the identification result.
The non-transitory computer-readable storage medium of the embodiments of the present application contains a computer program that, when executed by one or more processors, causes the processors to perform the following sound quality adjustment method: when an earphone is connected with electronic equipment to play audio, acquiring environmental noise energy distribution around the electronic equipment; identifying the current scene of the electronic equipment according to the environmental noise energy distribution to output an identification result; and adjusting the tone quality of the audio played by the earphone according to the identification result.
The sound quality adjusting method, the sound quality adjusting system, the electronic device, the earphone and the nonvolatile computer readable storage medium according to the embodiment of the present application collect the ambient noise around the electronic device when the earphone is connected to the electronic device to play the audio, obtain the energy distribution of the ambient noise, and identify the current scene where the electronic device is located according to the energy distribution of the ambient noise to output the identification result; and adjusting the tone quality of the played audio according to the recognition result, and quickly adjusting the tone quality of the audio which accords with the current scene, thereby meeting the high pursuit of the current user on the sound quality in various scenes.
Additional aspects and advantages of embodiments of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of embodiments of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart of a sound quality adjustment method according to some embodiments of the present application;
fig. 2 is a schematic structural diagram of a sound quality adjusting system according to some embodiments of the present application;
fig. 3 and 4 are schematic flow diagrams of a sound quality adjustment method according to some embodiments of the present application;
fig. 5 is a time domain diagram of the noise energy distribution of the pitch adjustment method according to some embodiments of the present application;
fig. 6 is a schematic flow chart of a sound quality adjustment method according to some embodiments of the present application;
fig. 7 is a frequency domain diagram of the noise energy distribution of the pitch adjustment method according to some embodiments of the present application;
fig. 8 is a schematic flow chart of a sound quality adjustment method according to some embodiments of the present application;
FIG. 9 is a schematic diagram of a connection state of a computer-readable storage medium and a processor according to some embodiments of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of explaining the embodiments of the present application, and are not to be construed as limiting the embodiments of the present application.
Referring to fig. 1 and fig. 2, an embodiment of the present application provides a sound quality adjusting method. The tone quality adjusting method comprises the following steps:
01: acquiring the environmental noise energy distribution around the electronic device 300 when the earphone 300 is connected with the electronic device 100 to play audio;
03: identifying the current scene of the electronic device 100 according to the environmental noise energy distribution to output an identification result; and
05: adjusting the tone quality of the audio played by the earphone 300 according to the recognition result;
referring to fig. 2, the present embodiment further provides a sound quality adjusting system 1000. The sound quality adjustment system 1000 includes the electronic device 100 and the earphone 300. The electronic device 100 comprises a microphone 10 and a device processor 20, and the headset 300 comprises a headset processor 301. The sound quality adjustment method according to the embodiment of the present application is applicable to the sound quality adjustment system 1000 according to the embodiment of the present application. Where the device processor 20 is operable to perform the methods in 01 and 03 and the headphone processor 301 is operable to perform the method in 05.
That is, referring to fig. 1, when the earphone 300 is connected to the electronic device 100 to play audio, the device processor 20 is configured to obtain an environmental noise energy distribution around the electronic device 100, and the device processor 20 is further configured to identify a current scene according to the environmental noise energy distribution to output an identification result. The earphone processor 301 is configured to adjust the sound quality of the audio played by the earphone 300 according to the recognition result.
At present, when the surrounding environment changes, the sound quality adjustment achieved only by noise reduction cannot meet the high pursuit of the user on the sound quality, and the earphone 300 processes the sound signal through its microphone, which may increase the power consumption of the earphone 300, resulting in a short duration of the earphone 300. The sound quality adjusting method and the sound quality adjusting system 1000 according to the embodiment of the present application acquire the ambient noise around the electronic device 100, acquire the energy distribution of the ambient noise, and identify the current scene where the electronic device is located according to the energy distribution of the ambient noise to output the identification result, when the earphone 300 is connected to the electronic device 100 to play the audio; on one hand, the tone quality of the audio which accords with the current scene can be quickly adjusted, so that the high pursuit of the current user on the sound quality in various scenes is met; on the other hand, since obtaining the environmental noise energy distribution around the electronic device 100 and identifying the current scene where the electronic device 100 is located according to the environmental noise energy distribution to output the identification result are both implemented by the device processor 20 in the electronic device 100, the power consumption of the headset 300 is reduced, and the cruising ability of the headset 300 is improved.
Referring to fig. 2, the electronic device 100 may be an electronic device 100 such as a mobile phone, a tablet computer, a notebook computer, a smart watch, or other electronic devices 100 capable of collecting environmental noise energy distribution. The headphones 300 may be wireless headphones, wired headphones, or other headphones 300 capable of playing audio. In the present application, the electronic device 100 is a mobile phone, and the headset 300 is a wireless headset, for example, it is understood that the specific form of the electronic device 100 and the headset 300 is not limited to the mobile phone and the wireless headset.
Referring to fig. 2 and 3, in some embodiments, when the electronic device 100 is provided with a plurality of microphones 10, 01: acquiring an environmental noise energy distribution around the electronic device 100, comprising:
011: acquiring sub-noise energy around the electronic device 100 collected by the plurality of microphones 10; and
013: and performing fusion processing on the multiple sub-noise energies to obtain the environmental noise energy distribution.
With continued reference to fig. 2 and 3, device processor 20 is further configured to perform the methods of 011 and 013, i.e., when there are multiple microphones 10, device processor 20 is configured to obtain sub-noise energy around electronic device 100 collected by the multiple microphones 10; and performing fusion processing on the multiple sub-noise energies to acquire environmental noise energy distribution.
Wherein the number of microphones 10 may be two, three, four, five, six or even more. In the present application, the number of the microphones 10 is only four, and other numbers are not listed. Specifically, the microphones 10 are respectively a first microphone 11, a second microphone 12, a third microphone 13 and a fourth microphone 14, the first microphone 11 is located near an earphone at the top end of the electronic device 100, the second microphone 12 is located near a rear camera of the electronic device 100, and the third microphone 13 is located at two sides of the USB interface at the bottom end of the electronic device 100. The first microphone 11, the first microphone 12, the third microphone 12 and the fourth microphone 14 collect ambient noise around the electronic device 100, and the device processor 20 obtains a plurality of sub-noise energies from the ambient noise collected by the 4 microphones 10, and performs a fusion process on the sub-noise energies to obtain an ambient noise energy distribution. Compared with the method that only one microphone 10 is arranged to collect the environmental noise, the sound quality adjusting system 1000 collects the environmental noise at different angles around the electronic device 100 by arranging the plurality of microphones 10, namely, the collected environmental noise can reflect the noise condition of the current environment more truly, then, the environmental noise acquired by the device processor 20 through multiple angles can obtain a plurality of sub-noise energies, the more accurate environmental noise energy distribution can be fused through the plurality of sub-noise energies, and the accuracy of subsequent scene identification can also be improved.
It is understood that when the number of the microphones 10 is other, the location of the plurality of microphones 10 may be other, and in general, only the range collected by the plurality of microphones 10 is required to be distributed at the top end, the bottom end, the front side and the back side of the electronic device 100, and the collection ranges of the plurality of microphones 10 are complementary and partially overlap as best.
Referring to fig. 3 and 4, in some embodiments, each sub-noise energy has a corresponding noise curve, 013: performing fusion processing on the multiple sub-noise energies to obtain an environmental noise energy distribution, which may include:
0131: comparing the plurality of noise curves at each moment to extract an energy value of the noise curve with the maximum energy; and
0133: and splicing the energy values of the maximum noise curves corresponding to all the moments to obtain the environmental noise energy distribution.
Referring to FIG. 2, device processor 20 may be configured to perform the methods of 0131 and 0133. I.e. the device processor 20 is operable to: comparing the plurality of noise curves at each moment to extract an energy value of the noise curve with the maximum energy; and splicing the energy values of the maximum noise curves corresponding to all the moments to obtain the environmental noise energy distribution.
Referring to fig. 5, as shown in the left diagram of fig. 5, a plurality of noise curves obtained by the device processor 20 through the environmental noise collected by the first microphone 11, the second microphone 12, the third microphone 13, and the fourth microphone 14 are respectively shown, and the device processor 20 may compare 4 noise curves, which are obtained by comparing the corresponding curves with the largest energy value in the 4 noise energy curves at the same time. As shown in the right diagram of fig. 5, after the corresponding curve with the largest energy value in the 4 noise energy curves at the same time is obtained, the device processor 20 splices the corresponding curves with the largest energy value in the 4 noise energy curves at all times, so as to obtain the curve of the environmental noise energy distribution. For example, in the first second, the noise curve obtained from the environmental noise collected by the first microphone 11 is the noise curve with the largest energy value; in the second, the noise curve obtained according to the environmental noise collected by the second microphone 12 is the noise curve with the largest energy value; in the third second, a noise curve obtained according to the environmental noise collected by the third microphone 13 is a noise curve with the largest energy value; in the fourth second, the noise curve obtained according to the environmental noise collected by the fourth microphone 14 is the noise curve with the largest energy value, and the device processor 20 will splice the energy values of the 4 seconds (1 st second to 4 th seconds) to obtain the final environmental noise energy distribution. Therefore, the environment noise energy distribution is formed by connecting and then smoothly filtering the energy value at the 1 st second of the noise curve of the first microphone 11, the energy value at the 2 nd second of the noise curve of the second microphone 12, the energy value at the 3 rd second of the noise curve of the third microphone 13 and the energy value at the 4 th second of the noise curve of the fourth microphone 11, so as to obtain the accurate environment energy distribution around the electronic device 100.
Referring to fig. 6, in some embodiments, 03: identifying the current scene in which the electronic device 100 is located according to the environmental noise energy to output an identification result may include:
031: fourier transform is adopted for the environmental noise energy distribution to obtain frequency domain noise energy distribution;
033: acquiring frequency band noise energy corresponding to each frequency band in frequency domain noise energy distribution and total noise energy corresponding to the whole frequency domain;
035: acquiring the proportion of the frequency band noise energy corresponding to each frequency band according to the frequency band noise energy and the total noise energy; and
037: and acquiring the current scene of the electronic equipment 100 according to the occupation ratio and the preset occupation ratio range to output the recognition result.
Referring to fig. 2, the device processor 20 may also be configured to perform the methods of 031, 033, 035, 037. I.e. the device processor 20 is operable to: fourier transform is adopted for the environmental noise energy distribution to obtain frequency domain noise energy distribution; acquiring frequency band noise energy corresponding to each frequency band in frequency domain noise energy distribution and total noise energy corresponding to the whole frequency domain; acquiring the proportion of the frequency band noise energy corresponding to each frequency band according to the frequency band noise energy and the total noise energy; and acquiring the current scene of the electronic device 100 according to the occupation ratio and the preset occupation ratio range to output the recognition result.
In one embodiment, the device processor 20 obtains the frequency-domain noise energy distribution by using fourier transform, so as to obtain the frequency-band noise energy corresponding to each frequency band in the frequency-domain noise energy distribution. The device processor 20 may determine the current scene where the electronic device 100 is located by comparing the actual noise energy ratio with a plurality of preset ratio ranges, and output the recognition result. As shown in fig. 7, the device processor 20 obtains the total noise energy through the noise energy distribution of each frequency band corresponding to the frequency band of 0 to 8000Hz (hertz). The method can compare the noise energy of the frequency band corresponding to each frequency band with a preset proportion range, wherein the preset proportion range comprises a plurality of proportion ranges, and each proportion range corresponds to one application scene. For example, the occupation range includes an occupation range corresponding to a quiet environment, an occupation range corresponding to an outdoor environment, an occupation range corresponding to a subway environment, and the like, which are not listed herein. For example: as shown in FIG. 7, the frequency domain of the whole noise energy distribution is divided into three bands, i.e., a low band, a middle band and a high band, assuming that 0-2000HZ is the low band, 2000-4000 is the middle band, 4000-8000 is the high band, and if the ratio of the band noise energy of the low band to the quiet environment is [ a1, b1], the ratio of the band noise energy of the middle band to the quiet environment is [ c1, d1], the ratio of the band noise energy of the high band to the quiet environment is [ e1, f1], after the method 035 is completed, the ratio of the band noise energy of the low band to the total noise energy (the ratio of the band noise energy of the low band) is [ a1, b1], the ratio of the band noise energy of the middle band to the total noise energy (the ratio of the band noise energy of the middle band) is [ c1, d1], and the ratio of the band noise energy of the high band to the total noise energy (the ratio of the band noise energy of the high band) is [ c1, d1] In the range of [ e1, f1], the current scene can be identified as a quiet environment in the process of executing the method in 037. Similarly, if the occupation ratio range of the frequency band noise energy of the low frequency band to the outdoor environment is [ a2, b2], the occupation ratio range of the frequency band noise energy of the medium frequency band to the outdoor environment is [ c2, d2], the occupation ratio range of the frequency band noise energy of the high frequency band to the outdoor environment is [ e2, f2], after the method 035 is executed, the ratio of the frequency band noise energy of the low frequency band to the total noise energy (the ratio of the frequency band noise energy of the low frequency band) is obtained to be in the range of [ a2, b2], the ratio of the frequency band noise energy of the middle frequency band to the total noise energy (the ratio of the frequency band noise energy of the middle frequency band) is obtained to be in the range of [ c2, d2], and the ratio of the frequency band noise energy of the high frequency band to the total noise energy (the ratio of the frequency band noise energy of the high frequency band) is in the range of [ e2, f2], then the current scene can be identified as an outdoor environment in the process of executing the method in 037. Similarly, if the occupation ratio range of the frequency band noise energy of the low frequency band to the subway environment is [ a3, b3], the occupation ratio range of the frequency band noise energy of the medium frequency band to the subway environment is [ c3, d3], the occupation ratio range of the frequency band noise energy of the high frequency band to the subway environment is [ e3, f3], after the method 035 is executed, the ratio of the frequency band noise energy of the low frequency band to the total noise energy (the ratio of the frequency band noise energy of the low frequency band) is obtained to be in the range of [ a3, b3], the ratio of the frequency band noise energy of the middle frequency band to the total noise energy (the ratio of the frequency band noise energy of the middle frequency band) is obtained to be in the range of [ c3, d3], and the ratio of the frequency band noise energy of the high frequency band to the total noise energy (the ratio of the frequency band noise energy of the high frequency band) is in the range of [ e3, f3], the current scene can be identified as the subway environment in the process of executing the method in 037.
After recognizing the current scene, the device processor 20 may output the recognition result in a predetermined form, for example, the recognition result may be represented by natural numbers such as codes 1, 2, and 3, where, for example, code 1 represents a quiet environment, code 2 represents an outdoor environment, and code 3 represents a subway environment. Of course, the form of encoding is not limited to natural numbers, and may be decimal, which is not listed here.
The recognition result output by the device processor 20 may be used in the audio domain, see fig. 8, in some embodiments, 05: the recognition result adjusts the sound quality of the audio played by the earphone 300, and may include:
051: calling an audio parameter curve corresponding to the identification result according to the identification result, wherein the audio parameter curve comprises at least one of a loudness curve and an equalizer curve; and
053: the headphones 300 are controlled to play audio with the recalled audio parameter profile.
Referring to fig. 2, the headphone processor 301 is configured to perform the methods of 051 and 053, that is, the headphone processor 301 is configured to call an audio parameter curve corresponding to the recognition result according to the recognition result, where the audio parameter curve includes at least one of a loudness curve and an equalizer curve; and controls the headset 300 to play audio with the called audio parameter curve.
That is, the earphone processor 301 may be configured to obtain a recognition result of a current scene where the electronic device 100 is located, which is transmitted by the electronic device 100, and the earphone processor 301 may be further configured to call a corresponding audio parameter curve stored in the earphone 300 through the recognition result, so as to adjust the playing sound quality of the earphone 300. The audio parameter curve may be a loudness curve, an equalizer curve, etc., the headphone processor 301 may adjust the loudness of the played audio through the loudness curve, and the headphone processor 301 may also adjust the tone type of the played audio through the equalizer curve, such as human voice, rock, classical, etc., or may make the sound of the played audio clearer. The headphone processor 301 may invoke a loudness curve, or an equalizer curve, or both a loudness curve and an equalizer curve. For example, when the recognition result output by the device processor 20 is code 1, the headphone processor 301 obtains code 1, and may call the loudness curve 1 and/or the equalizer curve 1 from the memory of the headphone 300 to adapt to audio playback in a quiet environment; when the recognition result output by the device processor 20 is code 2, the headphone processor 301 obtains the code 2, and may call the loudness curve 2 and/or the equalizer curve 2 from the memory of the headphone 300 to adapt to the audio playing in the outdoor environment; when the recognition result output by the device processor 20 is code 3, the headphone processor 301 retrieves code 3 and may recall the loudness curve 3 and/or equalizer curve 3 from the memory of the headphone 300 to adapt to the audio playback in the subway environment. Therefore, the tone quality of the audio conforming to the current scene can be quickly adjusted, and the high pursuit of the current user on the sound quality under different scenes is met.
In another embodiment, the earphone processor 301 is further configured to obtain a recognition result of a current scene where the electronic device 100 is located, transmitted by the electronic device 100; and directly adjusting the tone quality of the audio played by the earphone 300 according to the recognition result. When the identification result output by the device processor 20 is code 1, the earphone processor 301 obtains code 1, and can directly turn down the volume to adapt to audio playing in a quiet environment; when the identification result output by the device processor 20 is code 2, the earphone processor 301 obtains the code 2, and can directly turn up the volume to adapt to the audio playing in the outdoor environment; when the recognition result output by the device processor 20 is the code 3, the headphone processor 301 obtains the code 3, and can directly adjust the moderate volume to adapt to the audio playing in the subway environment. Therefore, the tone quality of the audio conforming to the current scene can be quickly adjusted, and the high pursuit of the current user on the sound quality under different scenes is met.
It should be noted that the headset 300 may be wirelessly connected to the electronic device 100 through a wireless module such as bluetooth, WiFi (wireless local area network), LiFi (visible light wireless communication technology), and the headset 300 may also be connected to the electronic device 100 through a cable.
In the sound quality adjusting system 1000 of the present application, when the earphone 300 is connected to the electronic device 100 to play audio, the microphone 10 collects ambient noise around the electronic device 100. The device processor 20 obtains the environmental noise energy distribution through the environmental noise collected by the microphone 10, analyzes and processes the data of the environmental noise energy distribution, determines the current environment of the electronic device 100, and outputs the recognition result. The earphone processor 301 obtains the recognition result, calls a corresponding audio parameter curve in the earphone 300 according to the recognition result, and controls the earphone 300 to play audio by using the called audio parameter curve. . On one hand, the tone quality of the audio conforming to the current scene can be quickly adjusted, so that the high pursuit of the current user on the sound quality in various scenes is met; on the other hand, since obtaining the environmental noise energy distribution around the electronic device 100 and identifying the current scene where the electronic device 100 is located according to the environmental noise energy distribution to output the identification result are both implemented by the device processor 20 in the electronic device 100, the power consumption of the headset 300 is reduced, and the cruising ability of the headset 300 is improved.
Referring to fig. 9, the present application further provides a non-volatile computer-readable storage medium 500 containing a computer program 501. The computer program 501, when executed by the one or more processors 20/301, causes the one or more processors 20/301 to perform the method of sound quality adjustment of any of the embodiments described above.
For example, the computer program 501, when executed by the one or more processors 20/301, causes the processor 20/301 to perform the following method of sound quality adjustment:
01: acquiring the environmental noise energy distribution around the electronic device 300 when the earphone 300 is connected with the electronic device 100 to play audio;
03: identifying the current scene of the electronic device 100 according to the environmental noise energy distribution to output an identification result; and
05: and adjusting the sound quality of the audio played by the earphone 300 according to the recognition result.
As another example, the computer program 501, when executed by the one or more processors 20/301, causes the processor 20 to perform the following tone quality adjustment method:
011: acquiring sub-noise energy around the electronic device 100 collected by the plurality of microphones 10; and
013: and performing fusion processing on the multiple sub-noise energies to obtain the environmental noise energy distribution.
As another example, the computer program 501, when executed by the one or more processors 20/301, causes the processor 20/301 to perform the following method of pitch adjustment:
0131: comparing the plurality of noise curves at each moment to extract an energy value of the noise curve with the maximum energy; and
0133: and splicing the energy values of the maximum noise curves corresponding to all the moments to obtain the environmental noise energy distribution.
As another example, the computer program 501, when executed by the one or more processors 20/301, causes the processor 20/301 to perform the following method of pitch adjustment:
01: acquiring the environmental noise energy distribution around the electronic device 300 when the earphone 300 is connected with the electronic device 100 to play audio;
031: fourier transform is adopted for the environmental noise energy distribution to obtain frequency domain noise energy distribution;
033: acquiring frequency band noise energy corresponding to each frequency band in frequency domain noise energy distribution and total noise energy corresponding to the whole frequency domain;
035: acquiring the proportion of the frequency band noise energy corresponding to each frequency band according to the frequency band noise energy and the total noise energy;
037: acquiring a current scene where the electronic equipment 100 is located according to the occupation ratio and a preset occupation ratio range to output an identification result; and
05: and adjusting the sound quality of the audio played by the earphone 300 according to the recognition result.
Also for example, the computer program 501, when executed by the one or more processors 20/301, causes the processor 20/301 to perform the following method of pitch adjustment:
051: calling an audio parameter curve corresponding to the identification result according to the identification result, wherein the audio parameter curve comprises at least one of a loudness curve and an equalizer curve; and
053: the headphones 300 are controlled to play audio with the recalled audio parameter profile.
In the description herein, references to the description of the terms "certain embodiments," "one example," "exemplary," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
Although embodiments of the present application have been shown and described above, it is to be understood that the above embodiments are exemplary and not to be construed as limiting the present application, and that changes, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (23)

1. A method for adjusting sound quality, comprising:
when an earphone is connected with electronic equipment to play audio, acquiring environmental noise energy distribution around the electronic equipment;
identifying the current scene of the electronic equipment according to the environmental noise energy distribution to output an identification result; and
and adjusting the tone quality of the audio played by the earphone according to the identification result.
2. The method for adjusting sound quality according to claim 1, wherein said electronic device is provided with a plurality of microphones, and said obtaining an environmental noise energy distribution around said electronic device includes:
acquiring sub-noise energy around the electronic equipment collected by a plurality of microphones; and
and performing fusion processing on a plurality of sub-noise energies to obtain the environmental noise energy distribution.
3. The method for adjusting sound quality according to claim 2, wherein each of the sub-noise energies has a corresponding noise curve, and the fusing the sub-noise energies to obtain the environmental noise energy distribution comprises:
comparing the plurality of noise curves at each moment to extract an energy value of a noise curve with the maximum energy; and
and splicing the energy values of the maximum noise curves corresponding to all the moments to obtain the environmental noise energy distribution.
4. The method for adjusting sound quality according to claim 1, wherein said identifying a current scene in which the electronic device is located according to the environmental noise energy to output an identification result comprises:
performing Fourier transform on the environmental noise energy distribution to obtain frequency domain noise energy distribution;
acquiring frequency band noise energy corresponding to each frequency band in the frequency domain noise energy distribution and total noise energy corresponding to the whole frequency domain;
acquiring the proportion of the frequency band noise energy corresponding to each frequency band according to the frequency band noise energy and the total noise energy; and
and acquiring the current scene of the electronic equipment according to the proportion and a preset proportion range to output a recognition result.
5. The method for adjusting sound quality according to claim 1, wherein said adjusting the sound quality of the audio played by the earphone according to the recognition result comprises:
calling an audio parameter curve corresponding to the identification result according to the identification result, wherein the audio parameter curve comprises at least one of a loudness curve and an equalizer curve; and
and controlling the earphone to play the audio according to the called audio parameter curve.
6. A method for adjusting sound quality, comprising:
when an earphone is connected with electronic equipment to play audio, acquiring environmental noise energy distribution around the electronic equipment; and
and identifying the current scene of the electronic equipment according to the environmental noise energy distribution so as to output an identification result.
7. The method for adjusting sound quality according to claim 6, wherein said electronic device is provided with a plurality of microphones, and said obtaining an environmental noise energy distribution around said electronic device includes:
acquiring sub-noise energy distribution around the electronic equipment acquired by the microphone; and
and performing fusion processing on a plurality of sub-noise energies to obtain the environmental noise energy distribution.
8. The method for adjusting sound quality according to claim 6, wherein each of said sub-noise energies has a corresponding noise curve, and said performing a fusion process on a plurality of said sub-noise energies to obtain said environmental noise energy distribution comprises:
comparing the plurality of noise curves at each moment to extract an energy value of a noise curve with the maximum energy;
and splicing the energy values of the maximum noise curves corresponding to all the moments to obtain the environmental noise energy distribution.
9. The method for adjusting sound quality according to claim 6, wherein said identifying a current scene in which the electronic device is located according to the environmental noise energy to output an identification result comprises:
performing Fourier transform on the environmental noise energy distribution to obtain frequency domain noise energy distribution;
acquiring frequency band noise energy corresponding to each frequency band in the frequency domain noise energy distribution and total noise energy corresponding to the whole frequency domain;
acquiring the proportion of the frequency band noise energy corresponding to each frequency band according to the frequency band noise energy and the total noise energy;
and acquiring the current scene of the electronic equipment according to the proportion and a preset proportion range to output a recognition result.
10. A method for adjusting sound quality, comprising:
acquiring an identification result of a current scene where the electronic equipment is located, wherein the identification result is transmitted by the electronic equipment; and
and adjusting the tone quality of the audio played by the earphone according to the identification result.
11. The method for adjusting sound quality according to claim 10, wherein said adjusting the sound quality of the audio played by the earphone according to the recognition result comprises:
calling an audio parameter curve corresponding to the identification result according to the identification result, wherein the audio parameter curve comprises at least one of a loudness curve and an equalizer curve; and
and controlling the earphone to play the audio according to the called audio parameter curve.
12. A sound quality adjustment system, comprising:
the electronic equipment comprises a microphone and an equipment processor, when an earphone is connected with the electronic equipment to play audio, the microphone collects ambient noise around the electronic equipment, and the equipment processor is used for acquiring ambient noise energy distribution according to the ambient noise collected by the microphone and identifying the current scene where the electronic equipment is located according to the ambient noise energy distribution so as to output an identification result; and
and the earphone is used for adjusting the tone quality of the audio played by the earphone according to the identification result.
13. The system for adjusting sound quality of claim 12, wherein said number of microphones is plural, and said device processor is further configured to:
acquiring sub-noise energy around the electronic equipment collected by a plurality of microphones; and
and performing fusion processing on a plurality of sub-noise energies to obtain the environmental noise energy distribution.
14. The system for adjusting sound quality according to claim 13, wherein each of said sub-noise energies has a corresponding noise curve, and said fusing the plurality of sub-noise energies to obtain the environmental noise energy distribution comprises:
comparing the plurality of noise curves at each moment to extract an energy value of a noise curve with the maximum energy;
and splicing the energy values of the maximum noise curves corresponding to all the moments to obtain the environmental noise energy distribution.
15. The system for adjusting sound quality of claim 12, wherein said device processor is further configured to:
performing Fourier transform on the environmental noise energy distribution to obtain frequency domain noise energy distribution;
acquiring frequency band noise energy corresponding to each frequency band in the frequency domain noise energy distribution and total noise energy corresponding to the whole frequency domain;
acquiring the proportion of the frequency band noise energy corresponding to each frequency band according to the frequency band noise energy and the total noise energy; and
and acquiring the current scene of the electronic equipment according to the proportion and a preset proportion range to output a recognition result.
16. The system of claim 12, wherein the headset comprises a headset processor configured to:
calling an audio parameter curve corresponding to the identification result according to the identification result, wherein the audio parameter curve comprises at least one of a loudness curve and an equalizer curve; and
and controlling the earphone to play the audio according to the called audio parameter curve.
17. An electronic device, comprising:
a microphone that collects ambient noise around the electronic device when an earphone is connected to the electronic device to play audio; and
and the equipment processor is used for acquiring environmental noise energy distribution according to the environmental noise acquired by the microphone and identifying the current scene where the electronic equipment is positioned according to the environmental noise energy distribution so as to output an identification result.
18. The electronic device of claim 17, wherein the number of microphones is multiple, and wherein the device processor is further configured to:
acquiring sub-noise energy around the electronic equipment collected by a plurality of microphones; and
and performing fusion processing on a plurality of sub-noise energies to obtain the environmental noise energy distribution.
19. The electronic device of claim 18, wherein each of the sub-noise energies has a corresponding noise curve, the device processor further configured to:
comparing the plurality of noise curves at each moment to extract an energy value of a noise curve with the maximum energy;
and splicing the energy values of the maximum noise curves corresponding to all the moments to obtain the environmental noise energy distribution.
20. The electronic device of claim 17, wherein the device processor is further configured to:
performing Fourier transform on the environmental noise energy distribution to obtain frequency domain noise energy distribution;
acquiring frequency band noise energy corresponding to each frequency band in the frequency domain noise energy distribution and total noise energy corresponding to the whole frequency domain;
acquiring the proportion of the frequency band noise energy corresponding to each frequency band according to the frequency band noise energy and the total noise energy; and
and acquiring the current scene of the electronic equipment according to the proportion and a preset proportion range to output a recognition result.
21. An earphone, comprising an earphone processor configured to:
acquiring an identification result of a current scene where the electronic equipment is located, wherein the identification result is transmitted by the electronic equipment; and
and adjusting the tone quality of the audio played by the earphone according to the identification result.
22. The headset of claim 21, wherein the headset processor is further configured to:
calling an audio parameter curve corresponding to the identification result according to the identification result, wherein the audio parameter curve comprises at least one of a loudness curve and an equalizer curve; and
and controlling the earphone to play the audio according to the called audio parameter curve.
23. One or more non-transitory computer-readable storage media storing a computer program that, when executed by one or more processors, implements the sound quality adjustment method according to any one of claims 1 to 11.
CN202010880039.2A 2020-08-27 2020-08-27 Sound quality adjusting method, sound quality adjusting system and computer readable storage medium Active CN111970609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010880039.2A CN111970609B (en) 2020-08-27 2020-08-27 Sound quality adjusting method, sound quality adjusting system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010880039.2A CN111970609B (en) 2020-08-27 2020-08-27 Sound quality adjusting method, sound quality adjusting system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111970609A true CN111970609A (en) 2020-11-20
CN111970609B CN111970609B (en) 2022-07-12

Family

ID=73399639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010880039.2A Active CN111970609B (en) 2020-08-27 2020-08-27 Sound quality adjusting method, sound quality adjusting system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111970609B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190207A (en) * 2021-04-26 2021-07-30 北京小米移动软件有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN113556654A (en) * 2021-07-16 2021-10-26 RealMe重庆移动通信有限公司 Audio data processing method and device and electronic equipment
WO2024098895A1 (en) * 2022-11-11 2024-05-16 Oppo广东移动通信有限公司 Audio processing method and apparatus, and audio playback device and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11136542A (en) * 1997-11-04 1999-05-21 Sony Corp Control method/device for noise reduction device
CN105719644A (en) * 2014-12-04 2016-06-29 中兴通讯股份有限公司 Method and device for adaptively adjusting voice recognition rate
US20180020282A1 (en) * 2015-01-26 2018-01-18 Shenzhen Grandsun Electronic Co., Ltd. Earphone noise reduction method and apparatus
CN108882092A (en) * 2018-07-03 2018-11-23 歌尔智能科技有限公司 A kind of earphone noise-reduction method and feedback noise reduction system
CN108900943A (en) * 2018-07-24 2018-11-27 四川长虹电器股份有限公司 A kind of scene adaptive active denoising method and earphone
CN109151648A (en) * 2018-10-30 2019-01-04 歌尔科技有限公司 A kind of dynamic regulating method of earpiece volume, device and wireless headset
CN109215652A (en) * 2018-10-16 2019-01-15 深圳Tcl新技术有限公司 Volume adjusting method, device, playback terminal and computer readable storage medium
CN111356008A (en) * 2018-12-21 2020-06-30 深圳Tcl数字技术有限公司 Automatic television volume adjusting method, smart television and storage medium
WO2020149726A1 (en) * 2019-01-18 2020-07-23 Samsung Electronics Co., Ltd. Intelligent volume control
CN111510814A (en) * 2020-04-29 2020-08-07 Oppo广东移动通信有限公司 Noise reduction mode control method and device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11136542A (en) * 1997-11-04 1999-05-21 Sony Corp Control method/device for noise reduction device
CN105719644A (en) * 2014-12-04 2016-06-29 中兴通讯股份有限公司 Method and device for adaptively adjusting voice recognition rate
US20180020282A1 (en) * 2015-01-26 2018-01-18 Shenzhen Grandsun Electronic Co., Ltd. Earphone noise reduction method and apparatus
CN108882092A (en) * 2018-07-03 2018-11-23 歌尔智能科技有限公司 A kind of earphone noise-reduction method and feedback noise reduction system
CN108900943A (en) * 2018-07-24 2018-11-27 四川长虹电器股份有限公司 A kind of scene adaptive active denoising method and earphone
CN109215652A (en) * 2018-10-16 2019-01-15 深圳Tcl新技术有限公司 Volume adjusting method, device, playback terminal and computer readable storage medium
CN109151648A (en) * 2018-10-30 2019-01-04 歌尔科技有限公司 A kind of dynamic regulating method of earpiece volume, device and wireless headset
CN111356008A (en) * 2018-12-21 2020-06-30 深圳Tcl数字技术有限公司 Automatic television volume adjusting method, smart television and storage medium
WO2020149726A1 (en) * 2019-01-18 2020-07-23 Samsung Electronics Co., Ltd. Intelligent volume control
CN111510814A (en) * 2020-04-29 2020-08-07 Oppo广东移动通信有限公司 Noise reduction mode control method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
田野: "一种基于噪声场景识别与多特征集成学习的活动语音检测方法", 《电声技术》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190207A (en) * 2021-04-26 2021-07-30 北京小米移动软件有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN113556654A (en) * 2021-07-16 2021-10-26 RealMe重庆移动通信有限公司 Audio data processing method and device and electronic equipment
CN113556654B (en) * 2021-07-16 2022-11-22 RealMe重庆移动通信有限公司 Audio data processing method and device and electronic equipment
WO2024098895A1 (en) * 2022-11-11 2024-05-16 Oppo广东移动通信有限公司 Audio processing method and apparatus, and audio playback device and storage medium

Also Published As

Publication number Publication date
CN111970609B (en) 2022-07-12

Similar Documents

Publication Publication Date Title
CN111970609B (en) Sound quality adjusting method, sound quality adjusting system and computer readable storage medium
US9299333B2 (en) System for adaptive audio signal shaping for improved playback in a noisy environment
US10657945B2 (en) Noise control method and device
US20210217433A1 (en) Voice processing method and apparatus, and device
CN113676804A (en) Active noise reduction method and device
US20180152163A1 (en) Noise control method and device
CN110580141B (en) Mobile terminal
EP4113514A1 (en) Methods, apparatus and computer programs for noise reduction
US20220246161A1 (en) Sound modification based on frequency composition
CN105120063A (en) Volume prompting method of input voice and electronic device
CN104735232A (en) Method and device for achieving hearing-aid function on mobile terminal
JP2023525138A (en) Active noise canceling method and apparatus
CN113949955A (en) Noise reduction processing method and device, electronic equipment, earphone and storage medium
US9084050B2 (en) Systems and methods for remapping an audio range to a human perceivable range
CN103297896B (en) A kind of audio-frequency inputting method and electronic equipment
CN112333602B (en) Signal processing method, signal processing apparatus, computer-readable storage medium, and indoor playback system
CN104464746A (en) Voice filtering method and device and electron equipment
CN109511040B (en) Whisper amplifying method and device and earphone
CN111193983A (en) Earphone sound coding regulation and control device and application method thereof
CN105721710A (en) Recording method and apparatus, and electronic device
CN106293607B (en) Method and system for automatically switching audio output modes
CN111556406B (en) Audio processing method, audio processing device and earphone
CN110958343A (en) Mobile terminal noise reduction method and mobile terminal with noise reduction function
CN112954577B (en) Evaluation equipment and earphone evaluation real-time display method
CN210958747U (en) Earphone sound coding regulation and control device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant