Nothing Special   »   [go: up one dir, main page]

WO2019061333A1 - Sound effect adjustment method and device for audio output device - Google Patents

Sound effect adjustment method and device for audio output device Download PDF

Info

Publication number
WO2019061333A1
WO2019061333A1 PCT/CN2017/104501 CN2017104501W WO2019061333A1 WO 2019061333 A1 WO2019061333 A1 WO 2019061333A1 CN 2017104501 W CN2017104501 W CN 2017104501W WO 2019061333 A1 WO2019061333 A1 WO 2019061333A1
Authority
WO
WIPO (PCT)
Prior art keywords
sound
adjustment parameter
audio output
frequency response
output device
Prior art date
Application number
PCT/CN2017/104501
Other languages
French (fr)
Chinese (zh)
Inventor
曹军
张玉磊
王成永
Original Assignee
深圳传音通讯有限公司
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 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/104501 priority Critical patent/WO2019061333A1/en
Publication of WO2019061333A1 publication Critical patent/WO2019061333A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S7/00Indicating arrangements; Control arrangements, e.g. balance control

Definitions

  • the present application relates to the field of audio technologies, and in particular, to a sound effect adjustment method and device for an audio output device.
  • the speaker is the terminal of the entire sound system and is responsible for converting the audio electrical signal into an acoustic signal.
  • the speakers When the speakers are placed in the room to play music, the sound reverberates inside the room. What we hear is the sound that is reflected inside the room and mixed with the sound of the speakers.
  • the speakers When the speakers are placed inside the room to play music, the sound is reflected and mixed inside the room and then transmitted to the human ear. Because the room is generally not designed to listen to music, after reflecting and mixing the music released by the speakers, the sound may be more severely distorted during the interference process, and even cause defects in certain frequency bands and affect the sense of hearing. Different rooms have different structures, and the distortion may be different. It is difficult to balance the design of the speakers.
  • the embodiment of the present application provides a sound effect adjustment method for an audio output device, which can adjust sound effects differently for different environments, and reduce distortion caused by echo.
  • an embodiment of the present application provides a sound effect adjustment method for an audio output device, where the method includes:
  • the method further includes:
  • the receiving the adjustment adjustment parameter of the user input comprises:
  • a user's voice input is received, the voice input being used to indicate the correction adjustment parameter.
  • the method further includes:
  • the first database includes at least one play style and the at least one play style respectively corresponding to Correcting adjustment parameters
  • the method further includes:
  • an embodiment of the present invention provides an audio output device, where the device includes:
  • a sending unit configured to send the first sound
  • a receiving unit configured to receive a second sound, where the second sound is a reflected sound of the first sound
  • a processing unit configured to acquire a third frequency response curve according to a frequency response curve of the first sound and a frequency response curve of the second sound; the third frequency response curve characterizing the first sound and the first Frequency response characteristics after mixing of two sounds;
  • the processing unit is further configured to compare the third frequency response curve with the first frequency response curve to obtain a first sound effect adjustment parameter of the audio output device; the first sound effect adjustment parameter representation Description The distortion of the first sound and the second sound generated relative to the first sound is used to adjust the audio output by the audio output device.
  • the method further includes:
  • the receiving unit is further configured to receive a correction adjustment parameter that is input by the user based on the first sound effect adjustment parameter;
  • the processing unit is further configured to: modify the first sound effect adjustment parameter according to the correction adjustment parameter to obtain a second sound effect adjustment parameter; and the second sound effect adjustment parameter is used to adjust an audio output.
  • the receiving the adjustment parameter of the user input includes:
  • the receiving unit receives a voice input of the user, the voice input being used to indicate the correction adjustment parameter.
  • the method further includes:
  • the processing unit is further configured to: in the first database, match a play style associated with the keyword according to a keyword in the voice information; the first database includes at least one play style and the Correction adjustment parameters corresponding to at least one of the playback styles;
  • the method further includes:
  • the determining unit is configured to determine whether there is a change in the position of the audio device, and if the position of the audio device changes, the step of transmitting the first sound is performed again.
  • an embodiment of the present application provides another audio output device, including a processor, an audio circuit (audio input and audio output), and a memory, the processor, the audio circuit (audio input and audio output), and the memory mutual A connection, wherein the memory is for storing application code supporting a terminal to perform the above method, the processor being configured to perform the method of the first aspect above.
  • the embodiment of the present application provides a terminal, including the audio output device of the foregoing second aspect and the third aspect, that can perform the method of the foregoing first aspect.
  • an embodiment of the present application provides a computer readable storage medium, where the computer saves
  • the storage medium stores a computer program comprising program instructions that, when executed by the processor, cause the processor to perform the method of the first aspect described above.
  • the audio device acquires a frequency response curve of the sound in the environment by transmitting the first sound and receiving the second sound reflected by the first sound through the environment. Then, the first sound and the second sound are mixed by an algorithm to simulate the sound heard by the human ear, and then the frequency response curve of the sound is compared with the frequency response curve of the first sound to obtain a first sound effect adjustment parameter, and the parameter is obtained.
  • the audio used to adjust the output of the audio device. A sound effect adjustment is made for different effects of sound on different environments.
  • FIG. 1 is a schematic diagram of a scene of audio output and reception of a sound effect adjustment method of an audio output device according to an embodiment of the present application
  • FIG. 2 is a schematic flow chart of a sound effect adjustment method of an audio output device according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart of a sound effect adjustment method of an audio output device according to another embodiment of the present application.
  • FIG. 4 is a frequency response graph of a sound effect adjustment method of an audio output device according to an embodiment of the present application.
  • FIG. 5 is a schematic block diagram of an audio output device according to an embodiment of the present application.
  • FIG. 6 is a schematic block diagram of an audio output device according to another embodiment of the present disclosure.
  • FIG. 7 is a schematic block diagram of a terminal provided by an embodiment of the present application.
  • the term “if” can be interpreted as “when” or “on” or “in response to determining” or “in response to detecting” depending on the context. .
  • the phrase “if determined” or “if detected [condition or event described]” may be interpreted in context to mean “once determined” or “in response to determining” or “once detected [condition or event described] ] or “in response to detecting [conditions or events described]”.
  • FIG. 1 is a schematic diagram of a scene of audio output and reception of a sound effect adjustment method of an audio output device provided by the present application.
  • the first sound 103 played by the audio output device 101 is propagated in a small space environment, and an obstacle (wall) 105 is reflected to form a second sound 104, and the sound received by the human ear 102 is actually It is the sound after the first sound and the second sound are mixed, and the sound after the mixing is distorted compared with the first sound.
  • an audio receiver on the audio output device to simulate the sound heard by the human ear, it is possible to perform sound adjustment for different effects on the sound of different environments.
  • FIG. 2 is a schematic flow chart of a sound effect adjustment method of an audio output device provided by the present application. As shown in FIG. 2, the method includes but is not limited to the following steps: S201-S204.
  • the audio output device sends the first sound.
  • the first sound may be a frequency sweep signal
  • the frequency sweep signal may be used to obtain a frequency response characteristic of the first sound propagating in an environment where the audio output device is located before playing the audio file.
  • the frequency range of the frequency sweeping signal may be a range of sound frequencies (20-20000HZ) heard by some or all of the human ear, which is not limited herein.
  • the first sound may be the sound of the audio file being played.
  • the first half of the sound of the audio file being played can be used as the first sound to detect the effect of the echo effect in the environment where the audio output device is located, and the sound effect is adjusted for the half sound according to the influence. It can avoid reverberation distortion in the second half of the sound.
  • the audio output device may be provided with a sound calibration switch, and if the sound calibration switch is turned on, the audio output device sends the first sound to perform a sound adjustment step. If the sound effect calibration switch is not turned on, the audio output device does not transmit the first sound and does not perform the sound effect adjustment step. In response to this situation, the user can select whether to enable the sound effect adjustment, thereby improving the user experience.
  • the audio output device receives the second sound.
  • the second sound is a sound reflected by the first sound in an environment in which the audio output device is located, that is, an echo.
  • the environment in which the audio output device is located is in the room.
  • the audio output device emits a first sound, the first sound propagating in the room, encountering a wall in the room, and reflecting through the wall to form a second sound.
  • the second sound is propagated in the room to the audio output device location and received by the audio receiver built into the audio output device.
  • the second sound may be the sound after the first sound is reflected by one or more obstacles (such as a wall or the like).
  • the audio output device may detect the sound intensity value of the second sound according to the received second sound, and if the sound intensity value of the second sound is less than the preset sound intensity threshold, the following sound effect adjustment step is not performed. Understandably, the small volume of echo can produce little interference and can be ignored. In this way, the audio output from the audio output device can be more flexibly adjusted, and the method of adjusting the sound effect is applicable to different environments.
  • the sound after mixing the first sound and the second sound is the sound heard by the human ear.
  • the mobile terminal includes the above audio output device, and the user opens the music playing software to play music, and the user and the audio output device can be regarded as being in the same position in the room.
  • the above examples are merely illustrative of the application and should not be construed as limiting. Since the second sound is compared to the first sound, the waveform at the same frequency has an amplitude difference and/or a phase difference. Therefore, the sound heard by the human ear is distorted compared to the first sound.
  • the first sound and the second sound received by the audio receiver are mixed according to the frequency response curve of the first sound and the frequency response curve of the second sound.
  • the audio output device acquires a third frequency response curve after mixing the first sound and the second sound, and the third frequency response curve represents a frequency response characteristic after the first sound and the second sound are mixed.
  • the first sound effect adjustment parameter of the audio output device may be obtained.
  • the first sound effect adjustment parameter represents a distortion of the reverberation generated by the first sound and the second sound relative to the first sound, and is used to adjust the audio of the audio output device.
  • the third frequency response curve is compared with the frequency response curve of the first sound, and the sound pressure level difference of the two curves is obtained on the same frequency band (the sound of the first sound audio signal curve)
  • the pressure level is subtracted from the sound pressure level of the third frequency response curve), and the above-mentioned sound pressure level difference of all frequency bands is the first sound effect adjustment parameter.
  • curve 401 is the frequency response curve of the first sound
  • curve 402 is the third frequency response curve. Comparing curve 402 with curve 401, a first sound effect adjustment parameter can be obtained.
  • the equalizer 403 can perform sound adjustment on 20 frequency bands in the frequency range of 0-10000HZ.
  • the curve 402 is compared with the curve 401, and the sound pressure level (db) difference between the curve 402 and the curve 401 in 20 frequency bands is obtained, and each frequency band is 1 kHz. It can be seen that the sound pressure level difference is -25 db at a frequency of 4 kHz.
  • the first sound effect adjustment parameter is obtained by sequentially calculating the sound pressure level difference of the two curves on the 20 frequency bands.
  • the gains in the 20 frequency bands are sequentially adjusted according to the first sound effect adjustment parameter, and the gain is used to adjust the audio output by the audio output device.
  • the equalizer gain is -25db, and when the audio output device plays music, the sound of the frequency of 4KHZ in the music is reduced by 25db.
  • the sound effect adjustment in different environments can be realized by using an equalizer by mixing the frequency response curve of the sound and the frequency response curve of the standard sound.
  • FIG. 3 is a schematic flowchart of a sound effect adjustment method of another audio output device provided by the present application, including but not limited to the following steps S301-S306.
  • the audio output device sends the first sound.
  • the audio output device receives the second sound.
  • the first sound effect adjustment parameter of the audio output device may be obtained.
  • the audio output device receives the correction adjustment parameter based on the first sound effect adjustment parameter input by the user through the audio receiver. After the first sound effect adjustment parameter is obtained by the audio output device, the first sound effect adjustment parameter is modified according to the correction adjustment parameter input by the user, and the second sound effect adjustment parameter is obtained. For example, at a frequency of 4 kHz, the first sound adjustment parameter is -25 db, and the audio output device receives the user-corrected adjustment parameter of 5 db, and the second sound adjustment parameter is -20 db at a frequency of 4 kHz. When the audio output device plays music, the audio output with a frequency around 4 kHz is reduced by 20 db.
  • the examples are merely illustrative of the application and should not be construed as limiting.
  • the audio output device can accept a user's voice input for indication.
  • the audio output device can match the play style associated with the keyword in the first database according to the keyword in the voice input.
  • the first database includes at least one playback style and a correction adjustment parameter corresponding to each of the at least one playback style. For example, at a frequency of 4 kHz, the first sound adjustment parameter is -25 db, the keyword of the user's voice input is "rock style", and in the first database, the keyword "rock style" corresponds to the correction adjustment parameter at the frequency of 4 kHz. For 10db, the second sound adjustment parameter is -15db (ie -25db+10db).
  • the audio output device determines whether the position of the audio output device changes through the built-in sensor of the device. If there is a change in the position of the audio output device, the steps S301-S304 are re-executed, the first sound is sent, the second sound is received, and the third frequency response curve after the first sound and the second sound is mixed is obtained, and the third frequency response curve is obtained.
  • the first sound effect adjustment parameter of the audio output device is obtained by comparing with the frequency response curve of the first sound. If the position of the audio output device does not change, the audio output device continues to play the audio.
  • the audio output device plays the audio file
  • the audio output device determines that the position of the audio output device changes through the built-in sensor of the device, it is determined whether the distance moved by the position of the audio output device exceeds a preset distance threshold. If yes, re-execute the steps S301-S304, send the first sound, receive the second sound, obtain the third frequency response curve after mixing the first sound and the second sound, and compare the third frequency response curve with the frequency of the first sound The curve is compared to obtain the first sound adjustment parameter of the audio output device. If there is no change, the audio output device continues to play the audio.
  • the audio output device can adjust the sound effect of the audio output device in real time according to the change of the position of the audio output device, and can adjust the sound effect of the audio output device in a multilateral environment.
  • the audio output device 500 may include: a sending unit 501, a receiving unit 502, a processing unit 503, and a determining unit 504, where
  • the sending unit 501 can be configured to send the first sound.
  • the first sound may be a swept frequency signal, and the swept frequency signal may be used to obtain a frequency response characteristic of the first sound propagating within the environment in which the audio output device is located before playing the audio file.
  • the frequency range of the frequency-swept signal may be a sound frequency range (20-20000HZ) heard by the human ear, or may be a full-frequency signal, which is not limited herein.
  • the receiving unit 502 can be configured to receive the second sound, where the second sound is the reflected sound of the first sound.
  • the processing unit 503 is configured to obtain a third frequency response curve according to the frequency response curve of the first sound and the frequency response curve of the second sound; and the third frequency response curve represents the frequency response characteristic after the mixing of the first sound and the second sound .
  • the processing unit 503 is further configured to compare the third frequency response curve with the first frequency response curve to obtain a first sound effect adjustment parameter of the audio output device; the first sound effect adjustment parameter represents the first sound and the second sound generated The distortion of the reverberation relative to the first sound is used to adjust the audio output by the audio output device.
  • the receiving unit 502 is further configured to receive a correction adjustment parameter that is input by the user and is based on the first sound effect adjustment parameter.
  • the processing unit 503 is further configured to modify the first sound effect adjustment parameter according to the calibration adjustment parameter to obtain a second sound effect adjustment parameter, where the second sound effect adjustment parameter is used to adjust the audio output.
  • the receiving unit 502 can accept the voice input of the user, and the processing unit 504 matches the play style associated with the keyword in the first database according to the keyword in the voice information.
  • the first database includes at least one play style and at least one play corresponding correction adjustment parameter.
  • the determining unit 504 can be configured to determine whether there is a change in the location of the audio device. If the location of the audio device is changed, the sending unit 501 resends the first sound, the receiving unit 502 receives the second sound again, and the processing unit 503 performs the second sound again. Subsequent sound adjustment steps.
  • the functional units of the audio output device 500 of the embodiment of the present application may be specifically implemented according to the method in the method embodiment of FIG. 2 or FIG. 3, and the specific implementation process may refer to the related description of the foregoing method embodiment. I will not repeat them here.
  • FIG. 6 is a schematic block diagram of an audio output device 600 according to another embodiment of the present application.
  • the audio output device 600 can include a memory 620, a processor 610 coupled to the memory 620, an audio circuit 630 (audio output circuit 631 and audio input circuit 632), a speaker 640, and a microphone 650. These components can communicate over one or more communication buses.
  • Processor 610 is the control center of audio output device 600, which connects various portions of the entire audio output device 600 using various interfaces and lines, by running or executing computer programs and/or modules stored in memory 620, and by calling stored in memory.
  • the data within 620 performs various functions and processing data of audio output device 600 to provide overall monitoring of audio output device 600.
  • the processor 610 may include one or more processing cores; preferably, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, etc., and performs modulation and demodulation.
  • the processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 610.
  • the memory 620 can be used to store computer programs and modules, and the processor 610 executes various functional applications and data processing by running computer programs and modules stored in the memory 620.
  • the memory 620 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, etc.), and the like; and the storage data area may be stored according to the audio output device 600. Use the created data (such as audio data, etc.).
  • memory 620 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 620 can also include a memory controller to provide access to memory 620 by processor 610 and audio circuitry 630.
  • the audio circuit 630, the speaker 640, and the microphone 650 can provide an audio interface between the user and the audio output device 600.
  • the audio circuit 630 can transmit the converted electrical data of the received audio data to the speaker 640 for conversion to the sound signal output by the speaker 640; on the other hand, the microphone 650 converts the collected sound signal into an electrical signal by the audio circuit 630. After receiving, it is converted into audio data, and then processed by the audio data output processor 610, sent to, for example, another terminal via an RF circuit, or outputted to the memory 620 for further processing.
  • the processor 610 in the embodiment of the present invention may invoke the program instructions stored in the memory 620 to perform the sound effect adjustment method of the audio output device described in the embodiment of FIG. 2 or FIG. 3 above.
  • FIG. 7 is a structural block diagram of an implementation manner of the terminal device 700.
  • the terminal 700 includes the above-described audio output device 600.
  • the terminal 700 may further include: a baseband chip 710, a memory 715 (one or more computer readable storage media), and a radio frequency (RF) module. 716.
  • RF radio frequency
  • Peripheral system 717 These components can communicate over one or more communication buses 714.
  • the peripheral system 717 is mainly used to implement the interaction function between the terminal 710 and the user/external environment, and mainly includes the input and output devices of the terminal 700.
  • the peripheral system 717 can include a touch screen controller 718, a camera controller 719, an audio controller 720, and a sensor management module 721. Each controller may be coupled to a respective peripheral device such as touch screen 723, camera 724, audio circuit 725, and sensor 726.
  • the touch screen 723 can be configured with a touch screen of a self-capacitive floating touch panel or a touch screen configured with an infrared floating touch panel.
  • camera 724 can be a 3D camera. It should be noted that the peripheral system 717 may also include other I/O peripherals.
  • the baseband chip 710 can be integrated to include one or more processors 711, a clock module 712, and a power management module 713.
  • the clock module 712 integrated in the baseband chip 710 is primarily used to generate the clocks required for data transfer and timing control for the processor 711.
  • the power management module 713 integrated in the baseband chip 710 is mainly used to provide a stable, high-accuracy voltage for the processor 711, the radio frequency module 716, and the peripheral system.
  • a radio frequency (RF) module 716 is used to receive and transmit radio frequency signals, primarily integrating the receiver and transmitter of terminal 700.
  • a radio frequency (RF) module 716 communicates with the communication network and other communication devices via radio frequency signals.
  • the radio frequency (RF) module 716 can include, but is not limited to: an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC chip, a SIM card, and Storage media, etc.
  • a radio frequency (RF) module 716 can be implemented on a separate chip.
  • Memory 715 is coupled to processor 711 for storing various software programs and/or sets of instructions.
  • memory 715 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid state storage devices.
  • the memory 715 can store an operating system (hereinafter referred to as a system) such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX.
  • the memory 715 can also store a network communication program that can be used to communicate with one or more additional devices, one or more terminal devices, one or more network devices.
  • the memory 715 can also store a user interface program, which can realistically display the content of the application through a graphical operation interface, and receive user control operations on the application through input controls such as menus, dialog boxes, and keys. .
  • Memory 715 can also store one or more applications. As shown in FIG. 7, these applications may include: social applications (such as Facebook), image management applications (such as photo albums), map applications (such as Google Maps), browsers (such as Safari, Google Chrome), etc. .
  • social applications such as Facebook
  • image management applications such as photo albums
  • map applications such as Google Maps
  • browsers such as Safari, Google Chrome
  • terminal 700 is only an example provided by an embodiment of the present invention, and that the terminal 700 may have more or less components than those shown, two or more components may be combined, or may have components. Different configurations are implemented.
  • a computer readable storage medium storing a computer program, which when executed by a processor, implements the above described embodiment of FIG. 2 or FIG. 3 The sound adjustment method of the audio output device.
  • the computer readable storage medium may be an internal storage unit of the terminal described in any of the foregoing embodiments, such as a hard disk or a memory of the terminal.
  • the computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk equipped on the terminal, a smart memory card (SMC), and a Secure Digital (SD) card. , Flash Card, etc.
  • the computer readable storage medium may also include both an internal storage unit of the terminal and an external storage device.
  • the computer readable storage medium is for storing the computer program and other programs and data required by the terminal.
  • the computer readable storage medium can also be used to temporarily store data that has been output or is about to be output.
  • the disclosed methods, devices, and units may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or Some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

Disclosed in an embodiment of the present application are a sound effect adjustment method and device for an audio output device, the method comprising: sending a first sound; receiving a second sound, the second sound being a reflected sound of the first sound; obtaining a third frequency response curve according to a frequency response curve of the first sound and a frequency response curve of the second sound, the third frequency response curve representing a frequency response characteristic after mixing the first sound and the second sound; comparing the third frequency response curve with the frequency response curve of the first sound so as to obtain a sound effect adjustment parameter for an audio output device, the sound effect adjustment parameter representing the distortion of a reverberation, which is generated by the first sound and the second sound, relative to the first sound, and being used for adjusting audio that is outputted by the audio output device. By means of the embodiment of the present application, a sound effect may be adjusted according to differences in the effects of different environments on sound, and distortion caused by an echo is reduced.

Description

一种音频输出设备的音效调节方法及设备Sound adjustment method and device for audio output device 技术领域Technical field
本申请涉及音频技术领域,尤其涉及一种音频输出设备的音效调节方法及设备。The present application relates to the field of audio technologies, and in particular, to a sound effect adjustment method and device for an audio output device.
背景技术Background technique
音箱是整个音响系统的终端,负责将音频电信号转换成声信号。当音箱放在房间里面播放音乐时,声音在房间内部形成回响,我们听到的是经过房间内部反射及并与音箱声音混合之后的声音。The speaker is the terminal of the entire sound system and is responsible for converting the audio electrical signal into an acoustic signal. When the speakers are placed in the room to play music, the sound reverberates inside the room. What we hear is the sound that is reflected inside the room and mixed with the sound of the speakers.
当音箱放在房间内部播放音乐时,声音会在房间内部反射混合之后传入人耳。因为房间一般不会专门为了听音乐而设计,在反射及混合音箱放出的音乐后,声音在干涉过程中可能会出现比较严重的失真,甚至会造成某些频段的缺陷而影响听感。而不同的房间构造不一,可能会出现的失真也不一样,在设计音箱时很难兼顾。When the speakers are placed inside the room to play music, the sound is reflected and mixed inside the room and then transmitted to the human ear. Because the room is generally not designed to listen to music, after reflecting and mixing the music released by the speakers, the sound may be more severely distorted during the interference process, and even cause defects in certain frequency bands and affect the sense of hearing. Different rooms have different structures, and the distortion may be different. It is difficult to balance the design of the speakers.
发明内容Summary of the invention
本申请实施例提供一种音频输出设备的音效调节方法,可以针对不同环境对声音的影响不同进行音效调节,降低回声导致的失真。The embodiment of the present application provides a sound effect adjustment method for an audio output device, which can adjust sound effects differently for different environments, and reduce distortion caused by echo.
第一方面,本申请实施例提供了一种音频输出设备的音效调节方法,该方法包括:In a first aspect, an embodiment of the present application provides a sound effect adjustment method for an audio output device, where the method includes:
发送第一声音;Send the first sound;
接收第二声音,所述第二声音为所述第一声音经反射后的声音;Receiving a second sound, the second sound being a reflected sound of the first sound;
根据所述第一声音的频响曲线和所述第二声音的频响曲线,获取第三频响曲线;所述第三频响曲线表征所述第一声音和所述第二声音混合之后的频响特性;Obtaining a third frequency response curve according to a frequency response curve of the first sound and a frequency response curve of the second sound; the third frequency response curve characterizing the mixing of the first sound and the second sound Frequency response characteristics;
将所述第三频响曲线与所述第一声音的频响曲线进行比对,得到所述音频输出设备的第一音效调节参数;所述第一音效调节参数表征所述第一声音和所 述第二声音产生的混响相对于所述第一声音的失真,用于调节所述音频输出设备输出的音频。Comparing the third frequency response curve with a frequency response curve of the first sound to obtain a first sound effect adjustment parameter of the audio output device; the first sound effect adjustment parameter characterizing the first sound and The distortion of the second sound generated relative to the distortion of the first sound is used to adjust the audio output by the audio output device.
结合第一方面,在第一方面的第一种实现方式中,还包括:In combination with the first aspect, in the first implementation manner of the first aspect, the method further includes:
接收用户输入的基于所述第一音效调节参数的校正调节参数;Receiving, by the user, a correction adjustment parameter based on the first sound effect adjustment parameter;
根据所述校正调节参数,修改所述第一音效调节参数,获取第二音效调节参数;所述第二调节音效参数用于调节音频输出。And modifying the first sound effect adjustment parameter to obtain a second sound effect adjustment parameter according to the correction adjustment parameter; and the second adjustment sound effect parameter is used to adjust an audio output.
结合第一方面,或第一方面的第一种实现方式,在第一方面的第二种实现中,所述接收用户输入的校正调节参数包括:In conjunction with the first aspect, or the first implementation of the first aspect, in a second implementation of the first aspect, the receiving the adjustment adjustment parameter of the user input comprises:
接收用户的语音输入,所述语音输入用于指示所述校正调节参数。A user's voice input is received, the voice input being used to indicate the correction adjustment parameter.
结合第一方面第二种实现方式,在第一方面的第三种实现方式中,还包括:In conjunction with the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the method further includes:
根据所述语音信息中的关键字,在第一数据库中,匹配出所述关键字关联的播放风格;所述第一数据库中包括至少一种播放风格以及所述至少一种播放风格各自对应的校正调节参数;Determining, according to the keyword in the voice information, a play style associated with the keyword in the first database; the first database includes at least one play style and the at least one play style respectively corresponding to Correcting adjustment parameters;
所述根据所述校正调节参数,修改所述第一音效调节参数,获取第二音效调节参数,具体包括:Determining the first sound effect adjustment parameter according to the correction adjustment parameter, and acquiring the second sound effect adjustment parameter, specifically:
根据所述播放风格对应的校正调节参数,修改所述第一音效调节参数,获取第二音效调节参数。And modifying the first sound effect adjustment parameter according to the correction adjustment parameter corresponding to the play style, and acquiring the second sound effect adjustment parameter.
结合第一方面,在第一方面的第四种实现方式中,还包括:In combination with the first aspect, in a fourth implementation manner of the first aspect, the method further includes:
判断音频设备的位置是否有变化,如果音频设备的位置有变化,则重新执行所述发送第一声音的步骤。It is judged whether there is a change in the position of the audio device, and if there is a change in the position of the audio device, the step of transmitting the first sound is re-executed.
第二方面,本发明实施例提供了一种音频输出设备,该设备包括:In a second aspect, an embodiment of the present invention provides an audio output device, where the device includes:
发送单元,用于发送第一声音;a sending unit, configured to send the first sound;
接收单元,用于接收第二声音,所述第二声音为所述第一声音经反射后的声音;a receiving unit, configured to receive a second sound, where the second sound is a reflected sound of the first sound;
处理单元,用于根据所述第一声音的频响曲线和所述第二声音的频响曲线,获取第三频响曲线;所述第三频响曲线表征所述第一声音和所述第二声音混合之后的频响特性;a processing unit, configured to acquire a third frequency response curve according to a frequency response curve of the first sound and a frequency response curve of the second sound; the third frequency response curve characterizing the first sound and the first Frequency response characteristics after mixing of two sounds;
所述处理单元,还用于将所述第三频响曲线与所述第一频响曲线进行比对,得到所述音频输出设备的第一音效调节参数;所述第一音效调节参数表征所述 第一声音和所述第二声音产生的混响相对于所述第一声音的失真,用于调节所述音频输出设备输出的音频。The processing unit is further configured to compare the third frequency response curve with the first frequency response curve to obtain a first sound effect adjustment parameter of the audio output device; the first sound effect adjustment parameter representation Description The distortion of the first sound and the second sound generated relative to the first sound is used to adjust the audio output by the audio output device.
结合第二方面,在第二方面的第一种实现方式中,还包括:With reference to the second aspect, in the first implementation manner of the second aspect, the method further includes:
所述接收单元,还用于接收用户输入的基于所述第一音效调节参数的校正调节参数;The receiving unit is further configured to receive a correction adjustment parameter that is input by the user based on the first sound effect adjustment parameter;
所述处理单元,还用于根据所述校正调节参数,修改所述第一音效调节参数,获取第二音效调节参数;所述第二音效调节参数用于调节音频输出。The processing unit is further configured to: modify the first sound effect adjustment parameter according to the correction adjustment parameter to obtain a second sound effect adjustment parameter; and the second sound effect adjustment parameter is used to adjust an audio output.
结合第二方面,或第二方面的第一种实现方式,在第二方面的第二种实现方式中,所述接收用户输入的校正调节参数包括:With reference to the second aspect, or the first implementation manner of the second aspect, in the second implementation manner of the second aspect, the receiving the adjustment parameter of the user input includes:
接收单元接收用户的语音输入,所述语音输入用于指示所述校正调节参数。The receiving unit receives a voice input of the user, the voice input being used to indicate the correction adjustment parameter.
结合第二方面,或第二方面的第二种实现方式,在第一方面的第三种实现方式中,还包括:With reference to the second aspect, or the second implementation manner of the second aspect, in a third implementation manner of the first aspect, the method further includes:
所述处理单元,还用于根据所述语音信息中的关键字,在第一数据库中,匹配出所述关键字关联的播放风格;所述第一数据库中包括至少一种播放风格以及所述至少一种播放风格各自对应的校正调节参数;The processing unit is further configured to: in the first database, match a play style associated with the keyword according to a keyword in the voice information; the first database includes at least one play style and the Correction adjustment parameters corresponding to at least one of the playback styles;
所述根据所述校正调节参数,修改所述第一音效调节参数,获取第二音效调节参数,具体包括:Determining the first sound effect adjustment parameter according to the correction adjustment parameter, and acquiring the second sound effect adjustment parameter, specifically:
根据所述播放风格对应的校正调节参数,修改所述第一音效调节参数,获取第二音效调节参数。And modifying the first sound effect adjustment parameter according to the correction adjustment parameter corresponding to the play style, and acquiring the second sound effect adjustment parameter.
结合第二方面,在第二方面的第四种实现方式中,还包括:With reference to the second aspect, in a fourth implementation manner of the second aspect, the method further includes:
判断单元,用于判断音频设备的位置是否有变化,如果音频设备的位置有变化,则重新执行所述发送第一声音的步骤。The determining unit is configured to determine whether there is a change in the position of the audio device, and if the position of the audio device changes, the step of transmitting the first sound is performed again.
第三方面,本申请实施例提供了另一种音频输出设备,包括处理器、音频电路(音频输入和音频输出)和存储器,所述处理器、音频电路(音频输入和音频输出)和存储器相互连接,其中,所述存储器用于存储支持终端执行上述方法的应用程序代码,所述处理器被配置用于执行上述第一方面的方法。In a third aspect, an embodiment of the present application provides another audio output device, including a processor, an audio circuit (audio input and audio output), and a memory, the processor, the audio circuit (audio input and audio output), and the memory mutual A connection, wherein the memory is for storing application code supporting a terminal to perform the above method, the processor being configured to perform the method of the first aspect above.
第四方面,本申请实施例提供了一种终端,包含有上述第二方面和第三方面的音频输出设备,可以执行上述第一方面的方法。In a fourth aspect, the embodiment of the present application provides a terminal, including the audio output device of the foregoing second aspect and the third aspect, that can perform the method of the foregoing first aspect.
第五方面,本申请实施例提供了一种计算机可读存储介质,所述计算机存 储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行执行上述第一方面的方法。In a fifth aspect, an embodiment of the present application provides a computer readable storage medium, where the computer saves The storage medium stores a computer program comprising program instructions that, when executed by the processor, cause the processor to perform the method of the first aspect described above.
实施本申请实施例,具有如下有益效果:The implementation of the embodiment of the present application has the following beneficial effects:
音频设备通过发送第一声音和接收第一声音经环境反射后的第二声音,获取声音在环境内的频响曲线。然后通过算法混合第一声音和第二声音来模拟人耳听到的声音,之后将混合之后声音的频响曲线与第一声音的频响曲线进行比对,得到第一音效调节参数,该参数用于调节音频设备输出的音频。实现了针对不同环境对声音的影响不同而进行的音效调节。The audio device acquires a frequency response curve of the sound in the environment by transmitting the first sound and receiving the second sound reflected by the first sound through the environment. Then, the first sound and the second sound are mixed by an algorithm to simulate the sound heard by the human ear, and then the frequency response curve of the sound is compared with the frequency response curve of the first sound to obtain a first sound effect adjustment parameter, and the parameter is obtained. The audio used to adjust the output of the audio device. A sound effect adjustment is made for different effects of sound on different environments.
附图说明DRAWINGS
为了更清楚地说明本发明实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention. For the ordinary technicians, other drawings can be obtained based on these drawings without any creative work.
图1是本申请实施例提供的一种音频输出设备的音效调节方法的音频输出和接收的场景示意图;1 is a schematic diagram of a scene of audio output and reception of a sound effect adjustment method of an audio output device according to an embodiment of the present application;
图2本申请实施例提供的一种音频输出设备的音效调节方法示意流程图;2 is a schematic flow chart of a sound effect adjustment method of an audio output device according to an embodiment of the present application;
图3是本申请另一实施例提供的一种音频输出设备的音效调节方法的示意流程图;3 is a schematic flowchart of a sound effect adjustment method of an audio output device according to another embodiment of the present application;
图4是本申请实施例提供的一种音频输出设备的音效调节方法的频响曲线图;4 is a frequency response graph of a sound effect adjustment method of an audio output device according to an embodiment of the present application;
图5是本申请实施例提供的一种音频输出设备的示意性框图;FIG. 5 is a schematic block diagram of an audio output device according to an embodiment of the present application; FIG.
图6是本申请另一实施例提供的一种音频输出设备的示意性框图;FIG. 6 is a schematic block diagram of an audio output device according to another embodiment of the present disclosure;
图7是本申请实施例提供的一种终端的示意性框图。FIG. 7 is a schematic block diagram of a terminal provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳 动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are a part of the embodiments of the present application, and not all of the embodiments. Based on the embodiments in the present application, those skilled in the art do not make creative efforts. All other embodiments obtained under the premise of the present invention are within the scope of the present application.
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。The use of the terms "comprising", "comprising", "","," The presence or addition of a plurality of other features, integers, steps, operations, elements, components, and/or collections thereof.
还应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。The terminology used herein is for the purpose of describing particular embodiments and is not intended to be limiting. As used in the specification and the appended claims, the claims
还应当进一步理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It is further understood that the term "and/or" used in the specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes the combinations .
如在本说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "on" or "in response to determining" or "in response to detecting" depending on the context. . Similarly, the phrase "if determined" or "if detected [condition or event described]" may be interpreted in context to mean "once determined" or "in response to determining" or "once detected [condition or event described] ] or "in response to detecting [conditions or events described]".
参见图1,是本申请提供的一种音频输出设备的音效调节方法的音频输出和接收的场景示意图。如图1所示,音频输出设备101播放出的第一声音103在空间较小的环境中传播,遇到障碍物(墙壁)105会反射形成第二声音104,人耳102接收到的声音实际是第一声音和第二声音混合之后的声音,混合之后的声音和第一声音相比会失真。本申请涉及的场景中,通过在音频输出设备上设置音频接收器,来模拟人耳听到的声音,可实现针对不同环境对声音的影响不同进行音效调节。1 is a schematic diagram of a scene of audio output and reception of a sound effect adjustment method of an audio output device provided by the present application. As shown in FIG. 1, the first sound 103 played by the audio output device 101 is propagated in a small space environment, and an obstacle (wall) 105 is reflected to form a second sound 104, and the sound received by the human ear 102 is actually It is the sound after the first sound and the second sound are mixed, and the sound after the mixing is distorted compared with the first sound. In the scenario involved in the present application, by setting an audio receiver on the audio output device to simulate the sound heard by the human ear, it is possible to perform sound adjustment for different effects on the sound of different environments.
参见图2,是本申请提供的一种音频输出设备的音效调节方法的示意流程图。如图2所示,该方法包括但不限于如下步骤:S201-S204。2 is a schematic flow chart of a sound effect adjustment method of an audio output device provided by the present application. As shown in FIG. 2, the method includes but is not limited to the following steps: S201-S204.
S201、音频输出设备发送第一声音。 S201. The audio output device sends the first sound.
可选的,第一声音可以是扫频信号,扫频信号可以用于在播放音频文件之前,获取第一声音在音频输出设备所处环境内传播的频响特性。扫频信号的频率范围可以是部分或全部的人耳听到的声音频率范围(20-20000HZ),本申请在此不作限定。Optionally, the first sound may be a frequency sweep signal, and the frequency sweep signal may be used to obtain a frequency response characteristic of the first sound propagating in an environment where the audio output device is located before playing the audio file. The frequency range of the frequency sweeping signal may be a range of sound frequencies (20-20000HZ) heard by some or all of the human ear, which is not limited herein.
可选的,第一声音可以是正在播放的音频文件的声音。例如,可以将正在播放的音频文件的前半段声音作为第一声音,用来检测音频输出设备所处环境内的回声效应对前半段声音产生的影响,依据该影响对半段声音进行音效调节便可避免后半段声音产生混响失真。Alternatively, the first sound may be the sound of the audio file being played. For example, the first half of the sound of the audio file being played can be used as the first sound to detect the effect of the echo effect in the environment where the audio output device is located, and the sound effect is adjusted for the half sound according to the influence. It can avoid reverberation distortion in the second half of the sound.
可选的,音频输出设备可以设置有音效校准开关,如果音效校准开关打开,则音频输出设备发送第一声音,进行音效调节步骤。如果音效校准开关没有打开,则音频输出设备不发送第一声音,不进行音效调节步骤。针对这种情况,可以供用户选择是否开启音效调节,提高了用户体验。Optionally, the audio output device may be provided with a sound calibration switch, and if the sound calibration switch is turned on, the audio output device sends the first sound to perform a sound adjustment step. If the sound effect calibration switch is not turned on, the audio output device does not transmit the first sound and does not perform the sound effect adjustment step. In response to this situation, the user can select whether to enable the sound effect adjustment, thereby improving the user experience.
S202、音频输出设备接收第二声音。S202. The audio output device receives the second sound.
具体的,第二声音为上述第一声音在音频输出设备所处的环境中反射回来的声音,即回声。例如,如图1所示,假设音频输出设备所处的环境为房间内。音频输出设备发出第一声音,第一声音在房间内传播,遇到房间内的墙壁,经墙壁反射之后,形成第二声音。第二声音在房间内传播至音频输出设备位置,由音频输出设备内置的音频接收器接收。第二声音可以是第一声音经过一个或多个障碍物(如墙壁等)反射之后的声音。上述示例仅仅用于解释本申请,不用构成限定。Specifically, the second sound is a sound reflected by the first sound in an environment in which the audio output device is located, that is, an echo. For example, as shown in FIG. 1, it is assumed that the environment in which the audio output device is located is in the room. The audio output device emits a first sound, the first sound propagating in the room, encountering a wall in the room, and reflecting through the wall to form a second sound. The second sound is propagated in the room to the audio output device location and received by the audio receiver built into the audio output device. The second sound may be the sound after the first sound is reflected by one or more obstacles (such as a wall or the like). The above examples are only used to explain the present application and are not to be construed as limiting.
可选的,根据接收到的第二声音,音频输出设备可以检测第二声音的声音强度值,如果第二声音的声音强度值小于预设声音强度阈值,则不进行以下音效调节的步骤。可以理解的,音量小的回声能产生的干扰很小,可以忽略。这样,可以更灵活的调节音频输出设备输出的音频,让音效调节的方法适用于不同的环境。Optionally, the audio output device may detect the sound intensity value of the second sound according to the received second sound, and if the sound intensity value of the second sound is less than the preset sound intensity threshold, the following sound effect adjustment step is not performed. Understandably, the small volume of echo can produce little interference and can be ignored. In this way, the audio output from the audio output device can be more flexibly adjusted, and the method of adjusting the sound effect is applicable to different environments.
S203、根据第一声音的频响曲线和第二声音的频响曲线,可以获取第三频响曲线。具体的,在播放该音频文件的过程中,可以获取该音频文件的声音在音频输出设备所处环境内传播的频响特性。音频输出设备可以根据音频接收器接收第二声音,获取第二声音的频响曲线。 S203. Acquire a third frequency response curve according to a frequency response curve of the first sound and a frequency response curve of the second sound. Specifically, in the process of playing the audio file, a frequency response characteristic of the sound of the audio file propagating in an environment where the audio output device is located may be acquired. The audio output device can obtain a second sound of the second sound according to the audio receiver.
可以理解的是,混合第一声音和第二声音之后的声音即人耳听到的声音。例如,移动终端包含有上述音频输出设备,用户打开音乐播放软件播放音乐,用户和音频输出设备可以看作是处于房间内的同一位置。以上示例仅仅用于解释本申请,不应构成限定。由于第二声音和第一声音相比,同一频率下的波形有幅度差和/或相位差。因此,人耳听到的声音和第一声音相比,会出现失真。It can be understood that the sound after mixing the first sound and the second sound is the sound heard by the human ear. For example, the mobile terminal includes the above audio output device, and the user opens the music playing software to play music, and the user and the audio output device can be regarded as being in the same position in the room. The above examples are merely illustrative of the application and should not be construed as limiting. Since the second sound is compared to the first sound, the waveform at the same frequency has an amplitude difference and/or a phase difference. Therefore, the sound heard by the human ear is distorted compared to the first sound.
具体的,根据第一声音的频响曲线和第二声音的频响曲线,混合第一声音和上述音频接收器接收的第二声音。音频输出设备在混合第一声音和第二声音之后,获取到第三频响曲线,第三频响曲线表征第一声音和第二声音混合之后的频响特性。Specifically, the first sound and the second sound received by the audio receiver are mixed according to the frequency response curve of the first sound and the frequency response curve of the second sound. The audio output device acquires a third frequency response curve after mixing the first sound and the second sound, and the third frequency response curve represents a frequency response characteristic after the first sound and the second sound are mixed.
S204、将第三频响曲线与第一声音的频响曲线进行比对,可以得到音频输出设备的第一音效调节参数。S204. Comparing the third frequency response curve with the frequency response curve of the first sound, the first sound effect adjustment parameter of the audio output device may be obtained.
具体的,上述第一音效调节参数表征第一声音和第二声音产生的混响相对于第一声音的失真,用于调节所述音频输出设备的音频。在得到第三频响曲线之后,将第三频响曲线与第一声音的频响曲线进行比对,在相同频段上,获取两曲线的声压级差值(第一声音频响曲线的声压级减去第三频响曲线的声压级),所有频段的上述声压级差值就是第一音效调节参数。Specifically, the first sound effect adjustment parameter represents a distortion of the reverberation generated by the first sound and the second sound relative to the first sound, and is used to adjust the audio of the audio output device. After obtaining the third frequency response curve, the third frequency response curve is compared with the frequency response curve of the first sound, and the sound pressure level difference of the two curves is obtained on the same frequency band (the sound of the first sound audio signal curve) The pressure level is subtracted from the sound pressure level of the third frequency response curve), and the above-mentioned sound pressure level difference of all frequency bands is the first sound effect adjustment parameter.
参见图4所示,曲线401为第一声音的频响曲线,曲线402为第三频响曲线。将曲线402与曲线401对比,可以得到第一音效调节参数。例如,均衡器403可以对频率范围0-10000HZ中分成20个频段进行音效调节。将曲线402与曲线401对比,获取曲线402与曲线401分别在20个频段上的声压级(db)差值,每个频段为1KHZ。可以看出,在频率为4KHZ时,声压级差值为-25db。依次计算20个频段上两曲线的声压级差值得到第一音效调节参数。在音频输出设备调节均衡器中,根据第一音效调节参数,依次调节20个频段上的增益,该增益用于调节音频输出设备输出的音频。如图4所示,可以看出,当频率为4KHZ时,均衡器增益为-25db,在音频输出设备播放音乐时,对该音乐中频率为4KHZ的声音,降低25db声压级。示例仅仅用于解释本申请,不应构成限定。Referring to FIG. 4, curve 401 is the frequency response curve of the first sound, and curve 402 is the third frequency response curve. Comparing curve 402 with curve 401, a first sound effect adjustment parameter can be obtained. For example, the equalizer 403 can perform sound adjustment on 20 frequency bands in the frequency range of 0-10000HZ. The curve 402 is compared with the curve 401, and the sound pressure level (db) difference between the curve 402 and the curve 401 in 20 frequency bands is obtained, and each frequency band is 1 kHz. It can be seen that the sound pressure level difference is -25 db at a frequency of 4 kHz. The first sound effect adjustment parameter is obtained by sequentially calculating the sound pressure level difference of the two curves on the 20 frequency bands. In the audio output device adjustment equalizer, the gains in the 20 frequency bands are sequentially adjusted according to the first sound effect adjustment parameter, and the gain is used to adjust the audio output by the audio output device. As shown in FIG. 4, it can be seen that when the frequency is 4KHZ, the equalizer gain is -25db, and when the audio output device plays music, the sound of the frequency of 4KHZ in the music is reduced by 25db. The examples are merely illustrative of the application and should not be construed as limiting.
通过本申请实施例,可以通过混合声音的频响曲线和标准声音的频响曲线,利用均衡器,实现在不同环境中的音效调节。 Through the embodiment of the present application, the sound effect adjustment in different environments can be realized by using an equalizer by mixing the frequency response curve of the sound and the frequency response curve of the standard sound.
参见图3是本申请提供的另一种音频输出设备的音效调节方法的示意流程图,该方法包括但不限于如下步骤S301-S306。FIG. 3 is a schematic flowchart of a sound effect adjustment method of another audio output device provided by the present application, including but not limited to the following steps S301-S306.
S301、音频输出设备发送第一声音。S301. The audio output device sends the first sound.
具体的,可参考图2实施例中的S201,这里不再赘述。For details, refer to S201 in the embodiment of FIG. 2, and details are not described herein again.
S302、音频输出设备接收第二声音。S302. The audio output device receives the second sound.
具体的,可参考图2实施例中的S202,这里不再赘述。For details, refer to S202 in the embodiment of FIG. 2, and details are not described herein again.
S303、根据第一声音的频响曲线和第二声音的频响曲线,获取第三频响曲线。S303. Acquire a third frequency response curve according to a frequency response curve of the first sound and a frequency response curve of the second sound.
具体的,可参考图2实施例中的S203,这里不再赘述。For details, refer to S203 in the embodiment of FIG. 2, and details are not described herein again.
S304、将第三频响曲线与第一声音的频响曲线进行比对,可以得到音频输出设备的第一音效调节参数。S304. Comparing the third frequency response curve with the frequency response curve of the first sound, the first sound effect adjustment parameter of the audio output device may be obtained.
具体的,可参考图2实施例中的S204,这里不再赘述。For details, refer to S204 in the embodiment of FIG. 2, and details are not described herein again.
S305、接收用户输入的基于所述第一音效调节参数的校正调节参数,并可以根据该校正调节参数,修改第一音效调节参数,获取第二音效调节参数。S305. Receive a correction adjustment parameter that is input by the user based on the first sound adjustment parameter, and modify the first sound adjustment parameter according to the correction adjustment parameter to obtain the second sound adjustment parameter.
具体的,音频输出设备通过音频接收器接收用户输入的基于第一音效调节参数的校正调节参数。在音频输出设备得到第一音效调节参数之后,根据用户输入的校正调节参数,修改所述第一音效调节参数,得到第二音效调节参数。例如,在频率为4KHZ处,第一音效调节参数为-25db,音频输出设备接收到用户输入的校正调节参数为5db,则在频率为4KHZ处,第二音效调节参数为-20db。在音频输出设备播放音乐时,对频率在4KHZ附近的声音减少20db的音频输出。示例仅仅用于解释本申请,不应构成限定。Specifically, the audio output device receives the correction adjustment parameter based on the first sound effect adjustment parameter input by the user through the audio receiver. After the first sound effect adjustment parameter is obtained by the audio output device, the first sound effect adjustment parameter is modified according to the correction adjustment parameter input by the user, and the second sound effect adjustment parameter is obtained. For example, at a frequency of 4 kHz, the first sound adjustment parameter is -25 db, and the audio output device receives the user-corrected adjustment parameter of 5 db, and the second sound adjustment parameter is -20 db at a frequency of 4 kHz. When the audio output device plays music, the audio output with a frequency around 4 kHz is reduced by 20 db. The examples are merely illustrative of the application and should not be construed as limiting.
可选的,音频输出设备可以接受用户的语音输入,该语音输入用于指示。上述用户输入的校正调节参数。音频输出设备可以根据语音输入中的关键字,在第一数据库中,匹配出上述关键字关联的播放风格。上述第一数据库中包括至少一种播放风格以及至少一种播放风格各自对应的校正调节参数。例如,在频率为4KHZ处,第一音效调节参数为-25db,用户语音输入的关键字为“摇滚风格”,在第一数据库中,关键字“摇滚风格”在4KHZ频率处对应的校正调节参数为10db,则第二音效调节参数为-15db(即-25db+10db)。,在音频输出设 备播放音乐时,对频率在4KHZ附近的声音减少15db的音频输出。示例仅仅用于解释本申请,不应构成限定。这样,可以根据用户喜好的播放风格,调节音频输出的音效。Alternatively, the audio output device can accept a user's voice input for indication. The above-mentioned user input correction adjustment parameters. The audio output device can match the play style associated with the keyword in the first database according to the keyword in the voice input. The first database includes at least one playback style and a correction adjustment parameter corresponding to each of the at least one playback style. For example, at a frequency of 4 kHz, the first sound adjustment parameter is -25 db, the keyword of the user's voice input is "rock style", and in the first database, the keyword "rock style" corresponds to the correction adjustment parameter at the frequency of 4 kHz. For 10db, the second sound adjustment parameter is -15db (ie -25db+10db). In the audio output setting When playing music, reduce the audio output of 15db for frequencies around 4KHZ. The examples are merely illustrative of the application and should not be construed as limiting. In this way, the audio output can be adjusted according to the user's preferred playback style.
S306、判断音频输出设备的位置是否有变化。S306. Determine whether there is a change in the position of the audio output device.
具体的,在音频输出设备播放音频文件时,音频输出设备通过设备内置的传感器判断音频输出设备的位置是否有变化。如果音频输出设备的位置有变化,则重新执行S301-S304步骤,发送第一声音,接收第二声音,获取混合第一声音和第二声音之后的第三频响曲线,将第三频响曲线与第一声音的频响曲线进行比对,得到音频输出设备的第一音效调节参数。如果音频输出设备的位置没有变化,则音频输出设备继续播放音频。Specifically, when the audio output device plays the audio file, the audio output device determines whether the position of the audio output device changes through the built-in sensor of the device. If there is a change in the position of the audio output device, the steps S301-S304 are re-executed, the first sound is sent, the second sound is received, and the third frequency response curve after the first sound and the second sound is mixed is obtained, and the third frequency response curve is obtained. The first sound effect adjustment parameter of the audio output device is obtained by comparing with the frequency response curve of the first sound. If the position of the audio output device does not change, the audio output device continues to play the audio.
可选的,在音频输出设备播放音频文件时,如果音频输出设备通过设备内置的传感器判断音频输出设备的位置有变化,则判断音频输出设备位置移动的距离是否超过预设距离阈值。如果超过,则重新执行S301-S304步骤,发送第一声音,接收第二声音,获取混合第一声音和第二声音之后的第三频响曲线,将第三频响曲线与第一声音的频响曲线进行比对,得到音频输出设备的第一音效调节参数。如果没有变化,则音频输出设备继续播放音频。Optionally, when the audio output device plays the audio file, if the audio output device determines that the position of the audio output device changes through the built-in sensor of the device, it is determined whether the distance moved by the position of the audio output device exceeds a preset distance threshold. If yes, re-execute the steps S301-S304, send the first sound, receive the second sound, obtain the third frequency response curve after mixing the first sound and the second sound, and compare the third frequency response curve with the frequency of the first sound The curve is compared to obtain the first sound adjustment parameter of the audio output device. If there is no change, the audio output device continues to play the audio.
通过本申请实施例,音频输出设备可以针对音频输出设备位置的变化,实时对音频输出设备的音效进行调节,可以在多边的环境中对音频输出设备的音效进行调节。Through the embodiment of the present application, the audio output device can adjust the sound effect of the audio output device in real time according to the change of the position of the audio output device, and can adjust the sound effect of the audio output device in a multilateral environment.
参见图5,是本申请提供的一种音频输出设备的示意性框图。如图5所示,音频输出设备500可以包括:发送单元501、接收单元502、处理单元503、判断单元504,其中,Referring to FIG. 5, it is a schematic block diagram of an audio output device provided by the present application. As shown in FIG. 5, the audio output device 500 may include: a sending unit 501, a receiving unit 502, a processing unit 503, and a determining unit 504, where
发送单元501,可以用于发送第一声音。第一声音可以是扫频信号,扫频信号可以用于在播放音频文件之前,获取第一声音在音频输出设备所处环境内传播的频响特性。扫频信号的频率范围可以是人耳听到的声音频率范围(20-20000HZ),也可以是全频信号,本申请在此不作限定。The sending unit 501 can be configured to send the first sound. The first sound may be a swept frequency signal, and the swept frequency signal may be used to obtain a frequency response characteristic of the first sound propagating within the environment in which the audio output device is located before playing the audio file. The frequency range of the frequency-swept signal may be a sound frequency range (20-20000HZ) heard by the human ear, or may be a full-frequency signal, which is not limited herein.
接收单元502,可以用于接收第二声音,第二声音为第一声音经反射后的声音。 The receiving unit 502 can be configured to receive the second sound, where the second sound is the reflected sound of the first sound.
处理单元503,可以用于根据第一声音的频响曲线和第二声音的频响曲线,获取第三频响曲线;第三频响曲线表征第一声音和第二声音混合之后的频响特性。The processing unit 503 is configured to obtain a third frequency response curve according to the frequency response curve of the first sound and the frequency response curve of the second sound; and the third frequency response curve represents the frequency response characteristic after the mixing of the first sound and the second sound .
处理单元503,还可以用于将第三频响曲线与第一频响曲线进行比对,得到音频输出设备的第一音效调节参数;第一音效调节参数表征第一声音和第二声音产生的混响相对于第一声音的失真,用于调节音频输出设备输出的音频。The processing unit 503 is further configured to compare the third frequency response curve with the first frequency response curve to obtain a first sound effect adjustment parameter of the audio output device; the first sound effect adjustment parameter represents the first sound and the second sound generated The distortion of the reverberation relative to the first sound is used to adjust the audio output by the audio output device.
进一步的,接收单元502,还可以用于接收用户输入的基于上述第一音效调节参数的校正调节参数。处理单元503,还用于根据上述校正调节参数,修改上述第一音效调节参数,获取第二音效调节参数,第二音效调节参数用于调节音频输出。Further, the receiving unit 502 is further configured to receive a correction adjustment parameter that is input by the user and is based on the first sound effect adjustment parameter. The processing unit 503 is further configured to modify the first sound effect adjustment parameter according to the calibration adjustment parameter to obtain a second sound effect adjustment parameter, where the second sound effect adjustment parameter is used to adjust the audio output.
可选的,接收单元502可以接受用户的语音输入,处理单元504根据语音信息中的关键字,在第一数据库中匹配出上述关键字关联的播放风格。上述第一数据库中包括至少一种播放风格以及至少一种播放各自对应的校正调节参数。Optionally, the receiving unit 502 can accept the voice input of the user, and the processing unit 504 matches the play style associated with the keyword in the first database according to the keyword in the voice information. The first database includes at least one play style and at least one play corresponding correction adjustment parameter.
进一步的,判断单元504可以用于判断音频设备的位置是否有变化,如果音频设备的位置由变化,则发送单元501重新发送第一声音,接收单元502重新接收第二声音,处理单元503重新进行后续的音效调节步骤。Further, the determining unit 504 can be configured to determine whether there is a change in the location of the audio device. If the location of the audio device is changed, the sending unit 501 resends the first sound, the receiving unit 502 receives the second sound again, and the processing unit 503 performs the second sound again. Subsequent sound adjustment steps.
可以理解的是,本申请实施例的音频输出设备500的各功能单元可根据图2或图3所述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,在此不再赘述。It can be understood that the functional units of the audio output device 500 of the embodiment of the present application may be specifically implemented according to the method in the method embodiment of FIG. 2 or FIG. 3, and the specific implementation process may refer to the related description of the foregoing method embodiment. I will not repeat them here.
参见图6,是本申请另一实施例提供的一种音频输出设备600的示意性框图。如图6所示,音频输出设备600可包括:存储器620、耦合于所述存储器620的处理器610、音频电路630(音频输出电路631和音频输入电路632)、扬声器640、传声器650。这些部件可在一个或多个通信总线上通信。FIG. 6 is a schematic block diagram of an audio output device 600 according to another embodiment of the present application. As shown in FIG. 6, the audio output device 600 can include a memory 620, a processor 610 coupled to the memory 620, an audio circuit 630 (audio output circuit 631 and audio input circuit 632), a speaker 640, and a microphone 650. These components can communicate over one or more communication buses.
处理器610是音频输出设备600的控制中心,利用各种接口和线路连接整个音频输出设备600的各个部分,通过运行或执行存储在存储器620内的计算机程序和/或模块,以及调用存储在存储器620内的数据,执行音频输出设备600的各种功能和处理数据,从而对音频输出设备600进行整体监控。可选的, 处理器610可包括一个或多个处理核心;优选的,处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。 Processor 610 is the control center of audio output device 600, which connects various portions of the entire audio output device 600 using various interfaces and lines, by running or executing computer programs and/or modules stored in memory 620, and by calling stored in memory. The data within 620 performs various functions and processing data of audio output device 600 to provide overall monitoring of audio output device 600. Optional, The processor 610 may include one or more processing cores; preferably, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, etc., and performs modulation and demodulation. The processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 610.
存储器620可用于存储计算机程序以及模块,处理器610通过运行存储在存储器620的计算机程序以及模块,从而执行各种功能应用以及数据处理。存储器620可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能等)等;存储数据区可存储根据音频输出设备600的使用所创建的数据(比如音频数据等)等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器620还可以包括存储器控制器,以提供处理器610和音频电路630对存储器620的访问。The memory 620 can be used to store computer programs and modules, and the processor 610 executes various functional applications and data processing by running computer programs and modules stored in the memory 620. The memory 620 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, etc.), and the like; and the storage data area may be stored according to the audio output device 600. Use the created data (such as audio data, etc.). Moreover, memory 620 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 620 can also include a memory controller to provide access to memory 620 by processor 610 and audio circuitry 630.
音频电路630、扬声器640,传声器650可提供用户与音频输出设备600之间的音频接口。音频电路630可将接收到的音频数据转换后的电信号,传输到扬声器640,由扬声器640转换为声音信号输出;另一方面,传声器650将收集的声音信号转换为电信号,由音频电路630接收后转换为音频数据,再将音频数据输出处理器610处理后,经RF电路以发送给比如另一终端,或者将音频数据输出至存储器620以便进一步处理。The audio circuit 630, the speaker 640, and the microphone 650 can provide an audio interface between the user and the audio output device 600. The audio circuit 630 can transmit the converted electrical data of the received audio data to the speaker 640 for conversion to the sound signal output by the speaker 640; on the other hand, the microphone 650 converts the collected sound signal into an electrical signal by the audio circuit 630. After receiving, it is converted into audio data, and then processed by the audio data output processor 610, sent to, for example, another terminal via an RF circuit, or outputted to the memory 620 for further processing.
本发明实施例中的处理器610可以调用存储器620中存储的程序指令,执行上述图2或图3实施例描述的音频输出设备的音效调节方法。The processor 610 in the embodiment of the present invention may invoke the program instructions stored in the memory 620 to perform the sound effect adjustment method of the audio output device described in the embodiment of FIG. 2 or FIG. 3 above.
图7是终端设备700的一种实现方式的结构框图。终端700包括有上述音频输出设备600,除此之外,如图7所示,终端700还可包括:基带芯片710、存储器715(一个或多个计算机可读存储介质)、射频(RF)模块716、外围系统717。这些部件可在一个或多个通信总线714上通信。FIG. 7 is a structural block diagram of an implementation manner of the terminal device 700. The terminal 700 includes the above-described audio output device 600. In addition, as shown in FIG. 7, the terminal 700 may further include: a baseband chip 710, a memory 715 (one or more computer readable storage media), and a radio frequency (RF) module. 716. Peripheral system 717. These components can communicate over one or more communication buses 714.
外围系统717主要用于实现终端710和用户/外部环境之间的交互功能,主要包括终端700的输入输出装置。具体实现中,外围系统717可包括:触摸屏控制器718、摄像头控制器719、音频控制器720以及传感器管理模块721。 其中,各个控制器可与各自对应的外围设备(如触摸屏723、摄像头724、音频电路725以及传感器726)耦合。在一些实施例中,触摸屏723可以配置有自电容式的悬浮触控面板的触摸屏,也可以是配置有红外线式的悬浮触控面板的触摸屏。在一些实施例中,摄像头724可以是3D摄像头。需要说明的,外围系统717还可以包括其他I/O外设。The peripheral system 717 is mainly used to implement the interaction function between the terminal 710 and the user/external environment, and mainly includes the input and output devices of the terminal 700. In a specific implementation, the peripheral system 717 can include a touch screen controller 718, a camera controller 719, an audio controller 720, and a sensor management module 721. Each controller may be coupled to a respective peripheral device such as touch screen 723, camera 724, audio circuit 725, and sensor 726. In some embodiments, the touch screen 723 can be configured with a touch screen of a self-capacitive floating touch panel or a touch screen configured with an infrared floating touch panel. In some embodiments, camera 724 can be a 3D camera. It should be noted that the peripheral system 717 may also include other I/O peripherals.
基带芯片710可集成包括:一个或多个处理器711、时钟模块712以及电源管理模块713。集成于基带芯片710中的时钟模块712主要用于为处理器711产生数据传输和时序控制所需要的时钟。集成于基带芯片710中的电源管理模块713主要用于为处理器711、射频模块716以及外围系统提供稳定的、高精确度的电压。The baseband chip 710 can be integrated to include one or more processors 711, a clock module 712, and a power management module 713. The clock module 712 integrated in the baseband chip 710 is primarily used to generate the clocks required for data transfer and timing control for the processor 711. The power management module 713 integrated in the baseband chip 710 is mainly used to provide a stable, high-accuracy voltage for the processor 711, the radio frequency module 716, and the peripheral system.
射频(RF)模块716用于接收和发送射频信号,主要集成了终端700的接收器和发射器。射频(RF)模块716通过射频信号与通信网络和其他通信设备通信。具体实现中,射频(RF)模块716可包括但不限于:天线系统、RF收发器、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC芯片、SIM卡和存储介质等。在一些实施例中,可在单独的芯片上实现射频(RF)模块716。A radio frequency (RF) module 716 is used to receive and transmit radio frequency signals, primarily integrating the receiver and transmitter of terminal 700. A radio frequency (RF) module 716 communicates with the communication network and other communication devices via radio frequency signals. In a specific implementation, the radio frequency (RF) module 716 can include, but is not limited to: an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC chip, a SIM card, and Storage media, etc. In some embodiments, a radio frequency (RF) module 716 can be implemented on a separate chip.
存储器715与处理器711耦合,用于存储各种软件程序和/或多组指令。具体实现中,存储器715可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器715可以存储操作系统(下述简称系统),例如ANDROID,IOS,WINDOWS,或者LINUX等嵌入式操作系统。存储器715还可以存储网络通信程序,该网络通信程序可用于与一个或多个附加设备,一个或多个终端设备,一个或多个网络设备进行通信。存储器715还可以存储用户接口程序,该用户接口程序可以通过图形化的操作界面将应用程序的内容形象逼真的显示出来,并通过菜单、对话框以及按键等输入控件接收用户对应用程序的控制操作。 Memory 715 is coupled to processor 711 for storing various software programs and/or sets of instructions. In particular implementations, memory 715 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid state storage devices. The memory 715 can store an operating system (hereinafter referred to as a system) such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX. The memory 715 can also store a network communication program that can be used to communicate with one or more additional devices, one or more terminal devices, one or more network devices. The memory 715 can also store a user interface program, which can realistically display the content of the application through a graphical operation interface, and receive user control operations on the application through input controls such as menus, dialog boxes, and keys. .
存储器715还可以存储一个或多个应用程序。如图7所示,这些应用程序可包括:社交应用程序(例如Facebook),图像管理应用程序(例如相册),地图类应用程序(例如谷歌地图),浏览器(例如Safari,Google Chrome)等等。 Memory 715 can also store one or more applications. As shown in FIG. 7, these applications may include: social applications (such as Facebook), image management applications (such as photo albums), map applications (such as Google Maps), browsers (such as Safari, Google Chrome), etc. .
应当理解,终端700仅为本发明实施例提供的一个例子,并且,终端700可具有比示出的部件更多或更少的部件,可以组合两个或更多个部件,或者可具有部件的不同配置实现。It should be understood that the terminal 700 is only an example provided by an embodiment of the present invention, and that the terminal 700 may have more or less components than those shown, two or more components may be combined, or may have components. Different configurations are implemented.
在本发明的另一实施例中提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述图2或图3实施例描述的音频输出设备的音效调节方法。In another embodiment of the present invention, there is provided a computer readable storage medium storing a computer program, which when executed by a processor, implements the above described embodiment of FIG. 2 or FIG. 3 The sound adjustment method of the audio output device.
所述计算机可读存储介质可以是前述任一实施例所述的终端的内部存储单元,例如终端的硬盘或内存。所述计算机可读存储介质也可以是所述终端的外部存储设备,例如所述终端上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述计算机可读存储介质还可以既包括所述终端的内部存储单元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述终端所需的其他程序和数据。所述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。The computer readable storage medium may be an internal storage unit of the terminal described in any of the foregoing embodiments, such as a hard disk or a memory of the terminal. The computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk equipped on the terminal, a smart memory card (SMC), and a Secure Digital (SD) card. , Flash Card, etc. Further, the computer readable storage medium may also include both an internal storage unit of the terminal and an external storage device. The computer readable storage medium is for storing the computer program and other programs and data required by the terminal. The computer readable storage medium can also be used to temporarily store data that has been output or is about to be output.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, for clarity of hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的方法、设备和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the method, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的方法、设备和单元,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或 一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In the several embodiments provided by the present application, it should be understood that the disclosed methods, devices, and units may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or Some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。 The foregoing is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any equivalents can be easily conceived by those skilled in the art within the technical scope disclosed by the present invention. Modifications or substitutions are intended to be included within the scope of the present application. Therefore, the scope of protection of this application should be determined by the scope of protection of the claims.

Claims (10)

  1. 一种音频输出设备的音效调节方法,其特征在于,包括:A sound effect adjustment method for an audio output device, comprising:
    发送第一声音;Send the first sound;
    接收第二声音,所述第二声音为所述第一声音经反射后的声音;Receiving a second sound, the second sound being a reflected sound of the first sound;
    根据所述第一声音的频响曲线和所述第二声音的频响曲线,获取第三频响曲线;所述第三频响曲线表征所述第一声音和所述第二声音混合之后的频响特性;Obtaining a third frequency response curve according to a frequency response curve of the first sound and a frequency response curve of the second sound; the third frequency response curve characterizing the mixing of the first sound and the second sound Frequency response characteristics;
    将所述第三频响曲线与所述第一声音的频响曲线进行比对,得到所述音频输出设备的第一音效调节参数;所述第一音效调节参数表征所述第一声音和所述第二声音产生的混响相对于所述第一声音的失真,用于调节所述音频输出设备输出的音频。Comparing the third frequency response curve with a frequency response curve of the first sound to obtain a first sound effect adjustment parameter of the audio output device; the first sound effect adjustment parameter characterizing the first sound and The distortion of the second sound generated relative to the distortion of the first sound is used to adjust the audio output by the audio output device.
  2. 根据权利要求1所述方法,其特征在于,还包括:The method of claim 1 further comprising:
    接收用户输入的基于所述第一音效调节参数的校正调节参数;Receiving, by the user, a correction adjustment parameter based on the first sound effect adjustment parameter;
    根据所述校正调节参数,修改所述第一音效调节参数,获取第二音效调节参数;所述第二音效调节参数用于调节音频输出。And modifying the first sound effect adjustment parameter to obtain a second sound effect adjustment parameter according to the correction adjustment parameter; and the second sound effect adjustment parameter is used to adjust an audio output.
  3. 根据权利要求2所述方法,其特征在于,所述接收用户输入的校正调节参数包括:The method of claim 2 wherein said receiving said user input correction adjustment parameters comprises:
    接收用户的语音输入,所述语音输入用于指示所述校正调节参数。A user's voice input is received, the voice input being used to indicate the correction adjustment parameter.
  4. 根据权利要求3所述方法,其特征在于,还包括:The method of claim 3, further comprising:
    根据所述语音信息中的关键字,在第一数据库中,匹配出所述关键字关联的播放风格;所述第一数据库中包括至少一种播放风格以及所述至少一种播放风格各自对应的校正调节参数;Determining, according to the keyword in the voice information, a play style associated with the keyword in the first database; the first database includes at least one play style and the at least one play style respectively corresponding to Correcting adjustment parameters;
    所述根据所述校正调节参数,修改所述第一音效调节参数,获取第二音效调节参数,具体包括:Determining the first sound effect adjustment parameter according to the correction adjustment parameter, and acquiring the second sound effect adjustment parameter, specifically:
    根据所述播放风格对应的校正调节参数,修改所述第一音效调节参数,获 取第二音效调节参数。Modifying the first sound effect adjustment parameter according to the correction adjustment parameter corresponding to the play style Take the second sound effect adjustment parameter.
  5. 根据权利要求1所述方法,其特征在于,还包括:The method of claim 1 further comprising:
    判断音频输出设备的位置是否有变化,如果音频输出设备的位置有变化,则重新执行所述发送第一声音的步骤。It is judged whether there is a change in the position of the audio output device, and if the position of the audio output device is changed, the step of transmitting the first sound is re-executed.
  6. 一种音频输出设备,其特征在于,包括:An audio output device, comprising:
    发送单元,用于发送第一声音;a sending unit, configured to send the first sound;
    接收单元,用于接收第二声音,所述第二声音为所述第一声音经反射后的声音;a receiving unit, configured to receive a second sound, where the second sound is a reflected sound of the first sound;
    处理单元,用于根据所述第一声音的频响曲线和所述第二声音的频响曲线,获取第三频响曲线;所述第三频响曲线表征所述第一声音和所述第二声音混合之后的频响特性;a processing unit, configured to acquire a third frequency response curve according to a frequency response curve of the first sound and a frequency response curve of the second sound; the third frequency response curve characterizing the first sound and the first Frequency response characteristics after mixing of two sounds;
    所述处理单元,还用于将所述第三频响曲线与所述第一频响曲线进行比对,得到所述音频输出设备的第一音效调节参数;所述第一音效调节参数表征所述第一声音和所述第二声音产生的混响相对于所述第一声音的失真,用于调节所述音频输出设备输出的音频。The processing unit is further configured to compare the third frequency response curve with the first frequency response curve to obtain a first sound effect adjustment parameter of the audio output device; the first sound effect adjustment parameter representation The distortion of the first sound and the second sound generated relative to the first sound is used to adjust the audio output by the audio output device.
  7. 根据权利要求6所述设备,其特征在于,还包括:The device according to claim 6, further comprising:
    所述接收单元,还用于接收用户输入的基于所述第一音效调节参数的校正调节参数;The receiving unit is further configured to receive a correction adjustment parameter that is input by the user based on the first sound effect adjustment parameter;
    所述处理单元,还用于根据所述校正调节参数,修改所述第二音效调节参数,获取第二音效调节参数;所述第二音效调节参数用于调节音频输出。The processing unit is further configured to: modify the second sound effect adjustment parameter according to the correction adjustment parameter to obtain a second sound effect adjustment parameter; and the second sound effect adjustment parameter is used to adjust an audio output.
  8. 根据权利要求7所述设备,其特征在于,所述接收用户输入的校正调节参数包括:The device according to claim 7, wherein said receiving adjustment adjustment parameters input by a user comprises:
    接收单元接收用户的语音输入,所述语音输入用于指示所述校正调节参数。The receiving unit receives a voice input of the user, the voice input being used to indicate the correction adjustment parameter.
  9. 根据权利要求8所述设备,其特征在于,还包括: The device according to claim 8, further comprising:
    所述处理单元,还用于根据所述语音信息中的关键字,在第一数据库中,匹配出所述关键字关联的播放风格;所述第一数据库中包括至少一种播放风格以及所述至少一种播放风格各自对应的校正调节参数;The processing unit is further configured to: in the first database, match a play style associated with the keyword according to a keyword in the voice information; the first database includes at least one play style and the Correction adjustment parameters corresponding to at least one of the playback styles;
    所述根据所述校正调节参数,修改所述第一调节参数,获取第二调节参数,具体包括:Determining the first adjustment parameter according to the correction adjustment parameter, and acquiring the second adjustment parameter, specifically:
    根据所述播放风格对应的校正调节参数,修改所述第一调节参数,获取第二调节参数。And modifying the first adjustment parameter according to the correction adjustment parameter corresponding to the play style, and acquiring the second adjustment parameter.
  10. 根据权利要求6所述设备,其特征在于,还包括:The device according to claim 6, further comprising:
    判断单元,判断音频输出设备的位置是否有变化,如果音频输出设备的位置有变化,则重新执行所述发送第一声音的步骤。 The judging unit judges whether there is a change in the position of the audio output device, and if the position of the audio output device changes, re-executes the step of transmitting the first sound.
PCT/CN2017/104501 2017-09-29 2017-09-29 Sound effect adjustment method and device for audio output device WO2019061333A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/104501 WO2019061333A1 (en) 2017-09-29 2017-09-29 Sound effect adjustment method and device for audio output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/104501 WO2019061333A1 (en) 2017-09-29 2017-09-29 Sound effect adjustment method and device for audio output device

Publications (1)

Publication Number Publication Date
WO2019061333A1 true WO2019061333A1 (en) 2019-04-04

Family

ID=65900272

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/104501 WO2019061333A1 (en) 2017-09-29 2017-09-29 Sound effect adjustment method and device for audio output device

Country Status (1)

Country Link
WO (1) WO2019061333A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120039476A1 (en) * 2010-08-12 2012-02-16 Lg Electronics Inc. Speaker
CN104904235A (en) * 2013-01-07 2015-09-09 杜比实验室特许公司 Virtual height filter for reflected sound rendering using upward firing drivers
CN106105272A (en) * 2014-03-17 2016-11-09 搜诺思公司 Audio settings based on environment
CN106162478A (en) * 2016-08-16 2016-11-23 北京小米移动软件有限公司 Mike method for optimizing and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120039476A1 (en) * 2010-08-12 2012-02-16 Lg Electronics Inc. Speaker
CN104904235A (en) * 2013-01-07 2015-09-09 杜比实验室特许公司 Virtual height filter for reflected sound rendering using upward firing drivers
CN106105272A (en) * 2014-03-17 2016-11-09 搜诺思公司 Audio settings based on environment
CN106162478A (en) * 2016-08-16 2016-11-23 北京小米移动软件有限公司 Mike method for optimizing and device

Similar Documents

Publication Publication Date Title
US20230111715A1 (en) Fitting method and apparatus for hearing earphone
CN107509153B (en) Detection method and device of sound playing device, storage medium and terminal
US11258418B2 (en) Audio system equalizing
WO2017215657A1 (en) Sound effect processing method, and terminal device
JP6497986B2 (en) Audio system, audio device, portable terminal device, and audio signal control method
WO2019033438A1 (en) Audio signal adjustment method and device, storage medium, and terminal
CN105814909A (en) System and method for feedback detection
WO2019033987A1 (en) Prompting method and apparatus, storage medium, and terminal
WO2015039441A1 (en) Sound volume adjusting method and device
JP2006139307A (en) Apparatus having speech effect processing and noise control and method therefore
US9847767B2 (en) Electronic device capable of adjusting an equalizer according to physiological condition of hearing and adjustment method thereof
WO2019174492A1 (en) Voice call data detection method, device, storage medium and mobile terminal
WO2019033940A1 (en) Volume adjustment method and apparatus, terminal device, and storage medium
CN107396237B (en) Self-positioning intelligent sound box
CN113553022A (en) Equipment adjusting method and device, mobile terminal and storage medium
TWM526238U (en) Electronic device capable of adjusting settings of equalizer according to user's age and audio playing device thereof
WO2019061292A1 (en) Noise reduction method for terminal and terminal
WO2017156880A1 (en) Terminal audio parameter management method, apparatus and system
CN105025413B (en) A kind of sound box parameter collocation method and mobile terminal
WO2019061333A1 (en) Sound effect adjustment method and device for audio output device
CN115376538A (en) Voice noise reduction method, system, electronic device and storage medium for interaction
US20210385595A1 (en) Audio calibration method and device
CN113905306A (en) Audio adjustment method and device, electronic equipment and computer readable storage medium
CN113613145B (en) Noise reduction processing method and related device
CN110972032B (en) Method for eliminating sound and electronic device for executing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17926808

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17926808

Country of ref document: EP

Kind code of ref document: A1