CN116193322A - Audio processing circuit, method, electronic device and storage medium - Google Patents

Audio processing circuit, method, electronic device and storage medium Download PDF

Info

Publication number
CN116193322A
CN116193322A CN202310457232.9A CN202310457232A CN116193322A CN 116193322 A CN116193322 A CN 116193322A CN 202310457232 A CN202310457232 A CN 202310457232A CN 116193322 A CN116193322 A CN 116193322A
Authority
CN
China
Prior art keywords
output
signal
mixer
filter
channel signals
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310457232.9A
Other languages
Chinese (zh)
Other versions
CN116193322B (en
Inventor
严漪澜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Semidrive Technology Co Ltd
Original Assignee
Nanjing Semidrive Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Semidrive Technology Co Ltd filed Critical Nanjing Semidrive Technology Co Ltd
Priority to CN202310457232.9A priority Critical patent/CN116193322B/en
Publication of CN116193322A publication Critical patent/CN116193322A/en
Application granted granted Critical
Publication of CN116193322B publication Critical patent/CN116193322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Stereophonic System (AREA)
  • Signal Processing Not Specific To The Method Of Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

The application discloses an audio processing circuit, an audio processing method, electronic equipment and a storage medium, wherein the input end of a first mixer in the circuit is connected with the output end of a delay device in the circuit, the input end of the delay device is connected with the output end of the first mixer, and the input end of a second mixer in the circuit is connected with the output end of the first mixer; the first mixer mixes the M channel signals to be output and outputs a first mixed signal; the delayer delays the first mixed signal and outputs a first delayed signal; the first mixer also mixes the first delay signal and the M channel signals to be output and outputs a second mixed signal; the second mixer respectively mixes the second mixed signal with the M channel signals to be output and outputs M target channel signals; the audio output effect produced by the M target channel signals is substantially greater than the audio output effect produced by the M channel signals to be output.

Description

Audio processing circuit, method, electronic device and storage medium
Technical Field
The present disclosure relates to the field of audio, and in particular, to an audio processing circuit, an audio processing method, an electronic device, and a storage medium.
Background
In the related art, in a device having an audio output function, most of the channels are mixed according to gains set in advance for one or more channels (including mono, bi, tri, etc.), thereby obtaining output audio of the device. The audio output in this way is tedious in output effect (sound effect) and tends to be unsatisfactory.
Moreover, with the increase of living standard, the requirements of people on the output sound effect of audio frequency are also increased. How to improve the audio output effect so as to improve the hearing experience of the user becomes a technical problem to be solved urgently.
Disclosure of Invention
The application provides an audio processing circuit, an audio processing method, electronic equipment and a storage medium, which are used for at least solving the technical problems in the prior art.
According to a first aspect of the present application, there is provided an audio processing circuit, including a first mixer, a second mixer, and a delay, where an input end of the first mixer is connected to an output end of the delay, an input end of the delay is connected to an output end of the first mixer, and an input end of the second mixer is connected to an output end of the first mixer;
The first mixer is used for carrying out mixing processing on M channel signals to be output and outputting a first mixing signal; wherein M is a positive integer greater than or equal to 1;
the delayer is used for carrying out delay processing on the first audio mixing signal and outputting a first delay signal;
the first mixer is further configured to mix the first delay signal and M channel signals to be output, and output a second mixed signal;
the second mixer is configured to mix the second mix signal with M channel signals to be output, and output M target channel signals;
the audio output effect generated by the M target channel signals is obvious to that generated by the M channel signals to be output.
In an embodiment, the audio processing circuit further includes a first filter, an input end of the first filter is connected to the output end of the delay, and an output end of the first filter is connected to the input end of the first mixer;
the first filter is used for filtering the first delay signal and outputting a first filtering signal;
the first mixer is configured to mix the first filtered signal and the M channel signals to be output, and output a second mixed signal.
In an embodiment, the audio processing circuit further includes a second filter, an input of the second filter is connected to the output of the first filter, and an output of the second filter is connected to the input of the first mixer;
the second filter is used for filtering the first filtering signal and outputting a second filtering signal;
the first filter and the second filter are used for filtering different frequency signals in the first delay signal;
the first mixer is configured to mix the second filtered signal and the M channel signals to be output, and output a second mixed signal.
In an embodiment, the first mixer is further configured to output the first mixed signal to the second mixer; the second mixer is configured to mix the first mixing signal, the second mixing signal, and each channel signal to be output of the M channel signals to be output, so as to obtain M target channel signals.
In an embodiment, the delayer is configured to delay the first mixed signal according to a preset delay time; wherein the predetermined delay time is one of 100 microseconds (us) to 1 millisecond (ms).
In an embodiment, the first filter is configured to filter the first delayed signal according to a cutoff frequency of the first filter; wherein the cutoff frequency of the first filter is one of 100 hertz (Hz) to 300 Hz.
In an embodiment, the second filter is configured to filter the first filtered signal according to a cutoff frequency of the second filter; wherein the cutoff frequency of the second filter is one of 10000Hz to 15000 Hz.
According to a second aspect of the present application, there is provided an audio processing method comprising:
mixing the M channel signals to be output to obtain a first mixed signal; wherein M is a positive integer greater than or equal to 1;
performing delay processing on the first mixed signal to obtain a first delay signal;
mixing the first delay signals and M channel signals to be output to obtain second mixed signals;
respectively carrying out audio mixing processing on the second audio mixing signals and M channel signals to be output to obtain M target channel signals;
the output effect generated by the M target channel signals is obvious to the output effect generated by the M channel signals to be output.
According to a third aspect of the present application, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the methods described herein.
According to a fourth aspect of the present application, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method described herein.
In the method, the scheme that the final audio is output after the second audio mixing signal and the original channel signal obtained by extraction are subjected to audio mixing processing can prolong the tail audio of the audio, so that the audio achieves the effect of surrounding output, and good hearing experience is brought to users.
It should be understood that the description of this section is not intended to identify key or critical features of the embodiments of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
The above, as well as additional purposes, features, and advantages of exemplary embodiments of the present application will become readily apparent from the following detailed description when read in conjunction with the accompanying drawings. Several embodiments of the present application are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings, in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Fig. 1 shows a schematic diagram of a circuit configuration of an audio processing circuit in an embodiment of the present application;
fig. 2 shows a second schematic diagram of a circuit configuration of an audio processing circuit in an embodiment of the present application;
fig. 3 shows a third schematic diagram of the circuit configuration of the audio processing circuit in the embodiment of the present application;
fig. 4 is a schematic flowchart of an implementation of an audio processing method in an embodiment of the present application;
fig. 5 shows a schematic diagram of the composition structure of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the present application more obvious and understandable, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail with reference to the accompanying drawings, and the described embodiments should not be construed as limiting the present application, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
In the following description, the terms "first", "second", and the like are merely used to distinguish between similar objects and do not represent a particular ordering of the objects, it being understood that the "first", "second", or the like may be interchanged with a particular order or precedence, as permitted, to enable embodiments of the present application described herein to be implemented in an order other than that illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the present application.
It should be understood that, in various embodiments of the present application, the size of the sequence number of each implementation process does not mean that the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
The audio processing circuit and the audio processing method can be applied to any equipment needing audio output. The device includes an electronic device and a driving device. The electronic equipment comprises a terminal and a server. The terminal comprises a smart phone, a tablet personal computer, a notebook computer, a desktop computer, a smart sound box, a smart watch and the like. The servers include ordinary servers, cloud servers, servers used in certain specific fields. The driving apparatus includes at least one of a private travel tool and a public travel tool. Wherein, private travel tools include, but are not limited to, balance cars, electric motorcycles, private automobiles, private airplanes, and the like. Common travel tools include, but are not limited to, buses, trains, subways, high-speed rails, airplanes, and the like. Preferably, the driving device is a private and/or bus.
The audio processing circuit of the present application can be seen in fig. 1. The audio processing circuit comprises a first mixer 11, a second mixer 12 and a delay 13. That is, the audio processing circuit includes two mixers and a delay. The structure of the audio processing circuit is simple and easy to implement in engineering.
In this application, the first mixer 11 includes at least two input terminals. A first of the at least two inputs is connected to an output of the delay 13. The number of remaining inputs of the at least two inputs other than the first input is consistent with the number of channels of audio to be processed. In the case where the channels of the audio to be processed are M, that is, the channel signals to be output are M, the number of remaining input terminals of the first mixer 11 is M. M is a positive integer greater than or equal to 1.
Illustratively, the audio to be processed is a binaural (m=2) signal, and the remaining inputs of the first mixer 11 are two, e.g., a second input and a third input. Wherein one of the two-channel signals is received via one of the second input and the third input. The other of the binaural signals is received via the other of the second input and the third input. If the audio to be processed is a mono signal, the remaining input of the first mixer 11 is one, e.g. the second input of the first mixer 11. The first mixer 11 receives a mono signal via a second input.
For convenience of explanation, fig. 1 to 3 each illustrate the present application by taking the channel signal to be output as a two-channel (left channel and right channel) as an example. In the case that the channel signal to be output is mono or tri-channel, please refer to understanding, and the description is omitted.
As shown in fig. 1, an input of the delay 13 is connected to an output of the first mixer 11. The input of the second mixer 12 is connected to the output of the first mixer 11. In the connection relationship shown in fig. 1, the functions of the realization of each of the mixers (including the first mixer 11 and the second mixer 12) and the delay 13 in the audio processing circuit are described below.
The first mixer 11 is configured to mix the M channel signals to be output and output a first mixed signal; wherein M is a positive integer greater than or equal to 1.
In practice, the first mixer 11 receives each of the M channel signals to be output through the remaining input, i.e., each of the M inputs. Mixing gains are set in advance for the signals of the channels to be output, such as-10 dB (decibel) or-5 dB. In the case where the channel signals to be output are input to the remaining input terminals of the first mixer 11, mixing of the M channel signals to be output is performed according to the mixing gains set for the respective channel signals to be output, to obtain a first mixed signal. The first mixed signal is delayed by a delay 13.
In practical application, if m=2, it is equivalent to the first mixer 11 that needs to mix the binaural signal, and the three-in-one mixer is used as the first mixer 11, only two input terminals need to be selected from the three input terminals in the three-in-one mixer, and the two input terminals need to be used as the input terminals of the binaural signal. If m=3, which corresponds to the first mixer 11, it is necessary to mix the three-channel signal, a four-in-one mixer may be used as the first mixer 11. As the case may be. The first mixer 11 outputs the first mixed signal obtained by mixing the audio signals through an output terminal.
In the case where the first mixer 11 outputs the first mixed signal to the delay 13, the delay 13 delays the first mixed signal and outputs a first delayed signal.
Here, the delay unit 13 may delay the first mixed signal by a preset delay time. The predetermined delay time is one of 100 microseconds (us) to 1 millisecond (ms).
It will be appreciated that an audio, if there is no delay processing, is output at the time it was output. In the present application, delay processing of audio is employed, which corresponds to outputting audio that is originally output at a certain time by one of 100us to 1 ms. In this way, compared with the scheme that the audio is output at the output time, the audio is output at the delay time of the output time, which is equivalent to the extension of the tail sound of the audio, and has the effects of tail sound extension, sound trembling, shaking and the like, so that the audio achieves the effect of surround output. And brings good hearing experience for users.
In fig. 1, the delay 13 outputs a first delay signal to the first mixer 11. The first mixer 11 is further configured to mix the first delayed signal and the M channel signals to be output and output a second mixed signal.
Here, the mixing gains are configured in advance for the first delay signal and the M channel signals to be output. In practice, these signals may be subjected to a mixing process according to a mixing gain configured for each of these signals to obtain a second mixed signal.
When the mixing gain is set, the mixing gains of the first delay signal and the M channel signals to be output can be set to be close, such as one of-10 dB to-2 dB. It is also possible to set the mixing gain of the first delay signal to be significantly larger than the mixing gains of the M channel signals to be output. For example, the mixing gain set for the first delayed signal is one of-2 dB to 2dB, and the mixing gain set for the channel signal to be output is-5 dB. Thus, the sound effect of the second mixed sound signal is more sound effect brought by the first delay signal with large mixed sound gain. In the case that the first delay signal can bring a surround sound effect, the second mix signal also has a surround sound effect.
In practical applications, if taking the channel signal to be output as a binaural signal as an example, the first mixer 11 needs to mix the binaural signal when receiving the binaural signal. In the case where the first delayed signal is received, it is necessary to mix the first delayed signal and the binaural signal. Thus, a three-in-one mixer can be used as the first mixer 11. Two input ends are selected from three input ends in the three-in-one mixer and used as input ends of the binaural signal. The remaining of the three inputs of the three-in-one mixer serve as ports for receiving the first delayed signal.
The first mixer 11 outputs the second mixed signal to the second mixer 12. The second mixer 12 is configured to mix the second mix signal with the M channel signals to be output, and output M target channel signals. It can be understood that if the channel signal to be output is regarded as an original channel signal, the first delayed signal is a signal returned to the first mixer 11 after the M original channel signals received by the first mixer 11 are processed by mixing, delay of the delay unit 13, and the like. The second mixed signal obtained by mixing the signal returned to the first mixer 11 and the M original channel signals again may be regarded as a reproduction signal.
In fig. 1, the aforementioned processing procedures of mixing of the first mixer 11, delay of the delay unit 13, remixing of the first mixer 11, and the like are regarded as extraction procedures. The circuit of the audio processing circuit constituted by the first mixer 11 and the delay 13 can be regarded as a reproduction circuit. If the channel signal to be output is regarded as an original channel signal, the audio processing circuit in the present application includes a circuit that can perform extraction of the original channel signal. The stoping circuit can enable the channel signals to be output after delay, and can ensure that the audio to be output has the surround effect of tail sound extension.
For the second mixer 12, in implementation, taking the channel signal to be output as a binaural signal as an example, the second mixing signal and the (original) left channel signal are subjected to mixing processing, so as to obtain a first target channel signal (left channel target signal). And mixing the second mixed signal and the (original) right channel signal to obtain a second target channel signal (right channel target signal).
In practical applications, the first target channel signal and the second target channel signal may be output through an audio output device, such as a speaker. For example, the first target channel signal and the second target channel signal are output through different speakers.
If the channel signal to be output is regarded as the original channel signal, compared with the scheme of directly outputting M original channel signals in the related art, the output signal has no loop output effect and is monotonous and tedious.
In the application, because of the presence of the extraction circuit, the extraction of the original channel signal can be realized, so that the second mixed signal is obtained. In the application, the scheme of mixing the second mixed signal and the M channel signals to be output to obtain M target channel signals and outputting the M target channel signals is a scheme of mixing the second mixed signal obtained by extraction and the original channel signals and outputting final audio. Because the stoping can enable the stoped signal to have the effect of delaying the audio tail sound, the stoping scheme of the application prolongs the tail sound of the audio, so that the audio achieves the effect of surrounding output, and good hearing experience is brought to users.
Therefore, in the present application, the audio output effect generated by the M target channel signals, such as the surround sound effect, is more remarkable than the audio output effect generated by the M channel signals to be output, such as the surround sound effect. In practical application, the output of M channel signals to be output does not bring about the audio surrounding effect, and in the application, any channel signal in the M target channel signals has the audio surrounding output effect because of the existence of the stoping circuit, so that the audio texture is improved, and the user experience is improved.
In the application, the audio processing circuit is used for processing the M channel signals to be output to obtain M target channel signals. Wherein, through the cooperation or cooperation among the first mixer 11, the second mixer 12, the delay 13 and other devices in the audio processing circuit, for example, through the delay processing of the delay 13 and the mixing processing of each mixer, the audio output effect of the surround sound effect generated by the M target channel signals can be obvious to the audio output effect of the surround sound effect generated by the M channel signals to be output.
In some embodiments, when the first mixer 11 outputs the first mixed signal to the delay 13, the first mixer 11 also outputs the first mixed signal to the second mixer 12. In this case, the scheme in which the second mixer 12 mixes the second mix signal with the M channel signals to be output and outputs the M target channel signals, respectively, becomes: the second mixer 12 is configured to mix the first mixing signal, the second mixing signal, and each of the M channel signals to be output, to obtain M target channel signals.
In implementation, taking a to-be-output channel signal as a binaural signal as an example, the first mixed signal, the second mixed signal and the original left channel signal are mixed to obtain a first target channel signal (left channel target signal). And mixing the first mixed signal, the second mixed signal and the original right channel signal to obtain a second target channel signal (right channel target signal). At least one of the first target channel signal and the second target channel signal may be output through a speaker, accompanied by a surround output effect.
It can be understood that the second mix signal is a stoped signal obtained by stoping the original channel signal, and has an effect of extending the audio tail, and the (first and second) target channel signals obtained by using such a signal can generate a surround sound effect, thereby improving the hearing experience of the user.
In some alternatives, as shown in fig. 2, the audio processing circuit further comprises a first filter 14. The input of the first filter 14 is connected to the output of the delay 13. The output of the first filter 14 is connected to a first input of the first mixer 11.
In the circuit shown in fig. 2, the first filter 14 is configured to filter the first delayed signal and output a first filtered signal. Accordingly, the first mixer 11 is configured to mix the first filtered signal and the M channel signals to be output, and output a second mixed signal.
In practical applications, the first filter 14 may be a high-pass filter or a low-pass filter, as shown in fig. 2. When the first filter 14 is a high-pass filter, the low-frequency signal in the first delayed signal is filtered, and other signals except the filtered low-frequency signal in the first delayed signal can be used as the first filtered signal. When the first filter 14 is a low-pass filter, the high-frequency signal in the first delayed signal is filtered, and other signals than the filtered high-frequency signal in the first delayed signal may be used as the first filtered signal.
In implementation, the first mixer 11 may perform mixing processing on the first filtered signal and the M channel signals to be output according to the mixing gains set for the first filtered signal and each channel signal to be output, to obtain a second mixed signal. The first mixer 11 outputs the second mixed signal to the second mixer 12. And the second mix signal is used as a reproduction signal obtained by reproducing the original channel signal in fig. 2.
It will be appreciated that, because the audio signal to be finally output after being processed by the audio processing circuit in the present application needs to be in a frequency range that can be listened to by the human ear, the listening experience is poor for the user. In the present application, the filtering of the too high or too low frequency that causes the poor listening experience in the first delayed signal can be achieved through the first filter 14, so that the stoping signal (the second mixing signal) with good listening experience can be obtained. Therefore, the user can listen to not only the audio frequency to be listened to, but also the enhanced surrounding effect of the audio, and the user experience is improved.
The process procedures of mixing of the first mixer 11, delay of the delay unit 13, remixing of the first mixer 11, and the like are regarded as different from the extraction procedure in fig. 1. In fig. 2, the processes of mixing of the first mixer 11, delay of the delay 13, filtering of the first filter 14, remixing of the first mixer 11, and the like are regarded as a stoping process. The second mixed signal is a stoping signal. The extraction circuit in fig. 2 includes a first mixer 11, a delay 13, and a first filter 14. The extraction circuit with the first filter 14 not only can hear the surrounding effect of the audio, but also can hear the pleasant and comfortable audio frequency, thereby greatly improving the user experience.
In some alternatives, as shown in fig. 3, the audio processing circuit includes a second filter 15 in addition to the first filter 14. In connection with the input of the second filter 15 is connected to the output of the first filter 14. The output of the second filter 15 is connected to a first input of the first mixer 11.
In the circuit shown in fig. 3, a second filter 15 is used to filter the first filtered signal and output a second filtered signal. Correspondingly, the first mixer 11 is configured to mix the second filtered signal and the M channel signals to be output, and output a second mixed signal.
It will be appreciated that in the circuit shown in fig. 3, the first filter 14 and the second filter 15 are two different types of filters for filtering different frequency signals in the first delayed signal. In practice, if the first filter 14 is a high pass filter, the second filter 15 is a low pass filter. If the first filter 14 is a low pass filter, the second filter 15 is a high pass filter.
Taking the first filter 14 as a high-pass filter and the second filter 15 as a low-pass filter as an example, the first filter 14 is configured to filter out low-frequency signals in the first delayed signals, and other signals except the filtered low-frequency signals in the first delayed signals may be used as the first filtered signals. And a second filter 15 for filtering out the high frequency signals in the first filtered signal, wherein the other signals except the filtered high frequency signals in the first filtered signal can be used as the second filtered signal. In addition, the first filter 14 may be a low-pass filter, and the second filter 15 may be a high-pass filter, similarly, see understanding, and not described in detail.
The process procedures of mixing of the first mixer 11, delay of the delay unit 13, remixing of the first mixer 11, and the like are regarded as different from the extraction procedure in fig. 1. In fig. 3, the processes of mixing of the first mixer 11, delay of the delay 13, filtering of the first filter 14 and the second filter 15, remixing of the first mixer 11, and the like are regarded as a stoping process. The second mixed signal is a stoping signal. The extraction circuit in fig. 3 includes a first mixer 11, a delay 13, a first filter 14, and a second filter 15. Such a stoping circuit with the first filter 14 and the second filter 15 can not only hear the surround effect of the audio. The high-frequency and low-frequency signals in the first delay signal can be filtered by the first filter 14 and the second filter 15, so that a pleasant and comfortable intermediate-frequency signal can be heard, and the user experience is greatly improved.
Taking the first filter 14 as a high-pass filter as an example, the first filter 14 is configured to filter the first delayed signal according to a cutoff frequency of the first filter 14. Wherein the cutoff frequency of the first filter 14 is one of 100Hz to 300Hz. It is understood that the normal hearing frequency range for the human ear is 20hz to 20000hz. For a pleasant, comfortable listening, a cut-off frequency may be preset for the high-pass filter, e.g. set to 100Hz or 300Hz. And filtering out the signals with the frequency lower than the cut-off frequency in the first delay signals through the filtering of a high-pass filter. For example, the cut-off frequency of the high-pass filter is 300Hz, and the signals with the frequency lower than 300Hz in the first delay signal are filtered by the high-pass filter.
That is, a signal having an excessively low frequency in the first delayed signal is filtered to obtain a first filtered signal containing no low frequency component. Too low a frequency of the audio can affect the sound quality. By the low frequency filtering of the first filter 14, audio satisfying the sound quality requirement can be output.
Taking the second filter 15 as a low-pass filter for example, the second filter 15 is used for filtering the first filtered signal according to the cut-off frequency of the second filter 15. Wherein the cut-off frequency of the second filter 15 is one of 10000Hz to 15000 Hz. For a pleasant and comfortable listening, a cut-off frequency may be preset for the low-pass filter, for example, set to 10000Hz, and the signal with a frequency higher than the cut-off frequency in the first filtered signal is filtered by the low-pass filter. That is, the signal having an excessively high frequency in the first filtered signal is filtered to obtain a second filtered signal containing no high frequency component. The frequency of the audio is too high, so that not only the hearing is affected, but also the noise is obvious. By means of the high-frequency filtering of the second filter 15, not only is the hearing demand of the human ear met, but also a low-noise or noiseless listening experience is given to the human ear.
Taking the cutoff frequency of the first filter 14 as 300Hz and the cutoff frequency of the second filter 15 as 10000Hz as an example, audio frequency in the frequency range of 300Hz-10000Hz can be obtained by filtering the first filter 14 and the second filter 15. In general, the audio frequency of a song or a track is continuously changed, and by setting the cut-off frequency of the high-pass filter and filtering according to the cut-off frequency, the low-frequency and high-frequency components in the first delay signal can be filtered, so that the song or the track can enjoy pleasant and comfortable sound, and the effect of enhancing the surrounding sound effect can be achieved.
In fig. 3, the second filter 15 may output a second filtered signal to the first mixer 11. Taking the M channels to be output as two channels as an example, the first mixer 11 mixes the second filtered signal and the two channels according to the mixing gains set for the second filtered signal and each channel signal in advance, thereby obtaining a second mixed signal that can be used as a stopsignal in fig. 3. Because the second mixed sound signal is a stopback signal, the effect of prolonging the tail sound of the audio frequency is achieved, and the first target channel signal and the second target channel signal obtained by utilizing the signals can generate enhanced surround sound effect, so that the hearing experience of a user is improved.
In the foregoing solutions, parameters such as delay time of the delay 13, mixing gain of each signal to be set, and cut-off frequency of the filter may be configured into corresponding elements or devices of the audio processing circuit in a software manner. The setting size of the delay time determines the intensity of the surround effect of the output audio. The larger the delay time is set, the more obvious the rhythm and hierarchy of the audio changes, and the stronger the surrounding effect. Of course, in consideration of the real-time property of audio and the enhancement of surround sound effect, the delay time cannot be set too small, nor can the delay time be set too large. In the method, the delay time is set to be any time from 100us to 1ms through software, so that the balance between the real-time output requirement of the audio and the surround sound effect is achieved, and the user experience is improved.
In the foregoing scheme, if the M channel signals to be output are stereo channel signals, the audio processing circuit with the stoping circuit shown in fig. 1 of the present application may be used to obtain audio with stereo surround effect, so as to satisfy the hearing experience of the user. By using the audio processing circuit with the stoping circuit shown in fig. 2 or fig. 3, the audio with the stereo surround enhancement effect can be obtained, so that the hearing experience of a user is met.
In fig. 1-3, the M channel signals to be output are two channel signals (an original left channel signal and an original right channel signal) as an example, and in addition, the M channel signals to be output may be mono channel signals, tri channel signals, or more channel signals. For a specific extraction process and a process for obtaining audio with surround sound effect, please refer to understanding of the extraction process of the binaural signal, which is not described in detail.
In addition, in this application, the number of second mixers 12 is generally the same as the number of channels of the channel signal to be output. In fig. 1 to 3, the number of channels is two, and the number of second mixers 12 is also two. One of the second mixers 12 is used for mixing the second mixed signal with one of the channel signals. The other second mixer 12 mixes the second mixed signal with the other channel signal. In practical applications, a two-in-one mixer may be used as the second mixer 12. Thus, the left and right channel target signals independent of each other can be obtained, so that the user can hear the audio with the surrounding sound effect or the audio with the enhanced surrounding sound effect. When the audio processing circuit is applied to the electronic equipment and/or the driving equipment, not only can the audio with surround sound effect be output, but also the functionality and the diversity of the equipment are enriched, so that the equipment is more practical.
The present application provides an audio processing method, as shown in fig. 4, including:
s401: mixing the M channel signals to be output to obtain a first mixed signal; wherein M is a positive integer greater than or equal to 1.
S402: and carrying out delay processing on the first mixed signal to obtain a first delay signal.
S403: and carrying out audio mixing processing on the first delay signal and the M channel signals to be output to obtain a second audio mixing signal.
S404: respectively carrying out audio mixing processing on the second audio mixing signals and M channel signals to be output to obtain M target channel signals; the output effect generated by the M target channel signals is obvious to the output effect generated by the M channel signals to be output.
In some embodiments, the method further comprises:
filtering the first delayed signal with a first filter 14 to obtain a first filtered signal; the first filter signal and the M channel signals to be output are subjected to audio mixing processing by the first mixer 11, and a second mixed signal is obtained.
In some embodiments, the method further comprises:
filtering the first filtered signal by a second filter 15 to obtain a second filtered signal; the second filtered signal and the M channel signals to be output are subjected to audio mixing processing by the first mixer 11, and a second mixed signal is obtained. Wherein different frequency signals in the first delayed signal can be filtered by means of the first filter 14 and the second filter 15.
In some embodiments, the method further comprises:
the first mixer 11 outputs the first mixed signal to the second mixer 12, and the second mixer 12 mixes the first mixed signal, the second mixed signal, and each of the M channel signals to be output with the second mixer 12 to obtain M target channel signals.
In some embodiments, the delayer 13 is configured to delay the first mixed signal according to a preset delay time; wherein the predetermined delay time is one of 100 microseconds (us) to 1 millisecond (ms).
In some embodiments, the first filter 14 is configured to filter the first delayed signal according to a cutoff frequency of the first filter 14; wherein the cutoff frequency of the first filter 14 is one of 100 Hz to 300 Hz.
In some embodiments, the second filter 15 is configured to filter the first filtered signal according to a cutoff frequency of the second filter 15; wherein the cut-off frequency of the second filter 15 is one of 10000Hz to 15000 Hz.
It should be noted that, in the audio processing method of the embodiment of the present application, since the principle of solving the problem in the audio processing method is similar to that of the foregoing audio processing circuit, the implementation process and implementation principle of the audio processing method may be described with reference to the implementation process and implementation principle of the foregoing audio processing circuit, and the repetition is omitted.
According to embodiments of the present application, there is also provided an electronic device and a non-transitory computer-readable storage medium storing computer instructions.
Wherein, the electronic equipment includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the audio processing method described previously.
For a readable storage medium, the computer instructions are for causing a computer to perform the aforementioned audio processing method.
Fig. 5 shows a schematic block diagram of an example electronic device 800 that may be used to implement embodiments of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the application described and/or claimed herein.
As shown in fig. 5, the apparatus 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
Various components in device 800 are connected to I/O interface 805, including: an input unit 806 such as a keyboard, mouse, etc.; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, etc.; and a communication unit 809, such as a network card, modem, wireless communication transceiver, or the like. The communication unit 809 allows the device 800 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 801 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the respective methods and processes described above, for example, an audio processing method. For example, in some embodiments, the audio processing method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 800 via ROM 802 and/or communication unit 809. When a computer program is loaded into RAM 803 and executed by computing unit 801, one or more steps of the audio processing method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the audio processing method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present application may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this application, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. The audio processing circuit is characterized by comprising a first mixer, a second mixer and a delay, wherein an input end of the first mixer is connected with an output end of the delay, an input end of the delay is connected with an output end of the first mixer, and an input end of the second mixer is connected with an output end of the first mixer;
the first mixer is used for carrying out mixing processing on M channel signals to be output and outputting a first mixing signal; wherein M is a positive integer greater than or equal to 1;
the delayer is used for carrying out delay processing on the first audio mixing signal and outputting a first delay signal;
the first mixer is further configured to mix the first delay signal and M channel signals to be output, and output a second mixed signal;
The second mixer is configured to mix the second mix signal with M channel signals to be output, and output M target channel signals;
the audio output effect generated by the M target channel signals is obvious to that generated by the M channel signals to be output.
2. The circuit of claim 1, wherein the audio processing circuit further comprises a first filter, an input of the first filter being connected to the output of the delay, an output of the first filter being connected to the input of the first mixer;
the first filter is used for filtering the first delay signal and outputting a first filtering signal;
the first mixer is configured to mix the first filtered signal and the M channel signals to be output, and output a second mixed signal.
3. The circuit of claim 2, wherein the audio processing circuit further comprises a second filter, an input of the second filter being connected to the output of the first filter, an output of the second filter being connected to the input of the first mixer;
The second filter is used for filtering the first filtering signal and outputting a second filtering signal;
the first filter and the second filter are used for filtering different frequency signals in the first delay signal;
the first mixer is configured to mix the second filtered signal and the M channel signals to be output, and output a second mixed signal.
4. The circuit of claim 1, wherein the circuit comprises a plurality of capacitors,
the first mixer is further configured to output the first mixed signal to the second mixer;
the second mixer is configured to mix the first mixing signal, the second mixing signal, and each channel signal to be output of the M channel signals to be output, so as to obtain M target channel signals.
5. The circuit according to any one of claims 1 to 4, wherein,
the delayer is used for carrying out delay processing on the first mixed sound signal according to preset delay time;
wherein the preset delay time is one of 100 microseconds us to 1 millisecond ms.
6. A circuit according to claim 2 or 3, wherein,
the first filter is used for filtering the first delay signal according to the cut-off frequency of the first filter;
Wherein the cutoff frequency of the first filter is one of 100 Hz to 300 Hz.
7. The circuit of claim 3, wherein the circuit comprises a plurality of transistors,
the second filter is used for filtering the first filtering signal according to the cut-off frequency of the second filter;
wherein the cutoff frequency of the second filter is one of 10000Hz to 15000 Hz.
8. An audio processing method, comprising:
mixing the M channel signals to be output to obtain a first mixed signal; wherein M is a positive integer greater than or equal to 1;
performing delay processing on the first mixed signal to obtain a first delay signal;
mixing the first delay signals and M channel signals to be output to obtain second mixed signals;
respectively carrying out audio mixing processing on the second audio mixing signals and M channel signals to be output to obtain M target channel signals;
the output effect generated by the M target channel signals is obvious to the output effect generated by the M channel signals to be output.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of claim 8.
10. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of claim 8.
CN202310457232.9A 2023-04-25 2023-04-25 Audio processing circuit, method, electronic device and storage medium Active CN116193322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310457232.9A CN116193322B (en) 2023-04-25 2023-04-25 Audio processing circuit, method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310457232.9A CN116193322B (en) 2023-04-25 2023-04-25 Audio processing circuit, method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN116193322A true CN116193322A (en) 2023-05-30
CN116193322B CN116193322B (en) 2023-07-21

Family

ID=86446552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310457232.9A Active CN116193322B (en) 2023-04-25 2023-04-25 Audio processing circuit, method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN116193322B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150086037A1 (en) * 2012-11-08 2015-03-26 Guangzhou Ruifeng Audio Technology Corporation Ltd Sound receiving device
CN104883643A (en) * 2015-03-31 2015-09-02 广州乐畅声学科技有限公司 Bass boost system and control method thereof
CN106875953A (en) * 2017-01-11 2017-06-20 深圳市创成微电子有限公司 Simulation remixed audio processing method and system
CN113055789A (en) * 2021-02-09 2021-06-29 安克创新科技股份有限公司 Single sound channel sound box, method and system for increasing surround effect in single sound channel sound box
CN115794025A (en) * 2023-02-07 2023-03-14 南京芯驰半导体科技有限公司 Vehicle-mounted audio partition output system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150086037A1 (en) * 2012-11-08 2015-03-26 Guangzhou Ruifeng Audio Technology Corporation Ltd Sound receiving device
CN104883643A (en) * 2015-03-31 2015-09-02 广州乐畅声学科技有限公司 Bass boost system and control method thereof
CN106875953A (en) * 2017-01-11 2017-06-20 深圳市创成微电子有限公司 Simulation remixed audio processing method and system
CN113055789A (en) * 2021-02-09 2021-06-29 安克创新科技股份有限公司 Single sound channel sound box, method and system for increasing surround effect in single sound channel sound box
CN115794025A (en) * 2023-02-07 2023-03-14 南京芯驰半导体科技有限公司 Vehicle-mounted audio partition output system and method

Also Published As

Publication number Publication date
CN116193322B (en) 2023-07-21

Similar Documents

Publication Publication Date Title
KR101346490B1 (en) Method and apparatus for audio signal processing
US20160171987A1 (en) System and method for compressed audio enhancement
CN107979796A (en) System and method for the stereo field domain enhancing in two-channel audio system
EP2540101B1 (en) Modifying spatial image of a plurality of audio signals
US20150172812A1 (en) Apparatus and Method for Sound Stage Enhancement
CN103458137A (en) Systems and methods for voice enhancement in audio conference
CN112542183B (en) Audio data processing method, device, equipment and storage medium
CN115038011A (en) Vehicle, control method, control device, control equipment and storage medium
CN116193322B (en) Audio processing circuit, method, electronic device and storage medium
WO2014161388A1 (en) Method and device for enhancing voice quality
TWI543634B (en) Method and computer program product of processing voice segment and hearing aid
CN114040317B (en) Sound channel compensation method and device for sound, electronic equipment and storage medium
CN113301135A (en) Data sharing method
US20240127783A1 (en) Noise cancellation method and apparatus, electronic device, noise cancellation headset, and storage medium
CN116156413A (en) Audio playing method, device, electronic equipment and storage medium
CN102196338A (en) Loudspeaking system and control method thereof
DE102022205633A1 (en) SPATIAL AUDIO CONTROL
CN112307161B (en) Method and apparatus for playing audio
CN110809222B (en) Multi-section dynamic range control method and system and loudspeaker
CN101384106B (en) Electronic device
CN111048108B (en) Audio processing method and device
CN203596866U (en) Audio transmission circuit and TV set
CN111405419B (en) Audio signal processing method, device and readable storage medium
CN218416645U (en) Multi-functional preceding stage effector
US20140372110A1 (en) Voic call enhancement

Legal Events

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