CN115460516A - Signal processing method, device, equipment and medium for converting single sound channel into stereo sound - Google Patents

Signal processing method, device, equipment and medium for converting single sound channel into stereo sound Download PDF

Info

Publication number
CN115460516A
CN115460516A CN202211080414.0A CN202211080414A CN115460516A CN 115460516 A CN115460516 A CN 115460516A CN 202211080414 A CN202211080414 A CN 202211080414A CN 115460516 A CN115460516 A CN 115460516A
Authority
CN
China
Prior art keywords
signal
channel audio
audio signal
gain
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211080414.0A
Other languages
Chinese (zh)
Inventor
曾桂华
纪宏菲
郝欣言
海陆空
王楚婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Group Corp filed Critical FAW Group Corp
Priority to CN202211080414.0A priority Critical patent/CN115460516A/en
Publication of CN115460516A publication Critical patent/CN115460516A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • 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
    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Stereophonic System (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a medium for processing a signal from single sound channel to stereo sound. Wherein, the method comprises the following steps: acquiring a single-channel audio signal, and filtering the single-channel audio signal to obtain a filtered signal; carrying out dynamic gain adjustment processing on the filtering signal to obtain a gain adjustment signal; processing the single-channel audio signal based on the gain adjusting signal to obtain a left-channel audio signal and a right-channel audio signal; wherein the content of the left channel audio signal is different from that of the right channel audio signal, and the signal obtained by adding the left channel audio signal and the right channel audio signal is a multiple of the single channel audio signal. According to the technical scheme, compatibility of a single sound channel can be effectively guaranteed, information loss risks are avoided, and meanwhile the defects of unnaturalness and distortion of a sound field can be overcome, so that hearing experience of a user is improved.

Description

Signal processing method, device, equipment and medium for converting single sound channel into stereo sound
Technical Field
The present invention relates to the field of signal processing technologies, and in particular, to a method, an apparatus, a device, and a medium for converting mono to stereo signal processing.
Background
With the increasing living standard, people are more concerned about the mental demand of high quality, including the demand of sound quality. Many classical old songs have only a mono release, limited by earlier technology. However, a mono version of music does not provide a good hearing experience, and therefore, it is necessary to convert a mono into a stereo to enhance the hearing experience.
In the prior art, there are two main ways to convert a mono channel into stereo. One is an equalization method, in which a sound tuner adjusts the amplitudes of different frequency points of a left sound channel and a right sound channel according to psychoacoustic experience so as to achieve the effect of widening a sound field; the other is a phase adjusting method, which adjusts the phase of different frequency components in the left and right sound channels to make the delay of the signals with the same frequency point of the left and right sound channels reaching human ears different, so as to obtain the hearing sense of a wide sound field.
However, the equalization method has a problem of mono compatibility, that is, adding the left and right channels cannot completely recover the original mono content, which easily results in the loss of music elements. The phase adjustment method can bring unnatural hearing because of changing the original phase relation between different frequency points in the original single sound channel, and has the phase cancellation problem, namely the frequency points are attenuated even disappear on certain frequency points due to the phase difference of 180 degrees, so that the compatibility of the single sound channel cannot be ensured.
Disclosure of Invention
The invention provides a method, a device, equipment and a medium for processing a signal from single sound channel to stereo, which can effectively ensure the compatibility of the single sound channel, avoid the risk of information loss, and overcome the defects of unnatural and distorted sound field, thereby improving the auditory experience of a user.
According to an aspect of the present invention, there is provided a method of signal processing from mono to stereo, the method comprising:
acquiring a single-channel audio signal, and filtering the single-channel audio signal to obtain a filtered signal;
carrying out dynamic gain adjustment processing on the filtering signal to obtain a gain adjustment signal;
processing the single-channel audio signal based on the gain adjusting signal to obtain a left-channel audio signal and a right-channel audio signal; wherein, the content of the left channel audio signal and the right channel audio signal is different, and the added signal of the left channel audio signal and the right channel audio signal is a multiple of the single channel audio signal.
Optionally, processing the single-channel audio signal based on the gain adjustment signal to obtain a left-channel audio signal and a right-channel audio signal includes:
adding the single-channel audio signal and the gain adjusting signal to obtain a sum signal, and subtracting the single-channel audio signal and the gain adjusting signal to obtain a difference signal;
determining the sum signal as a left channel audio signal and the difference signal as a right channel audio signal, or,
determining the difference signal as a left channel audio signal and determining the sum signal as a right channel audio signal.
Optionally, the filtering processing on the mono audio signal includes:
and filtering the single-channel audio signal by adopting at least one of a delay unit, an amplitude filter and a phase filter.
Optionally, performing dynamic gain adjustment processing on the filtered signal to obtain a gain-adjusted signal, including:
in response to a user feedback event, obtaining a gain parameter of the filtered signal;
determining a dynamic gain signal of the filtered signal based on the gain parameter;
a gain adjustment signal is determined from the filtered signal and the dynamic gain signal.
Optionally, determining a gain adjustment signal according to the filtered signal and the dynamic gain signal includes:
determining a product of the filtered signal and the dynamic gain signal as a gain adjustment signal.
Optionally, the dynamic gain signal is one of a random noise signal and a sinusoidal signal.
According to another aspect of the present invention, there is provided a mono-to-stereo signal processing apparatus, comprising:
the filter module is used for acquiring a single-channel audio signal and filtering the single-channel audio signal to obtain a filter signal;
the dynamic gain adjustment module is used for carrying out dynamic gain adjustment processing on the filtering signal to obtain a gain adjustment signal;
the audio signal processing module is used for processing the single-channel audio signal based on the gain adjusting signal to obtain a left-channel audio signal and a right-channel audio signal; wherein the content of the left channel audio signal is different from that of the right channel audio signal, and the signal obtained by adding the left channel audio signal and the right channel audio signal is a multiple of the single channel audio signal.
Optionally, the audio signal processing module is specifically configured to:
adding the single-channel audio signal and the gain adjusting signal to obtain a sum signal, and subtracting the single-channel audio signal and the gain adjusting signal to obtain a difference signal;
determining the sum signal as a left channel audio signal and the difference signal as a right channel audio signal, or,
determining the difference signal as a left channel audio signal and determining the sum signal as a right channel audio signal.
According to another aspect of the present invention, there is provided an electronic device for signal processing from mono to stereo, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method of mono to stereo signal processing according to any of the embodiments of the invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement a method for mono-to-stereo signal processing according to any of the embodiments of the present invention when the computer instructions are executed.
According to the technical scheme of the embodiment of the invention, a single sound channel audio signal is obtained, and the single sound channel audio signal is filtered to obtain a filtering signal; carrying out dynamic gain adjustment processing on the filtering signal to obtain a gain adjustment signal; processing the single-channel audio signal based on the gain adjusting signal to obtain a left-channel audio signal and a right-channel audio signal; the content of the left channel audio signal is different from that of the right channel audio signal, and the signal obtained by adding the left channel audio signal and the right channel audio signal is a multiple of a single-channel audio signal. According to the technical scheme, the compatibility of the single sound channel can be effectively guaranteed, the risk of information loss is avoided, and meanwhile the defects of unnaturalness and distortion of a sound field can be overcome, so that the hearing experience of a user is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for processing a mono-to-stereo signal according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for processing a mono-to-stereo signal according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of a method for processing a mono-to-stereo signal according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mono-to-stereo signal processing apparatus according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device implementing a method for converting a monaural signal to a stereo signal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," "object," and the like in the description and claims of the invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of a method for processing a mono-to-stereo signal according to an embodiment of the present invention, where the method is applicable to a case of performing stereo conversion on a mono audio signal, and the method can be executed by a mono-to-stereo signal processing apparatus, which can be implemented in a form of hardware and/or software, and the mono-to-stereo signal processing apparatus can be configured in an electronic device with data processing capability. As shown in fig. 1, the method includes:
s110, obtaining a single-channel audio signal, and filtering the single-channel audio signal to obtain a filtered signal.
The monaural audio signal may refer to an audio signal of which the channel type is monaural. The monaural audio signal may be a digital signal or an analog signal. Note that, the monaural audio signal is usually a digital signal, and if the acquired monaural audio signal is an analog signal, the analog signal needs to be converted into a digital signal by analog-to-digital conversion before the filtering process. The filtered signal may refer to a signal obtained by filtering a mono audio signal.
In this embodiment, after the monaural audio signal is acquired, the monaural audio signal may be filtered by a filter. Optionally, the filtering processing of the mono audio signal includes: and filtering the single-channel audio signal by adopting at least one of a delay unit, an amplitude filter and a phase filter.
The delay unit may refer to a filter that delays a signal by a time. The amplitude filter may refer to a filter for adjusting the amplitude of the signal, for example, the amplitude filter may be a low pass filter, a high pass filter, a band stop filter, and the like. The phase filter may refer to a filter for adjusting the phase adjustment, for example, the phase filter may be an all-pass filter or the like. It should be noted that, in this embodiment, the filtering manner (including the filter type and the filter parameter) is not limited at all, and may be flexibly set according to the actual auditory perception. For example, one of the delay unit, the amplitude filter and the phase filter may be selected to perform the filtering process on the monaural audio signal, or a plurality of filters may be combined to perform the filtering process on the monaural audio signal.
By means of the arrangement, the signal filtering mode can be flexibly selected, and therefore the diversity and flexibility of signal filtering are improved.
And S120, carrying out dynamic gain adjustment processing on the filtering signal to obtain a gain adjustment signal.
The gain adjustment signal may be a signal obtained by performing dynamic gain adjustment processing on the filtered signal. In the embodiment, the dynamic gain adjustment processing can be performed on the filtering signal by simulating the time-varying characteristic of a natural sound field, so that the effect of widening the sound field is achieved, and natural and comfortable listening feeling is obtained. It should be noted that the natural sound field has a certain statistical rule along with the change of time, and the change mode of the natural sound field can be simulated according to the statistical rule, so that the auditory requirement of people can be met better. Specifically, the dynamic gain adjustment may be implemented by performing nonlinear processing on the filtered signal in a random manner or a fixed-rule manner. Wherein the non-linear processing may comprise multiplying or dividing the original signal by another non-constant signal.
Illustratively, the filtering signal may be modulated by setting a random variation signal or a sine-cosine variation signal to obtain a gain adjustment signal, so as to implement dynamic gain adjustment on the filtering signal. It should be noted that the nonlinear processing can implement modulation on the original signal, and the original signal content will be completely changed, that is, the signal after the nonlinear processing does not contain the original signal content. Therefore, by performing the dynamic gain adjustment processing on the filtered signal, the sound field can be effectively widened.
S130, processing the single-channel audio signal based on the gain adjusting signal to obtain a left-channel audio signal and a right-channel audio signal; the left channel audio signal and the right channel audio signal have different contents, and the signal obtained by adding the left channel audio signal and the right channel audio signal is a multiple of a single-channel audio signal.
The left channel audio signal and the right channel audio signal are audio signals of two channels in stereo respectively. In this embodiment, a left channel audio signal and a right channel audio signal containing different signal contents may be obtained by performing linear processing on a monaural audio signal based on a gain adjustment signal, so that a signal obtained by adding the left channel audio signal and the right channel audio signal is a multiple of the monaural audio signal. Where linear processing may include adding or subtracting another signal based on the original signal and multiplying or dividing the original signal by a non-zero constant.
It should be noted that, for signal processing, linear processing can ensure that the processed signal contains the complete content of the original signal. In addition, if the signal obtained by adding the left channel audio signal and the right channel audio signal is a multiple of the monaural audio signal, the added signal and the monaural audio signal may be considered to have the same content, and only there is a difference in volume, and the difference in volume does not affect the consistency of the audio signals, so that monaural compatibility may be ensured.
Optionally, processing the mono audio signal based on the gain adjustment signal to obtain a left channel audio signal and a right channel audio signal, including: adding the single-channel audio signal and the gain adjustment signal to obtain a sum signal, and subtracting the single-channel audio signal and the gain adjustment signal to obtain a difference signal; the sum signal is determined as a left channel audio signal and the difference signal is determined as a right channel audio signal, or the difference signal is determined as a left channel audio signal and the sum signal is determined as a right channel audio signal.
The sum signal may be a signal obtained by adding a single-channel audio signal to a gain adjustment signal. The difference signal may refer to a signal obtained by subtracting the single channel audio signal and the gain adjustment signal. In this embodiment, the sum signal may be determined as a left channel audio signal while the difference signal is determined as a right channel audio signal, or the difference signal may be determined as a left channel audio signal while the sum signal is determined as a right channel audio signal. It should be noted that, since the single-channel audio signal is added or subtracted with the same gain adjustment signal to obtain the audio signals of the left and right two channels, the sum of the audio signals of the two channels is 2 times of the audio signal of the single channel, which can satisfy compatibility of the single channel. In addition, because the gain adjustment signal dynamically changes along with time, the obtained left channel audio signal and the right channel audio signal also dynamically change along with time, and the effect of widening the sound field is also achieved, so that the converted stereo has natural and comfortable listening feeling.
Through the arrangement, the scheme can effectively ensure monaural compatibility, simultaneously obtains natural comfort listening impression, and can promote the hearing experience of a user.
According to the technical scheme of the embodiment of the invention, a single-sound-channel audio signal is obtained, and the single-sound-channel audio signal is filtered to obtain a filtering signal; carrying out dynamic gain adjustment processing on the filtering signal to obtain a gain adjustment signal; processing the single-channel audio signal based on the gain adjusting signal to obtain a left-channel audio signal and a right-channel audio signal; the left channel audio signal and the right channel audio signal have different contents, and the signal obtained by adding the left channel audio signal and the right channel audio signal is a multiple of a single-channel audio signal. According to the technical scheme, compatibility of a single sound channel can be effectively guaranteed, the risk of information loss is avoided, and meanwhile the defects of unnaturalness and distortion of a sound field can be overcome, so that hearing experience of a user is improved.
Example two
Fig. 2 is a flowchart of a monaural-to-stereo signal processing method according to a second embodiment of the present invention, which is optimized based on the above-mentioned embodiments. The concrete optimization is as follows: the dynamic gain adjustment processing is carried out on the filtering signal to obtain a gain adjustment signal, and the gain adjustment processing comprises the following steps: in response to a user feedback event, obtaining a gain parameter of the filtered signal; determining a dynamic gain signal of the filtered signal based on the gain parameter; a gain adjustment signal is determined based on the filtered signal and the dynamic gain signal.
As shown in fig. 2, the method of this embodiment specifically includes the following steps:
s210, obtaining a single-channel audio signal, and filtering the single-channel audio signal to obtain a filtered signal.
And S220, responding to the user feedback event, and acquiring a gain parameter of the filtering signal.
The user feedback event may refer to an operation instruction for user information feedback. The gain parameter may refer to a parameter related to gain adjustment. For example, the gain parameter may include a maximum gain adjustment value. In the present embodiment, when a user feedback event is detected, the event may be responded by acquiring a gain parameter of the filtered signal fed back by the user. Illustratively, after determining the filtered signal, the filtered signal and the predetermined gain selection range [0,1] may be sent to the human-machine interface. The user can adjust the gain of the filtering signal within the gain selection range [0,1] according to the actual auditory sensation through the human-computer interaction interface, and finally a gain value is selected as a maximum gain adjustment value. When the selected operation of the user is detected, a user feedback event can be triggered, and then the maximum gain adjustment value fed back by the user is received.
And S230, determining a dynamic gain signal of the filtering signal based on the gain parameter.
The dynamic gain signal may refer to a gain signal that varies with time. Optionally, the dynamic gain signal is one of a random noise signal and a sinusoidal signal. It should be noted that the random noise signal and the sinusoidal signal conform to the time-varying characteristics of the natural sound field.
In this embodiment, the dynamic gain signal of the filtered signal may be determined according to the gain parameter. Illustratively, when setting the dynamic gain signal to a random noise signal, the filtered signal and the gain selection range [0,1] may be first transmitted to the user]And taking the gain value selected by the user as the maximum gain adjustment value, and generating a random noise signal with the mean value of 0 and the variance of the maximum gain adjustment value, wherein the random noise signal dynamically changes between the positive maximum gain adjustment value and the negative maximum gain adjustment value. If the setting is dynamicThe gain signal is a sinusoidal signal, i.e., g = Asin (ω) 0 X n) where g is the gain, ω 0 For angular velocity, n is the digital signal time, the filtered signal, the gain selection range [0,1] may be sent to the user first]And angular velocity selection range [0, 40 π]And taking the gain value and angular velocity value selected by the user as A and omega of the sinusoidal signal respectively 0 From this, a sinusoidal signal can be determined, which is [ -A, A [ -A]Dynamically changes within a range of (c).
And S240, determining a gain adjusting signal according to the filtering signal and the dynamic gain signal.
In this embodiment, the gain adjustment signal may be determined by nonlinear processing based on the filtered signal and the dynamic gain signal. Optionally, determining the gain adjustment signal according to the filtered signal and the dynamic gain signal includes: the product of the filtered signal and the dynamic gain signal is determined as the gain adjustment signal. In this embodiment, the filtering signal and the dynamic gain signal may be directly multiplied to modulate the filtering signal, and the multiplication result may be determined as the gain adjustment signal.
According to the scheme, the dynamic gain adjustment of the filtering signals is realized in the simplest mode, natural and comfortable hearing can be obtained through widening a sound field, and the hearing experience of a user is improved.
S250, processing the single-channel audio signal based on the gain adjusting signal to obtain a left-channel audio signal and a right-channel audio signal; the left channel audio signal and the right channel audio signal have different contents, and the signal obtained by adding the left channel audio signal and the right channel audio signal is a multiple of a single-channel audio signal.
According to the technical scheme of the embodiment of the invention, the gain parameter of the filtering signal is obtained in response to the user feedback event; determining a dynamic gain signal of the filtered signal based on the gain parameter; the method comprises the steps of determining a gain adjusting signal according to a filtering signal and a dynamic gain signal, determining the gain adjusting signal which enables the user to have comfortable hearing through a human-computer interaction process, and then determining a left channel audio signal and a right channel audio signal according to the gain adjusting signal, so that the compatibility of a single channel can be effectively guaranteed, the risk of information loss is avoided, the hearing experience of the user is fully considered on the basis of overcoming the defects of unnaturalness and distortion of a sound field, and the hearing experience of the user is further improved.
Fig. 3 is a schematic diagram of a method for processing a signal from mono to stereo according to a second embodiment of the present invention. As shown in fig. 3, a mono audio signal is first filtered to obtain a filtered signal, then a dynamic gain signal is determined through human-computer interaction, the filtered signal and the dynamic gain signal are multiplied to obtain a gain adjustment signal, and then a mono audio signal and the gain adjustment signal are added to obtain a left audio signal, and the mono audio signal and the gain adjustment signal are subtracted to obtain a right audio signal. Through the process, the single-channel audio signal can be converted into stereo containing the left-channel audio signal and the right-channel audio signal, the compatibility of the single channel is effectively guaranteed, the sound field is widened through dynamic gain adjustment, natural and comfortable hearing can be obtained, and the hearing experience of a user is improved.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a mono-to-stereo signal processing apparatus according to a third embodiment of the present invention, which is capable of performing the mono-to-stereo signal processing method according to any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the performing method. As shown in fig. 4, the apparatus includes:
a filtering module 410, configured to obtain a mono audio signal, and filter the mono audio signal to obtain a filtered signal;
a dynamic gain adjustment module 420, configured to perform dynamic gain adjustment processing on the filtered signal to obtain a gain adjustment signal;
an audio signal processing module 430, configured to process the mono audio signal based on the gain adjustment signal to obtain a left channel audio signal and a right channel audio signal; wherein the content of the left channel audio signal is different from that of the right channel audio signal, and the signal obtained by adding the left channel audio signal and the right channel audio signal is a multiple of the single channel audio signal.
Optionally, the audio signal processing module 430 is specifically configured to:
adding the single-channel audio signal and the gain adjusting signal to obtain a sum signal, and subtracting the single-channel audio signal and the gain adjusting signal to obtain a difference signal;
determining the sum signal as a left channel audio signal and the difference signal as a right channel audio signal, or,
determining the difference signal as a left channel audio signal and determining the sum signal as a right channel audio signal.
Optionally, the filtering module 410 is specifically configured to:
and filtering the single-channel audio signal by adopting at least one of a delay unit, an amplitude filter and a phase filter.
Optionally, the dynamic gain adjustment module 420 includes:
a gain parameter obtaining unit, configured to obtain a gain parameter of the filtered signal in response to a user feedback event;
a dynamic gain signal determination unit for determining a dynamic gain signal of the filtered signal based on the gain parameter;
a gain adjustment signal unit for determining a gain adjustment signal based on the filtered signal and the dynamic gain signal.
Optionally, the gain adjustment signal unit is specifically configured to:
determining a product of the filtered signal and the dynamic gain signal as a gain adjustment signal.
Optionally, the dynamic gain signal is one of a random noise signal and a sinusoidal signal.
The signal processing device for converting the single sound channel into the stereo provided by the embodiment of the invention can execute the signal processing method for converting the single sound channel into the stereo provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
FIG. 5 illustrates a schematic diagram of an electronic device 10 that may be used to implement an embodiment of the invention. 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 assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), 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 inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The processor 11 performs the various methods and processes described above, such as a mono to stereo signal processing method.
In some embodiments, the mono to stereo signal processing method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the above described mono to stereo signal processing method may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform a mono to stereo signal 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 circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a 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 that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a 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 the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage 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. Alternatively, the computer readable storage medium may be a machine readable signal medium. 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 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 an electronic device 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 a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can 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, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end 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 back-end, 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), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally 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 can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for signal processing from mono to stereo, the method comprising:
acquiring a single-channel audio signal, and filtering the single-channel audio signal to obtain a filtered signal;
carrying out dynamic gain adjustment processing on the filtering signal to obtain a gain adjustment signal;
processing the single-channel audio signal based on the gain adjusting signal to obtain a left-channel audio signal and a right-channel audio signal; wherein the content of the left channel audio signal is different from that of the right channel audio signal, and the signal obtained by adding the left channel audio signal and the right channel audio signal is a multiple of the single channel audio signal.
2. The method of claim 1, wherein processing the mono audio signal based on the gain adjustment signal to obtain a left channel audio signal and a right channel audio signal comprises:
adding the single-channel audio signal and the gain adjusting signal to obtain a sum signal, and subtracting the single-channel audio signal and the gain adjusting signal to obtain a difference signal;
determining the sum signal as a left channel audio signal and the difference signal as a right channel audio signal, or,
determining the difference signal as a left channel audio signal and determining the sum signal as a right channel audio signal.
3. The method of claim 1, wherein filtering the mono audio signal comprises:
and performing filtering processing on the single-channel audio signal by adopting at least one of a delay unit, an amplitude filter and a phase filter.
4. The method of claim 1, wherein performing a dynamic gain adjustment process on the filtered signal to obtain a gain adjusted signal comprises:
in response to a user feedback event, obtaining a gain parameter of the filtered signal;
determining a dynamic gain signal of the filtered signal based on the gain parameter;
a gain adjustment signal is determined from the filtered signal and the dynamic gain signal.
5. The method of claim 4, wherein determining a gain adjustment signal based on the filtered signal and the dynamic gain signal comprises:
determining a product of the filtered signal and the dynamic gain signal as a gain adjustment signal.
6. The method of claim 4, wherein the dynamic gain signal is one of a random noise signal and a sinusoidal signal.
7. A mono to stereo signal processing apparatus, the apparatus comprising:
the filtering module is used for acquiring a single-channel audio signal and filtering the single-channel audio signal to obtain a filtering signal;
the dynamic gain adjustment module is used for carrying out dynamic gain adjustment processing on the filtering signal to obtain a gain adjustment signal;
the audio signal processing module is used for processing the single-channel audio signal based on the gain adjusting signal to obtain a left-channel audio signal and a right-channel audio signal; wherein the content of the left channel audio signal is different from that of the right channel audio signal, and the signal obtained by adding the left channel audio signal and the right channel audio signal is a multiple of the single channel audio signal.
8. The method of claim 7, wherein the audio signal processing module is specifically configured to:
adding the single-channel audio signal and the gain adjusting signal to obtain a sum signal, and subtracting the single-channel audio signal and the gain adjusting signal to obtain a difference signal;
determining the sum signal as a left channel audio signal and the difference signal as a right channel audio signal, or,
determining the difference signal as a left channel audio signal and determining the sum signal as a right channel audio signal.
9. A mono to stereo signal processing electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method of mono to stereo signal processing of any one of claims 1-7.
10. A computer-readable storage medium, having stored thereon computer instructions for causing a processor to execute a method for mono-to-stereo signal processing according to any one of claims 1-7.
CN202211080414.0A 2022-09-05 2022-09-05 Signal processing method, device, equipment and medium for converting single sound channel into stereo sound Pending CN115460516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211080414.0A CN115460516A (en) 2022-09-05 2022-09-05 Signal processing method, device, equipment and medium for converting single sound channel into stereo sound

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211080414.0A CN115460516A (en) 2022-09-05 2022-09-05 Signal processing method, device, equipment and medium for converting single sound channel into stereo sound

Publications (1)

Publication Number Publication Date
CN115460516A true CN115460516A (en) 2022-12-09

Family

ID=84302809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211080414.0A Pending CN115460516A (en) 2022-09-05 2022-09-05 Signal processing method, device, equipment and medium for converting single sound channel into stereo sound

Country Status (1)

Country Link
CN (1) CN115460516A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6590983B1 (en) * 1998-10-13 2003-07-08 Srs Labs, Inc. Apparatus and method for synthesizing pseudo-stereophonic outputs from a monophonic input
CN1645922A (en) * 2004-01-22 2005-07-27 三洋电机株式会社 Circuit for processing audio signals
CN1758336A (en) * 2001-07-10 2006-04-12 编码技术股份公司 Efficient and scalable parametric stereo coding for low bit rate audio coding applications
CN1765072A (en) * 2003-04-30 2006-04-26 诺基亚公司 Multi sound channel AF expansion support
CN110024418A (en) * 2016-12-08 2019-07-16 三菱电机株式会社 Sound enhancing devices, sound Enhancement Method and sound processing routine
CN111182444A (en) * 2020-01-03 2020-05-19 天域全感音科技有限公司 Device and method for converting single-channel and double-channel audio signals
EP4007310A1 (en) * 2020-11-30 2022-06-01 ASK Industries GmbH Method of processing an input audio signal for generating a stereo output audio signal having specific reverberation characteristics

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6590983B1 (en) * 1998-10-13 2003-07-08 Srs Labs, Inc. Apparatus and method for synthesizing pseudo-stereophonic outputs from a monophonic input
CN1758336A (en) * 2001-07-10 2006-04-12 编码技术股份公司 Efficient and scalable parametric stereo coding for low bit rate audio coding applications
CN1758335A (en) * 2001-07-10 2006-04-12 编码技术股份公司 Efficient and scalable parametric stereo coding for low bit rate audio coding applications
CN1765072A (en) * 2003-04-30 2006-04-26 诺基亚公司 Multi sound channel AF expansion support
CN1645922A (en) * 2004-01-22 2005-07-27 三洋电机株式会社 Circuit for processing audio signals
CN110024418A (en) * 2016-12-08 2019-07-16 三菱电机株式会社 Sound enhancing devices, sound Enhancement Method and sound processing routine
CN111182444A (en) * 2020-01-03 2020-05-19 天域全感音科技有限公司 Device and method for converting single-channel and double-channel audio signals
EP4007310A1 (en) * 2020-11-30 2022-06-01 ASK Industries GmbH Method of processing an input audio signal for generating a stereo output audio signal having specific reverberation characteristics

Similar Documents

Publication Publication Date Title
CN106658284B (en) Addition of virtual bass in the frequency domain
US9143862B2 (en) Correlation based filter adaptation
CN113921022B (en) Audio signal separation method, device, storage medium and electronic equipment
CN108174031A (en) A kind of volume adjusting method, terminal device and computer readable storage medium
CN112750444B (en) Sound mixing method and device and electronic equipment
CN110246508A (en) A kind of signal modulating method, device and storage medium
EP3550424A1 (en) Method for configuring wireless sound box, wireless sound box, and terminal device
CN101714861A (en) Harmonics generation apparatus and method thereof
CN112309414B (en) Active noise reduction method based on audio encoding and decoding, earphone and electronic equipment
CN111508510A (en) Audio processing method and device, storage medium and electronic equipment
CN110931035A (en) Audio processing method, device, equipment and storage medium
CN112967705A (en) Mixed sound song generation method, device, equipment and storage medium
CN106653049A (en) Addition of virtual bass in time domain
CN105992100B (en) A kind of preset collection determination method for parameter of audio equalizer and device
CN108806715A (en) Anti-acoustic capability evaluation method and system
CN116721670A (en) Method, device, equipment and storage medium for filtering segmented audio signals
CN106601268A (en) Multimedia data processing method and device
CN112669878B (en) Sound gain value calculation method and device and electronic equipment
CN115460516A (en) Signal processing method, device, equipment and medium for converting single sound channel into stereo sound
CN108198565A (en) Mixed audio processing method, device, computer equipment and storage medium
CN106569780A (en) Real-time audio processing method and system for multi-channel digital audio signal
CN110221806A (en) The method and device of audio adjusting, display
CN111045633A (en) Method and apparatus for detecting loudness of audio signal
CN112307161B (en) Method and apparatus for playing audio
CN114286274A (en) Audio processing method, device, equipment and storage medium

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