WO2022048376A1 - Sound field expansion method and circuit, electronic device, and storage medium - Google Patents

Sound field expansion method and circuit, electronic device, and storage medium Download PDF

Info

Publication number
WO2022048376A1
WO2022048376A1 PCT/CN2021/110236 CN2021110236W WO2022048376A1 WO 2022048376 A1 WO2022048376 A1 WO 2022048376A1 CN 2021110236 W CN2021110236 W CN 2021110236W WO 2022048376 A1 WO2022048376 A1 WO 2022048376A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
circuit
sound
input
left channel
Prior art date
Application number
PCT/CN2021/110236
Other languages
French (fr)
Chinese (zh)
Inventor
刘佳
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022048376A1 publication Critical patent/WO2022048376A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/04Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments

Definitions

  • the present application relates to the technical field of audio processing, and in particular, to a sound field expansion method, a circuit, an electronic device and a storage medium.
  • the existing stereo sound field expansion technology is that the bluetooth chip at the earphone end converts the received analog audio signal to digital signal to obtain a digital signal, and at the same time separates the left and right channel signals, adds/subtracts the left and right channel signals, and reduces them.
  • IIR Infinite Impulse Response
  • Low-pass filter processing adding to one of the input channels to form an output channel, and then filtering the signal processed by the IIR low-pass filter through Hilbert transform, The amplitude of each frequency component in the frequency domain remains unchanged, but the phase is shifted by 90°, and then it is added to another input channel to form an output channel. Convert from electrical signals to acoustic signals. So as to achieve the purpose of expanding the stereo sound field.
  • Embodiments of the present application provide a sound field expansion method, a circuit, an electronic device, and a storage medium, which can reduce the computational complexity of stereo sound field expansion and the power consumption of earphones.
  • the embodiment of the present application provides a sound field expansion circuit, the sound field expansion circuit includes an early reflected sound circuit and a late reflected sound circuit;
  • the early reflected sound circuit includes a plurality of comb filters connected in parallel, and the gains of the plurality of comb filters are different;
  • the late reflected sound circuit is connected to the output end of the early reflected sound circuit, the late reflected sound circuit includes an all-pass filter circuit, and the all-pass filter circuit includes a plurality of all-pass filters connected in series;
  • the early reflected sound circuit is used to filter the first sound signal by using the plurality of comb filters to obtain the early reflected sound signal, and the first sound signal is obtained according to the input sound signal;
  • the late-stage reflected sound circuit is used to phase-shift the first input signal by using the plurality of all-pass filters to obtain a late-stage reflected sound signal, so as to obtain a late-stage reflected sound signal according to the input sound signal and the late-stage reflected sound signal, An output acoustic signal is obtained, wherein the first input signal is the early reflected acoustic signal or is obtained according to the early reflected acoustic signal.
  • An embodiment of the present application provides an electronic device, the electronic device includes: a left channel input terminal, a right channel input terminal, a sound field preprocessing circuit, a left channel sound field expansion circuit, a right channel sound field expansion circuit, a left channel sound field expansion circuit, and a left channel sound field expansion circuit.
  • An output circuit and a right channel output circuit, the left channel sound field expansion circuit and the right channel sound field expansion circuit are the same as the sound field expansion circuit described in any of the above; wherein,
  • the left channel input terminal and the right channel input terminal are respectively connected with the input terminal of the sound field preprocessing circuit, and the output terminal of the sound field preprocessing circuit is respectively connected with the input terminal of the left channel sound field expansion circuit. It is connected with the input end of the right channel sound field expansion circuit, the output end of the left channel sound field expansion circuit and the left channel input end are respectively connected with the input end of the left channel output circuit, and the right channel sound field expansion circuit is connected with the input end of the left channel output circuit.
  • the output end of the channel sound field expansion circuit and the right channel input end are respectively connected with the input end of the right channel output circuit;
  • the left channel input terminal is used for inputting the left channel input sound signal
  • the right channel input terminal is used for inputting the right channel input sound signal
  • the acoustic signal preprocessing circuit configured to preprocess the left channel input signal and the right channel input signal to obtain the first acoustic signal
  • the left channel sound field expansion circuit is used for processing the first sound signal to obtain the left channel late reflection sound signal
  • the left channel output circuit is used for processing the left channel input sound signal and the left channel late reflection sound signal to obtain the left channel output sound signal;
  • the right channel sound field expansion circuit is used for processing the first sound signal to obtain the right channel late reflected sound signal
  • the right channel output circuit is used for processing the right channel input sound signal and the right channel post-reflection sound signal to obtain a right channel output sound signal.
  • An embodiment of the present application provides a sound field expansion method, which is applied to the sound field expansion circuit.
  • the sound field expansion circuit includes: an early reflected sound circuit composed of a plurality of comb filters connected in parallel, and an output of the early reflected sound circuit with the early reflected sound circuit
  • a late-stage reflected sound circuit connected to the terminals, the late-stage reflected sound circuit is composed of a plurality of all-pass filters connected in series, and the method further includes:
  • an output acoustic signal corresponding to the input acoustic signal is obtained.
  • An embodiment of the present application provides an electronic device, the electronic device includes: a processor, a memory, and a communication bus; when the processor executes a running program stored in the memory, the method as described in any of the above is implemented.
  • An embodiment of the present application provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements any of the methods described above.
  • FIG. 1 is a schematic structural diagram of a stereo sound field expansion circuit in the prior art
  • FIG. 2(a) is a schematic structural diagram 1 of a sound field expansion circuit provided by an embodiment of the present application.
  • FIG. 2(b) is a second structural schematic diagram of a sound field expansion circuit provided by an embodiment of the application.
  • FIG. 3 is a schematic diagram of the circuit structure of an exemplary early reflected sound circuit provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of the circuit structure of an exemplary late-stage reflected sound circuit provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a circuit structure of an exemplary low-pass filter provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an exemplary sound field expansion circuit provided by an embodiment of the present application.
  • FIG. 8 is a flowchart of a sound field expansion method provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • an embodiment of the present application proposes a sound field expansion circuit, and the sound field expansion circuit includes: an early reflected sound circuit and a later reflected sound circuit;
  • the early reflected sound circuit includes a plurality of comb filters connected in parallel, and the gains of the plurality of comb filters are different;
  • the late reflected sound circuit is connected to the output end of the early reflected sound circuit, the late reflected sound circuit includes an all-pass filter circuit, and the all-pass filter circuit includes a plurality of all-pass filters connected in series;
  • the early reflected sound circuit is used to filter the first sound signal by using the plurality of comb filters to obtain the early reflected sound signal, and the first sound signal is obtained according to the input sound signal;
  • the late-stage reflected sound circuit is used to phase-shift the first input signal by using the plurality of all-pass filters to obtain a late-stage reflected sound signal, so as to obtain an output according to the input sound signal and the late-stage reflected sound signal An acoustic signal, wherein the first input signal is the early reflected acoustic signal or is obtained from the early reflected acoustic signal.
  • the late reflected sound circuit further includes: a first adder and a low-pass feedback circuit; the first input end of the first adder is connected to the output end of the early reflected sound circuit, and the first adder is connected to the output end of the early reflected sound circuit.
  • the second input end of an adder is connected to the output end of the low-pass feedback circuit, the output end of the first adder is connected to the input end of the all-pass filter circuit, and the the output end is connected to the input end of the low-pass feedback circuit;
  • the low-pass feedback circuit is used to filter and control the sound of the later reflected sound signal to obtain a feedback signal, and transmit the feedback signal to the second input end of the first adder;
  • the first adder configured to add the feedback signal and the early reflected sound signal to obtain the first input signal
  • the plurality of all-pass filters are also used for phase-shifting the first input signal to obtain the later reflected sound signal.
  • the low-pass feedback circuit includes a low-pass filter and a feedback gain amplifier, the input end of the low-pass filter is connected to the output ends of the plurality of all-pass filters, and the low-pass filter
  • the output end of the feedback gain amplifier is connected to the input end of the feedback gain amplifier, and the output end of the feedback gain amplifier is connected to the second input end of the first adder;
  • the low-pass filter is used to filter the late-stage reflected acoustic signal to obtain a first filtered acoustic signal, wherein the high-frequency sound attenuation of the first filtered acoustic signal is greater than the low-frequency sound attenuation;
  • the feedback gain amplifier is used for performing sound control on the first filtered sound signal to obtain the feedback signal.
  • the early reflected sound circuit further comprises: a plurality of gain amplifiers and a second adder, the plurality of gain amplifiers are in one-to-one correspondence with the plurality of comb filters, and the input end of each gain amplifier are respectively connected in series with the output ends of the corresponding comb filters, the gain values of the multiple gain amplifiers are different, and the output ends of the multiple gain amplifiers are connected to the second adder;
  • the plurality of comb filters and the plurality of gain amplifiers are used for filtering and signal gain respectively for the first acoustic signal to obtain a plurality of delayed attenuated acoustic signals, the plurality of delayed attenuated acoustic signals
  • the signal delay and signal attenuation are different;
  • the second adder is configured to add the plurality of delayed attenuated acoustic signals to obtain the early reflected acoustic signals.
  • the signal delay of the comb filter is greater than the signal delay of the all-pass filter.
  • the comb filter includes a third adder, a first delay, a first feedback gain amplifier and a first low-pass filter, wherein the first low-pass filter is formed by a second delay It consists of a timer, a first gain amplifier and a fourth adder;
  • the first input end of the third adder is connected to the input of the comb filter, the output end of the first adder is connected to the input end of the first delay device, and the output end of the first delay device is connected to the input end of the first delay device.
  • the output end is connected to the output end of the comb filter and the first input end of the fourth adder, the second input end of the fourth adder is connected to the output end of the first gain amplifier, and the second input end of the fourth adder is connected to the output end of the first gain amplifier.
  • the input end of a gain amplifier is connected to the output end of the second delay device, the input end of the second delay device and the output end of the fourth adder are connected to the input end of the first feedback gain amplifier,
  • the output terminal of the first feedback gain amplifier is connected to the second input terminal of the third adder.
  • the all-pass filter includes: a fifth adder, a third delay device, a sixth adder, a second gain amplifier, a third gain amplifier and a second feedback gain amplifier;
  • the first input end of the fifth adder is connected to the input of the all-pass filter, and the output end of the fifth adder is respectively connected to the input end of the third delayer and the output end of the second gain amplifier.
  • input end, the output end of the third delay device is respectively connected to the input end of the third gain amplifier and the input end of the second feedback gain amplifier, the output end of the third gain amplifier and the second gain amplifier.
  • the output end is connected to the input end of the sixth adder, the output end of the second feedback gain amplifier is connected to the second input end of the fifth adder, and the output end of the sixth adder is connected to the all-pass filter output of the device.
  • the low-pass filter is a wireless impulse response IIR low-pass filter.
  • an embodiment of the present application proposes an electronic device, the electronic device includes: a left channel input terminal, a right channel input terminal, a sound field preprocessing circuit, a left channel sound field expansion circuit, and a right channel sound field expansion circuit , a left channel output circuit and a right channel output circuit, the left channel sound field expansion circuit and the right channel sound field expansion circuit are the same as the circuits described in any of the above; wherein,
  • the left channel input terminal and the right channel input terminal are respectively connected with the input terminal of the sound field preprocessing circuit, and the output terminal of the sound field preprocessing circuit is respectively connected with the input terminal of the left channel sound field expansion circuit. It is connected with the input end of the right channel sound field expansion circuit, the output end of the left channel sound field expansion circuit and the left channel input end are respectively connected with the input end of the left channel output circuit, and the right channel sound field expansion circuit is connected with the input end of the left channel output circuit.
  • the output end of the channel sound field expansion circuit and the right channel input end are respectively connected with the input end of the right channel output circuit;
  • the left channel input terminal is used for inputting the left channel input sound signal
  • the right channel input terminal is used for inputting the right channel input sound signal
  • the acoustic signal preprocessing circuit configured to preprocess the left channel input signal and the right channel input signal to obtain the first acoustic signal
  • the left channel sound field expansion circuit is used for processing the first sound signal to obtain the left channel late reflection sound signal
  • the left channel output circuit is used for processing the left channel input sound signal and the left channel late reflection sound signal to obtain the left channel output sound signal;
  • the right channel sound field expansion circuit is used for processing the first sound signal to obtain the right channel late reflected sound signal
  • the right channel output circuit is used for processing the right channel input sound signal and the right channel post-reflection sound signal to obtain a right channel output sound signal.
  • the left channel sound field expansion circuit includes a left channel early reflection sound circuit and a left channel late reflection sound circuit
  • the right channel sound field expansion circuit includes a right channel early reflection sound circuit and a right sound channel.
  • a late-channel reflected sound circuit wherein the left channel early reflected sound circuit and the right channel early reflected sound circuit are the same as the early reflected sound circuit described in any of the above; the left channel late reflected sound circuit and the later reflected sound circuit of the right channel is the same as the later reflected sound circuit described in any of the above;
  • the output end of the left channel early reflected sound circuit is connected with the input end of the left channel late reflected sound circuit; the output end of the right channel early reflected sound circuit is connected to the output end of the right channel late reflected sound circuit. input connection.
  • the electronic device further includes: a communication module, a left channel speaker and a right channel speaker; the communication module is connected to the left channel input end and the right channel input end, the The output end of the left channel output circuit is connected to the left channel speaker, and the output end of the right channel output circuit is connected to the right channel speaker;
  • the communication module for receiving audio data and separating the audio data into the left channel input sound signal and the right channel input sound signal;
  • the left channel speaker is used for playing the left channel output sound signal
  • the right channel speaker is used for playing the right channel output sound signal
  • an embodiment of the present application proposes a sound field expansion method, which is applied to the sound field expansion circuit, where the sound field expansion circuit includes: an early reflected sound circuit composed of a plurality of comb filters connected in parallel and a The late-stage reflected sound circuit connected to the output end of the reflected sound circuit, the late-stage reflected sound circuit is composed of a plurality of all-pass filters connected in series, and the method further includes:
  • an output acoustic signal corresponding to the input acoustic signal is obtained.
  • the use of a plurality of comb filters to filter the first acoustic signal to obtain an early reflected acoustic signal includes:
  • the signal delay and signal attenuation of the plurality of time-delayed attenuated acoustic signals are different;
  • the multiple delayed attenuated acoustic signals are added to obtain the early reflected acoustic signals.
  • the use of multiple all-pass filters to phase-shift the first input signal to obtain a later reflected acoustic signal includes:
  • the input acoustic signal includes: a left channel input acoustic signal and a right channel input acoustic signal; the preprocessing of the input acoustic signal to obtain the first acoustic signal includes:
  • the first sound signal is obtained by performing signal addition or signal subtraction and reduction operations on the left channel input sound signal and the right channel input sound signal.
  • an embodiment of the present application proposes an electronic device, and the electronic device includes: a processor, a memory, and a communication bus; the processor executes the following method when executing a running program stored in the memory:
  • an output acoustic signal corresponding to the input acoustic signal is obtained.
  • the processor is further configured to filter the first acoustic signal by using the multiple comb filters to obtain multiple delayed attenuated acoustic signals, the multiple delayed attenuated acoustic signals The signal delay and signal attenuation are different; the multiple delayed and attenuated acoustic signals are added to obtain the early reflected acoustic signal.
  • the processor is further configured to filter and soundly control the late reflected sound signal to obtain a feedback signal; and add the feedback signal and the early reflected sound signal to obtain the the first input signal; using the plurality of all-pass filters to phase-shift the first input signal to obtain the later reflected sound signal.
  • the input sound signal includes: a left channel input sound signal and a right channel input sound signal;
  • the processor is further configured to perform signal addition, signal subtraction, and reduction operations on the left channel input sound signal and the right channel input sound signal to obtain the first sound signal.
  • an embodiment of the present application provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements any of the methods described above.
  • Embodiments of the present application provide a sound field expansion method, circuit, electronic device, and storage medium.
  • the sound field expansion circuit includes: an early reflected sound circuit and a later reflected sound circuit, and the early reflected sound circuit includes a plurality of comb filters connected in parallel, The gains of the multiple comb filters are different; the late reflected sound circuit is connected to the output end of the early reflected sound circuit, and the late reflected sound circuit includes an all-pass filter circuit, and the all-pass filter circuit includes a plurality of all-pass filters connected in series
  • the early reflected sound circuit is used to filter the first sound signal by using a plurality of comb filters to obtain the early reflected sound signal, and the first sound signal is obtained according to the input sound signal; the later reflected sound circuit is used to use multiple comb filters.
  • the first input signal is phase-shifted by an all-pass filter to obtain a later reflected acoustic signal, so as to obtain an output acoustic signal according to the input acoustic signal and the later reflected acoustic signal, wherein the first input signal is an early reflected acoustic signal or a
  • the reflected acoustic signal is obtained.
  • the early reflected sound circuit of the sound field expansion circuit is composed of multiple comb filters in parallel
  • the later reflected sound circuit is composed of multiple all-pass filters connected in series.
  • the stereo sound field expansion can be realized by connecting multiple all-pass filters in series.
  • the multiplication and addition operations in the Bluetooth chip can usually be performed within one clock cycle. Completed, thereby reducing the amount of operation of the stereo sound field expansion and the power consumption of the headset. It should be understood that the specific embodiments described herein are merely illustrative of the present application. It is not intended to limit this application.
  • the stereo sound field expansion circuit 1 includes a left channel input end 10, a right channel input end 11, an adder-subtractor 12, an IIR low-pass filter 13, Gain amplifier 14 , Hilbert filter 15 , adder 16 , adder 17 , left channel output 18 and right channel output 19 .
  • the input end of the adder-subtractor 12 is respectively connected to the left channel input end 10 and the right channel input end 11, the output end of the adder-subtractor 12 is connected to the IIR low-pass filter 13, and the output end of the IIR low-pass filter 13 is connected to
  • the gain amplifier 14 and the output end of the gain amplifier 14 are respectively connected to the Hilbert filter 15 and one input end of the adder 16, the other input end of the adder 16 is connected to the right channel input end 11, and the output end of the adder 16
  • the output end of the Hilbert filter 15 is connected to one input end of the adder 17, the other input end of the adder 17 is connected to the left channel input end 10, and the adder 17
  • the output terminal is connected to the right channel output terminal 19.
  • the signal flow of the stereo sound field expansion method can be as follows: the left channel signal and the right channel signal are added/subtracted, and then processed by an IIR low-pass filter, and added with the left input channel to form a left channel. Output channel; at the same time, the signal processed by the IIR low-pass filter is passed through the Hilbert filter, and then added to the right input channel to form the right output channel.
  • the embodiments of the present application propose a sound field expansion circuit, method and storage medium, which will be specifically described by the following embodiments.
  • the embodiment of the present application provides a sound field expansion circuit 2.
  • the sound field expansion circuit 2 may include: an early reflected sound circuit 20 and a later reflected sound circuit 21,
  • the early reflected sound circuit 20 includes a plurality of comb filters 200 connected in parallel, and the gains of the multiple comb filters 200 are different;
  • the late reflected sound circuit 21 is connected to the output end of the early reflected sound circuit 20, the late reflected sound circuit 21 includes an all-pass filter circuit 210, and the all-pass filter circuit 210 includes a plurality of all-pass filters connected in series;
  • the early reflected sound circuit 20 is used to filter the first sound signal by using a plurality of comb filters 200 respectively to obtain the early reflected sound signal, and the first sound signal is obtained according to the input sound signal;
  • the late-stage reflected sound circuit 21 is used to phase-shift the first input signal by using a plurality of all-pass filters 210 to obtain a late-stage reflected sound signal, so as to obtain an output sound signal according to the input sound signal and the late-stage reflected sound signal, wherein the first An input signal is the early reflected sound signal or is obtained from the early reflected sound signal.
  • the sound field expansion circuit provided by the embodiment of the present application is applied to a scenario of expanding a stereo sound field when a stereo signal is played.
  • the sound field expansion circuit in the embodiment of the present application may be applied to an earphone or a speaker of an electronic device, and may be selected according to the actual situation, which is not specifically limited in the embodiment of the present application.
  • the earphones may be Bluetooth neck-mounted earphones, true wireless stereo Bluetooth earphones, etc., which are specifically selected according to actual conditions, and are not specifically limited in the embodiments of the present application.
  • the embodiments of the present application are described by taking the application to an earphone as an example.
  • the Bluetooth chip at the earphone end performs analog-to-digital conversion on the received analog audio signal to obtain a digital signal, and separates the digital signal into a left channel output sound signal and a right channel output sound signal.
  • the sound field expansion circuit preprocesses the left channel input sound signal and the right channel input sound signal to obtain the first sound signal.
  • the first acoustic signal is filtered by a plurality of comb filters in parallel and output to simulate the early reflected sound of the sound field, wherein the output of each comb filter has a different gain and the gain is adjustable.
  • the number of the plurality of comb filters may be 6, 8, 10, etc., which are specifically selected according to the actual situation, which is not specifically limited in the embodiment of the present application.
  • the structure of the comb filter 200 is shown in FIG. 3 , including an adder 301 , a delay device 302 , a feedback gain amplifier 303 and a low-pass filter 304 , wherein the low-pass filter 304 is composed of a delay device 3040 , a gain amplifier 3041 and an adder 3042, the first input end of the adder 301 is connected to the input of the comb filter, the output end of the adder 301 is connected to the delay device 302, and the output end of the delay device 302 is connected to the comb filter
  • the output end of the adder 3042 and the first input end of the adder 3042, the second input end of the adder 3042 is connected to the output end of the gain amplifier 3041, the input end of the gain amplifier 3041 is connected to the output end of the delayer 3040, and the input end of the delayer
  • the output end of the adder 3042 is connected to the input end of the feedback gain amplifier 303 , and the output end of the feedback gain amplifier 303 is connected to
  • the specific parameter values of the delayer 302 and the delayer 3040 can be selected according to the actual situation, which is not specifically limited in this embodiment of the present application; the specific values of the gain amplifier 3041 and the feedback gain amplifier 303 can be selected according to the actual situation, The embodiments of the present application do not make specific limitations.
  • the comb filter shown in FIG. 3 is an optional structure of the comb filter in the embodiment of the present application, and is not limited to the above-mentioned comb filter structure in practical application, and the specific structure can be determined according to the actual situation. selection, which is not specifically limited in the embodiments of the present application.
  • the first acoustic signal can be filtered in the comb filter only by delaying and multiplying and adding operations.
  • the multiplying and adding operations in the Bluetooth chip can usually be completed within one clock cycle. This greatly reduces the amount of computation in the expansion of the stereo sound field.
  • the outputs of the multiple comb filters have different gains, and the first acoustic signal undergoes different degrees of sound attenuation after being filtered by the multiple comb filters respectively.
  • the function of the all-pass filter is to keep the amplitude of each frequency component in the frequency domain unchanged in the whole frequency band, and to generate a certain degree of phase shift in phase.
  • the first input signal is sequentially phase-shifted by a plurality of series-connected all-pass filters to obtain a later reflected sound signal, wherein the first input signal is an early reflected sound signal or a signal obtained according to the early reflected sound signal.
  • the number of all-pass filters may be 4, 6, 8, etc., which are specifically selected according to the actual situation, which is not specifically limited in the embodiment of the present application.
  • the structure of the all-pass filter 210 is shown in FIG. 4 , including an adder 401 , a delay device 402 , an adder 403 , a gain amplifier 404 , a gain amplifier 405 and a feedback gain amplifier 406 , wherein the adder 401 has a The first input terminal is connected to the input of the all-pass filter, the output terminal of the adder 401 is connected to the delay device 402 and the gain amplifier 404 respectively, and the output terminal of the delay device 402 is respectively connected to the gain amplifier 405 and the feedback gain amplifier 406.
  • the gain amplifier 405 The output end of the gain amplifier 404 and the output end of the gain amplifier 404 are connected to the input end of the adder 403, the output end of the feedback gain amplifier 406 is connected to the second input end of the adder 401, and the output end of the adder 403 is connected to the output of the all-pass filter.
  • the specific parameter values of the timer 402 can be selected according to the actual situation, which is not specifically limited in this embodiment of the present application; The examples are not specifically limited.
  • the all-pass filter in FIG. 4 is an optional all-pass filter structure provided by the embodiment of the present application, and is not limited to the above-mentioned all-pass filter structure in practical application, and the specific structure may be based on actual conditions. selection, which is not specifically limited in the embodiments of the present application.
  • the filtering process of the first input signal can be realized only by delaying and multiplying and adding operations in the all-pass filter.
  • the multiplying and adding operations in the Bluetooth chip can usually be completed within one clock cycle. This greatly reduces the amount of computation in the expansion of the stereo sound field.
  • the signal delay of the comb filter is greater than that of the all-pass filter.
  • the signal delay of the comb filter is greater than that of the all-pass filter, the signal delay of the early reflected sound signal is greater than the signal delay of the later reflected sound signal, so that the later reflected sound signal has a longer delay.
  • the sound density is greater than that of the early reflected sound signal, so that a real stereo sound field effect can be simulated.
  • each comb filter and all-pass filter unit can adopt asymmetric parameters to reduce the correlation of the left and right channel signals to enhance the sound field width.
  • the delay size may be in units of digital signal samples.
  • the late-stage reflected sound circuit 21 further includes: a first adder 212 and a low-pass feedback circuit 211 ;
  • the output end is connected, the second input end of the first adder 212 is connected with the output end of the low-pass feedback circuit 211, the output end of the first adder 212 is connected with the input end of the all-pass filter circuit 210, and the all-pass filter circuit
  • the output end of 210 is connected with the input end of the low-pass feedback circuit;
  • the low-pass feedback circuit 211 is used to filter and control the sound of the later reflected sound signal to obtain a feedback signal, and transmit the feedback signal to the second input end of the first adder;
  • the first adder 212 is used to add the feedback signal and the early reflected sound signal to obtain the first input signal
  • the multiple all-pass filters are also used for phase-shifting the first input signal to obtain a later reflected sound signal.
  • the late-stage reflected sound circuit further includes a low-pass feedback circuit and a first adder.
  • the output end of the early-stage reflected sound circuit and the output end of the low-pass feedback circuit are connected to the input end of the first adder,
  • the output end of the first adder is connected to a plurality of all-pass filters in series, and the output ends of the plurality of all-pass filters are connected to the input end of the low-pass feedback circuit, so that the later reflected sound is filtered by the low-pass feedback circuit.
  • the signal is added with the early reflected sound signal to obtain the first input signal, and then the first input signal is input into a plurality of all-pass filters to obtain the late reflected sound signal, so as to increase the late reflected sound density.
  • the design of the low-pass feedback circuit can reduce the number of all-pass filters, thereby reducing the amount of computation when the sound field is expanded.
  • the low-pass feedback circuit 211 includes a low-pass filter 2110 and a feedback gain amplifier 2111 , and the input end of the low-pass filter 2110 is connected to a plurality of all-pass The output end of the filter 210 is connected, the output end of the low-pass filter 2110 is connected with the input end of the feedback gain amplifier 2111, and the output end of the feedback gain amplifier 2111 is connected with the second input end of the first adder 212;
  • the low-pass filter 2110 is used to filter the later reflected acoustic signal to obtain the first filtered acoustic signal, and the high-frequency sound attenuation of the first filtered acoustic signal is greater than the low-frequency sound attenuation;
  • the feedback gain amplifier 2111 is used for performing sound control on the first filtered sound signal to obtain a feedback signal.
  • the low-pass filter may be an IIR low-pass filter.
  • FIG. 5 a schematic structural diagram of the low-pass filter is shown in FIG. 5 , including a delay device 501 , a gain amplifier 502 and an adder 503 , wherein the input end of the adder 503 is respectively connected to the output end of the gain amplifier 502 and the adder 503 .
  • the output end of the all-pass filter and the output end of the adder 503 are respectively connected to the feedback gain amplifier and the delayer 501 , and the output end of the delayer 501 is connected to the input end of the gain amplifier 502 .
  • the feedback gain amplifier 2111 is used to control the size of the reflected sound in the later stage, and the IIR low-pass filter is used to simulate the attenuation of high-frequency sound in the air faster than the attenuation of low-frequency sound.
  • the sound field widening can be controlled effect, so as to simulate the sound field of different reverberation, such as valley, cinema, indoor and other environments.
  • the early reflected sound circuit 20 further includes: a plurality of gain amplifiers 201 and a second adder 202, a plurality of gain amplifiers 201 and a plurality of comb filters.
  • a plurality of gain amplifiers 201 and a second adder 202 There is a one-to-one correspondence with each of the gain amplifiers 200, the input end of each gain amplifier 201 is connected in series with the output end of the corresponding comb filter 200, the gain values of the multiple gain amplifiers are different, and the output ends of the multiple gain amplifiers 201 are connected to the first Two adders 202 are connected;
  • a plurality of comb filters 200 and a plurality of gain amplifiers 201 are used for filtering and signal gain respectively on the first acoustic signal to obtain a plurality of delayed attenuated acoustic signals, the signal delays of the plurality of delayed attenuated acoustic signals Different from signal attenuation;
  • the second adder 202 is configured to add the multiple delayed attenuated acoustic signals to obtain the early reflected acoustic signals.
  • an output end of each comb filter is connected to a gain amplifier, and the gain amplifier has different values, and different gain values can make the signal attenuation degrees of multiple delayed attenuated acoustic signals different.
  • the signals of the multiple delayed attenuated acoustic signals are added to obtain an early reflected acoustic signal.
  • the early reflected sound circuit can be a left channel early reflected sound circuit or a right channel early reflected sound circuit
  • the late reflected sound circuit can be a left channel late reflected sound circuit or a right channel. Late reflection sound circuit; the output end of the left channel early reflection sound circuit is connected with the left channel late reflection sound circuit; the output end of the right channel early reflection sound circuit is connected with the right channel late reflection sound circuit circuit connection.
  • the first sound signal is passed through the left channel early reflected sound circuit and the left channel late reflected sound circuit to obtain the left channel late reflected sound signal; the first sound signal is passed through the right channel early reflected sound circuit and the right channel.
  • the post reflection sound circuit of the channel obtains the post reflection sound signal of the right channel.
  • the delay and gain values of the all-pass filter and the comb filter in the sound field expansion circuit are asymmetric and independently adjustable, which is more in line with the spatial information of the real sound field heard by the left and right ears.
  • the embodiment of the present application further provides an electronic device 6.
  • the electronic device 6 includes: a left channel input end 60, a right channel input end 61, a sound field preprocessing circuit 62, The left channel sound field expansion circuit 63, the right channel sound field expansion circuit 64, the left channel output circuit 65 and the right channel output circuit 66, the left channel sound field expansion circuit 63 and the right channel sound field expansion circuit 64 and the The sound field expansion circuit described in any one of the above is the same; wherein,
  • the left channel input terminal 60 and the right channel input terminal 61 are respectively connected with the input terminal of the sound field preprocessing circuit 62, and the output terminal of the sound field preprocessing circuit 62 is respectively connected with the left channel sound field expansion.
  • the input end of the circuit 63 is connected to the input end of the right channel sound field expansion circuit 64, and the output end of the left channel sound field expansion circuit 63 and the left channel input end 60 are respectively connected with the left channel output circuit.
  • 65, the output end of the right channel sound field expansion circuit 64 and the right channel input end 61 are respectively connected with the input end of the right channel output circuit 66;
  • the left channel input terminal is used for inputting the left channel input sound signal
  • the right channel input terminal is used for inputting the right channel input sound signal
  • the acoustic signal preprocessing circuit configured to preprocess the left channel input signal and the right channel input signal to obtain the first acoustic signal
  • the left channel sound field expansion circuit is used for processing the first sound signal to obtain the left channel late reflection sound signal
  • the left channel output circuit is configured to process (for example, signal addition) the left channel input sound signal and the left channel late reflection sound signal to obtain the left channel output sound signal;
  • the right channel sound field expansion circuit is used for processing the first sound signal to obtain the right channel late reflected sound signal
  • the right channel output circuit is configured to process the right channel input sound signal and the right channel post-reflection sound signal (eg, perform signal addition) to obtain a right channel output sound signal.
  • the left channel sound field expansion circuit includes a left channel early reflected sound circuit and a left channel late reflected sound circuit
  • the right channel sound field expansion circuit includes a right channel early reflected sound circuit and a right channel late reflected sound circuit
  • the output end of the left channel early reflected sound circuit is connected with the input end of the left channel late reflected sound circuit
  • the output end of the right channel early reflected sound circuit is connected with the input end of the right channel late reflected sound circuit.
  • the early reflection sound circuit of the left channel and the early reflection sound circuit of the right channel are the same as the early reflection sound circuit described in any of the above, and the late reflection sound circuit of the left channel and the late reflection sound circuit of the right channel are the same as The post-reflection sound circuit described in any of the above is the same.
  • the acoustic signal preprocessing circuit includes an adder-subtractor and a gain amplifier, and the acoustic signal preprocessing circuit uses the adder-subtractor to perform an addition or subtraction operation on the left channel input acoustic signal and the right channel input acoustic signal, Then, the reduction operation is performed through the gain to obtain the first sound signal.
  • the Bluetooth chip inputs the left channel input sound signal to the sound signal preprocessing circuit through the left channel input port, inputs the left channel input sound signal through the left channel sound field expansion circuit, and inputs the left channel input sound signal through the right channel input port to the sound signal preprocessing circuit.
  • the right channel sound field expansion circuit inputs the right channel input sound signal.
  • the electronic device further includes: a communication module, a left channel speaker and a right channel speaker; the communication module is connected to the left channel input end and the right channel input end, and the output end of the left channel output circuit is connected to the right channel input end.
  • the output end of the channel output circuit is connected to the speaker; the communication module is used to receive audio data and separate the audio data into the left channel input sound signal and the right channel input sound signal; the left channel speaker is used to play the left channel The right channel speaker is used to play the output sound signal of the right channel.
  • FIG. 7 the schematic diagram of the structure of the electronic device is shown in FIG. 7, including a left channel input end 701, a right channel input end 702, an adder-subtractor 703, a gain amplifier 704, a left channel early reflected sound circuit 705, a left channel The post-channel reflected sound circuit 706, the left channel output circuit 707, the right channel early reflected sound circuit 708, the right channel late reflected sound circuit 709, and the right channel output circuit 7010.
  • the left channel early reflected sound circuit 705 is composed of a comb filter 7051, a comb filter 7052, a comb filter 7053, a comb filter 7054, a comb filter 7055, and a comb filter 7056 in parallel, wherein, The output end of comb filter 7051 is connected to gain amplifier 7057, the output end of comb filter 7052 is connected to gain amplifier 7058, the output end of comb filter 7053 is connected to gain amplifier 7059, the output end of comb filter 7054 is connected to gain amplifier 70510, and the comb filter 7054 output end is connected to gain amplifier 70510.
  • the output end of the filter 7055 is connected to the gain amplifier 70511, the output end of the comb filter 7056 is connected to the gain amplifier 70512, the output ends of the gain amplifier 7057, the gain amplifier 7058, the gain amplifier 7059, the gain amplifier 70510, the gain amplifier 70511, and the gain amplifier 70512 are connected
  • An adder 70513, gain amplifier 7057, gain amplifier 7058, gain amplifier 7059, gain amplifier 70510, gain amplifier 70511, gain amplifier 70512 have different values; 7062, an all-pass filter 7063, an all-pass filter 7064, and an all-pass filter 7065 are connected in series, and the output end of the all-pass filter 7065 is also connected to an IIR low-pass filter 7066 and a feedback gain amplifier 7067, wherein the IIR low-pass
  • the filter 7066 is composed of a delay device 70661, a gain amplifier 70662 and an adder 70663.
  • the input end of the adder 7061 is respectively connected to the output end of the adder 70513 and the output end of the feedback gain amplifier 7067, and the input end of the feedback gain amplifier 7067 is respectively It is connected to the input end of the delayer 70662 and the output end of the adder 70663.
  • the input end of the adder 70663 is connected to the output end of the all-pass filter 7065 and the output end of the delayer 70661 respectively.
  • the input end of the delayer 70661 It is connected with the output end of the gain amplifier 70662; the left channel output circuit 707 is composed of the adder 7071 and the left channel output end 7072, and the input end of the adder 7071 is respectively connected with the output end of the all-pass filter 7065 and the left channel input end 701 is connected, and the output end of the adder 7071 is connected to the left channel output end 7072.
  • the right channel early reflected sound circuit 708 is composed of a comb filter 7081, a comb filter 7082, a comb filter 7083, a comb filter 7084, a comb filter 7085, and a comb filter 7086 in parallel, wherein, The output end of comb filter 7081 is connected to gain amplifier 7087, the output end of comb filter 7082 is connected to gain amplifier 7088, the output end of comb filter 7083 is connected to gain amplifier 7089, the output end of comb filter 7084 is connected to gain amplifier 70810, The output end of filter 7085 is connected to the output end of gain amplifier 70811, the output end of comb filter 7086 is connected to gain amplifier 70812, gain amplifier 7087, gain amplifier 7088, gain amplifier 7089, gain amplifier 70810, gain amplifier 70811, gain amplifier 70812 An adder 70813 is connected to the output end of the amplifier.
  • gain amplifier 7087, gain amplifier 7088, gain amplifier 7089, gain amplifier 70810, gain amplifier 70811 and gain amplifier 70812 are different; All-pass filter 7092, all-pass filter 7093, all-pass filter 7094, and all-pass filter 7095 are connected in series, and the output end of all-pass filter 7095 is also connected to IIR low-pass filter 7096 and feedback gain amplifier 7097, wherein , the IIR low-pass filter 7066 is composed of a delayer 70961, a gain amplifier 70962 and an adder 70963. The input end of the adder 7091 is respectively connected to the output end of the adder 70913 and the output end of the feedback gain amplifier 7097.
  • the feedback gain amplifier 7097 The input terminals of the gain amplifier 70962 are respectively connected to the input terminal of the gain amplifier 70962 and the output terminal of the adder 70963.
  • the input terminals of the adder 70963 are respectively connected to the output terminal of the all-pass filter 7095 and the output terminal of the delay device 70961.
  • the delay device 70961 The input end is connected with the output end of the gain amplifier 70962; the right channel output circuit 7010 is composed of the adder 70101 and the right channel output end 70102, the input end of the adder 70101 is respectively connected with the output end of the all-pass filter 7095 and the right channel output end 70102.
  • the channel input terminal 702 is connected, and the output terminal of the adder 70101 is connected to the right channel output terminal 70102.
  • the signal flow corresponding to FIG. 7 is: the left channel input sound signal input from the left channel input terminal 701 and the right channel input sound signal input from the right channel input terminal 702 pass through the adder-subtractor 703 and the gain amplifier 704. Addition or signal subtraction and reduction processing to obtain the first sound signal, the first sound signal is passed through the left channel early reflection sound circuit 705 to obtain the left channel early reflection sound signal of the simulated sound field, and the left channel early reflection sound signal is passed through the left channel.
  • the late reflection sound circuit 706 obtains the late reflection sound of the left channel, and the late reflection sound of the left channel and the input sound signal of the left channel are added by the left channel output circuit 707 to obtain the output sound signal of the left channel;
  • the sound signal passes through the right channel early reflection sound circuit 708 to obtain the right channel early reflection sound signal of the simulated sound field, and the right channel early reflection sound signal passes through the right channel late reflection sound circuit 709 to obtain the right channel late reflection sound, and the right channel
  • the later reflected sound and the input sound signal of the right channel are added by the right channel output circuit 7010 to obtain the output sound signal of the right channel.
  • the early reflected sound circuit of the sound field expansion circuit is composed of multiple comb filters in parallel, and the later reflected sound circuit is composed of multiple all-pass filters connected in series.
  • the stereo sound field expansion can be realized by connecting multiple all-pass filters in series. Since the comb filter and the all-pass filter mainly implement multiplication and addition operations, the multiplication and addition operations in the Bluetooth chip can usually be performed within one clock cycle. Completed, thereby reducing the amount of operation of the stereo sound field expansion and the power consumption of the headset.
  • An embodiment of the present application provides a sound field expansion method, as shown in FIG. 8 , which is applied to the sound field expansion circuit shown in the above-mentioned embodiment, and the sound field expansion circuit includes: an early reflection sound circuit composed of a plurality of comb filters connected in parallel and a late-stage reflected sound circuit connected to the output end of the early-stage reflected sound circuit, the late-stage reflected sound circuit is composed of multiple all-pass filters connected in series, and the method may include:
  • the sound field expansion method provided by the embodiment of the present application is suitable for a scenario where a stereo sound field is expanded when a stereo signal is played.
  • the sound field expansion circuit performs signal addition, signal subtraction, and reduction operations on the left channel input sound signal and the right channel input sound signal to obtain the first sound signal.
  • the sound field expansion circuit After the sound field expansion circuit preprocesses the left channel input sound signal and the right channel input sound signal to obtain the first sound signal, the sound field expansion circuit uses a plurality of comb filters to filter the first sound signal respectively to obtain the early reflection sound signal.
  • the early reflected sound circuit includes a left channel early reflected sound circuit and a right channel early reflected sound circuit, wherein the left channel early reflected sound circuit is composed of multiple parallel comb filters, and the right channel Early reflected acoustic circuits consisted of multiple comb filters connected in parallel.
  • the first acoustic signal is input to the left channel early reflected acoustic circuit, and the first acoustic signal is filtered by a plurality of parallel comb filters to obtain the left channel early reflected acoustic signal.
  • the sound field expansion circuit uses a plurality of comb filters of the left channel early reflection sound circuit to filter the first sound signal respectively to obtain a plurality of delayed attenuated sound signals, The signal delay and signal attenuation of the multiple delayed attenuated sound signals are different; the sound field expansion circuit adds the multiple delayed attenuated sound signals to obtain the early reflection sound signal of the left channel.
  • the first acoustic signal is input to the early reflected sound circuit of the right channel, and the first acoustic signal is filtered by a plurality of comb filters in parallel to obtain the early reflected sound signal of the right channel.
  • the sound field expansion circuit uses multiple comb filters of the early reflection sound circuit of the right channel to filter the first sound signal respectively to obtain a plurality of delayed attenuated sound signals, The signal delay and signal attenuation of the multiple delayed attenuated sound signals are different; the sound field expansion circuit adds the multiple delayed attenuated sound signals to obtain the early reflected sound signal of the right channel.
  • the sound field expansion circuit uses multiple comb filters to filter the first sound signal respectively to obtain the early reflected sound signal
  • the sound field expansion circuit uses multiple all-pass filters to phase shift the first input signal to obtain the later reflected sound signal, wherein the first input signal is an early reflected sound signal or is obtained according to an early reflected sound signal.
  • the late reflected sound circuit includes a left channel late reflected sound circuit and a right channel late reflected sound circuit, wherein the left channel late reflected sound circuit is composed of a plurality of series-connected all-pass filters, and the right channel The late reflected sound circuit is composed of multiple all-pass filters connected in series.
  • the output end of the left channel early reflected sound circuit is connected to the left channel late reflected sound circuit, and the right channel early reflected sound circuit is connected to the right channel late reflected sound circuit. connect.
  • the left channel early reflected sound signal is input to the left channel late reflected sound circuit, and a plurality of series-connected all-pass filters are used to shift the phase of the left channel early reflected sound signal to obtain the left channel late reflected sound Signal.
  • the sound field expansion circuit uses multiple all-pass filters of the left channel late reflection sound circuit to shift the phase of the left channel early reflection sound signal to obtain the left channel late reflection sound. sound signal.
  • the early reflected sound signal of the right channel is input to the late reflected sound circuit of the right channel, and the early reflected sound signal of the right channel is phase-shifted by a plurality of series-connected all-pass filters to obtain the late reflected sound of the right channel Signal.
  • the sound field expansion circuit uses multiple all-pass filters of the late reflection sound circuit of the right channel to shift the phase of the early reflection sound signal of the right channel to obtain the late reflection sound of the right channel. sound signal.
  • the sound field expansion circuit performs filtering and sound control on the late reflected sound signal to obtain a feedback signal; after that, the sound field expansion circuit adds the feedback signal and the early reflected sound signal to obtain the first signal. Input signal; use multiple all-pass filters to phase shift the first input signal to obtain a late reflected sound signal, wherein the reflected sound density corresponding to the late reflected sound signal obtained based on the feedback signal and the early reflected sound signal is greater than that based on the early reflected sound signal. The reflected sound density corresponding to the later reflected sound signal obtained from the reflected sound signal.
  • S104 Obtain an output acoustic signal corresponding to the input acoustic signal corresponding to the input acoustic signal of the left channel according to the input acoustic signal and the later reflected acoustic signal.
  • the sound field expansion circuit After the sound field expansion circuit obtains the late reflected sound signal, the sound field expansion circuit obtains the left channel output sound signal corresponding to the left channel input sound signal according to the left channel input sound signal, the right channel input sound signal and the late reflected sound signal The right channel output sound signal corresponding to the right channel input sound signal.
  • the sound field expansion circuit adds the left channel input sound signal and the corresponding left channel late reflection sound signal to obtain the left channel output sound signal; the sound field expansion circuit adds the right channel input sound signal and the corresponding right channel sound signal. The reflected sound signal in the later stage of the channel is added to obtain the output sound signal of the right channel.
  • the early reflected sound circuit of the sound field expansion circuit is composed of multiple comb filters in parallel, and the later reflected sound circuit is composed of multiple all-pass filters connected in series.
  • the stereo sound field expansion can be realized by connecting multiple all-pass filters in series. Since the comb filter and the all-pass filter mainly implement multiplication and addition operations, the multiplication and addition operations in the Bluetooth chip can usually be performed within one clock cycle. Completed, thereby reducing the amount of operation of the stereo sound field expansion and the power consumption of the headset.
  • FIG. 9 is a second schematic diagram of the composition and structure of an electronic device 9 provided by an embodiment of the present application.
  • the electronic device 9 of this embodiment includes: Processor 901 , memory 902 and communication bus 903 .
  • the above-mentioned processor 901 may be an application specific integrated circuit (ASIC, Application Specific Integrated Circuit), a digital signal processor (DSP, Digital Signal Processor), a digital signal processing image processing circuit (DSPD, Digital Signal Processing Device), Programmable Logic Image Processing Circuit (PLD, Programmable Logic Device), Field Programmable Gate Array (FPGA, Field Programmable Gate Array), at least one of CPU, controller, microcontroller, microprocessor .
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Signal Processor
  • DSPD digital signal processing image processing circuit
  • PLD Programmable Logic Image Processing Circuit
  • FPGA Field Programmable Gate Array
  • the above-mentioned communication bus 903 is used to realize the connection communication between the processor 901 and the memory 902; when the above-mentioned processor 901 executes the running program stored in the memory 902, the following sound field expansion method is implemented:
  • the signal is phase-shifted to obtain a later reflected acoustic signal; according to the input acoustic signal and the later reflected acoustic signal, an output acoustic signal corresponding to the input acoustic signal is obtained, wherein the first input signal is the early reflection
  • the acoustic signal may be obtained from the early reflected acoustic signal.
  • the above processor 901 is further configured to filter the first acoustic signal by using the multiple comb filters to obtain multiple delayed attenuated acoustic signals, the multiple delayed attenuated acoustic signals.
  • the delay and signal attenuation are different; the multiple delayed attenuated acoustic signals are added to obtain the early reflected acoustic signal.
  • the above-mentioned processor 901 is also used to filter and soundly control the late reflected sound signal to obtain a feedback signal; and add the feedback signal and the early reflected sound signal to obtain the first reflected sound signal. an input signal; using the plurality of all-pass filters to phase-shift the first input signal to obtain the later reflected sound signal.
  • An embodiment of the present application provides a storage medium on which a computer program is stored, the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors, and is applied to electronic In the device, the computer program implements the sound field expansion method as described above.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solutions of the present disclosure can be embodied in the form of software products in essence or the parts that make contributions to related technologies.
  • the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) ), including several instructions for causing an image display device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present disclosure.

Abstract

Embodiments of the present application provide a sound field expansion method and circuit, an electronic device, and a storage medium. The circuit comprises: an early-stage reflected sound circuit and a later-stage reflected sound circuit. The early-stage reflected sound circuit comprises a plurality of comb filters connected in parallel, and gains of the plurality of comb filters are different; the later-stage reflected sound circuit is connected to an output end of the early-stage reflected sound circuit, and the later-stage reflected sound circuit comprises an all-pass filter circuit, and the all-pass filter circuit comprises a plurality of all-pass filters which are connected in series; the early-stage reflected sound circuit is used for filtering a first sound signal by utilizing the plurality of comb filters to obtain an early-stage reflected sound signal, the first sound signal being obtained according to an input sound signal; the later-stage reflected sound circuit is used for carrying out phase shift on a first input signal by utilizing the plurality of all-pass filters to obtain a later-stage reflected sound signal so as to obtain an output sound signal according to the input sound signal and the later-stage reflected sound signal, wherein the first input signal is an early-stage reflected sound signal or is obtained according to the early-stage reflected sound signal.

Description

一种声场扩展方法、电路、电子设备及存储介质A sound field expansion method, circuit, electronic device and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202010917416.5、申请日为2020年09月03日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。This application is based on the Chinese patent application with the application number of 202010917416.5 and the filing date of September 3, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated by reference into this application.
技术领域technical field
本申请涉及音频处理技术领域,尤其涉及一种声场扩展方法、电路、电子设备及存储介质。The present application relates to the technical field of audio processing, and in particular, to a sound field expansion method, a circuit, an electronic device and a storage medium.
背景技术Background technique
现有的立体声声场扩展技术为在耳机端的蓝牙芯片将接收到的模拟音频信号进行模数转换得到数字信号,同时分离左右声道信号,将左右声道信号经过相加/减后、缩小后进行无限长单位冲击响应(Infinite Impulse Response,IIR)低通滤波器处理,与其中一个输入声道相加形成输出声道,同时再将IIR低通滤波器处理的信号经希尔伯特变换滤波,使频域各频率分量的幅度保持不变、但相位产生90°相移,之后与另一个输入声道相加形成输出声道,最后将处理后的左右通道的数据进行数模转换后由扬声器从电信号转换成声信号。从而达到扩展立体声声场的目的。The existing stereo sound field expansion technology is that the bluetooth chip at the earphone end converts the received analog audio signal to digital signal to obtain a digital signal, and at the same time separates the left and right channel signals, adds/subtracts the left and right channel signals, and reduces them. Infinite Impulse Response (IIR) low-pass filter processing, adding to one of the input channels to form an output channel, and then filtering the signal processed by the IIR low-pass filter through Hilbert transform, The amplitude of each frequency component in the frequency domain remains unchanged, but the phase is shifted by 90°, and then it is added to another input channel to form an output channel. Convert from electrical signals to acoustic signals. So as to achieve the purpose of expanding the stereo sound field.
然而,采用希尔伯特变换滤波器进行90°相移通常需要较高阶数的有限长单位冲激响应(Finite Impulse Response,FIR)滤波器,以减小对各频率信号幅度特性的影响,导致立体声声场扩展的运算量大,进而增大了耳机的功耗。However, using the Hilbert transform filter to perform a 90° phase shift usually requires a higher order Finite Impulse Response (FIR) filter to reduce the influence on the amplitude characteristics of the signal at each frequency. This results in a large amount of computation for the expansion of the stereo sound field, thereby increasing the power consumption of the earphone.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种声场扩展方法、电路、电子设备及存储介质,能够降低立体声声场扩展的运算量和耳机的功耗。Embodiments of the present application provide a sound field expansion method, a circuit, an electronic device, and a storage medium, which can reduce the computational complexity of stereo sound field expansion and the power consumption of earphones.
本申请的技术方案是这样实现的:The technical solution of the present application is realized as follows:
本申请实施例提供一种声场扩展电路,所述声场扩展电路包括早期反射声电路和后期反射声电路;The embodiment of the present application provides a sound field expansion circuit, the sound field expansion circuit includes an early reflected sound circuit and a late reflected sound circuit;
所述早期反射声电路包括并联的多个梳状滤波器,所述多个梳状滤波器的增益不同;The early reflected sound circuit includes a plurality of comb filters connected in parallel, and the gains of the plurality of comb filters are different;
所述后期反射声电路与所述早期反射声电路的输出端连接,所述后期反射声电路包括全通滤波器电路,所述全通滤波器电路包括串联的多个全通滤波器;The late reflected sound circuit is connected to the output end of the early reflected sound circuit, the late reflected sound circuit includes an all-pass filter circuit, and the all-pass filter circuit includes a plurality of all-pass filters connected in series;
所述早期反射声电路,用于利用所述多个梳状滤波器分别对第一声信号进行滤波,得到早期反射声信号,所述第一声信号根据输入声信号得到;The early reflected sound circuit is used to filter the first sound signal by using the plurality of comb filters to obtain the early reflected sound signal, and the first sound signal is obtained according to the input sound signal;
所述后期反射声电路,用于利用所述多个全通滤波器对所述第一输入信号进行相移,得到后期反射声信号,以根据所述输入声信号和所述后期反射声信号,得到输出声信号,其中,所述第一输入信号为所述早期反射声信号或根据所述早期反射声信号得到。The late-stage reflected sound circuit is used to phase-shift the first input signal by using the plurality of all-pass filters to obtain a late-stage reflected sound signal, so as to obtain a late-stage reflected sound signal according to the input sound signal and the late-stage reflected sound signal, An output acoustic signal is obtained, wherein the first input signal is the early reflected acoustic signal or is obtained according to the early reflected acoustic signal.
本申请实施例提供一种电子设备,所述电子设备包括:左声道输入端、右声道输入端、声场预处理电路、左声道声场扩展电路、右声道声场扩展电路、左声道输出电路和右声道输出电路,所述左声道声场扩展电路和所述右声道声场扩展电路与上述任一项所述的声场扩展电路相同;其中,An embodiment of the present application provides an electronic device, the electronic device includes: a left channel input terminal, a right channel input terminal, a sound field preprocessing circuit, a left channel sound field expansion circuit, a right channel sound field expansion circuit, a left channel sound field expansion circuit, and a left channel sound field expansion circuit. An output circuit and a right channel output circuit, the left channel sound field expansion circuit and the right channel sound field expansion circuit are the same as the sound field expansion circuit described in any of the above; wherein,
所述左声道输入端和所述右声道输入端分别与所述声场预处理电路的输入端连接,所述声 场预处理电路的输出端分别与所述左声道声场扩展电路的输入端和所述右声道声场扩展电路的输入端连接,所述左声道声场扩展电路的输出端和所述左声道输入端分别与所述左声道输出电路的输入端连接,所述右声道声场扩展电路的输出端和所述右声道输入端分别与所述右声道输出电路的输入端连接;The left channel input terminal and the right channel input terminal are respectively connected with the input terminal of the sound field preprocessing circuit, and the output terminal of the sound field preprocessing circuit is respectively connected with the input terminal of the left channel sound field expansion circuit. It is connected with the input end of the right channel sound field expansion circuit, the output end of the left channel sound field expansion circuit and the left channel input end are respectively connected with the input end of the left channel output circuit, and the right channel sound field expansion circuit is connected with the input end of the left channel output circuit. The output end of the channel sound field expansion circuit and the right channel input end are respectively connected with the input end of the right channel output circuit;
所述左声道输入端用于输入左声道输入声信号,所述右声道输入端用于输入右声道输入声信号;The left channel input terminal is used for inputting the left channel input sound signal, and the right channel input terminal is used for inputting the right channel input sound signal;
所述声信号预处理电路,用于对所述左声道输入信号和所述右声道输入信号进行预处理,得到所述第一声信号;the acoustic signal preprocessing circuit, configured to preprocess the left channel input signal and the right channel input signal to obtain the first acoustic signal;
所述左声道声场扩展电路,用于对所述第一声信号进行处理,得到左声道后期反射声信号;The left channel sound field expansion circuit is used for processing the first sound signal to obtain the left channel late reflection sound signal;
所述左声道输出电路,用于将所述左声道输入声信号和所述左声道后期反射声信号进行处理,得到左声道输出声信号;The left channel output circuit is used for processing the left channel input sound signal and the left channel late reflection sound signal to obtain the left channel output sound signal;
所述右声道声场扩展电路,用于对所述第一声信号进行处理,得到右声道后期反射声信号;The right channel sound field expansion circuit is used for processing the first sound signal to obtain the right channel late reflected sound signal;
所述右声道输出电路,用于将所述右声道输入声信号和所述右声道后期反射声信号进行处理,得到右声道输出声信号。The right channel output circuit is used for processing the right channel input sound signal and the right channel post-reflection sound signal to obtain a right channel output sound signal.
本申请实施例提供一种声场扩展方法,应用于所述声场扩展电路,所述声场扩展电路包括:由并联的多个梳状滤波器组成的早期反射声电路和与所述早期反射声电路输出端连接的后期反射声电路,所述后期反射声电路由串联的多个全通滤波器组成,所述方法还包括:An embodiment of the present application provides a sound field expansion method, which is applied to the sound field expansion circuit. The sound field expansion circuit includes: an early reflected sound circuit composed of a plurality of comb filters connected in parallel, and an output of the early reflected sound circuit with the early reflected sound circuit A late-stage reflected sound circuit connected to the terminals, the late-stage reflected sound circuit is composed of a plurality of all-pass filters connected in series, and the method further includes:
对输入声信号进行预处理得到第一声信号;Preprocessing the input acoustic signal to obtain a first acoustic signal;
利用所述多个梳状滤波器分别对第一声信号进行滤波,得到早期反射声信号;Filter the first acoustic signal by using the plurality of comb filters to obtain an early reflected acoustic signal;
利用所述多个全通滤波器对所述早期反射声信号进行相移,得到后期反射声信号;Phase-shift the early reflected acoustic signals by using the plurality of all-pass filters to obtain late reflected acoustic signals;
根据所述输入声信号和所述后期反射声信号,得到所述输入声信号对应的输出声信号。According to the input acoustic signal and the later reflected acoustic signal, an output acoustic signal corresponding to the input acoustic signal is obtained.
本申请实施例提供一种电子设备,所述电子设备包括:处理器、存储器及通信总线;所述处理器执行存储器存储的运行程序时实现如上述任一项所述的方法。An embodiment of the present application provides an electronic device, the electronic device includes: a processor, a memory, and a communication bus; when the processor executes a running program stored in the memory, the method as described in any of the above is implemented.
本申请实施例提供一种存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一项所述的方法。An embodiment of the present application provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements any of the methods described above.
附图说明Description of drawings
图1为现有技术中的一种立体声声场扩展电路的结构示意图;1 is a schematic structural diagram of a stereo sound field expansion circuit in the prior art;
图2(a)为本申请实施例提供的一种声场扩展电路的结构示意图一;FIG. 2(a) is a schematic structural diagram 1 of a sound field expansion circuit provided by an embodiment of the present application;
图2(b)为本申请实施例提供的一种声场扩展电路的结构示意图二;FIG. 2(b) is a second structural schematic diagram of a sound field expansion circuit provided by an embodiment of the application;
图3为本申请实施例提供的一种示例性的早期反射声电路的电路结构示意图;3 is a schematic diagram of the circuit structure of an exemplary early reflected sound circuit provided by an embodiment of the present application;
图4为本申请实施例提供的一种示例性的后期反射声电路的电路结构示意图;4 is a schematic diagram of the circuit structure of an exemplary late-stage reflected sound circuit provided by an embodiment of the present application;
图5为本申请实施例提供的一种示例性的低通滤波器的电路结构示意图;5 is a schematic diagram of a circuit structure of an exemplary low-pass filter provided by an embodiment of the present application;
图6为本申请实施例提供的一种电子设备的结构示意图;FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图7为本申请实施例提供的一种示例性的声场扩展电路的结构示意图;7 is a schematic structural diagram of an exemplary sound field expansion circuit provided by an embodiment of the present application;
图8为本申请实施例提供的一种声场扩展方法的流程图;8 is a flowchart of a sound field expansion method provided by an embodiment of the present application;
图9为本申请实施例提供的一种电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式detailed description
第一方面,本申请实施例提出一种声场扩展电路,所述声场扩展电路包括:早期反射声电路和后期反射声电路;In a first aspect, an embodiment of the present application proposes a sound field expansion circuit, and the sound field expansion circuit includes: an early reflected sound circuit and a later reflected sound circuit;
所述早期反射声电路包括并联的多个梳状滤波器,所述多个梳状滤波器的增益不同;The early reflected sound circuit includes a plurality of comb filters connected in parallel, and the gains of the plurality of comb filters are different;
所述后期反射声电路与所述早期反射声电路的输出端连接,所述后期反射声电路包括全通滤波器电路,所述全通滤波器电路包括串联的多个全通滤波器;The late reflected sound circuit is connected to the output end of the early reflected sound circuit, the late reflected sound circuit includes an all-pass filter circuit, and the all-pass filter circuit includes a plurality of all-pass filters connected in series;
所述早期反射声电路,用于利用所述多个梳状滤波器分别对第一声信号进行滤波,得到早期反射声信号,所述第一声信号根据输入声信号得到;The early reflected sound circuit is used to filter the first sound signal by using the plurality of comb filters to obtain the early reflected sound signal, and the first sound signal is obtained according to the input sound signal;
所述后期反射声电路,用于利用所述多个全通滤波器对第一输入信号进行相移,得到后期反射声信号,以根据所述输入声信号和所述后期反射声信号,得到输出声信号,其中,所述第一输入信号为所述早期反射声信号或根据所述早期反射声信号得到。The late-stage reflected sound circuit is used to phase-shift the first input signal by using the plurality of all-pass filters to obtain a late-stage reflected sound signal, so as to obtain an output according to the input sound signal and the late-stage reflected sound signal An acoustic signal, wherein the first input signal is the early reflected acoustic signal or is obtained from the early reflected acoustic signal.
在上述电路中,所述后期反射声电路还包括:第一加法器、低通反馈电路;所述第一加法器的第一输入端与所述早期反射声电路的输出端连接,所述第一加法器的第二输入端与所述低通反馈电路的输出端连接,所述第一加法器的输出端与所述全通滤波器电路的输入端连接,所述全通滤波器电路的输出端与所述低通反馈电路的输入端连接;In the above circuit, the late reflected sound circuit further includes: a first adder and a low-pass feedback circuit; the first input end of the first adder is connected to the output end of the early reflected sound circuit, and the first adder is connected to the output end of the early reflected sound circuit. The second input end of an adder is connected to the output end of the low-pass feedback circuit, the output end of the first adder is connected to the input end of the all-pass filter circuit, and the the output end is connected to the input end of the low-pass feedback circuit;
所述低通反馈电路,用于对所述后期反射声信号进行滤波和声音控制,得到反馈信号,并将所述反馈信号传输至所述第一加法器的第二输入端;The low-pass feedback circuit is used to filter and control the sound of the later reflected sound signal to obtain a feedback signal, and transmit the feedback signal to the second input end of the first adder;
所述第一加法器,用于将所述反馈信号和所述早期反射声信号进行信号相加,得到所述第一输入信号;the first adder, configured to add the feedback signal and the early reflected sound signal to obtain the first input signal;
所述多个全通滤波器,还用于对所述第一输入信号进行相移,得到所述后期反射声信号。The plurality of all-pass filters are also used for phase-shifting the first input signal to obtain the later reflected sound signal.
在上述电路中,所述低通反馈电路包括低通滤波器和反馈增益放大器,所述低通滤波器的输入端与所述多个全通滤波器的输出端连接,所述低通滤波器的输出端与反馈增益放大器的输入端连接,所述反馈增益放大器的输出端与所述第一加法器的第二输入端连接;In the above circuit, the low-pass feedback circuit includes a low-pass filter and a feedback gain amplifier, the input end of the low-pass filter is connected to the output ends of the plurality of all-pass filters, and the low-pass filter The output end of the feedback gain amplifier is connected to the input end of the feedback gain amplifier, and the output end of the feedback gain amplifier is connected to the second input end of the first adder;
所述低通滤波器,用于对所述后期反射声信号进行滤波,得到第一滤波声信号,所述第一滤波声信号的高频声衰减大于低频声衰减;The low-pass filter is used to filter the late-stage reflected acoustic signal to obtain a first filtered acoustic signal, wherein the high-frequency sound attenuation of the first filtered acoustic signal is greater than the low-frequency sound attenuation;
所述反馈增益放大器,用于对所述第一滤波声信号进行声音控制,得到所述反馈信号。The feedback gain amplifier is used for performing sound control on the first filtered sound signal to obtain the feedback signal.
在上述电路中,所述早期反射声电路还包括:多个增益放大器和第二加法器,所述多个增益放大器与所述多个梳状滤波器一一对应,每一个增益放大器的输入端分别与对应的梳状滤波器的输出端串联,所述多个增益放大器的增益取值不同,所述多个增益放大器的输出端与所述第二加法器连接;In the above circuit, the early reflected sound circuit further comprises: a plurality of gain amplifiers and a second adder, the plurality of gain amplifiers are in one-to-one correspondence with the plurality of comb filters, and the input end of each gain amplifier are respectively connected in series with the output ends of the corresponding comb filters, the gain values of the multiple gain amplifiers are different, and the output ends of the multiple gain amplifiers are connected to the second adder;
所述多个梳状滤波器和所述多个增益放大器,用于对所述第一声信号分别进行滤波和信号增益,得到多个延时衰减声信号,所述多个延时衰减声信号的信号延时和信号衰减不同;The plurality of comb filters and the plurality of gain amplifiers are used for filtering and signal gain respectively for the first acoustic signal to obtain a plurality of delayed attenuated acoustic signals, the plurality of delayed attenuated acoustic signals The signal delay and signal attenuation are different;
所述第二加法器,用于将所述多个延时衰减声信号相加,得到所述早期反射声信号。The second adder is configured to add the plurality of delayed attenuated acoustic signals to obtain the early reflected acoustic signals.
在上述电路中,所述梳状滤波器的信号延时大于所述全通滤波器的信号延时。In the above circuit, the signal delay of the comb filter is greater than the signal delay of the all-pass filter.
在上述电路中,所述梳状滤波器包括第三加法器、第一延时器、第一反馈增益放大器和第一低通滤波器,其中,所述第一低通滤波器由第二延时器、第一增益放大器和第四加法器组成;In the above circuit, the comb filter includes a third adder, a first delay, a first feedback gain amplifier and a first low-pass filter, wherein the first low-pass filter is formed by a second delay It consists of a timer, a first gain amplifier and a fourth adder;
所述第三加法器的第一输入端连接所述梳状滤波器的输入,所述第一加法器的输出端连接所述第一延时器的输入端,所述第一延时器的输出端连接所述梳状滤波器的输出端和所述第四加法器的第一输入端,所述第四加法器的第二输入端连接所述第一增益放大器的输出端,所述第一增益放大器的输入端连接所述第二延时器的输出端,所述第二延时器的输入端和所述第四加法器的输出端连接所述第一反馈增益放大器的输入端,所述第一反馈增益放大器的输出端与所述第三加法器的第二输入端连接。The first input end of the third adder is connected to the input of the comb filter, the output end of the first adder is connected to the input end of the first delay device, and the output end of the first delay device is connected to the input end of the first delay device. The output end is connected to the output end of the comb filter and the first input end of the fourth adder, the second input end of the fourth adder is connected to the output end of the first gain amplifier, and the second input end of the fourth adder is connected to the output end of the first gain amplifier. The input end of a gain amplifier is connected to the output end of the second delay device, the input end of the second delay device and the output end of the fourth adder are connected to the input end of the first feedback gain amplifier, The output terminal of the first feedback gain amplifier is connected to the second input terminal of the third adder.
在上述电路中,所述全通滤波器包括:第五加法器、第三延时器、第六加法器、第二增益放大器、第三增益放大器和第二反馈增益放大器;In the above circuit, the all-pass filter includes: a fifth adder, a third delay device, a sixth adder, a second gain amplifier, a third gain amplifier and a second feedback gain amplifier;
所述第五加法器的第一输入端连接所述全通滤波器的输入,所述第五加法器的输出端分别连接所述第三延时器的输入端和所述第二增益放大器的输入端,所述第三延时器的输出端分别连接所述第三增益放大器的输入端和第二反馈增益放大器的输入端,所述第三增益放大器的输出端和所述第二增益放大器的输出端连接所述第六加法器的输入端,所述第二反馈增益放大器的输出端连接所述第五加法器的第二输入端,所述第六加法器的输出端连接全通滤波器的输出。The first input end of the fifth adder is connected to the input of the all-pass filter, and the output end of the fifth adder is respectively connected to the input end of the third delayer and the output end of the second gain amplifier. input end, the output end of the third delay device is respectively connected to the input end of the third gain amplifier and the input end of the second feedback gain amplifier, the output end of the third gain amplifier and the second gain amplifier The output end is connected to the input end of the sixth adder, the output end of the second feedback gain amplifier is connected to the second input end of the fifth adder, and the output end of the sixth adder is connected to the all-pass filter output of the device.
在上述电路中,所述低通滤波器为无线脉冲响应IIR低通滤波器。In the above circuit, the low-pass filter is a wireless impulse response IIR low-pass filter.
第二方面,本申请实施例提出一种电子设备,所述电子设备包括:左声道输入端、右声道输入端、声场预处理电路、左声道声场扩展电路、右声道声场扩展电路、左声道输出电路和右声道输出电路,所述左声道声场扩展电路和所述右声道声场扩展电路与上述任一项所述的电路相同;其中,In a second aspect, an embodiment of the present application proposes an electronic device, the electronic device includes: a left channel input terminal, a right channel input terminal, a sound field preprocessing circuit, a left channel sound field expansion circuit, and a right channel sound field expansion circuit , a left channel output circuit and a right channel output circuit, the left channel sound field expansion circuit and the right channel sound field expansion circuit are the same as the circuits described in any of the above; wherein,
所述左声道输入端和所述右声道输入端分别与所述声场预处理电路的输入端连接,所述声场预处理电路的输出端分别与所述左声道声场扩展电路的输入端和所述右声道声场扩展电路的输入端连接,所述左声道声场扩展电路的输出端和所述左声道输入端分别与所述左声道输出电 路的输入端连接,所述右声道声场扩展电路的输出端和所述右声道输入端分别与所述右声道输出电路的输入端连接;The left channel input terminal and the right channel input terminal are respectively connected with the input terminal of the sound field preprocessing circuit, and the output terminal of the sound field preprocessing circuit is respectively connected with the input terminal of the left channel sound field expansion circuit. It is connected with the input end of the right channel sound field expansion circuit, the output end of the left channel sound field expansion circuit and the left channel input end are respectively connected with the input end of the left channel output circuit, and the right channel sound field expansion circuit is connected with the input end of the left channel output circuit. The output end of the channel sound field expansion circuit and the right channel input end are respectively connected with the input end of the right channel output circuit;
所述左声道输入端用于输入左声道输入声信号,所述右声道输入端用于输入右声道输入声信号;The left channel input terminal is used for inputting the left channel input sound signal, and the right channel input terminal is used for inputting the right channel input sound signal;
所述声信号预处理电路,用于对所述左声道输入信号和所述右声道输入信号进行预处理,得到所述第一声信号;the acoustic signal preprocessing circuit, configured to preprocess the left channel input signal and the right channel input signal to obtain the first acoustic signal;
所述左声道声场扩展电路,用于对所述第一声信号进行处理,得到左声道后期反射声信号;The left channel sound field expansion circuit is used for processing the first sound signal to obtain the left channel late reflection sound signal;
所述左声道输出电路,用于将所述左声道输入声信号和所述左声道后期反射声信号进行处理,得到左声道输出声信号;The left channel output circuit is used for processing the left channel input sound signal and the left channel late reflection sound signal to obtain the left channel output sound signal;
所述右声道声场扩展电路,用于对所述第一声信号进行处理,得到右声道后期反射声信号;The right channel sound field expansion circuit is used for processing the first sound signal to obtain the right channel late reflected sound signal;
所述右声道输出电路,用于将所述右声道输入声信号和所述右声道后期反射声信号进行处理,得到右声道输出声信号。The right channel output circuit is used for processing the right channel input sound signal and the right channel post-reflection sound signal to obtain a right channel output sound signal.
在上述电子设备中,所述左声道声场扩展电路包括左声道早期反射声电路和左声道后期反射声电路,所述右声道声场扩展电路包括右声道早期反射声电路和右声道后期反射声电路,其中,所述左声道早期反射声电路和所述右声道早期反射声电路与上述任一项所述的早期反射声电路相同;所述左声道后期反射声电路和所述右声道后期反射声电路与上述任一项所述的后期反射声电路相同;In the above electronic device, the left channel sound field expansion circuit includes a left channel early reflection sound circuit and a left channel late reflection sound circuit, and the right channel sound field expansion circuit includes a right channel early reflection sound circuit and a right sound channel. A late-channel reflected sound circuit, wherein the left channel early reflected sound circuit and the right channel early reflected sound circuit are the same as the early reflected sound circuit described in any of the above; the left channel late reflected sound circuit and the later reflected sound circuit of the right channel is the same as the later reflected sound circuit described in any of the above;
所述左声道早期反射声电路的输出端与所述左声道后期反射声电路的输入端连接;所述右声道早期反射声电路的输出端与所述右声道后期反射声电路的输入端连接。The output end of the left channel early reflected sound circuit is connected with the input end of the left channel late reflected sound circuit; the output end of the right channel early reflected sound circuit is connected to the output end of the right channel late reflected sound circuit. input connection.
在上述电子设备中,所述电子设备还包括:通信模块、左声道扬声器和右声道扬声器;所述通信模块与所述左声道输入端和所述右声道输入端连接,所述左声道输出电路的输出端与所述左声道扬声器连接,所述右声道输出电路的输出端与所述右声道扬声器连接;In the above electronic device, the electronic device further includes: a communication module, a left channel speaker and a right channel speaker; the communication module is connected to the left channel input end and the right channel input end, the The output end of the left channel output circuit is connected to the left channel speaker, and the output end of the right channel output circuit is connected to the right channel speaker;
所述通信模块,用于接收音频数据,并将音频数据分离成所述左声道输入声信号和所述右声道输入声信号;the communication module for receiving audio data and separating the audio data into the left channel input sound signal and the right channel input sound signal;
所述左声道扬声器,用于播放所述左声道输出声信号,所述右声道扬声器,用于播放所述右声道输出声信号。The left channel speaker is used for playing the left channel output sound signal, and the right channel speaker is used for playing the right channel output sound signal.
第三方面,本申请实施例提出一种声场扩展方法,应用于所述声场扩展电路,所述声场扩展电路包括:由并联的多个梳状滤波器组成的早期反射声电路和与所述早期反射声电路输出端连接的后期反射声电路,所述后期反射声电路由串联的多个全通滤波器组成,所述方法还包括:In a third aspect, an embodiment of the present application proposes a sound field expansion method, which is applied to the sound field expansion circuit, where the sound field expansion circuit includes: an early reflected sound circuit composed of a plurality of comb filters connected in parallel and a The late-stage reflected sound circuit connected to the output end of the reflected sound circuit, the late-stage reflected sound circuit is composed of a plurality of all-pass filters connected in series, and the method further includes:
对输入声信号进行预处理得到第一声信号;Preprocessing the input acoustic signal to obtain a first acoustic signal;
利用所述多个梳状滤波器分别对第一声信号进行滤波,得到早期反射声信号;Filter the first acoustic signal by using the plurality of comb filters to obtain an early reflected acoustic signal;
利用所述多个全通滤波器对第一输入信号进行相移,得到后期反射声信号,其中,所述第一输入信号为所述早期反射声信号或根据所述早期反射声信号得到;Phase-shift the first input signal by using the plurality of all-pass filters to obtain a later reflected sound signal, wherein the first input signal is the early reflected sound signal or obtained according to the early reflected sound signal;
根据所述输入声信号和所述后期反射声信号,得到所述输入声信号对应的输出声信号。According to the input acoustic signal and the later reflected acoustic signal, an output acoustic signal corresponding to the input acoustic signal is obtained.
在上述方法中,所述利用多个梳状滤波器分别对第一声信号进行滤波,得到早期反射声信号,包括:In the above method, the use of a plurality of comb filters to filter the first acoustic signal to obtain an early reflected acoustic signal includes:
利用所述多个梳状滤波器分别对第一声信号进行滤波,得到多个延时衰减声信号,所述多个延时衰减声信号的信号延时和信号衰减不同;Using the plurality of comb filters to filter the first acoustic signal, respectively, to obtain a plurality of time-delayed attenuated acoustic signals, the signal delay and signal attenuation of the plurality of time-delayed attenuated acoustic signals are different;
将所述多个延时衰减声信号相加,得到所述早期反射声信号。The multiple delayed attenuated acoustic signals are added to obtain the early reflected acoustic signals.
在上述方法中,所述利用多个全通滤波器对第一输入信号进行相移,得到后期反射声信号,包括:In the above method, the use of multiple all-pass filters to phase-shift the first input signal to obtain a later reflected acoustic signal includes:
对所述后期反射声信号进行滤波和声音控制,得到反馈信号;Perform filtering and sound control on the later reflected sound signal to obtain a feedback signal;
将所述反馈信号与所述早期反射声信号进行信号相加,得到所述第一输入信号;adding the feedback signal and the early reflected sound signal to obtain the first input signal;
利用所述多个全通滤波器,对所述第一输入信号进行相移,得到所述后期反射声信号。Using the plurality of all-pass filters, phase-shift the first input signal to obtain the late-stage reflected acoustic signal.
在上述方法中,所述输入声信号包括:左声道输入声信号和右声道输入声信号;所述对输入声信号进行预处理得到第一声信号,包括:In the above method, the input acoustic signal includes: a left channel input acoustic signal and a right channel input acoustic signal; the preprocessing of the input acoustic signal to obtain the first acoustic signal includes:
将所述左声道输入声信号和所述右声道输入声信号进行信号相加或信号相减、缩小操作,得到所述第一声信号。The first sound signal is obtained by performing signal addition or signal subtraction and reduction operations on the left channel input sound signal and the right channel input sound signal.
第四方面,本申请实施例提出一种电子设备,所述电子设备包括:处理器、存储器及通信 总线;所述处理器执行存储器存储的运行程序时执行以下方法:A fourth aspect, an embodiment of the present application proposes an electronic device, and the electronic device includes: a processor, a memory, and a communication bus; the processor executes the following method when executing a running program stored in the memory:
对输入声信号进行预处理得到第一声信号;Preprocessing the input acoustic signal to obtain a first acoustic signal;
利用所述多个梳状滤波器分别对第一声信号进行滤波,得到早期反射声信号;Filter the first acoustic signal by using the plurality of comb filters to obtain an early reflected acoustic signal;
利用所述多个全通滤波器对第一输入信号进行相移,得到后期反射声信号,其中,所述第一输入信号为所述早期反射声信号或根据所述早期反射声信号得到;Phase-shift the first input signal by using the plurality of all-pass filters to obtain a later reflected sound signal, wherein the first input signal is the early reflected sound signal or obtained according to the early reflected sound signal;
根据所述输入声信号和所述后期反射声信号,得到所述输入声信号对应的输出声信号。According to the input acoustic signal and the later reflected acoustic signal, an output acoustic signal corresponding to the input acoustic signal is obtained.
在上述电子设备中,所述处理器,还用于利用所述多个梳状滤波器分别对第一声信号进行滤波,得到多个延时衰减声信号,所述多个延时衰减声信号的信号延时和信号衰减不同;将所述多个延时衰减声信号相加,得到所述早期反射声信号。In the above electronic device, the processor is further configured to filter the first acoustic signal by using the multiple comb filters to obtain multiple delayed attenuated acoustic signals, the multiple delayed attenuated acoustic signals The signal delay and signal attenuation are different; the multiple delayed and attenuated acoustic signals are added to obtain the early reflected acoustic signal.
在上述电子设备中,所述处理器,还用于对所述后期反射声信号进行滤波和声音控制,得到反馈信号;将所述反馈信号与所述早期反射声信号进行信号相加,得到所述第一输入信号;利用所述多个全通滤波器,对所述第一输入信号进行相移,得到所述后期反射声信号。In the above electronic device, the processor is further configured to filter and soundly control the late reflected sound signal to obtain a feedback signal; and add the feedback signal and the early reflected sound signal to obtain the the first input signal; using the plurality of all-pass filters to phase-shift the first input signal to obtain the later reflected sound signal.
在上述电子设备中,所述输入声信号包括:左声道输入声信号和右声道输入声信号;In the above electronic device, the input sound signal includes: a left channel input sound signal and a right channel input sound signal;
所述处理器,还用于将所述左声道输入声信号和所述右声道输入声信号进行信号相加或信号相减、缩小操作,得到所述第一声信号。The processor is further configured to perform signal addition, signal subtraction, and reduction operations on the left channel input sound signal and the right channel input sound signal to obtain the first sound signal.
第五方面,本申请实施例提出一种存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一项所述的方法。In a fifth aspect, an embodiment of the present application provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements any of the methods described above.
本申请实施例提供了一种声场扩展方法、电路、电子设备及存储介质,该声场扩展电路包括:早期反射声电路和后期反射声电路,早期反射声电路包括并联的多个梳状滤波器,多个梳状滤波器的增益不同;后期反射声电路与早期反射声电路的输出端连接,后期反射声电路包括全通滤波器电路,所述全通滤波器电路包括串联的多个全通滤波器;早期反射声电路,用于利用多个梳状滤波器分别对第一声信号进行滤波,得到早期反射声信号,第一声信号根据输入声信号得到;后期反射声电路,用于利用多个全通滤波器对第一输入信号进行相移,得到后期反射声信号,以根据输入声信号和后期反射声信号,得到输出声信号,其中,第一输入信号为早期反射声信号或根据早期反射声信号得到。采用上述实现方案,声场扩展电路的早期反射声电路由并联的多个梳状滤波器组成,后期反射声电路由串联的多个全通滤波器组成,由此,利用并联的多个梳状滤波器和串联的多个全通滤波器,即可实现立体声声场扩展,由于梳状滤波器和全通滤波器内部主要实现乘、加运算,在蓝牙芯片中乘加操作通常可以在一个时钟周期内完成,进而降低了立体声声场扩展的运算量和耳机的功耗。应当理解,此处描述的具体实施例仅仅用以解释本申请。并不用于限定本申请。Embodiments of the present application provide a sound field expansion method, circuit, electronic device, and storage medium. The sound field expansion circuit includes: an early reflected sound circuit and a later reflected sound circuit, and the early reflected sound circuit includes a plurality of comb filters connected in parallel, The gains of the multiple comb filters are different; the late reflected sound circuit is connected to the output end of the early reflected sound circuit, and the late reflected sound circuit includes an all-pass filter circuit, and the all-pass filter circuit includes a plurality of all-pass filters connected in series The early reflected sound circuit is used to filter the first sound signal by using a plurality of comb filters to obtain the early reflected sound signal, and the first sound signal is obtained according to the input sound signal; the later reflected sound circuit is used to use multiple comb filters. The first input signal is phase-shifted by an all-pass filter to obtain a later reflected acoustic signal, so as to obtain an output acoustic signal according to the input acoustic signal and the later reflected acoustic signal, wherein the first input signal is an early reflected acoustic signal or a The reflected acoustic signal is obtained. With the above implementation scheme, the early reflected sound circuit of the sound field expansion circuit is composed of multiple comb filters in parallel, and the later reflected sound circuit is composed of multiple all-pass filters connected in series. The stereo sound field expansion can be realized by connecting multiple all-pass filters in series. Since the comb filter and the all-pass filter mainly implement multiplication and addition operations, the multiplication and addition operations in the Bluetooth chip can usually be performed within one clock cycle. Completed, thereby reducing the amount of operation of the stereo sound field expansion and the power consumption of the headset. It should be understood that the specific embodiments described herein are merely illustrative of the present application. It is not intended to limit this application.
图1为相关技术中的立体声声场扩展电路1的结构图,其中,立体声声场扩展电路1包括左声道输入端10、右声道输入端11、加减器12、IIR低通滤波器13、增益放大器14、希尔伯特滤波器15、加法器16、加法器17、左声道输出端18和右声道输出端19。其中,加减器12的输入端分别连接左声道输入端10和右声道输入端11,加减器12的输出端连接IIR低通滤波器13,IIR低通滤波器13的输出端连接增益放大器14、增益放大器14的输出端分别连接希尔伯特滤波器15和加法器16的一个输入端,加法器16的另一个输入端与右声道输入端11连接,加法器16的输出端与左声道输出端18连接,希尔伯特滤波器15的输出端与加法器17的一个输入端连接,加法器17的另一个输入端与左声道输入端10连接,加法器17的输出端与右声道输出端19连接。1 is a structural diagram of a stereo sound field expansion circuit 1 in the related art, wherein the stereo sound field expansion circuit 1 includes a left channel input end 10, a right channel input end 11, an adder-subtractor 12, an IIR low-pass filter 13, Gain amplifier 14 , Hilbert filter 15 , adder 16 , adder 17 , left channel output 18 and right channel output 19 . The input end of the adder-subtractor 12 is respectively connected to the left channel input end 10 and the right channel input end 11, the output end of the adder-subtractor 12 is connected to the IIR low-pass filter 13, and the output end of the IIR low-pass filter 13 is connected to The gain amplifier 14 and the output end of the gain amplifier 14 are respectively connected to the Hilbert filter 15 and one input end of the adder 16, the other input end of the adder 16 is connected to the right channel input end 11, and the output end of the adder 16 The output end of the Hilbert filter 15 is connected to one input end of the adder 17, the other input end of the adder 17 is connected to the left channel input end 10, and the adder 17 The output terminal is connected to the right channel output terminal 19.
参考图1,立体声声场扩展方法的信号流可以为:左声道信号和右声道信号经过相加/减后、缩小后进行IIR低通滤波器处理,与其中左输入声道相加形成左输出声道;同时再将IIR低通滤波器处理的信号经希尔伯特滤波器,再与右输入声道相加形成右输出声道。Referring to FIG. 1, the signal flow of the stereo sound field expansion method can be as follows: the left channel signal and the right channel signal are added/subtracted, and then processed by an IIR low-pass filter, and added with the left input channel to form a left channel. Output channel; at the same time, the signal processed by the IIR low-pass filter is passed through the Hilbert filter, and then added to the right input channel to form the right output channel.
采用希尔伯特变换滤波器进行90°相移通常需要较高阶数的FIR滤波器,以减小对各频率信号幅度特性的影响,这在蓝牙芯片平台需要消耗较高的运算量同时功耗增大,对于耳机端续航时间影响较大。为了解决上述问题,本申请实施例提出了一种声场扩展电路、方法及存储介质,通过以下实施例进行具体的说明。Using the Hilbert transform filter to perform a 90° phase shift usually requires a higher-order FIR filter to reduce the impact on the amplitude characteristics of each frequency signal. The increase in power consumption has a greater impact on the battery life of the headset. In order to solve the above problems, the embodiments of the present application propose a sound field expansion circuit, method and storage medium, which will be specifically described by the following embodiments.
本申请实施例提供一种声场扩展电路2,如图2(a)所示,该声场扩展电路2可以包括:早期反射声电路20和后期反射声电路21,The embodiment of the present application provides a sound field expansion circuit 2. As shown in FIG. 2(a), the sound field expansion circuit 2 may include: an early reflected sound circuit 20 and a later reflected sound circuit 21,
早期反射声电路20包括并联的多个梳状滤波器200,多个梳状滤波器200的增益不同;The early reflected sound circuit 20 includes a plurality of comb filters 200 connected in parallel, and the gains of the multiple comb filters 200 are different;
后期反射声电路21与早期反射声电路20的输出端连接,后期反射声电路21包括全通滤波器电路210,全通滤波器电路210包括串联的多个全通滤波器;The late reflected sound circuit 21 is connected to the output end of the early reflected sound circuit 20, the late reflected sound circuit 21 includes an all-pass filter circuit 210, and the all-pass filter circuit 210 includes a plurality of all-pass filters connected in series;
早期反射声电路20,用于利用多个梳状滤波器200分别对第一声信号进行滤波,得到早期反射声信号,第一声信号根据输入声信号得到;The early reflected sound circuit 20 is used to filter the first sound signal by using a plurality of comb filters 200 respectively to obtain the early reflected sound signal, and the first sound signal is obtained according to the input sound signal;
后期反射声电路21,用于利用多个全通滤波器210对第一输入信号进行相移,得到后期反射声信号,以根据输入声信号和后期反射声信号,得到输出声信号,其中,第一输入信号为早期反射声信号或根据早期反射声信号得到。The late-stage reflected sound circuit 21 is used to phase-shift the first input signal by using a plurality of all-pass filters 210 to obtain a late-stage reflected sound signal, so as to obtain an output sound signal according to the input sound signal and the late-stage reflected sound signal, wherein the first An input signal is the early reflected sound signal or is obtained from the early reflected sound signal.
本申请实施例提供的一种声场扩展电路应用于在播放立体声信号时扩展立体声声场的场景下。The sound field expansion circuit provided by the embodiment of the present application is applied to a scenario of expanding a stereo sound field when a stereo signal is played.
本申请实施例中的声场扩展电路可以应用于耳机中,也可以应用于电子设备的扬声器中,具体的可以根据实际情况进行选择,本申请实施例不做具体的限定。The sound field expansion circuit in the embodiment of the present application may be applied to an earphone or a speaker of an electronic device, and may be selected according to the actual situation, which is not specifically limited in the embodiment of the present application.
本申请实施例中,耳机可以为蓝牙颈挂耳机、真无线立体声蓝牙耳机等,具体的根据实际情况进行选择,本申请实施例不做具体的限定。In the embodiments of the present application, the earphones may be Bluetooth neck-mounted earphones, true wireless stereo Bluetooth earphones, etc., which are specifically selected according to actual conditions, and are not specifically limited in the embodiments of the present application.
本申请实施例以应用于耳机为例进行说明,在耳机端的蓝牙芯片将接收到的模拟音频信号进行模数转换得到数字信号,并将数字信号分离成左声道输出声信号和右声道输出声信号,之后,声场扩展电路对左声道输入声信号和右声道输入声信号进行预处理,得到第一声信号。The embodiments of the present application are described by taking the application to an earphone as an example. The Bluetooth chip at the earphone end performs analog-to-digital conversion on the received analog audio signal to obtain a digital signal, and separates the digital signal into a left channel output sound signal and a right channel output sound signal. After that, the sound field expansion circuit preprocesses the left channel input sound signal and the right channel input sound signal to obtain the first sound signal.
本申请实施例中,第一声信号经多个并联的梳状滤波器的滤波,输出以模拟声场的早期反射声,其中,每个梳状滤波器的输出端增益不同,且增益可调。In the embodiment of the present application, the first acoustic signal is filtered by a plurality of comb filters in parallel and output to simulate the early reflected sound of the sound field, wherein the output of each comb filter has a different gain and the gain is adjustable.
本申请实施例中,多个梳状滤波器的个数可以为6个、8个、10个等,具体的根据实际情况进行选择,本申请实施例不做具体的限定。In the embodiment of the present application, the number of the plurality of comb filters may be 6, 8, 10, etc., which are specifically selected according to the actual situation, which is not specifically limited in the embodiment of the present application.
可以理解的,梳状滤波器200的结构如图3所示,包括加法器301、延时器302、反馈增益放大器303和低通滤波器304,其中,低通滤波器304由延时器3040、增益放大器3041和加法器3042组成,加法器301的第一输入端连接梳状滤波器的输入,加法器301的输出端连接延时器302,延时器302的输出端连接梳状滤波器的输出端和加法器3042的第一输入端,加法器3042的第二输入端连接增益放大器3041的输出端,增益放大器3041的输入端连接延时器3040的输出端,延时器的输入端和加法器3042的输出端连接反馈增益放大器303的输入端,反馈增益放大器303的输出端与加法器301的第二输入端连接。延时器302和延时器3040的具体参数取值可以根据实际情况进行选择,本申请实施例不做具体的限定;增益放大器3041和反馈增益放大器303的具体取值可以根据实际情况进行选择,本申请实施例不做具体的限定。It can be understood that the structure of the comb filter 200 is shown in FIG. 3 , including an adder 301 , a delay device 302 , a feedback gain amplifier 303 and a low-pass filter 304 , wherein the low-pass filter 304 is composed of a delay device 3040 , a gain amplifier 3041 and an adder 3042, the first input end of the adder 301 is connected to the input of the comb filter, the output end of the adder 301 is connected to the delay device 302, and the output end of the delay device 302 is connected to the comb filter The output end of the adder 3042 and the first input end of the adder 3042, the second input end of the adder 3042 is connected to the output end of the gain amplifier 3041, the input end of the gain amplifier 3041 is connected to the output end of the delayer 3040, and the input end of the delayer The output end of the adder 3042 is connected to the input end of the feedback gain amplifier 303 , and the output end of the feedback gain amplifier 303 is connected to the second input end of the adder 301 . The specific parameter values of the delayer 302 and the delayer 3040 can be selected according to the actual situation, which is not specifically limited in this embodiment of the present application; the specific values of the gain amplifier 3041 and the feedback gain amplifier 303 can be selected according to the actual situation, The embodiments of the present application do not make specific limitations.
需要说明的是,图3所示的梳状滤波器为本申请实施例一种可选的梳状滤波器的结构,在实际应用中不限于上述梳状滤波器结构,具体的可以根据实际情况进行选择,本申请实施例不做具体的限定。It should be noted that the comb filter shown in FIG. 3 is an optional structure of the comb filter in the embodiment of the present application, and is not limited to the above-mentioned comb filter structure in practical application, and the specific structure can be determined according to the actual situation. selection, which is not specifically limited in the embodiments of the present application.
可以理解的是,第一声信号在梳状滤波器中仅通过延时、乘加操作即可实现对第一声信号的滤波过程,蓝牙芯片中乘加操作通常可以在一个时钟周期内完成,由此极大的减少了立体声声场扩展中的运算量。It can be understood that the first acoustic signal can be filtered in the comb filter only by delaying and multiplying and adding operations. The multiplying and adding operations in the Bluetooth chip can usually be completed within one clock cycle. This greatly reduces the amount of computation in the expansion of the stereo sound field.
本申请实施例中,多个梳状滤波器输出端的增益不同,第一声信号在分别经过多个梳状滤波器的滤波之后进行不同程度的声音衰减。In the embodiment of the present application, the outputs of the multiple comb filters have different gains, and the first acoustic signal undergoes different degrees of sound attenuation after being filtered by the multiple comb filters respectively.
本申请实施例中,全通滤波器的作用是在全频带范围内,频域各频率分量的幅值不变,相位产生一定程度的相移。第一输入信号依次经多个串联的全通滤波器的移相,得到后期反射声信号,其中,第一输入信号为早期反射声信号或根据早期反射声信号得到的信号。In the embodiment of the present application, the function of the all-pass filter is to keep the amplitude of each frequency component in the frequency domain unchanged in the whole frequency band, and to generate a certain degree of phase shift in phase. The first input signal is sequentially phase-shifted by a plurality of series-connected all-pass filters to obtain a later reflected sound signal, wherein the first input signal is an early reflected sound signal or a signal obtained according to the early reflected sound signal.
本申请实施例中,全通滤波器的个数可以为4个、6个、8个等,具体的根据实际情况进行选择,本申请实施例不做具体的限定。In the embodiment of the present application, the number of all-pass filters may be 4, 6, 8, etc., which are specifically selected according to the actual situation, which is not specifically limited in the embodiment of the present application.
可以理解的,全通滤波器210的结构如图4所示,包括加法器401、延时器402、加法器403、增益放大器404、增益放大器405和反馈增益放大器406,其中,加法器401的第一输入端连接全通滤波器的输入,加法器401的输出端分别连接延时器402和增益放大器404,延时器402的输出端分别连接增益放大器405和反馈增益放大器406,增益放大器405的输出端和增益放大器404的输出端连接加法器403的输入端,反馈增益放大器406的输出端连接加法器401的第二输入端,加法器403的输出端连接全通滤波器的输出,延时器402的具体参数取值可以根据实际情况进行选择,本申请实施例不做具体的限定;增益放大器404、增益放大器405 和反馈增益放大器406的具体取值可以根据实际情况进行选择,本申请实施例不做具体的限定。It can be understood that the structure of the all-pass filter 210 is shown in FIG. 4 , including an adder 401 , a delay device 402 , an adder 403 , a gain amplifier 404 , a gain amplifier 405 and a feedback gain amplifier 406 , wherein the adder 401 has a The first input terminal is connected to the input of the all-pass filter, the output terminal of the adder 401 is connected to the delay device 402 and the gain amplifier 404 respectively, and the output terminal of the delay device 402 is respectively connected to the gain amplifier 405 and the feedback gain amplifier 406. The gain amplifier 405 The output end of the gain amplifier 404 and the output end of the gain amplifier 404 are connected to the input end of the adder 403, the output end of the feedback gain amplifier 406 is connected to the second input end of the adder 401, and the output end of the adder 403 is connected to the output of the all-pass filter. The specific parameter values of the timer 402 can be selected according to the actual situation, which is not specifically limited in this embodiment of the present application; The examples are not specifically limited.
需要说明的是,图4的全通滤波器为本申请实施例提供的一种可选的全通滤波器的结构,在实际应用中不限于上述全通滤波器结构,具体的可以根据实际情况进行选择,本申请实施例不做具体的限定。It should be noted that the all-pass filter in FIG. 4 is an optional all-pass filter structure provided by the embodiment of the present application, and is not limited to the above-mentioned all-pass filter structure in practical application, and the specific structure may be based on actual conditions. selection, which is not specifically limited in the embodiments of the present application.
可以理解的是,第一输入信号在全通滤波器中仅通过延时、乘加操作即可实现对第一输入信号的滤波过程,蓝牙芯片中乘加操作通常可以在一个时钟周期内完成,由此极大的减少了立体声声场扩展中的运算量。It can be understood that the filtering process of the first input signal can be realized only by delaying and multiplying and adding operations in the all-pass filter. The multiplying and adding operations in the Bluetooth chip can usually be completed within one clock cycle. This greatly reduces the amount of computation in the expansion of the stereo sound field.
可以理解的,梳状滤波器的信号延时大于全通滤波器的信号延时。It can be understood that the signal delay of the comb filter is greater than that of the all-pass filter.
本申请实施例中,由于梳状滤波器的信号延时大于全通滤波器的信号延时,故早期反射声信号的信号延时大于后期反射声信号的信号延时,使得后期反射声信号的声音密度大于早期反射声信号的声音密度,由此可以模拟出真实的立体声声场效果。In the embodiment of the present application, since the signal delay of the comb filter is greater than that of the all-pass filter, the signal delay of the early reflected sound signal is greater than the signal delay of the later reflected sound signal, so that the later reflected sound signal has a longer delay. The sound density is greater than that of the early reflected sound signal, so that a real stereo sound field effect can be simulated.
可以理解的是,每个梳状滤波器、全通滤波器单元的增益、延时可以采用不对称参数以降低左右通道信号相关性以增强声场宽度。It can be understood that, the gain and delay of each comb filter and all-pass filter unit can adopt asymmetric parameters to reduce the correlation of the left and right channel signals to enhance the sound field width.
本申请实施例中,延时大小可以以数字信号样点为单位。In this embodiment of the present application, the delay size may be in units of digital signal samples.
可以理解的,如图2(a)所示,后期反射声电路21还包括:第一加法器212、低通反馈电路211;第一加法器212的第一输入端与早期反射声电路20的输出端连接,第一加法器212的第二输入端与低通反馈电路211的输出端连接,第一加法器212的输出端与全通滤波器电路210的输入端连接,全通滤波器电路210的输出端与低通反馈电路的输入端连接;It can be understood that, as shown in FIG. 2( a ), the late-stage reflected sound circuit 21 further includes: a first adder 212 and a low-pass feedback circuit 211 ; The output end is connected, the second input end of the first adder 212 is connected with the output end of the low-pass feedback circuit 211, the output end of the first adder 212 is connected with the input end of the all-pass filter circuit 210, and the all-pass filter circuit The output end of 210 is connected with the input end of the low-pass feedback circuit;
低通反馈电路211,用于对后期反射声信号进行滤波和声音控制,得到反馈信号,并将反馈信号传输至第一加法器的第二输入端;The low-pass feedback circuit 211 is used to filter and control the sound of the later reflected sound signal to obtain a feedback signal, and transmit the feedback signal to the second input end of the first adder;
第一加法器212,用于将反馈信号和早期反射声信号进行信号相加,得到第一输入信号,The first adder 212 is used to add the feedback signal and the early reflected sound signal to obtain the first input signal,
多个全通滤波器,还用于对第一输入信号进行相移,得到后期反射声信号。The multiple all-pass filters are also used for phase-shifting the first input signal to obtain a later reflected sound signal.
本申请实施例中,后期反射声电路还包括低通反馈电路和第一加法器,具体的,早期反射声电路的输出端和低通反馈电路的输出端与第一加法器的输入端连接,第一加法器的输出端与串联的多个全通滤波器连接,多个全通滤波器的输出端与低通反馈电路的输入端连接,由此,后期反射声经低通反馈电路的滤波和声音控制之后与早期反射声信号进行信号相加,得到第一输入信号,之后将第一输入信号输入多个全通滤波器中,得到后期反射声信号,以增加后期反射声密度。In the embodiment of the present application, the late-stage reflected sound circuit further includes a low-pass feedback circuit and a first adder. Specifically, the output end of the early-stage reflected sound circuit and the output end of the low-pass feedback circuit are connected to the input end of the first adder, The output end of the first adder is connected to a plurality of all-pass filters in series, and the output ends of the plurality of all-pass filters are connected to the input end of the low-pass feedback circuit, so that the later reflected sound is filtered by the low-pass feedback circuit. After the sound control is performed, the signal is added with the early reflected sound signal to obtain the first input signal, and then the first input signal is input into a plurality of all-pass filters to obtain the late reflected sound signal, so as to increase the late reflected sound density.
本申请实施例中,低通反馈电路的设计可以减低全通滤波器的数量,进而减小声场扩展时的运算量。In the embodiment of the present application, the design of the low-pass feedback circuit can reduce the number of all-pass filters, thereby reducing the amount of computation when the sound field is expanded.
可选的,参考图2(a),如图2(b)所示,低通反馈电路211包括低通滤波器2110和反馈增益放大器2111,低通滤波器2110的输入端与多个全通滤波器210的输出端连接,低通滤波器2110的输出端与反馈增益放大器2111的输入端连接,反馈增益放大器2111的输出端与第一加法器212的第二输入端连接;Optionally, referring to FIG. 2( a ), as shown in FIG. 2( b ), the low-pass feedback circuit 211 includes a low-pass filter 2110 and a feedback gain amplifier 2111 , and the input end of the low-pass filter 2110 is connected to a plurality of all-pass The output end of the filter 210 is connected, the output end of the low-pass filter 2110 is connected with the input end of the feedback gain amplifier 2111, and the output end of the feedback gain amplifier 2111 is connected with the second input end of the first adder 212;
低通滤波器2110,用于对后期反射声信号进行滤波,得到第一滤波声信号,第一滤波声信号的高频声衰减大于低频声衰减;The low-pass filter 2110 is used to filter the later reflected acoustic signal to obtain the first filtered acoustic signal, and the high-frequency sound attenuation of the first filtered acoustic signal is greater than the low-frequency sound attenuation;
反馈增益放大器2111,用于对第一滤波声信号进行声音控制,得到反馈信号。The feedback gain amplifier 2111 is used for performing sound control on the first filtered sound signal to obtain a feedback signal.
本申请实施例中,低通滤波器可以为IIR低通滤波器。In this embodiment of the present application, the low-pass filter may be an IIR low-pass filter.
本申请实施例中,低通滤波器的结构示意图如图5所示,包括延时器501、增益放大器502和加法器503,其中,加法器503的输入端分别连接增益放大器502的输出端和全通滤波器的输出端,加法器503的输出端分别连接反馈增益放大器和延时器501,延时器501的输出端连接增益放大器502的输入端。In the embodiment of the present application, a schematic structural diagram of the low-pass filter is shown in FIG. 5 , including a delay device 501 , a gain amplifier 502 and an adder 503 , wherein the input end of the adder 503 is respectively connected to the output end of the gain amplifier 502 and the adder 503 . The output end of the all-pass filter and the output end of the adder 503 are respectively connected to the feedback gain amplifier and the delayer 501 , and the output end of the delayer 501 is connected to the input end of the gain amplifier 502 .
本申请实施例中,反馈增益放大器2111用于控制后期反射声大小,IIR低通滤波器用于模拟声音在空气中高频声衰减比低频声衰减快,通过调节反馈增益放大器2111可以控制声场扩宽的效果,从而模拟不同混响的声场,如山谷,影院、室内等环境。In the embodiment of the present application, the feedback gain amplifier 2111 is used to control the size of the reflected sound in the later stage, and the IIR low-pass filter is used to simulate the attenuation of high-frequency sound in the air faster than the attenuation of low-frequency sound. By adjusting the feedback gain amplifier 2111, the sound field widening can be controlled effect, so as to simulate the sound field of different reverberation, such as valley, cinema, indoor and other environments.
可选的,如图2(a)和图2(b)所示,早期反射声电路20还包括:多个增益放大器201和第二加法器202,多个增益放大器201与多个梳状滤波器200一一对应,每一个增益放大器201的输入端分别与对应的梳状滤波器200的输出端串联所述,多个增益放大器的增益取值不同,多个增益放大器201的输出端与第二加法器202连接;Optionally, as shown in FIG. 2(a) and FIG. 2(b), the early reflected sound circuit 20 further includes: a plurality of gain amplifiers 201 and a second adder 202, a plurality of gain amplifiers 201 and a plurality of comb filters. There is a one-to-one correspondence with each of the gain amplifiers 200, the input end of each gain amplifier 201 is connected in series with the output end of the corresponding comb filter 200, the gain values of the multiple gain amplifiers are different, and the output ends of the multiple gain amplifiers 201 are connected to the first Two adders 202 are connected;
多个梳状滤波器200和多个增益放大器201,用于对第一声信号分别进行滤波和信号增益,得到多个延时衰减声信号,所述多个延时衰减声信号的信号延时和信号衰减不同;A plurality of comb filters 200 and a plurality of gain amplifiers 201 are used for filtering and signal gain respectively on the first acoustic signal to obtain a plurality of delayed attenuated acoustic signals, the signal delays of the plurality of delayed attenuated acoustic signals Different from signal attenuation;
所述第二加法器202,用于将所述多个延时衰减声信号相加,得到所述早期反射声信号。The second adder 202 is configured to add the multiple delayed attenuated acoustic signals to obtain the early reflected acoustic signals.
本申请实施例中,每一个梳状滤波器的输出端连接一个增益放大器,该增益放大器的取值不同,不同的增益取值可以使得多个延时衰减声信号的信号衰减程度不同。In the embodiment of the present application, an output end of each comb filter is connected to a gain amplifier, and the gain amplifier has different values, and different gain values can make the signal attenuation degrees of multiple delayed attenuated acoustic signals different.
本申请实施例中,在得到多个延时衰减声信号之后,将多个延时衰减声信号进行信号相加,得到早期反射声信号。In the embodiment of the present application, after a plurality of delayed attenuated acoustic signals are obtained, the signals of the multiple delayed attenuated acoustic signals are added to obtain an early reflected acoustic signal.
可以理解的,所述早期反射声电路可以为左声道早期反射声电路或右声道早期反射声电路,相应的,所述后期反射声电路可以为左声道后期反射声电路或右声道后期反射声电路;所述左声道早期反射声电路的输出端与所述左声道后期反射声电路连接;所述右声道早期反射声电路的输出端与所述右声道后期反射声电路连接。It can be understood that the early reflected sound circuit can be a left channel early reflected sound circuit or a right channel early reflected sound circuit, and correspondingly, the late reflected sound circuit can be a left channel late reflected sound circuit or a right channel. Late reflection sound circuit; the output end of the left channel early reflection sound circuit is connected with the left channel late reflection sound circuit; the output end of the right channel early reflection sound circuit is connected with the right channel late reflection sound circuit circuit connection.
本申请实施例中,第一声信号经左声道早期反射声电路和左声道后期反射声电路,得到左声道后期反射声信号;第一声信号经右声道早期反射声电路和右声道后期反射声电路,得到右声道后期反射声信号。In the embodiment of the present application, the first sound signal is passed through the left channel early reflected sound circuit and the left channel late reflected sound circuit to obtain the left channel late reflected sound signal; the first sound signal is passed through the right channel early reflected sound circuit and the right channel. The post reflection sound circuit of the channel obtains the post reflection sound signal of the right channel.
本申请实施例中,声场扩展电路中的全通滤波器和梳状滤波器的延时和增益值不对称且单独可调,更加符合左右耳听到真实声场的空间信息。In the embodiment of the present application, the delay and gain values of the all-pass filter and the comb filter in the sound field expansion circuit are asymmetric and independently adjustable, which is more in line with the spatial information of the real sound field heard by the left and right ears.
基于上述实施例,本申请实施例还提供一种电子设备6,如图6所示,所述电子设备6包括:左声道输入端60、右声道输入端61、声场预处理电路62、左声道声场扩展电路63、右声道声场扩展电路64、左声道输出电路65和右声道输出电路66,所述左声道声场扩展电路63和所述右声道声场扩展电路64与上述任一项所述的声场扩展电路相同;其中,Based on the above embodiment, the embodiment of the present application further provides an electronic device 6. As shown in FIG. 6, the electronic device 6 includes: a left channel input end 60, a right channel input end 61, a sound field preprocessing circuit 62, The left channel sound field expansion circuit 63, the right channel sound field expansion circuit 64, the left channel output circuit 65 and the right channel output circuit 66, the left channel sound field expansion circuit 63 and the right channel sound field expansion circuit 64 and the The sound field expansion circuit described in any one of the above is the same; wherein,
所述左声道输入端60和所述右声道输入端61分别与所述声场预处理电路62的输入端连接,所述声场预处理电路62的输出端分别与所述左声道声场扩展电路63的输入端和所述右声道声场扩展电路64的输入端连接,所述左声道声场扩展电路63的输出端和所述左声道输入端60分别与所述左声道输出电路65的输入端连接,所述右声道声场扩展电路64的输出端和所述右声道输入端61分别与所述右声道输出电路66的输入端连接;The left channel input terminal 60 and the right channel input terminal 61 are respectively connected with the input terminal of the sound field preprocessing circuit 62, and the output terminal of the sound field preprocessing circuit 62 is respectively connected with the left channel sound field expansion. The input end of the circuit 63 is connected to the input end of the right channel sound field expansion circuit 64, and the output end of the left channel sound field expansion circuit 63 and the left channel input end 60 are respectively connected with the left channel output circuit. 65, the output end of the right channel sound field expansion circuit 64 and the right channel input end 61 are respectively connected with the input end of the right channel output circuit 66;
所述左声道输入端用于输入左声道输入声信号,所述右声道输入端用于输入右声道输入声信号;The left channel input terminal is used for inputting the left channel input sound signal, and the right channel input terminal is used for inputting the right channel input sound signal;
所述声信号预处理电路,用于对所述左声道输入信号和所述右声道输入信号进行预处理,得到所述第一声信号;the acoustic signal preprocessing circuit, configured to preprocess the left channel input signal and the right channel input signal to obtain the first acoustic signal;
所述左声道声场扩展电路,用于对所述第一声信号进行处理,得到左声道后期反射声信号;The left channel sound field expansion circuit is used for processing the first sound signal to obtain the left channel late reflection sound signal;
所述左声道输出电路,用于将所述左声道输入声信号和所述左声道后期反射声信号进行处理(例如进行信号相加),得到左声道输出声信号;The left channel output circuit is configured to process (for example, signal addition) the left channel input sound signal and the left channel late reflection sound signal to obtain the left channel output sound signal;
所述右声道声场扩展电路,用于对所述第一声信号进行处理,得到右声道后期反射声信号;The right channel sound field expansion circuit is used for processing the first sound signal to obtain the right channel late reflected sound signal;
所述右声道输出电路,用于将所述右声道输入声信号和所述右声道后期反射声信号进行处理(例如进行信号相加),得到右声道输出声信号。The right channel output circuit is configured to process the right channel input sound signal and the right channel post-reflection sound signal (eg, perform signal addition) to obtain a right channel output sound signal.
本申请实施例中,左声道声场扩展电路包括左声道早期反射声电路和左声道后期反射声电路,右声道声场扩展电路包括右声道早期反射声电路和右声道后期反射声电路;左声道早期反射声电路的输出端与左声道后期反射声电路的输入端连接;右声道早期反射声电路的输出端与右声道后期反射声电路的输入端连接。In the embodiment of the present application, the left channel sound field expansion circuit includes a left channel early reflected sound circuit and a left channel late reflected sound circuit, and the right channel sound field expansion circuit includes a right channel early reflected sound circuit and a right channel late reflected sound circuit The output end of the left channel early reflected sound circuit is connected with the input end of the left channel late reflected sound circuit; the output end of the right channel early reflected sound circuit is connected with the input end of the right channel late reflected sound circuit.
需要说明的是,左声道早期反射声电路和右声道早期反射声电路与上述任一项所述的早期反射声电路相同,左声道后期反射声电路和右声道后期反射声电路与上述任一项所述的后期反射声电路相同。It should be noted that the early reflection sound circuit of the left channel and the early reflection sound circuit of the right channel are the same as the early reflection sound circuit described in any of the above, and the late reflection sound circuit of the left channel and the late reflection sound circuit of the right channel are the same as The post-reflection sound circuit described in any of the above is the same.
本申请实施例中,声信号预处理电路包括加减器和增益放大器,声信号预处理电路利用加减器对左声道输入声信号和右声道输入声信号进行相加或者相减操作,再经增益进行缩小操作,得到第一声信号。In the embodiment of the present application, the acoustic signal preprocessing circuit includes an adder-subtractor and a gain amplifier, and the acoustic signal preprocessing circuit uses the adder-subtractor to perform an addition or subtraction operation on the left channel input acoustic signal and the right channel input acoustic signal, Then, the reduction operation is performed through the gain to obtain the first sound signal.
本申请实施例中,蓝牙芯片通过左声道输入端口向声信号预处理电路输入左声道输入声信号,通过左声道声场扩展电路输入左声道输入声信号,通过右声道输入端口向右声道声场扩展电路输入右声道输入声信号。当左声道后期反射声信号输出左声道后期反射声信号时,左声道输出声信号将左声道输入声信号和左声道后期反射声信号进行信号相加,得到左声道输出声信 号;当右声道后期反射声信号输出右声道后期反射声信号时,右声道输出声信号将右声道输入声信号和右声道后期反射声信号进行信号相加,得到右声道输出声信号。In the embodiment of the present application, the Bluetooth chip inputs the left channel input sound signal to the sound signal preprocessing circuit through the left channel input port, inputs the left channel input sound signal through the left channel sound field expansion circuit, and inputs the left channel input sound signal through the right channel input port to the sound signal preprocessing circuit. The right channel sound field expansion circuit inputs the right channel input sound signal. When the left channel late reflection sound signal outputs the left channel late reflection sound signal, the left channel output sound signal adds the left channel input sound signal and the left channel late reflection sound signal to obtain the left channel output sound signal. signal; when the right channel late reflected sound signal outputs the right channel late reflected sound signal, the right channel output sound signal adds the right channel input sound signal and the right channel late reflected sound signal to obtain the right channel Output an acoustic signal.
本申请实施例中,电子设备还包括:通信模块、左声道扬声器和右声道扬声器;通信模块与左声道输入端和右声道输入端连接,左声道输出电路的输出端和右声道输出电路的输出端与扬声器连接;通信模块,用于接收音频数据,并将音频数据分离成左声道输入声信号和右声道输入声信号;左声道扬声器,用于播放左声道输出声信号,右声道扬声器,用于播放右声道输出声信号。In the embodiment of the present application, the electronic device further includes: a communication module, a left channel speaker and a right channel speaker; the communication module is connected to the left channel input end and the right channel input end, and the output end of the left channel output circuit is connected to the right channel input end. The output end of the channel output circuit is connected to the speaker; the communication module is used to receive audio data and separate the audio data into the left channel input sound signal and the right channel input sound signal; the left channel speaker is used to play the left channel The right channel speaker is used to play the output sound signal of the right channel.
示例性的,电子设备的结构示意图如图7所示,包括左声道输入端701、右声道输入端702、加减器703、增益放大器704、左声道早期反射声电路705、左声道后期反射声电路706、左声道输出电路707、右声道早期反射声电路708、右声道后期反射声电路709和右声道输出电路7010。Exemplarily, the schematic diagram of the structure of the electronic device is shown in FIG. 7, including a left channel input end 701, a right channel input end 702, an adder-subtractor 703, a gain amplifier 704, a left channel early reflected sound circuit 705, a left channel The post-channel reflected sound circuit 706, the left channel output circuit 707, the right channel early reflected sound circuit 708, the right channel late reflected sound circuit 709, and the right channel output circuit 7010.
如图7所示,对于左声道而言。左声道早期反射声电路705由并联的梳状滤波器7051、梳状滤波器7052、梳状滤波器7053、梳状滤波器7054、梳状滤波器7055、梳状滤波器7056组成,其中,梳状滤波器7051输出端连接增益放大器7057、梳状滤波器7052输出端连接增益放大器7058、梳状滤波器7053输出端连接增益放大器7059、梳状滤波器7054输出端连接增益放大器70510、梳状滤波器7055的输出端连接增益放大器70511梳状滤波器7056的输出端连接增益放大器70512,增益放大器7057、增益放大器7058、增益放大器7059、增益放大器70510、增益放大器70511、增益放大器70512的输出端连接一个加法器70513,增益放大器7057、增益放大器7058、增益放大器7059、增益放大器70510、增益放大器70511、增益放大器70512的取值不同;左声道后期反射声电路706由加法器7061、全通滤波器7062、全通滤波器7063、全通滤波器7064、全通滤波器7065串联组成,全通滤波器7065的输出端还与IIR低通滤波器7066和反馈增益放大器7067连接,其中,IIR低通滤波器7066由延时器70661、增益放大器70662和加法器70663组成,加法器7061的输入端分别与加法器70513的输出端和反馈增益放大器7067的输出端连接,反馈增益放大器7067的输入端分别与延时器70662的输入端和加法器70663的输出端连接,加法器70663的输入端分别与全通滤波器7065的输出端和延时器70661的输出端连接,延时器70661的输入端与增益放大器70662的输出端连接;左声道输出电路707由加法器7071和左声道输出端7072组成,加法器7071的输入端分别与全通滤波器7065的输出端和左声道输入端701连接,加法器7071输出端与左声道输出端7072连接。As shown in Figure 7, for the left channel. The left channel early reflected sound circuit 705 is composed of a comb filter 7051, a comb filter 7052, a comb filter 7053, a comb filter 7054, a comb filter 7055, and a comb filter 7056 in parallel, wherein, The output end of comb filter 7051 is connected to gain amplifier 7057, the output end of comb filter 7052 is connected to gain amplifier 7058, the output end of comb filter 7053 is connected to gain amplifier 7059, the output end of comb filter 7054 is connected to gain amplifier 70510, and the comb filter 7054 output end is connected to gain amplifier 70510. The output end of the filter 7055 is connected to the gain amplifier 70511, the output end of the comb filter 7056 is connected to the gain amplifier 70512, the output ends of the gain amplifier 7057, the gain amplifier 7058, the gain amplifier 7059, the gain amplifier 70510, the gain amplifier 70511, and the gain amplifier 70512 are connected An adder 70513, gain amplifier 7057, gain amplifier 7058, gain amplifier 7059, gain amplifier 70510, gain amplifier 70511, gain amplifier 70512 have different values; 7062, an all-pass filter 7063, an all-pass filter 7064, and an all-pass filter 7065 are connected in series, and the output end of the all-pass filter 7065 is also connected to an IIR low-pass filter 7066 and a feedback gain amplifier 7067, wherein the IIR low-pass The filter 7066 is composed of a delay device 70661, a gain amplifier 70662 and an adder 70663. The input end of the adder 7061 is respectively connected to the output end of the adder 70513 and the output end of the feedback gain amplifier 7067, and the input end of the feedback gain amplifier 7067 is respectively It is connected to the input end of the delayer 70662 and the output end of the adder 70663. The input end of the adder 70663 is connected to the output end of the all-pass filter 7065 and the output end of the delayer 70661 respectively. The input end of the delayer 70661 It is connected with the output end of the gain amplifier 70662; the left channel output circuit 707 is composed of the adder 7071 and the left channel output end 7072, and the input end of the adder 7071 is respectively connected with the output end of the all-pass filter 7065 and the left channel input end 701 is connected, and the output end of the adder 7071 is connected to the left channel output end 7072.
如图7所示,对于右声道而言。右声道早期反射声电路708由并联的梳状滤波器7081、梳状滤波器7082、梳状滤波器7083、梳状滤波器7084、梳状滤波器7085、梳状滤波器7086组成,其中,梳状滤波器7081输出端连接增益放大器7087、梳状滤波器7082输出端连接增益放大器7088、梳状滤波器7083输出端连接增益放大器7089、梳状滤波器7084输出端连接增益放大器70810、梳状滤波器7085的输出端连接输出端连接增益放大器70811、梳状滤波器7086的输出端连接增益放大器70812,增益放大器7087、增益放大器7088、增益放大器7089、增益放大器70810、增益放大器70811、增益放大器70812的输出端连接一个加法器70813,增益放大器7087、增益放大器7088、增益放大器7089、增益放大器70810、增益放大器70811、增益放大器70812的取值不同;右声道后期反射声电路709由加法器7091、全通滤波器7092、全通滤波器7093、全通滤波器7094、全通滤波器7095串联组成,全通滤波器7095的输出端还与IIR低通滤波器7096和反馈增益放大器7097连接,其中,IIR低通滤波器7066由延时器70961、增益放大器70962和加法器70963组成,加法器7091的输入端分别与加法器70913的输出端和反馈增益放大器7097的输出端连接,反馈增益放大器7097的输入端分别与增益放大器70962的输入端和加法器70963的输出端连接,加法器70963的输入端分别与全通滤波器7095的输出端和延时器70961的输出端连接,延时器70961的输入端与增益放大器70962的输出端连接;右声道输出电路7010由加法器70101和右声道输出端70102组成,加法器70101的输入端分别与全通滤波器7095的输出端和右声道输入端702连接,加法器70101输出端与右声道输出端70102连接。As shown in Figure 7, for the right channel. The right channel early reflected sound circuit 708 is composed of a comb filter 7081, a comb filter 7082, a comb filter 7083, a comb filter 7084, a comb filter 7085, and a comb filter 7086 in parallel, wherein, The output end of comb filter 7081 is connected to gain amplifier 7087, the output end of comb filter 7082 is connected to gain amplifier 7088, the output end of comb filter 7083 is connected to gain amplifier 7089, the output end of comb filter 7084 is connected to gain amplifier 70810, The output end of filter 7085 is connected to the output end of gain amplifier 70811, the output end of comb filter 7086 is connected to gain amplifier 70812, gain amplifier 7087, gain amplifier 7088, gain amplifier 7089, gain amplifier 70810, gain amplifier 70811, gain amplifier 70812 An adder 70813 is connected to the output end of the amplifier. The values of gain amplifier 7087, gain amplifier 7088, gain amplifier 7089, gain amplifier 70810, gain amplifier 70811 and gain amplifier 70812 are different; All-pass filter 7092, all-pass filter 7093, all-pass filter 7094, and all-pass filter 7095 are connected in series, and the output end of all-pass filter 7095 is also connected to IIR low-pass filter 7096 and feedback gain amplifier 7097, wherein , the IIR low-pass filter 7066 is composed of a delayer 70961, a gain amplifier 70962 and an adder 70963. The input end of the adder 7091 is respectively connected to the output end of the adder 70913 and the output end of the feedback gain amplifier 7097. The feedback gain amplifier 7097 The input terminals of the gain amplifier 70962 are respectively connected to the input terminal of the gain amplifier 70962 and the output terminal of the adder 70963. The input terminals of the adder 70963 are respectively connected to the output terminal of the all-pass filter 7095 and the output terminal of the delay device 70961. The delay device 70961 The input end is connected with the output end of the gain amplifier 70962; the right channel output circuit 7010 is composed of the adder 70101 and the right channel output end 70102, the input end of the adder 70101 is respectively connected with the output end of the all-pass filter 7095 and the right channel output end 70102. The channel input terminal 702 is connected, and the output terminal of the adder 70101 is connected to the right channel output terminal 70102.
图7对应的信号流为:左声道输入端701输入的左声道输入声信号和右声道输入端702输入的右声道输入声信号经加减器703和增益放大器704,进行信号相加或信号相减、缩小处理,得到第一声信号,第一声信号经左声道早期反射声电路705得到模拟声场的左声道早期反射声信号,左声道早期反射声信号经左声道后期反射声电路706得到左声道后期反射声,左声道后 期反射声和左声道输入声信号经左声道输出电路707,进行信号相加,得到左声道输出声信号;第一声信号经右声道早期反射声电路708得到模拟声场的右声道早期反射声信号,右声道早期反射声信号经右声道后期反射声电路709得到右声道后期反射声,右声道后期反射声和右声道输入声信号经右声道输出电路7010,进行信号相加,得到右声道输出声信号。The signal flow corresponding to FIG. 7 is: the left channel input sound signal input from the left channel input terminal 701 and the right channel input sound signal input from the right channel input terminal 702 pass through the adder-subtractor 703 and the gain amplifier 704. Addition or signal subtraction and reduction processing to obtain the first sound signal, the first sound signal is passed through the left channel early reflection sound circuit 705 to obtain the left channel early reflection sound signal of the simulated sound field, and the left channel early reflection sound signal is passed through the left channel. The late reflection sound circuit 706 obtains the late reflection sound of the left channel, and the late reflection sound of the left channel and the input sound signal of the left channel are added by the left channel output circuit 707 to obtain the output sound signal of the left channel; The sound signal passes through the right channel early reflection sound circuit 708 to obtain the right channel early reflection sound signal of the simulated sound field, and the right channel early reflection sound signal passes through the right channel late reflection sound circuit 709 to obtain the right channel late reflection sound, and the right channel The later reflected sound and the input sound signal of the right channel are added by the right channel output circuit 7010 to obtain the output sound signal of the right channel.
可以理解的是,声场扩展电路的早期反射声电路由并联的多个梳状滤波器组成,后期反射声电路由串联的多个全通滤波器组成,由此,利用并联的多个梳状滤波器和串联的多个全通滤波器,即可实现立体声声场扩展,由于梳状滤波器和全通滤波器内部主要实现乘、加运算,在蓝牙芯片中乘加操作通常可以在一个时钟周期内完成,进而降低了立体声声场扩展的运算量和耳机的功耗。It can be understood that the early reflected sound circuit of the sound field expansion circuit is composed of multiple comb filters in parallel, and the later reflected sound circuit is composed of multiple all-pass filters connected in series. The stereo sound field expansion can be realized by connecting multiple all-pass filters in series. Since the comb filter and the all-pass filter mainly implement multiplication and addition operations, the multiplication and addition operations in the Bluetooth chip can usually be performed within one clock cycle. Completed, thereby reducing the amount of operation of the stereo sound field expansion and the power consumption of the headset.
本申请实施例提供一种声场扩展方法,如图8所示,应用于上述实施例所示的声场扩展电路中,声场扩展电路包括:由并联的多个梳状滤波器组成的早期反射声电路和与早期反射声电路输出端连接的后期反射声电路,后期反射声电路由串联的多个全通滤波器组成,该方法可以包括:An embodiment of the present application provides a sound field expansion method, as shown in FIG. 8 , which is applied to the sound field expansion circuit shown in the above-mentioned embodiment, and the sound field expansion circuit includes: an early reflection sound circuit composed of a plurality of comb filters connected in parallel and a late-stage reflected sound circuit connected to the output end of the early-stage reflected sound circuit, the late-stage reflected sound circuit is composed of multiple all-pass filters connected in series, and the method may include:
S101、对输入声信号进行预处理得到第一声信号。S101. Preprocess the input acoustic signal to obtain a first acoustic signal.
本申请实施例提供的一种声场扩展方法适用于播放立体声信号时扩展立体声声场的场景下。The sound field expansion method provided by the embodiment of the present application is suitable for a scenario where a stereo sound field is expanded when a stereo signal is played.
本申请实施例中,声场扩展电路将左声道输入声信号和右声道输入声信号进行信号相加或信号相减、缩小操作,得到第一声信号。In the embodiment of the present application, the sound field expansion circuit performs signal addition, signal subtraction, and reduction operations on the left channel input sound signal and the right channel input sound signal to obtain the first sound signal.
S102、利用多个梳状滤波器分别对第一声信号进行滤波,得到早期反射声信号。S102 , using a plurality of comb filters to filter the first acoustic signal respectively to obtain an early reflected acoustic signal.
当声场扩展电路对左声道输入声信号和右声道输入声信号进行预处理得到第一声信号之后,声场扩展电路利用多个梳状滤波器分别对第一声信号进行滤波,得到早期反射声信号。After the sound field expansion circuit preprocesses the left channel input sound signal and the right channel input sound signal to obtain the first sound signal, the sound field expansion circuit uses a plurality of comb filters to filter the first sound signal respectively to obtain the early reflection sound signal.
本申请实施例中,早期反射声电路包括左声道早期反射声电路和右声道早期反射声电路,其中,左声道早期反射声电路由多个并联的梳状滤波器组成,右声道早期反射声电路由多个并联的梳状滤波器组成。In the embodiment of the present application, the early reflected sound circuit includes a left channel early reflected sound circuit and a right channel early reflected sound circuit, wherein the left channel early reflected sound circuit is composed of multiple parallel comb filters, and the right channel Early reflected acoustic circuits consisted of multiple comb filters connected in parallel.
本申请实施例中,第一声信号输入左声道早期反射声电路,由多个并联的梳状滤波器对第一声信号进行滤波,得到左声道早期反射声信号。In the embodiment of the present application, the first acoustic signal is input to the left channel early reflected acoustic circuit, and the first acoustic signal is filtered by a plurality of parallel comb filters to obtain the left channel early reflected acoustic signal.
具体的,对于左声道早期反射声电路而言,声场扩展电路利用左声道早期反射声电路的多个梳状滤波器分别对第一声信号进行滤波,得到多个延时衰减声信号,多个延时衰减声信号的信号延时和信号衰减不同;声场扩展电路将多个延时衰减声信号相加,得到左声道早期反射声信号。Specifically, for the left channel early reflection sound circuit, the sound field expansion circuit uses a plurality of comb filters of the left channel early reflection sound circuit to filter the first sound signal respectively to obtain a plurality of delayed attenuated sound signals, The signal delay and signal attenuation of the multiple delayed attenuated sound signals are different; the sound field expansion circuit adds the multiple delayed attenuated sound signals to obtain the early reflection sound signal of the left channel.
本申请实施例中,第一声信号输入右声道早期反射声电路,由多个并联的梳状滤波器对第一声信号进行滤波,得到右声道早期反射声信号。In the embodiment of the present application, the first acoustic signal is input to the early reflected sound circuit of the right channel, and the first acoustic signal is filtered by a plurality of comb filters in parallel to obtain the early reflected sound signal of the right channel.
具体的,对于右声道早期反射声电路而言,声场扩展电路利用右声道早期反射声电路的多个梳状滤波器分别对第一声信号进行滤波,得到多个延时衰减声信号,多个延时衰减声信号的信号延时和信号衰减不同;声场扩展电路将多个延时衰减声信号相加,得到右声道早期反射声信号。Specifically, for the early reflection sound circuit of the right channel, the sound field expansion circuit uses multiple comb filters of the early reflection sound circuit of the right channel to filter the first sound signal respectively to obtain a plurality of delayed attenuated sound signals, The signal delay and signal attenuation of the multiple delayed attenuated sound signals are different; the sound field expansion circuit adds the multiple delayed attenuated sound signals to obtain the early reflected sound signal of the right channel.
S103、利用多个全通滤波器对第一输入信号进行相移,得到后期反射声信号,其中,第一输入信号为早期反射声信号或根据早期反射声信号得到。S103 , using a plurality of all-pass filters to phase shift the first input signal to obtain a later reflected sound signal, where the first input signal is an early reflected sound signal or obtained according to an early reflected sound signal.
当声场扩展电路利用多个梳状滤波器分别对第一声信号进行滤波,得到早期反射声信号之后,声场扩展电路利用多个全通滤波器对第一输入信号进行相移,得到后期反射声信号,其中,第一输入信号为早期反射声信号或根据早期反射声信号得到。When the sound field expansion circuit uses multiple comb filters to filter the first sound signal respectively to obtain the early reflected sound signal, the sound field expansion circuit uses multiple all-pass filters to phase shift the first input signal to obtain the later reflected sound signal, wherein the first input signal is an early reflected sound signal or is obtained according to an early reflected sound signal.
本申请实施例中,后期反射声电路包括左声道后期反射声电路和右声道后期反射声电路,其中,左声道后期反射声电路由多个串联的全通滤波器组成,右声道后期反射声电路由多个串联的全通滤波器组成,左声道早期反射声电路的输出端与左声道后期反射声电路连接,右声道早期反射声电路与右声道后期反射声电路连接。In the embodiment of the present application, the late reflected sound circuit includes a left channel late reflected sound circuit and a right channel late reflected sound circuit, wherein the left channel late reflected sound circuit is composed of a plurality of series-connected all-pass filters, and the right channel The late reflected sound circuit is composed of multiple all-pass filters connected in series. The output end of the left channel early reflected sound circuit is connected to the left channel late reflected sound circuit, and the right channel early reflected sound circuit is connected to the right channel late reflected sound circuit. connect.
本申请实施例中,左声道早期反射声信号输入左声道后期反射声电路,由多个串联的全通滤波器对左声道早期反射声信号进行移相,得到左声道后期反射声信号。In the embodiment of the present application, the left channel early reflected sound signal is input to the left channel late reflected sound circuit, and a plurality of series-connected all-pass filters are used to shift the phase of the left channel early reflected sound signal to obtain the left channel late reflected sound Signal.
具体的,对于左声道后期反射声电路而言,声场扩展电路利用左声道后期反射声电路的多个全通滤波器对左声道早期反射声信号进行移相,得到左声道后期反射声信号。Specifically, for the left channel late reflection sound circuit, the sound field expansion circuit uses multiple all-pass filters of the left channel late reflection sound circuit to shift the phase of the left channel early reflection sound signal to obtain the left channel late reflection sound. sound signal.
本申请实施例中,右声道早期反射声信号输入右声道后期反射声电路,由多个串联的全通 滤波器对右声道早期反射声信号进行移相,得到右声道后期反射声信号。In the embodiment of the present application, the early reflected sound signal of the right channel is input to the late reflected sound circuit of the right channel, and the early reflected sound signal of the right channel is phase-shifted by a plurality of series-connected all-pass filters to obtain the late reflected sound of the right channel Signal.
具体的,对于右声道后期反射声电路而言,声场扩展电路利用右声道后期反射声电路的多个全通滤波器对右声道早期反射声信号进行移相,得到右声道后期反射声信号。Specifically, for the late reflection sound circuit of the right channel, the sound field expansion circuit uses multiple all-pass filters of the late reflection sound circuit of the right channel to shift the phase of the early reflection sound signal of the right channel to obtain the late reflection sound of the right channel. sound signal.
进一步地,在得到后期反射声信号之后,声场扩展电路对后期反射声信号进行滤波和声音控制,得到反馈信号;之后,声场扩展电路将反馈信号与早期反射声信号进行信号相加,得到第一输入信号;利用多个全通滤波器,对第一输入信号进行相移,得到后期反射声信号,其中,基于反馈信号和早期反射声信号得到的后期反射声信号对应的反射声密度大于基于早期反射声信号得到的后期反射声信号对应的反射声密度。Further, after obtaining the late reflected sound signal, the sound field expansion circuit performs filtering and sound control on the late reflected sound signal to obtain a feedback signal; after that, the sound field expansion circuit adds the feedback signal and the early reflected sound signal to obtain the first signal. Input signal; use multiple all-pass filters to phase shift the first input signal to obtain a late reflected sound signal, wherein the reflected sound density corresponding to the late reflected sound signal obtained based on the feedback signal and the early reflected sound signal is greater than that based on the early reflected sound signal. The reflected sound density corresponding to the later reflected sound signal obtained from the reflected sound signal.
需要说明的是,对于左声道后期反射声信号和右声道后期反射声信号而言,声场扩展电路得到后期反射声信号的过程一致,在此不再赘述。It should be noted that, for the left channel late-stage reflected sound signal and the right-channel late-stage reflected sound signal, the process of obtaining the late-stage reflected sound signal by the sound field expansion circuit is the same, which will not be repeated here.
S104、根据输入声信号和后期反射声信号,得到左声道输入声信号对应的输入声信号对应的输出声信号。S104: Obtain an output acoustic signal corresponding to the input acoustic signal corresponding to the input acoustic signal of the left channel according to the input acoustic signal and the later reflected acoustic signal.
当声场扩展电路在得到后期反射声信号之后,声场扩展电路根据左声道输入声信号、右声道输入声信号和后期反射声信号,得到左声道输入声信号对应的左声道输出声信号和右声道输入声信号对应的右声道输出声信号。After the sound field expansion circuit obtains the late reflected sound signal, the sound field expansion circuit obtains the left channel output sound signal corresponding to the left channel input sound signal according to the left channel input sound signal, the right channel input sound signal and the late reflected sound signal The right channel output sound signal corresponding to the right channel input sound signal.
具体的,声场扩展电路将左声道输入声信号和对应的左声道后期反射声信号进行信号相加,得到左声道输出声信号;声场扩展电路将右声道输入声信号和对应的右声道后期反射声信号进行信号相加,得到右声道输出声信号。Specifically, the sound field expansion circuit adds the left channel input sound signal and the corresponding left channel late reflection sound signal to obtain the left channel output sound signal; the sound field expansion circuit adds the right channel input sound signal and the corresponding right channel sound signal. The reflected sound signal in the later stage of the channel is added to obtain the output sound signal of the right channel.
可以理解的是,声场扩展电路的早期反射声电路由并联的多个梳状滤波器组成,后期反射声电路由串联的多个全通滤波器组成,由此,利用并联的多个梳状滤波器和串联的多个全通滤波器,即可实现立体声声场扩展,由于梳状滤波器和全通滤波器内部主要实现乘、加运算,在蓝牙芯片中乘加操作通常可以在一个时钟周期内完成,进而降低了立体声声场扩展的运算量和耳机的功耗。It can be understood that the early reflected sound circuit of the sound field expansion circuit is composed of multiple comb filters in parallel, and the later reflected sound circuit is composed of multiple all-pass filters connected in series. The stereo sound field expansion can be realized by connecting multiple all-pass filters in series. Since the comb filter and the all-pass filter mainly implement multiplication and addition operations, the multiplication and addition operations in the Bluetooth chip can usually be performed within one clock cycle. Completed, thereby reducing the amount of operation of the stereo sound field expansion and the power consumption of the headset.
图9为本申请实施例提供的一种电子设备9的组成结构示意图二,在实际应用中,基于上述实施例的同一公开构思下,如图9所示,本实施例的电子设备9包括:处理器901、存储器902及通信总线903。FIG. 9 is a second schematic diagram of the composition and structure of an electronic device 9 provided by an embodiment of the present application. In practical applications, based on the same disclosed concept of the above-mentioned embodiment, as shown in FIG. 9 , the electronic device 9 of this embodiment includes: Processor 901 , memory 902 and communication bus 903 .
在具体的实施例的过程中,上述处理器901可以为特定用途集成电路(ASIC,Application Specific Integrated Circuit)、数字信号处理器(DSP,Digital Signal Processor)、数字信号处理图像处理电路(DSPD,Digital Signal Processing Device)、可编程逻辑图像处理电路(PLD,Programmable Logic Device)、现场可编程门阵列(FPGA,Field Programmable Gate Array)、CPU、控制器、微控制器、微处理器中的至少一种。可以理解地,对于不同的设备,用于实现上述处理器功能的电子器件还可以为其它,本实施例不作具体限定。In the process of a specific embodiment, the above-mentioned processor 901 may be an application specific integrated circuit (ASIC, Application Specific Integrated Circuit), a digital signal processor (DSP, Digital Signal Processor), a digital signal processing image processing circuit (DSPD, Digital Signal Processing Device), Programmable Logic Image Processing Circuit (PLD, Programmable Logic Device), Field Programmable Gate Array (FPGA, Field Programmable Gate Array), at least one of CPU, controller, microcontroller, microprocessor . It can be understood that, for different devices, the electronic device used to implement the function of the processor may also be other, which is not specifically limited in this embodiment.
在本申请实施例中,上述通信总线903用于实现处理器901和存储器902之间的连接通信;上述处理器901执行存储器902中存储的运行程序时实现如下的声场扩展方法:In the embodiment of the present application, the above-mentioned communication bus 903 is used to realize the connection communication between the processor 901 and the memory 902; when the above-mentioned processor 901 executes the running program stored in the memory 902, the following sound field expansion method is implemented:
对输入声信号进行预处理得到第一声信号;利用所述多个梳状滤波器分别对第一声信号进行滤波,得到早期反射声信号;利用所述多个全通滤波器对第一输入信号进行相移,得到后期反射声信号;根据所述输入声信号和所述后期反射声信号,得到所述输入声信号对应的输出声信号,其中,所述第一输入信号为所述早期反射声信号或根据所述早期反射声信号得到。Preprocessing the input acoustic signal to obtain a first acoustic signal; using the multiple comb filters to filter the first acoustic signal respectively to obtain an early reflected acoustic signal; using the multiple all-pass filters to filter the first input acoustic signal The signal is phase-shifted to obtain a later reflected acoustic signal; according to the input acoustic signal and the later reflected acoustic signal, an output acoustic signal corresponding to the input acoustic signal is obtained, wherein the first input signal is the early reflection The acoustic signal may be obtained from the early reflected acoustic signal.
可以理解的,上述处理器901,还用于利用所述多个梳状滤波器分别对第一声信号进行滤波,得到多个延时衰减声信号,所述多个延时衰减声信号的信号延时和信号衰减不同;将所述多个延时衰减声信号相加,得到所述早期反射声信号。It can be understood that the above processor 901 is further configured to filter the first acoustic signal by using the multiple comb filters to obtain multiple delayed attenuated acoustic signals, the multiple delayed attenuated acoustic signals. The delay and signal attenuation are different; the multiple delayed attenuated acoustic signals are added to obtain the early reflected acoustic signal.
可以理解的,上述处理器901,还用于对所述后期反射声信号进行滤波和声音控制,得到反馈信号;将所述反馈信号与所述早期反射声信号进行信号相加,得到所述第一输入信号;利用所述多个全通滤波器,对所述第一输入信号进行相移,得到所述后期反射声信号。It can be understood that the above-mentioned processor 901 is also used to filter and soundly control the late reflected sound signal to obtain a feedback signal; and add the feedback signal and the early reflected sound signal to obtain the first reflected sound signal. an input signal; using the plurality of all-pass filters to phase-shift the first input signal to obtain the later reflected sound signal.
本申请实施例提供一种存储介质,其上存储有计算机程序,上述计算机可读存储介质存储有一个或者多个程序,上述一个或者多个程序可被一个或者多个处理器执行,应用于电子设备中,该计算机程序实现如上述的声场扩展方法。An embodiment of the present application provides a storage medium on which a computer program is stored, the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors, and is applied to electronic In the device, the computer program implements the sound field expansion method as described above.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还 包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台图像显示设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present disclosure can be embodied in the form of software products in essence or the parts that make contributions to related technologies. The computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) ), including several instructions for causing an image display device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present disclosure.
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the protection scope of the present application.

Claims (20)

  1. 一种声场扩展电路,所述声场扩展电路包括:早期反射声电路和后期反射声电路;A sound field expansion circuit, the sound field expansion circuit comprises: an early reflected sound circuit and a late reflected sound circuit;
    所述早期反射声电路包括并联的多个梳状滤波器,所述多个梳状滤波器的增益不同;The early reflected sound circuit includes a plurality of comb filters connected in parallel, and the gains of the plurality of comb filters are different;
    所述后期反射声电路与所述早期反射声电路的输出端连接,所述后期反射声电路包括全通滤波器电路,所述全通滤波器电路包括串联的多个全通滤波器;The late reflected sound circuit is connected to the output end of the early reflected sound circuit, the late reflected sound circuit includes an all-pass filter circuit, and the all-pass filter circuit includes a plurality of all-pass filters connected in series;
    所述早期反射声电路,用于利用所述多个梳状滤波器分别对第一声信号进行滤波,得到早期反射声信号,所述第一声信号根据输入声信号得到;The early reflected sound circuit is used to filter the first sound signal by using the plurality of comb filters to obtain the early reflected sound signal, and the first sound signal is obtained according to the input sound signal;
    所述后期反射声电路,用于利用所述多个全通滤波器对第一输入信号进行相移,得到后期反射声信号,以根据所述输入声信号和所述后期反射声信号,得到输出声信号,其中,所述第一输入信号为所述早期反射声信号或根据所述早期反射声信号得到。The late-stage reflected sound circuit is used to phase-shift the first input signal by using the plurality of all-pass filters to obtain a late-stage reflected sound signal, so as to obtain an output according to the input sound signal and the late-stage reflected sound signal An acoustic signal, wherein the first input signal is the early reflected acoustic signal or is obtained from the early reflected acoustic signal.
  2. 根据权利要求1所述的电路,其中,所述后期反射声电路还包括:第一加法器、低通反馈电路;所述第一加法器的第一输入端与所述早期反射声电路的输出端连接,所述第一加法器的第二输入端与所述低通反馈电路的输出端连接,所述第一加法器的输出端与所述全通滤波器电路的输入端连接,所述全通滤波器电路的输出端与所述低通反馈电路的输入端连接;The circuit according to claim 1, wherein the late reflected sound circuit further comprises: a first adder and a low-pass feedback circuit; the first input end of the first adder and the output of the early reflected sound circuit The second input end of the first adder is connected to the output end of the low-pass feedback circuit, the output end of the first adder is connected to the input end of the all-pass filter circuit, and the The output end of the all-pass filter circuit is connected with the input end of the low-pass feedback circuit;
    所述低通反馈电路,用于对所述后期反射声信号进行滤波和声音控制,得到反馈信号,并将所述反馈信号传输至所述第一加法器的第二输入端;The low-pass feedback circuit is used to filter and control the sound of the later reflected sound signal to obtain a feedback signal, and transmit the feedback signal to the second input end of the first adder;
    所述第一加法器,用于将所述反馈信号和所述早期反射声信号进行信号相加,得到所述第一输入信号;the first adder, configured to add the feedback signal and the early reflected sound signal to obtain the first input signal;
    所述多个全通滤波器,还用于对所述第一输入信号进行相移,得到所述后期反射声信号。The plurality of all-pass filters are also used for phase-shifting the first input signal to obtain the later reflected sound signal.
  3. 根据权利要求2所述的电路,其中,所述低通反馈电路包括低通滤波器和反馈增益放大器,所述低通滤波器的输入端与所述多个全通滤波器的输出端连接,所述低通滤波器的输出端与反馈增益放大器的输入端连接,所述反馈增益放大器的输出端与所述第一加法器的第二输入端连接;The circuit according to claim 2, wherein the low-pass feedback circuit comprises a low-pass filter and a feedback gain amplifier, the input terminal of the low-pass filter is connected to the output terminal of the plurality of all-pass filters, The output end of the low-pass filter is connected to the input end of the feedback gain amplifier, and the output end of the feedback gain amplifier is connected to the second input end of the first adder;
    所述低通滤波器,用于对所述后期反射声信号进行滤波,得到第一滤波声信号,所述第一滤波声信号的高频声衰减大于低频声衰减;The low-pass filter is used to filter the late-stage reflected acoustic signal to obtain a first filtered acoustic signal, wherein the high-frequency sound attenuation of the first filtered acoustic signal is greater than the low-frequency sound attenuation;
    所述反馈增益放大器,用于对所述第一滤波声信号进行声音控制,得到所述反馈信号。The feedback gain amplifier is used for performing sound control on the first filtered sound signal to obtain the feedback signal.
  4. 根据权利要求1所述的电路,其中,所述早期反射声电路还包括:多个增益放大器和第二加法器,所述多个增益放大器与所述多个梳状滤波器一一对应,每一个增益放大器的输入端分别与对应的梳状滤波器的输出端串联,所述多个增益放大器的增益取值不同,所述多个增益放大器的输出端与所述第二加法器连接;The circuit according to claim 1, wherein the early reflected sound circuit further comprises: a plurality of gain amplifiers and a second adder, the plurality of gain amplifiers and the plurality of comb filters are in one-to-one correspondence, each The input ends of one gain amplifier are respectively connected in series with the output ends of the corresponding comb filters, the gain values of the multiple gain amplifiers are different, and the output ends of the multiple gain amplifiers are connected to the second adder;
    所述多个梳状滤波器和所述多个增益放大器,用于对所述第一声信号分别进行滤波和信号增益,得到多个延时衰减声信号,所述多个延时衰减声信号的信号延时和信号衰减不同;The plurality of comb filters and the plurality of gain amplifiers are used for filtering and signal gain respectively for the first acoustic signal to obtain a plurality of delayed attenuated acoustic signals, the plurality of delayed attenuated acoustic signals The signal delay and signal attenuation are different;
    所述第二加法器,用于将所述多个延时衰减声信号相加,得到所述早期反射声信号。The second adder is configured to add the plurality of delayed attenuated acoustic signals to obtain the early reflected acoustic signals.
  5. 根据权利要求1-4任一项所述的电路,其中,所述梳状滤波器的信号延时大于所述全通滤波器的信号延时。The circuit according to any one of claims 1-4, wherein the signal delay of the comb filter is greater than the signal delay of the all-pass filter.
  6. 根据权利要求1所述的电路,其中,所述梳状滤波器包括第三加法器、第一延时器、第一反馈增益放大器和第一低通滤波器,其中,所述第一低通滤波器由第二延时器、第一增益放大器和第四加法器组成;The circuit of claim 1, wherein the comb filter includes a third summer, a first delay, a first feedback gain amplifier, and a first low-pass filter, wherein the first low-pass The filter consists of a second delayer, a first gain amplifier and a fourth adder;
    所述第三加法器的第一输入端连接所述梳状滤波器的输入,所述第一加法器的输出端连接所述第一延时器的输入端,所述第一延时器的输出端连接所述梳状滤波器的输出端和所述第四加法器的第一输入端,所述第四加法器的第二输入端连接所述第一增益放大器的输出端,所述第一增益放大器的输入端连接所述第二延时器的输出端,所述第二延时器的输入端和所述第四加法器的输出端连接所述第一反馈增益放大器的输入端,所述第一反馈增益放大器的输出端与所述第三加法器的第二输入端连接。The first input end of the third adder is connected to the input of the comb filter, the output end of the first adder is connected to the input end of the first delay device, and the output end of the first delay device is connected to the input end of the first delay device. The output end is connected to the output end of the comb filter and the first input end of the fourth adder, the second input end of the fourth adder is connected to the output end of the first gain amplifier, and the second input end of the fourth adder is connected to the output end of the first gain amplifier. The input end of a gain amplifier is connected to the output end of the second delay device, the input end of the second delay device and the output end of the fourth adder are connected to the input end of the first feedback gain amplifier, The output terminal of the first feedback gain amplifier is connected to the second input terminal of the third adder.
  7. 根据权利要求1所述的电路,其中,所述全通滤波器包括:第五加法器、第三延时器、第六加法器、第二增益放大器、第三增益放大器和第二反馈增益放大器;The circuit of claim 1, wherein the all-pass filter comprises: a fifth adder, a third delay, a sixth adder, a second gain amplifier, a third gain amplifier, and a second feedback gain amplifier ;
    所述第五加法器的第一输入端连接所述全通滤波器的输入,所述第五加法器的输出端分别连接所述第三延时器的输入端和所述第二增益放大器的输入端,所述第三延时器的输出端分别连接所述第三增益放大器的输入端和第二反馈增益放大器的输入端,所述第三增益放大器的输出端和所述第二增益放大器的输出端连接所述第六加法器的输入端,所述第二反馈增益放大器的输出端连接所述第五加法器的第二输入端,所述第六加法器的输出端连接全通滤波器的输出。The first input end of the fifth adder is connected to the input of the all-pass filter, and the output end of the fifth adder is respectively connected to the input end of the third delayer and the output end of the second gain amplifier. input end, the output end of the third delay device is respectively connected to the input end of the third gain amplifier and the input end of the second feedback gain amplifier, the output end of the third gain amplifier and the second gain amplifier The output end is connected to the input end of the sixth adder, the output end of the second feedback gain amplifier is connected to the second input end of the fifth adder, and the output end of the sixth adder is connected to the all-pass filter output of the device.
  8. 根据权利要求3或6所述的电路,其中,所述低通滤波器为无线脉冲响应IIR低通滤波器。The circuit of claim 3 or 6, wherein the low-pass filter is a wireless impulse response IIR low-pass filter.
  9. 一种电子设备,所述电子设备包括:左声道输入端、右声道输入端、声场预处理电路、左声道声场扩展电路、右声道声场扩展电路、左声道输出电路和右声道输出电路,所述左声道声场扩展电路和所述右声道声场扩展电路与权利要求1-8任一项所述的电路相同;其中,An electronic device comprising: a left channel input end, a right channel input end, a sound field preprocessing circuit, a left channel sound field expansion circuit, a right channel sound field expansion circuit, a left channel output circuit and a right channel channel output circuit, the left channel sound field expansion circuit and the right channel sound field expansion circuit are the same as the circuit described in any one of claims 1-8; wherein,
    所述左声道输入端和所述右声道输入端分别与所述声场预处理电路的输入端连接,所述声场预处理电路的输出端分别与所述左声道声场扩展电路的输入端和所述右声道声场扩展电路的输入端连接,所述左声道声场扩展电路的输出端和所述左声道输入端分别与所述左声道输出电路的输入端连接,所述右声道声场扩展电路的输出端和所述右声道输入端分别与所述右声道输出电路的输入端连接;The left channel input terminal and the right channel input terminal are respectively connected with the input terminal of the sound field preprocessing circuit, and the output terminal of the sound field preprocessing circuit is respectively connected with the input terminal of the left channel sound field expansion circuit. It is connected with the input end of the right channel sound field expansion circuit, the output end of the left channel sound field expansion circuit and the left channel input end are respectively connected with the input end of the left channel output circuit, and the right channel sound field expansion circuit is connected with the input end of the left channel output circuit. The output end of the channel sound field expansion circuit and the right channel input end are respectively connected with the input end of the right channel output circuit;
    所述左声道输入端用于输入左声道输入声信号,所述右声道输入端用于输入右声道输入声信号;The left channel input terminal is used for inputting the left channel input sound signal, and the right channel input terminal is used for inputting the right channel input sound signal;
    所述声信号预处理电路,用于对所述左声道输入信号和所述右声道输入信号进行预处理,得到所述第一声信号;the acoustic signal preprocessing circuit, configured to preprocess the left channel input signal and the right channel input signal to obtain the first acoustic signal;
    所述左声道声场扩展电路,用于对所述第一声信号进行处理,得到左声道后期反射声信号;The left channel sound field expansion circuit is used for processing the first sound signal to obtain the left channel late reflection sound signal;
    所述左声道输出电路,用于将所述左声道输入声信号和所述左声道后期反射声信号进行处理,得到左声道输出声信号;The left channel output circuit is used for processing the left channel input sound signal and the left channel late reflection sound signal to obtain the left channel output sound signal;
    所述右声道声场扩展电路,用于对所述第一声信号进行处理,得到右声道后期反射声信号;The right channel sound field expansion circuit is used for processing the first sound signal to obtain the right channel late reflected sound signal;
    所述右声道输出电路,用于将所述右声道输入声信号和所述右声道后期反射声信号进行处理,得到右声道输出声信号。The right channel output circuit is used for processing the right channel input sound signal and the right channel post-reflection sound signal to obtain a right channel output sound signal.
  10. 根据权利要求9所述的电子设备,其中,所述左声道声场扩展电路包括左声道早期反射声电路和左声道后期反射声电路,所述右声道声场扩展电路包括右声道早期反射声电路和右声道后期反射声电路,其中,所述左声道早期反射声电路和所述右声道早期反射声电路与权利要求1-8任一项所述的早期反射声电路相同;所述左声道后期反射声电路和所述右声道后期反射声电路与权利要求1-8任一项所述的后期反射声电路相同;The electronic device according to claim 9, wherein the left channel sound field expansion circuit comprises a left channel early reflection sound circuit and a left channel late reflection sound circuit, and the right channel sound field expansion circuit comprises a right channel early reflection sound circuit A reflected sound circuit and a right channel late reflected sound circuit, wherein the left channel early reflected sound circuit and the right channel early reflected sound circuit are the same as the early reflected sound circuit described in any one of claims 1-8 ; Described left channel late stage reflected sound circuit and described right channel late stage reflected sound circuit are identical with the late stage reflected sound circuit described in any one of claims 1-8;
    所述左声道早期反射声电路的输出端与所述左声道后期反射声电路的输入端连接;所述右声道早期反射声电路的输出端与所述右声道后期反射声电路的输入端连接。The output end of the left channel early reflected sound circuit is connected with the input end of the left channel late reflected sound circuit; the output end of the right channel early reflected sound circuit is connected to the output end of the right channel late reflected sound circuit. input connection.
  11. 根据权利要求9所述的电子设备,其中,所述电子设备还包括:通信模块、左声道扬声器和右声道扬声器;所述通信模块与所述左声道输入端和所述右声道输入端连接,所述左声道输出电路的输出端与所述左声道扬声器连接,所述右声道输出电路的输出端与所述右声道扬声器连接;The electronic device according to claim 9, wherein the electronic device further comprises: a communication module, a left channel speaker and a right channel speaker; the communication module is connected to the left channel input terminal and the right channel the input end is connected, the output end of the left channel output circuit is connected with the left channel speaker, and the output end of the right channel output circuit is connected with the right channel speaker;
    所述通信模块,用于接收音频数据,并将音频数据分离成所述左声道输入声信号和所述右声道输入声信号;the communication module for receiving audio data and separating the audio data into the left channel input sound signal and the right channel input sound signal;
    所述左声道扬声器,用于播放所述左声道输出声信号,所述右声道扬声器,用于播放所述右声道输出声信号。The left channel speaker is used for playing the left channel output sound signal, and the right channel speaker is used for playing the right channel output sound signal.
  12. 一种声场扩展方法,应用于所述声场扩展电路,所述声场扩展电路包括:由并联的多个梳状滤波器组成的早期反射声电路和与所述早期反射声电路输出端连接的后期反射声电路,所述后期反射声电路由串联的多个全通滤波器组成,所述方法还包括:A sound field expansion method, applied to the sound field expansion circuit, the sound field expansion circuit comprising: an early reflection sound circuit composed of a plurality of comb filters connected in parallel and a late reflection sound circuit connected to an output end of the early reflection sound circuit The acoustic circuit, the late reflected acoustic circuit is composed of a plurality of all-pass filters connected in series, and the method further includes:
    对输入声信号进行预处理得到第一声信号;Preprocessing the input acoustic signal to obtain a first acoustic signal;
    利用所述多个梳状滤波器分别对第一声信号进行滤波,得到早期反射声信号;Filter the first acoustic signal by using the plurality of comb filters to obtain an early reflected acoustic signal;
    利用所述多个全通滤波器对第一输入信号进行相移,得到后期反射声信号,其中,所述第一输入信号为所述早期反射声信号或根据所述早期反射声信号得到;Phase-shift the first input signal by using the plurality of all-pass filters to obtain a later reflected sound signal, wherein the first input signal is the early reflected sound signal or obtained according to the early reflected sound signal;
    根据所述输入声信号和所述后期反射声信号,得到所述输入声信号对应的输出声信号。According to the input acoustic signal and the later reflected acoustic signal, an output acoustic signal corresponding to the input acoustic signal is obtained.
  13. 根据权利要求12所述的方法,其中,所述利用多个梳状滤波器分别对第一声信号进行 滤波,得到早期反射声信号,包括:The method according to claim 12, wherein, the described utilizing a plurality of comb filters to filter the first acoustic signal respectively to obtain an early reflected acoustic signal, comprising:
    利用所述多个梳状滤波器分别对第一声信号进行滤波,得到多个延时衰减声信号,所述多个延时衰减声信号的信号延时和信号衰减不同;Using the plurality of comb filters to filter the first acoustic signal, respectively, to obtain a plurality of time-delayed attenuated acoustic signals, the signal delay and signal attenuation of the plurality of time-delayed attenuated acoustic signals are different;
    将所述多个延时衰减声信号相加,得到所述早期反射声信号。The multiple delayed attenuated acoustic signals are added to obtain the early reflected acoustic signals.
  14. 根据权利要求12所述的方法,其中,所述利用多个全通滤波器对第一输入信号进行相移,得到后期反射声信号,包括:The method according to claim 12, wherein the phase-shifting the first input signal by using a plurality of all-pass filters to obtain a later reflected acoustic signal comprises:
    对所述后期反射声信号进行滤波和声音控制,得到反馈信号;Perform filtering and sound control on the later reflected sound signal to obtain a feedback signal;
    将所述反馈信号与所述早期反射声信号进行信号相加,得到所述第一输入信号;adding the feedback signal and the early reflected sound signal to obtain the first input signal;
    利用所述多个全通滤波器,对所述第一输入信号进行相移,得到所述后期反射声信号。Using the plurality of all-pass filters, phase-shift the first input signal to obtain the late-stage reflected acoustic signal.
  15. 根据权利要求12所述的方法,其中,所述输入声信号包括:左声道输入声信号和右声道输入声信号;所述对输入声信号进行预处理得到第一声信号,包括:The method according to claim 12, wherein the input sound signal comprises: a left channel input sound signal and a right channel input sound signal; the preprocessing of the input sound signal to obtain the first sound signal comprises:
    将所述左声道输入声信号和所述右声道输入声信号进行信号相加或信号相减、缩小操作,得到所述第一声信号。The first sound signal is obtained by performing signal addition or signal subtraction and reduction operations on the left channel input sound signal and the right channel input sound signal.
  16. 一种电子设备,所述电子设备包括:处理器、存储器及通信总线;所述处理器执行存储器存储的运行程序时执行以下方法:An electronic device, the electronic device comprises: a processor, a memory and a communication bus; the processor executes the following method when executing a running program stored in the memory:
    对输入声信号进行预处理得到第一声信号;Preprocessing the input acoustic signal to obtain a first acoustic signal;
    利用所述多个梳状滤波器分别对第一声信号进行滤波,得到早期反射声信号;Filter the first acoustic signal by using the plurality of comb filters to obtain an early reflected acoustic signal;
    利用所述多个全通滤波器对第一输入信号进行相移,得到后期反射声信号,其中,所述第一输入信号为所述早期反射声信号或根据所述早期反射声信号得到;Phase-shift the first input signal by using the plurality of all-pass filters to obtain a later reflected sound signal, wherein the first input signal is the early reflected sound signal or obtained according to the early reflected sound signal;
    根据所述输入声信号和所述后期反射声信号,得到所述输入声信号对应的输出声信号。According to the input acoustic signal and the later reflected acoustic signal, an output acoustic signal corresponding to the input acoustic signal is obtained.
  17. 根据权利要求16所述的电子设备,其中,The electronic device of claim 16, wherein,
    所述处理器,还用于利用所述多个梳状滤波器分别对第一声信号进行滤波,得到多个延时衰减声信号,所述多个延时衰减声信号的信号延时和信号衰减不同;将所述多个延时衰减声信号相加,得到所述早期反射声信号。The processor is further configured to filter the first acoustic signal by using the multiple comb filters to obtain multiple delayed attenuated acoustic signals, the signal delay sum of the multiple delayed attenuated acoustic signals The attenuation is different; the multiple delayed attenuated acoustic signals are added to obtain the early reflected acoustic signal.
  18. 根据权利要求16所述的电子设备,其中,The electronic device of claim 16, wherein,
    所述处理器,还用于对所述后期反射声信号进行滤波和声音控制,得到反馈信号;将所述反馈信号与所述早期反射声信号进行信号相加,得到所述第一输入信号;利用所述多个全通滤波器,对所述第一输入信号进行相移,得到所述后期反射声信号。The processor is further configured to filter and soundly control the late reflected sound signal to obtain a feedback signal; and add the feedback signal and the early reflected sound signal to obtain the first input signal; The first input signal is phase-shifted by using the plurality of all-pass filters to obtain the later reflected acoustic signal.
  19. 根据权利要求16所述的电子设备,其中,所述输入声信号包括:左声道输入声信号和右声道输入声信号;The electronic device according to claim 16, wherein the input acoustic signal comprises: a left channel input acoustic signal and a right channel input acoustic signal;
    所述处理器,还用于将所述左声道输入声信号和所述右声道输入声信号进行信号相加或信号相减、缩小操作,得到所述第一声信号。The processor is further configured to perform signal addition or signal subtraction and reduction operations on the left channel input sound signal and the right channel input sound signal to obtain the first sound signal.
  20. 一种存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如权利要求12-15任一项所述的方法。A storage medium having a computer program stored thereon, the computer program implementing the method according to any one of claims 12-15 when executed by a processor.
PCT/CN2021/110236 2020-09-03 2021-08-03 Sound field expansion method and circuit, electronic device, and storage medium WO2022048376A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010917416.5A CN112153535B (en) 2020-09-03 2020-09-03 Sound field expansion method, circuit, electronic equipment and storage medium
CN202010917416.5 2020-09-03

Publications (1)

Publication Number Publication Date
WO2022048376A1 true WO2022048376A1 (en) 2022-03-10

Family

ID=73890679

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/110236 WO2022048376A1 (en) 2020-09-03 2021-08-03 Sound field expansion method and circuit, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN112153535B (en)
WO (1) WO2022048376A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112153535B (en) * 2020-09-03 2022-04-08 Oppo广东移动通信有限公司 Sound field expansion method, circuit, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1475996A1 (en) * 2003-05-06 2004-11-10 Harman Becker Automotive Systems (Straubing Devision) GmbH Stereo audio-signal processing system
CN106875953A (en) * 2017-01-11 2017-06-20 深圳市创成微电子有限公司 Simulation remixed audio processing method and system
CN108632714A (en) * 2017-03-23 2018-10-09 展讯通信(上海)有限公司 Sound processing method, device and the mobile terminal of loud speaker
CN110087168A (en) * 2019-05-06 2019-08-02 浙江齐聚科技有限公司 Audio reverberation processing method, device, equipment and storage medium
CN112153535A (en) * 2020-09-03 2020-12-29 Oppo(重庆)智能科技有限公司 Sound field expansion method, circuit, electronic equipment and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09222886A (en) * 1996-02-16 1997-08-26 Kawai Musical Instr Mfg Co Ltd Reflected sound and reverberation sound device
US6091824A (en) * 1997-09-26 2000-07-18 Crystal Semiconductor Corporation Reduced-memory early reflection and reverberation simulator and method
JP2000069599A (en) * 1998-08-24 2000-03-03 Victor Co Of Japan Ltd Reverberation sound generating device and method therefor
JP4867914B2 (en) * 2004-03-01 2012-02-01 ドルビー ラボラトリーズ ライセンシング コーポレイション Multi-channel audio coding
US8036394B1 (en) * 2005-02-28 2011-10-11 Texas Instruments Incorporated Audio bandwidth expansion
US8340304B2 (en) * 2005-10-01 2012-12-25 Samsung Electronics Co., Ltd. Method and apparatus to generate spatial sound
KR100636251B1 (en) * 2005-10-01 2006-10-19 삼성전자주식회사 Method and apparatus for spatial stereo sound
SG135058A1 (en) * 2006-02-14 2007-09-28 St Microelectronics Asia Digital audio signal processing method and system for generating and controlling digital reverberations for audio signals
CN101014209B (en) * 2007-01-19 2011-06-01 电子科技大学 Full band natural sound effect audio directional loudspeaker
CN105516881B (en) * 2015-12-03 2017-08-04 珠海全志科技股份有限公司 Earphone virtual circulating sound signal processing method, apparatus and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1475996A1 (en) * 2003-05-06 2004-11-10 Harman Becker Automotive Systems (Straubing Devision) GmbH Stereo audio-signal processing system
CN106875953A (en) * 2017-01-11 2017-06-20 深圳市创成微电子有限公司 Simulation remixed audio processing method and system
CN108632714A (en) * 2017-03-23 2018-10-09 展讯通信(上海)有限公司 Sound processing method, device and the mobile terminal of loud speaker
CN110087168A (en) * 2019-05-06 2019-08-02 浙江齐聚科技有限公司 Audio reverberation processing method, device, equipment and storage medium
CN112153535A (en) * 2020-09-03 2020-12-29 Oppo(重庆)智能科技有限公司 Sound field expansion method, circuit, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112153535B (en) 2022-04-08
CN112153535A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
KR101183127B1 (en) A Method for Modifying a Stereo Input and a Sound Reproduction System
US7613305B2 (en) Method for treating an electric sound signal
JP2008058984A5 (en)
Peled et al. Method for dereverberation and noise reduction using spherical microphone arrays
RU2017119648A (en) DEVICE AND METHOD FOR OUTPUT SIGNALS GENERATION BASED ON THE AUDIO SOURCE, AUDIO PLAYBACK SYSTEM AND SPEAKER SIGNAL
JP5816072B2 (en) Speaker array for virtual surround rendering
CN106875953B (en) Method and system for processing analog mixed sound audio
US20090319066A1 (en) Audio reproducing apparatus
JP2011530955A (en) Sound field expansion and phase decorrelation system and method
US9747889B2 (en) Reverberant sound adding apparatus, reverberant sound adding method, and reverberant sound adding program
JP6947936B2 (en) Subband spatial processing and crosstalk cancellation system for conferences
WO2009005692A1 (en) Apparatus and method for artificial reverberation
WO2022048376A1 (en) Sound field expansion method and circuit, electronic device, and storage medium
JP2022538017A (en) Bass management in audio systems
WO2017121245A1 (en) Method for achieving surround sound, electronic device, and storage medium
US20080285768A1 (en) Method and System for Modifying and Audio Signal, and Filter System for Modifying an Electrical Signal
TWI245258B (en) Method and related apparatus for generating audio reverberation effect
CN102708870B (en) Real-time fast convolution system based on long impulse response
CN101278597A (en) Method and apparatus to generate spatial sound
WO2014203496A1 (en) Audio signal processing apparatus and audio signal processing method
TWI246866B (en) Method and device for digital audio signal processing
JP2001128299A (en) Signal processor, and headphone system and loudspeaker system each using the processor
JPWO2019241754A5 (en)
CN117176108A (en) Implementation method of multiple filtering system for loudspeaker array and related device
JP3918808B2 (en) Audio signal effect applying method, audio signal effect applying device, and program

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: 21863444

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: 21863444

Country of ref document: EP

Kind code of ref document: A1