WO2020107201A1 - 立体声播放方法、装置、存储介质及电子设备 - Google Patents

立体声播放方法、装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2020107201A1
WO2020107201A1 PCT/CN2018/117642 CN2018117642W WO2020107201A1 WO 2020107201 A1 WO2020107201 A1 WO 2020107201A1 CN 2018117642 W CN2018117642 W CN 2018117642W WO 2020107201 A1 WO2020107201 A1 WO 2020107201A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
stereo
channel signal
channel
virtual speaker
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.)
Ceased
Application number
PCT/CN2018/117642
Other languages
English (en)
French (fr)
Inventor
陈岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Heytap Technology Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Heytap Technology Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Heytap Technology Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201880098484.4A priority Critical patent/CN112840678B/zh
Priority to PCT/CN2018/117642 priority patent/WO2020107201A1/zh
Publication of WO2020107201A1 publication Critical patent/WO2020107201A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S1/00Two-channel systems
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/008Multichannel audio signal coding or decoding using interchannel correlation to reduce redundancy, e.g. joint-stereo, intensity-coding or matrixing

Definitions

  • This application belongs to the technical field of acoustics, and particularly relates to a stereo playback method, device, storage medium, and electronic equipment.
  • the multimedia playback function on mobile phones has become one of the daily use functions of users, and users have higher and higher requirements for mobile phone audio playback effects.
  • One of the ways to improve audio playback effects is to achieve stereo Playback, to achieve the effect of stereo playback requires a larger space and equipment, is not conducive to mobile phones and other portable electronic devices to achieve stereo playback, the current solution of most manufacturers is to build a virtual speaker array through the headset to achieve the effect of stereo playback, another One solution is to set two speakers on the mobile phone as an external device, while increasing the volume, it can also achieve the effect of stereo playback.
  • Embodiments of the present application provide a stereo playback method, device, storage medium, and electronic equipment, which can achieve the effect of stereo playback.
  • an embodiment of the present application provides a stereo playback method, which is applied to an electronic device.
  • the electronic device includes dual speakers.
  • the method includes:
  • an embodiment of the present application provides a stereo playback device, which is applied to an electronic device.
  • the electronic device includes dual speakers, and the device includes:
  • Extraction module used to extract the stereo signal with orientation information in the audio signal
  • a decoding module for decoding the stereo signal to obtain a multi-channel signal
  • a transcoding module for transcoding the multi-channel signal into a two-channel signal
  • a crosstalk cancellation module is used to perform crosstalk cancellation on the two-channel signals respectively.
  • an embodiment of the present application provides a storage medium on which a computer program is stored, wherein, when the computer program is executed on a computer, the computer is caused to perform the stereo playback provided in the first aspect of the embodiment method.
  • an embodiment of the present application provides an electronic device for stereo playback, including dual speakers, a processor, and a memory, where the processor is used to execute a computer program in the memory by executing:
  • the embodiment of the present application can transcode the multi-channel signal into a two-channel signal, and finally perform crosstalk elimination on the two-channel signal with a stereo signal, a stereo playback effect can be achieved when the dual speakers play audio.
  • FIG. 1 is a first flowchart of a stereo playback method provided by an embodiment of the present application.
  • FIG. 2 is a second flowchart of a stereo playback method provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a first scenario of stereo playback provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a second scenario of stereo playback provided by an embodiment of the present application.
  • FIG. 5 is a first schematic structural diagram of a stereo playback device provided by an embodiment of the present application.
  • FIG. 6 is a second schematic structural diagram of a stereo playback device provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an electronic device for stereo playback provided by an embodiment of the present application.
  • the computer execution referred to herein includes operations by a computer processing unit that represents electronic signals representing data in a structured form. This operation transforms the data or maintains it at a location in the computer's memory system, which can be reconfigured or otherwise alter the operation of the computer in a manner well known to those skilled in the art.
  • the data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format.
  • a stereo playback method is applied to an electronic device with dual speakers.
  • the method includes:
  • extracting a stereo signal with orientation information in the audio signal includes:
  • transcoding the multi-channel signal into a two-channel signal includes:
  • constructing a virtual speaker array based on the head-related transfer function includes:
  • the audio signals of the plurality of virtual speakers are respectively calculated based on a first formula, where the first formula is:
  • P i is the audio signal of the i-th virtual speaker
  • ⁇ i is the azimuth of the i-th virtual speaker position on the horizontal plane XY
  • d is a scale factor
  • W is the channel signal.
  • the two-channel transcoding of the virtual speaker array signal includes:
  • the two-channel transcoding of the virtual speaker array signal based on a second formula can obtain a stereo signal of a two-sound signal, wherein the second formula is:
  • L is the left channel signal
  • R is the right channel signal
  • H is the head-related transfer function
  • P is the audio signal of the virtual speaker.
  • the crosstalk cancellation of the two-channel signal includes:
  • the left-channel signal of the two-channel signal is passed through a high-pass filter, and the right-channel signal is passed through a low-pass filter to eliminate crosstalk between the low- and mid-frequency signals.
  • the crosstalk cancellation of the low-mid frequency signal includes:
  • Crosstalk cancellation is performed on the low- and mid-frequency signal claimed based on a third formula, where the third formula is:
  • C is the elimination matrix
  • G is the gain constant
  • L LP is the left channel signal through the low-pass filter
  • L HP is the left channel signal through the high-pass filter
  • R LP is the right channel through the low-pass filter Signal
  • R HP is the right channel signal that passes through the high-pass filter
  • L out is the output left channel signal
  • R out is the output right channel signal.
  • FIG. 1 is a schematic flowchart of a stereo playback method provided by an embodiment of the present application.
  • the stereo playback method can be applied to electronic devices containing dual speakers.
  • the flow of the stereo playback method may include:
  • the electronic device When the electronic device plays audio, it will open the audio file through network download or local storage. At this time, the audio signal will be input.
  • the audio file has many formats. Some formats of the audio file contain stereo information.
  • the electronic device receives After the input audio signal, the audio signal is extracted to obtain a stereo signal with orientation information.
  • the stereo signal is decoded to obtain a multi-channel signal.
  • the stereo playback effect may be a multi-channel surround sound playback effect. Since multi-channel surround sound has many different formats, for example, Dolby AC-3 (Dolby Audio Code 3) standard, DTS (Digital Theater) Standard. When playing audio, audio files with different audio encoding formats have different input audio signals. The stereo signals contained in the audio signals are decoded, and multi-channel signals are obtained according to the decoded information.
  • Dolby AC-3 Dolby Audio Code 3
  • DTS Digital Theater
  • the multi-channel signal is transcoded to obtain a two-channel signal.
  • the stereo signal is decoded to obtain a virtual speaker signal, and then a virtual speaker array is constructed according to the virtual speaker signal.
  • the position of the virtual speaker array can be constructed based on the head-related transfer function, and the position of the virtual speaker can be At any place in the space, the virtual speaker array signals containing different channel information are finally transcoded in two channels, and finally a two-channel signal with a stereo signal is obtained.
  • cross-talk cancellation is performed on the two-channel signal and output to the two speakers for playback.
  • Cross-talk cancellation is required for the two-channel signal after transcoding the multi-channel signal.
  • the purpose of crosstalk cancellation is achieved by filtering the two-channel signals in different frequency bands.
  • the shielding effect of the head, when playing audio, the crosstalk phenomenon of high-frequency signals is not obvious, you can pass the high-pass filter to the left channel signal of the two-channel signal, and the low-pass filter to the right channel signal , Mainly eliminate the crosstalk of the mid-low frequency signal in the two-channel signal, and finally output the two-channel signal after the crosstalk is eliminated to the dual speakers.
  • the dual speakers perform audio playback, so that the electronic device achieves the effect of stereo playback.
  • this embodiment extracts the stereo signal from the audio signal, and then decodes the stereo signal, transcodes the decoded multi-channel signal into a two-channel signal, and finally outputs the two-channel signal for crosstalk cancellation , Output dual-channel signal to dual speakers, and achieve better stereo playback effect when playing audio on the dual speakers.
  • FIG. 2 is a second schematic flowchart of a stereo playback method provided by an embodiment of the present application.
  • the stereo playback method can be applied to electronic devices containing dual speakers.
  • the flow of the stereo playback method may include:
  • the input audio signal is obtained.
  • the user can use the mobile phone to download the audio file online on the network, and then play the audio file to obtain the input audio signal.
  • the user can also play the audio file on the local storage of the mobile phone to obtain audio signal.
  • audio files There are many formats of audio files, for example, audio files have MP3, WMA, APE, AAC and other formats, so the audio signals input during audio playback are also different.
  • step 203 it is determined whether the input audio signal contains a stereo signal, and if not, step 203 is executed.
  • stereo signals contain different information.
  • Some input audio signals contain stereo signals.
  • Common stereo signals include B-Format, N3D, SN3D and other formats.
  • the stereo signals contain orientation information, but some audio The signal does not contain a stereo signal.
  • the stereo signal contains orientation information.
  • the orientation information of the stereo signal can be in multiple positions. It is understandable that in this three-dimensional virtual space, when a virtual speaker plays audio, it is in a three-dimensional virtual Human ears in the space can receive sounds from virtual speakers in various locations.
  • step 204 is performed. If the input audio signal does not have a stereo signal, step 203 is performed.
  • the input audio signal is encoded.
  • the audio signal When it is determined that the input audio signal does not contain a stereo signal, the audio signal needs to be encoded.
  • the audio signal in the case where the audio signal does not contain a stereo signal, it can be understood that the audio signal contains only a mono audio signal. In this case, you can set the spatial parameters, set the stereo parameters and mono Channel audio signals are combined and encoded into audio signals with stereo signals.
  • FIG. 3 is a schematic diagram of a stereo playback scenario provided by this embodiment.
  • an input audio signal may be encoded into an audio signal with a stereo signal, where the stereo signal may be B-Format, N3D, SN3D
  • the stereo signal in the first-order B-Format format can be encoded as follows:
  • is the azimuth angle of the virtual speaker position on the horizontal plane XY, Is the azimuth of the virtual speaker position on the vertical plane YZ.
  • the input audio signal can be finally encoded into an audio signal with a stereo signal.
  • the encoded stereo signal may be a first-order B-Format stereo signal.
  • a virtual speaker array is constructed, and a stereo signal with orientation information is decoded.
  • the virtual speaker array contains multiple virtual speakers. In a virtual three-dimensional virtual space, these virtual speakers are placed at different positions to decode stereo signals with orientation information, so that the signals of the virtual speaker array have The orientation information is finally constructed as a virtual speaker array in a three-dimensional virtual space.
  • the stereo signals in B-Format, N3D and other formats can be decoded into multiple virtual speaker signals for playback.
  • the person is in the virtual three-dimensional space played by the virtual speakers and receives the sounds from each virtual speaker. Realize stereo playback.
  • FIG. 3 is a schematic diagram of a stereo playback scene provided in this embodiment.
  • the virtual three-dimensional space is in the shape of a cube or other shapes.
  • the virtual three-dimensional space of the cube is used as an example.
  • L1 and R1 are the left and right speakers of the mobile phone, respectively
  • is the azimuth of the virtual speaker position on the horizontal plane XY
  • 10, 20, 30, 40, 50, 60, 70, 80 in the figure are the virtual speakers in different positions in the virtual three-dimensional space.
  • the position of the virtual speaker can be based on the head
  • the related transfer function can be created by other methods.
  • the spatial positions of the 8 virtual speakers are (45°, 30°), (-45°, 30°), (135 °, 30°), (-135°, 30°), (45°, -30°), (-45°, -30°), (135°, -30°), (-135°, -30 °).
  • playback is performed according to the formula, which is as follows:
  • the resulting virtual speaker array signal can be expressed as:
  • the decoded multi-channel signal is transcoded into a two-channel signal.
  • the position of the virtual speaker array may be constructed based on the head-related transfer function HRTF, and the two-channel transcoding of the multi-channel virtual speaker array signal may obtain a stereo signal output in two channels.
  • each virtual speaker corresponds to the head-related transfer function HRTF of the corresponding spatial angle, and the head-related impulse response HRIR in the time domain, then the stereo signal of two channels is:
  • L and R represent the left channel signal and the right channel signal
  • H is the head-related transfer function
  • P is the playback signal of the virtual speaker.
  • crosstalk cancellation is performed on the two-channel signal.
  • FIG. 4 is a schematic diagram of a stereo playback scenario provided in this embodiment.
  • H LL , H RR , H RL, and H LR are head-related transfer functions HRTF, and 1 is the left speaker of the mobile phone , 2 is the right speaker of the mobile phone, 3 is the left ear of the person, and 4 is the right ear of the person.
  • both the left and right speakers can make sounds, and the human ear will receive the sound from the two speakers
  • the mobile phone is placed horizontally to play audio, when the ear receives the sound from the same speaker, it will also receive the sound from the other speaker This is the crosstalk phenomenon.
  • crosstalk elimination processing is performed on the input audio signal, and then use the dual speakers of the mobile phone to play audio, there will be no crosstalk phenomenon. Adjust for actual production use.
  • the sound of the dual speakers of the mobile phone can be expressed as:
  • H LL , H RR , H RL and H LR are header-related transfer functions HRTF.
  • HRTF header-related transfer functions
  • the left channel signal and the right channel signal of the two-channel stereo signal are respectively passed through a high-pass filter and a low-pass filter, and the main Crosstalk elimination for low and medium frequency signals:
  • G is the gain constant
  • L LP is the left channel signal through the low-pass filter
  • L HP is the left channel signal through the high-pass filter
  • R LP is the right channel signal through the low-pass filter
  • R HP is The right channel signal passing through the high-pass filter
  • L out is the output left channel signal
  • R out is the output right channel signal
  • the frequency division point f 0 of the filter used can range from 3500 to 5500 Hz. In the example, the value is 4000Hz.
  • the input two-channel signal is processed to achieve the effect of eliminating crosstalk of the two-channel signal.
  • the audio signal is input to the dual speakers for playback.
  • the two-channel signal is input to the dual speakers.
  • the dual speakers play audio, the crosstalk phenomenon is eliminated, and the effect of stereo playback is realized.
  • the embodiments of the present application determine whether the input audio signal has a stereo signal by judging the input audio signal. If there is a stereo signal, a virtual speaker array is constructed to decode the stereo signal with orientation information. If there is no stereo signal in the input audio signal, the audio signal is encoded to make it have a stereo signal, and then a virtual speaker array is constructed to decode the stereo signal with orientation information, and then transcode the decoded multi-channel signal Into a two-channel signal, crosstalk elimination of the transcoded two-channel signal, the audio signal is input to the two speakers for playback, to achieve the effect of stereo playback.
  • the stereo playback device includes:
  • Extraction module used to extract the stereo signal with orientation information in the audio signal
  • a decoding module for decoding the stereo signal to obtain a multi-channel signal
  • a transcoding module for transcoding the multi-channel signal into a two-channel signal
  • a crosstalk cancellation module is used to perform crosstalk cancellation on the two-channel signals respectively.
  • the extraction module includes:
  • the encoding sub-module is used for encoding the audio signal when the judgment sub-module judges NO, so as to obtain the stereo signal with orientation information.
  • the transcoding module includes:
  • Array construction sub-module for constructing virtual speaker array based on head-related transfer function
  • the transcoding submodule is specifically used to perform two-channel transcoding on the virtual speaker array signal.
  • the array construction submodule is specifically used to construct the positions of multiple virtual speakers in the space
  • the audio signals of the plurality of virtual speakers are respectively calculated based on a first formula, where the first formula is:
  • P i is the audio signal of the i-th virtual speaker
  • ⁇ i is the azimuth of the i-th virtual speaker position on the horizontal plane XY
  • d is a scale factor
  • W is the channel signal.
  • the crosstalk cancellation module includes:
  • the filtering sub-module is used for passing the left channel signal of the two-channel signal through a high-pass filter and the right channel signal through a low-pass filter, so as to eliminate crosstalk between the low- and medium-frequency signals.
  • FIG. 5 is a stereo playback device provided by an embodiment of the present application.
  • the stereo playback device 500 is applied to an electronic device including dual speakers.
  • the stereo playback device 500 includes an extraction module 501, a decoding module 502, a transcoding module 503, and crosstalk Elimination module 504.
  • the extraction module 501 is used to extract a stereo signal with orientation information in the audio signal.
  • the audio file when a user uses an electronic device to play audio, the audio file will be opened via network download or local storage. At this time, an audio signal will be input, and the audio file has many formats, for example, the audio file has MP3, WMA , APE, AAC and other formats, some formats of audio files contain stereo information.
  • the extraction module 501 extracts the audio signal to obtain a stereo signal with orientation information.
  • the decoding module 502 is configured to decode the stereo signal to obtain a multi-channel signal.
  • the decoding module 502 decodes stereo signals of B-Format, N3D, SN3D and other formats to obtain multi-channel signals. It can be understood that, in a virtual three-dimensional space, multi-channel signals may be generated by virtual speakers at different positions.
  • the transcoding module 503 is used to transcode the multi-channel signal into a two-channel signal.
  • the position of the virtual speaker array may be constructed based on the head-related transfer function HRTF, and the two-channel transcoding of the multi-channel virtual speaker array signal may obtain a stereo signal output in two channels.
  • the resulting two-channel signal has a stereo signal
  • the multi-channel signal can be understood as an audio signal emitted by multiple virtual speakers.
  • the crosstalk cancellation module 504 is configured to perform crosstalk cancellation on the two-channel signal and output to the dual speakers for playback.
  • Cross-talk cancellation is required for the two-channel signal after transcoding the multi-channel signal.
  • the purpose of crosstalk cancellation is achieved by filtering the two-channel signals in different frequency bands.
  • the shielding effect of the head, when playing audio, the crosstalk phenomenon of high-frequency signals is not obvious, you can pass the high-pass filter to the left channel signal of the two-channel signal, and the low-pass filter to the right channel signal , Mainly eliminate the crosstalk of the mid-low frequency signal in the two-channel signal, and finally output the two-channel signal after the crosstalk is eliminated to the dual speakers.
  • the dual speakers perform audio playback, so that the electronic device achieves the effect of stereo playback.
  • FIG. 6 is another schematic diagram of a stereo playback device provided by an embodiment of the present application.
  • the stereo playback device 500 is applied to an electronic device including dual speakers.
  • the extraction module 501 may include a judgment sub-module 5011 and an encoding sub-module 5012.
  • the determining module 5011 is configured to determine whether the audio signal contains a stereo signal.
  • some audio signals do not contain a stereo signal with orientation information, and a judgment needs to be made on the input audio signal. If the input audio signal does not have a stereo signal, the encoding submodule 5012 needs to continue Go to the next step.
  • the encoding sub-module 5012 is configured to encode an audio signal that does not include a stereo signal to obtain the stereo signal with orientation information.
  • the audio signal When it is determined that the input audio signal does not contain a stereo signal, the audio signal needs to be encoded.
  • the audio signal in the case where the audio signal does not contain a stereo signal, it can be understood that the audio signal contains only a mono audio signal. In this case, you can set the spatial parameters, set the stereo parameters and mono Channel audio signals are combined and encoded into audio signals with stereo signals.
  • the transcoding module 503 includes an array construction submodule 5031 and a transcoding submodule 5032.
  • the array construction submodule 5031 is used to construct a virtual speaker array based on the head-related transfer function.
  • the virtual speaker array contains multiple virtual speakers. In a virtual three-dimensional virtual space, these virtual speakers are placed at different positions to decode stereo signals with orientation information, so that the signals of the virtual speaker array have The orientation information is finally constructed as a virtual speaker array in a three-dimensional virtual space.
  • the transcoding submodule 5032 is specifically configured to perform two-channel transcoding on the virtual speaker array signal.
  • the stereo signals in B-Format, N3D and other formats can be decoded into multiple virtual speaker signals for playback.
  • the person is in the virtual three-dimensional space played by the virtual speakers and receives the sounds from each virtual speaker. Realize stereo playback.
  • the crosstalk cancellation module 504 includes a filtering module 5041 for passing the left channel signal of the two-channel signal through a high-pass filter and the right channel signal through a low-pass filter.
  • the two-channel signal generated after transcoding needs to filter the two-channel signal, and the output two-channel signal will not show crosstalk when playing on the two speakers. Because, in reality, due to the human head’s Shielding effect, high-frequency signal crosstalk is not obvious.
  • the left-channel signal and the right-channel signal of the two-channel stereo signal are respectively passed through a high-pass filter and a low-pass filter, and crosstalk is mainly eliminated on the low-frequency signal .
  • the audio signal when it is judged that the input audio signal does not have a stereo signal, the audio signal can be encoded into an audio signal containing stereo signals in multiple formats, and then the multi-channel signal is transcoded into two channels.
  • the signal When the signal is transmitted, it can be transcoded according to a preset transcoding method. For example, by using the spatial information contained in the multi-channel signal, in the final crosstalk elimination step, the mid-low frequency signal is filtered in the embodiment of the present application.
  • the real-time adjustment of the two-channel signal can be performed according to the placement of the mobile phone, without limiting the application.
  • the embodiments of the present application determine whether the input audio signal has a stereo signal by judging the input audio signal. If there is a stereo signal, a virtual speaker array is constructed to decode the stereo signal with orientation information. If there is no stereo signal in the input audio signal, the audio signal is encoded to make it have a stereo signal, and then a virtual speaker array is constructed to decode the stereo signal with orientation information, and then transcode the decoded multi-channel signal Into a two-channel signal, crosstalk elimination of the transcoded two-channel signal, the audio signal is input to the two speakers for playback, to achieve the effect of stereo playback.
  • the stereo playback device and the stereo playback method in the above embodiments belong to the same concept. Any method provided in the stereo playback method embodiment can be run on the stereo device. For the specific implementation process, see the stereo playback method The embodiment will not be repeated here.
  • module used herein may be regarded as a software object executed on the computing system.
  • the different components, modules, engines and services described in this article can be regarded as the implementation objects on the computing system.
  • the device and method described herein can be implemented in the form of software, and of course can also be implemented in hardware, which are all within the protection scope of the present application.
  • An embodiment of the present application further provides a storage medium on which a computer program is stored, and when the computer program is run on a computer, the computer is caused to perform the above-mentioned stereo playback method.
  • An embodiment of the present application also provides an electronic device, such as a tablet computer, a mobile phone, and other electronic devices.
  • the processor in the electronic device loads the instructions corresponding to the process of one or more application programs into the memory according to the following steps, and the processor runs the application programs stored in the memory to implement various functions:
  • the processor when extracting a stereo signal with orientation information in the audio signal, the processor is used to perform the following steps:
  • the processor when transcoding the multi-channel signal into a two-channel signal, the processor is configured to perform the following steps:
  • the processor when constructing a virtual speaker array based on a head-related transfer function, the processor is used to perform the following steps:
  • the audio signals of the plurality of virtual speakers are respectively calculated based on a first formula, where the first formula is:
  • P i is the audio signal of the i-th virtual speaker
  • ⁇ i is the azimuth of the i-th virtual speaker position on the horizontal plane XY
  • d is a scale factor
  • W is the channel signal.
  • the processor when performing bi-channel transcoding on the virtual speaker array signal, the processor is used to perform the following steps:
  • the two-channel transcoding of the virtual speaker array signal based on a second formula can obtain a stereo signal of a two-sound signal, wherein the second formula is:
  • L is the left channel signal
  • R is the right channel signal
  • H is the head-related transfer function
  • P is the audio signal of the virtual speaker.
  • the processor when crosstalk cancellation is performed on the mid- and low-frequency signals, the processor is used to perform the following steps:
  • Crosstalk cancellation is performed on the low- and mid-frequency signal claimed based on a third formula, where the third formula is:
  • C is the elimination matrix
  • G is the gain constant
  • L LP is the left channel signal through the low-pass filter
  • L HP is the left channel signal through the high-pass filter
  • R LP is the right channel through the low-pass filter Signal
  • R HP is the right channel signal that passes through the high-pass filter
  • L out is the output left channel signal
  • R out is the output right channel signal.
  • FIG. 7 is a schematic structural diagram of an electronic device for stereo playback provided by an embodiment of the present invention.
  • the electronic device 700 includes a processor 701, a display 702, a memory 703, a radio frequency circuit 704, an audio module 705, and a power supply 706.
  • the processor 701 is the control center of the electronic device 700, using various interfaces and lines to connect the various parts of the entire electronic device, by running or loading the computer program stored in the memory 702, and calling the data stored in the memory 702, Perform various functions of the electronic device 700 and process data, thereby performing overall monitoring of the electronic device 700.
  • the memory 702 may be used to store software programs and modules.
  • the processor 701 runs computer programs and modules stored in the memory 702 to execute various functional applications and data processing.
  • the memory 702 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, computer programs required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may store Data created by the use of electronic devices, etc.
  • the memory 702 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 702 may further include a memory controller to provide the processor 701 with access to the memory 702.
  • the processor 701 in the electronic device 700 will load the instruction corresponding to the process of one or more computer programs into the memory 702 according to the following steps, and the processor 701 runs and stores the instruction
  • the computer program in, which realizes various functions, is as follows:
  • the stereo signal Obtain the input audio signal, extract the stereo signal with orientation information in the input audio signal, if the input audio signal does not have a stereo signal, encode the input audio signal so that it has a stereo signal, and then, the stereo signal Decode the audio signal to obtain a multi-channel signal, use the head-related transfer function to create a virtual speaker array, transcode the multi-channel signal into a two-channel signal with a stereo signal, and then perform crosstalk cancellation on the two-channel signal. Finally, the two-channel signal after crosstalk elimination is output to the two speakers for playback, so as to realize the stereo playback effect when the electronic device plays audio.
  • the display 703 may be used to display information input by the user or provided to the user, and various graphical user interfaces, which may be composed of graphics, text, icons, video, and any combination thereof.
  • the display 703 may include a display panel.
  • the display panel may be configured in the form of a liquid crystal display (Liquid Crystal) (LCD) or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).
  • LCD liquid crystal display
  • OLED Organic Light-Emitting Diode
  • the radio frequency circuit 704 may be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and to transmit and receive signals with network devices or other electronic devices.
  • the audio module 705 includes dual speakers and audio circuits.
  • the audio circuit can transmit the converted electrical signal of the received audio data to the dual speakers, which converts the dual speakers into sound signals for output; on the other hand, the microphone converts the collected sound signals into electrical signals, which are converted by the audio circuit
  • the radio frequency circuit 704 is sent to, for example, another terminal, or the audio data is output to the memory 702 for further processing.
  • the audio circuit may also include an earplug jack to provide communication between the peripheral headset and the terminal.
  • the power supply 706 may be used to power various components of the electronic device 700.
  • the power supply 706 may be logically connected to the processor 701 through the power management system, so as to implement functions such as charging, discharging, and power management through the power management system.
  • the electronic device 700 may further include a camera, a Bluetooth module, and so on, and details are not described herein.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
  • the computer program may be stored in a computer-readable storage medium, such as stored in the memory of the electronic device, and executed by at least one processor in the electronic device, and may include, for example, implementation of a user's gender prediction method during execution Example process.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.
  • each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules are integrated into one module.
  • the above integrated modules may be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium, such as a read-only memory, magnetic disk, or optical disk.

Landscapes

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

Abstract

本申请公开了一种立体声播放方法,包括:提取音频信号中具有方位信息的立体声信号,对所述立体声信号进行解码,以得到多声道信号,将所述多声道信号转码成双声道信号,分别对所述双声道信号进行串扰消除并输出至所述双扬声器进行播放。本申请还提供了一种立体声播放装置、存储介质及电子设备。

Description

立体声播放方法、装置、存储介质及电子设备 技术领域
本申请属于声学技术领域,尤其涉及一种立体声播放方法、装置、存储介质及电子设备。
背景技术
随着电子设备的不断发展,手机上的多媒体播放功能已经成为用户日常使用的功能之一,用户对手机音频播放效果的要求也越来越高,目前提高音频播放效果的方式之一是实现立体声播放,实现立体声播放的效果需要较大的空间和设备,不利于手机等便携电子设备实现立体声播放,目前大部分厂商的解决方案是通过耳机端构建虚拟扬声器阵列来实现立体声播放的效果,另一种解决方案是在手机上设置两个扬声器作为外放设备,在提高音量的同时,也可以实现立体声播放的效果。
申请内容
本申请实施例提供一种立体声播放方法、装置、存储介质及电子设备,可以实现立体声播放的效果。
第一方面,本申请实施例提供一种立体声播放方法,应用于电子设备,所述电子设备包括双扬声器,所述方法包括:
提取音频信号中具有方位信息的立体声信号;
对所述立体声信号进行解码,以得到多声道信号;
对所述多声道信号转码成双声道信号;
分别对所述双声道信号进行串扰消除并输出至所述双扬声器进行播放。
第二方面,本申请实施例提供一种立体声播放装置,应用于电子设备,所述电子设备包括双扬声器,所述装置包括:
提取模块,用于提取音频信号中具有方位信息的立体声信号;
解码模块,用于对所述立体声信号进行解码,以得到多声道信号;
转码模块,用于将所述多声道信号转码成双声道信号;
串扰消除模块,用于分别对所述双声道信号进行串扰消除。
第三方面,本申请实施例提供了一种存储介质,其上存储有计算机程序,其中,当所述计算机程序在计算机上执行时,使得所述计算机执行本实施例第一方面提供的立体 声播放方法。
第四方面,本申请实施例提供了一种用于立体声播放的电子设备,包括双扬声器、处理器及存储器,其中,所述处理器通过调用所述存储器中的计算机程序,用于执行:
提取音频信号中具有方位信息的立体声信号;
对所述立体声信号进行解码,以得到多声道信号;
将所述多声道信号转码成双声道信号;
分别对所述双声道信号进行串扰消除并输出至所述双扬声器进行播放。
由于本申请实施例可以将多声道信号转码成双声道信号,最后对具有立体声信号的双声道信号进行串扰消除,可以达到双扬声器播放音频时有立体声播放效果。
附图说明
下面结合附图,通过对本申请的具体实施方式详细描述,将使本申请的技术方案及其有益效果显而易见。
图1是本申请实施例提供的立体声播放方法的第一种流程图。
图2是本申请实施例提供的立体声播放方法的第二种流程图。
图3是本申请实施例提供的立体声播放的第一种场景示意图。
图4是本申请实施例提供的立体声播放的第二种场景示意图。
图5是本申请实施例提供的立体声播放装置的第一种结构示意图。
图6是本申请实施例提供的立体声播放装置的第二种结构示意图。
图7是本申请实施例提供的用于立体声播放的电子设备结构示意图。
具体实施方式
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。
在以下的说明中,本申请的具体实施例将参考由一部或多部计算机所执行的步骤及符号来说明,除非另有述明。因此,这些步骤及操作将有数次提到由计算机执行,本文所指的计算机执行包括了由代表了以一结构化型式中的数据的电子信号的计算机处理单元的操作。此操作转换该数据或将其维持在该计算机的内存系统中的位置处,其可重新配置或另外以本领域测试人员所熟知的方式来改变该计算机的运作。该数据所维持的 数据结构为该内存的实体位置,其具有由该数据格式所定义的特定特性。但是,本申请原理以上述文字来说明,其并不代表为一种限制,本领域测试人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。
本申请中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或模块的过程、方法、系统、产品或设备没有限定于已列出的步骤或模块,而是某些实施例还包括没有列出的步骤或模块,或某些实施例还包括对于这些过程、方法、产品或设备固有的其它步骤或模块。
随着电子设备的不断发展,如智能手机等电子设备,部分电子设备中设置了双扬声器,用户在播放音频的时候,不仅可以提高音量,也能达到立体声播放的效果,由于双扬声器的距离较近,当手机水平放置播放音频的时候,耳朵在接收到同侧扬声器发出的声音的时候,还会接收到另一扬声器发出的声音,这就是串扰现象。本申请实施例中提供的方案可以解决双扬声器播放音频时出现串扰现象的问题,实现双扬声器播放音频时达到立体声播放效果。
在一实施例中,一种立体声播放方法,应用于具有双扬声器的电子设备,方法包括:
提取音频信号中具有方位信息的立体声信号;
对所述立体声信号进行解码,以得到多声道信号;
将所述多声道信号转码成双声道信号;
分别对所述双声道信号进行串扰消除并输出至所述双扬声器进行播放。
在一实施例中,提取音频信号中具有方位信息的立体声信号,包括:
判断所述音频信号是否包含立体声信号;
若否,对所述音频信号进行编码,以得到所述具有方位信息的立体声信号。
在一实施例中,将所述多声道信号转码成双声道信号,包括:
基于头相关传输函数构建虚拟扬声器阵列;
对所述虚拟扬声器阵列信号进行双声道转码。
在一实施例中,基于头相关传输函数构建虚拟扬声器阵列,包括:
构建多个虚拟扬声器在空间中的位置;
基于第一公式分别计算多个所述虚拟扬声器的音频信号,其中所述第一公式为:
Figure PCTCN2018117642-appb-000001
其中,P i为第i个虚拟扬声器的音频信号,θ i为第i个虚拟扬声器位置在水平面XY上的方位角,
Figure PCTCN2018117642-appb-000002
为第i个虚拟扬声器位置在垂直平面YZ上的方位角,d为一个比例系数,W为声道信号。
在一实施例中,对所述虚拟扬声器阵列信号进行双声道转码,包括:
基于第二公式对所述虚拟扬声器阵列信号进行双声道转码,可以得到双声信号的立体声信号,其中所述第二公式为:
Figure PCTCN2018117642-appb-000003
其中L为左声道信号,R为右声道信号,H为头相关传输函数,P为虚拟扬声器的音频信号。
在一实施例中,所述对所述双声道信号进行串扰消除,包括:
将所述双声道信号的左声道信号通过高通滤波器,右声道信号通过低通滤波器,对中低频信号进行串扰消除。
在一实施例中,所述对中低频信号进行串扰消除,包括:
基于第三公式对所诉中低频信号进行串扰消除,其中所述第三公式为:
Figure PCTCN2018117642-appb-000004
其中C为消除矩阵,G为增益常数,L LP是通过低通滤波器的左声道信号,L HP是通过高通滤波器的左声道信号,R LP是通过低通滤波器的右声道信号,R HP为通过高通滤波器的右声道信号,L out为输出的左声道信号,R out为输出的右声道信号。
请参阅图1,图1是本申请实施例提供的立体声播放方法的流程示意图。该立体声播放方法可以应用于含有双扬声器的电子设备。该立体声播放方法的流程可以包括:
在101中,提取音频信号中具有方位信息的立体声信号。
电子设备播放音频的时候,会通过网络下载或者本地存储的方式将音频文件打开,此时会输入音频信号,音频文件有很多种格式,一些格式的音频文件中含有立体声信息,电子设备在接收到输入的音频信号后,会对音频信号进行提取,得到具有方位信息的立体声信号。
在102中,对立体声信号进行解码,以得到多声道信号。
在一种实施例中,立体声播放效果可以是多声道环绕声的播放效果,由于多声道环绕声有很多种不同的格式,例如,Dolby AC-3(Dolby Audio Code3)标准,DTS(Digital Theater Sound)标准。在播放音频时,不同音频编码格式的音频文件,输入的音频信号也不同,对音频信号包含的立体声信号进行解码,根据解码的信息,获取多声道信号。
在103中,将多声道信号进行转码,以得到双声道信号。
在转码之前,对立体声信号进行解码,得到虚拟扬声器信号,然后根据虚拟扬声器信号构建成虚拟扬声器阵列,虚拟扬声器阵列位置可以基于头相关传输函数来构建,虚拟扬声器的位置可以在人头部所处空间的任意地方,最后含有不同声道信息的虚拟扬声器阵列信号进行双声道转码,最终得到具有立体声信号的双声道信号。
在104中,分别对双声道信号进行串扰消除并输出至所述双扬声器进行播放。
对多声道信号进行转码后的双声道信号需要进行串扰消除,在一种实施例中,通过对不同频段的双声道信号进行滤波,达到串音消除的目的,具体地,由于人的头部的屏蔽效应,在播放音频时,高频信号的的串扰现象并不明显,可以通过对双声道信号中的左声道信号通过高通滤波器,右声道信号通过低通滤波器,主要对双声道信号中的中低频信号进行串扰消除,最终将串扰消除后的双声道信号输出至双扬声器,双扬声器进行音频播放,使电子设备达到立体声播放的效果。
由上述可知,本实施例通过对提取音频信号中的立体声信号,再对立体声信号进行解码,将解码后的多声道信号转码成双声道信号,最后输出的双声道信号进行串扰消除,将双声道信号输出双扬声器,在双扬声器上播放音频时能达到较好的立体声播放效果。
请参阅图2,图2是本申请实施例提供的立体声播放方法的第二种流程示意图。该立体声播放方法可以应用于含有双扬声器的电子设备。该立体声播放方法的流程可以包括:
在201中,获取输入的音频信号。
获取输入的音频信号可以有多种方式,例如,用户可以用手机在网络上在线下载音频文件,然后播放音频文件时,获取输入的音频信号,用户还可以在手机本地存储上播放音频文件,获取音频信号。由于音频文件的格式有很多种,例如音频文件有MP3、WMA、APE、AAC等格式,因此在音频播放时输入的音频信号也有所不同。
在202中,判断输入的音频信号是否含有立体声信号,若否,则执行步骤203。
可以理解的是,不同的音频信号包含的信息也不同,一些输入的音频信号中含有立体声信号,常见的立体声信号有B-Format、N3D、SN3D等格式,立体声信号中含有方位信息,但是有些音频信号是不含有立体声信号的。
立体声信号含有方位信息,例如在一个虚拟的三维空间中,立体声信号所具有的方位信息可以是多个位置,可以理解的是,在这个三维虚拟空间中,虚拟扬声器播放音频时,处在三维虚拟空间的人耳可以接收到从各个位置虚拟扬声器发出的声音。
在处理接下来的步骤时,需要先判断输入的音频信号是否含有立体声信号,若输入的音频信号含有立体声信号,则执行204步骤,若输入的音频信号没有立体声信号,则执行203步骤。
在203中,对输入的音频信号进行编码。
判断出输入的音频信号不含有立体声信号的情况下,需要对音频信号编码。在一种实施例中,在音频信号不含有立体声信号的情况下,可以理解的是,该音频信号只含有单声道音频信号,这时可以通过设置空间参数,通过设置的立体声参数和单声道音频信号结合,编码成具有立体声信号的音频信号。
如图3所示,图3为本实施例提供的立体声播放的场景示意图,例如,可以将输入的音频信号编码成具有立体声信号的音频信号,其中,立体声信号可以为B-Format、N3D、SN3D等格式,具体地,可以将一阶B-Format格式的立体声信号,具体编码过程如下:
Figure PCTCN2018117642-appb-000005
Figure PCTCN2018117642-appb-000006
Figure PCTCN2018117642-appb-000007
Figure PCTCN2018117642-appb-000008
图3中θ为虚拟扬声器位置在水平面XY上的方位角,
Figure PCTCN2018117642-appb-000009
为虚拟扬声器位置在垂直平面YZ上的方位角。则公式中,θ i为虚拟扬声器位置在水平面XY上的方位角,
Figure PCTCN2018117642-appb-000010
为虚拟扬声器位置在垂直平面YZ上的方位角,其中,s i为第i个音频信号,i=(1,2…k)为 音频信号的个数,W声道信号表示全方向的声信号,X声道信号,Y声道信号和Z声道信号分别表示空间三个互相垂直取向的声信号。
通过公式,最终可以将输入的音频信号编码成具有立体声信号的音频信号,在本实施例中,编码的立体声信号可以为一阶B-Format立体声信号。
在204中,构建虚拟扬声器阵列,并对具有方位信息的立体声信号进行解码。
可以理解的是,虚拟扬声器阵列中包含多个虚拟扬声器,在虚拟的三维虚拟空间中,这些虚拟扬声器摆放在不同的位置,对具有方位信息的立体声信号进行解码,使得虚拟扬声器阵列的信号具有方位信息,最终在三维虚拟空间中构建成虚拟扬声器阵列。
在一种实施例中,可以对B-Format、N3D等格式的立体声信号解码成多个虚拟扬声器信号进行播放,此时人处于虚拟扬声器播放的虚拟三维空间中,接收各个虚拟扬声器发出的声音,实现立体声播放。
例如,请参阅图3,图3是本实施例提供的立体声播放的场景示意图,虚拟三维空间是正方体形状,也可以是其它形状的空间,本实施例中以正方体的虚拟三维空间为例,此时,人处于虚拟三维空间的中心位置,手机置于人头的正前方,L1和R1分别为手机的左扬声器和右扬声器,θ为虚拟扬声器位置在水平面XY上的方位角,
Figure PCTCN2018117642-appb-000011
为虚拟扬声器位置在垂直平面YZ上的方位角,图中10、20、30、40、50、60、70、80为处在虚拟三维空间中不同位置的虚拟扬声器,虚拟扬声器的位置可以基于头相关传输函数创建,也可以通过其它方式创建。对B-Format格式的立体声信号解码成8个虚拟扬声器信号进行重放,此时,8个虚拟扬声器的空间位置分别为(45°,30°)、(-45°,30°)、(135°,30°)、(-135°,30°)、(45°,-30°)、(-45°,-30°)、(135°,-30°)、(-135°,-30°)。具体地,根据公式进行重放,公式如下:
Figure PCTCN2018117642-appb-000012
其中,P i为第i个虚拟扬声器的重放信号,i=(1,2…8),θ i为虚拟扬声器位置在水平面XY上的方位角,
Figure PCTCN2018117642-appb-000013
为虚拟扬声器位置在垂直平面YZ上的方位角,W声道信号表示全方向的声信号,d为一个比例系数,取值范围0~2,在本实施例中,推荐值取1。最终得到的虚拟扬声器阵列信号可以表示为:
Figure PCTCN2018117642-appb-000014
在205中,将解码后的多声道信号转码成双声道信号。
在一种实施例中,虚拟扬声器阵列位置可以基于头相关传输函数HRTF构建,对多声道的虚拟扬声器阵列信号进行双声道转码,可以得到双声道输出的立体声信号。根据上一步骤得出的虚拟扬声器阵列信号,每个虚拟扬声器对应相应空间角度的头相关传输函数HRTF,在时域上为头相关冲击响应HRIR,则双声道的立体声信号为:
Figure PCTCN2018117642-appb-000015
其中,L、R分别表示为左声道信号和右声道信号,H为头相关传输函数,P为虚拟扬声器的重放信号。
在206中,对双声道信号进行串扰消除。
在双扬声器播放音频时,如果两个扬声器距离很近,就会产生串扰现象,此时,需要对输入的双声道信号进行串扰消除处理,使双扬声器播放音频时,没有串扰现象。
请参阅图4,图4是本实施例提供的立体声播放的场景示意图,在图4中,其中,H LL、H RR、H RL和H LR为头相关传输函数HRTF,1为手机的左扬声器,2为手机的右扬声器,3为人的左耳,4为人的右耳,在手机的双扬声器播放音频时,左扬声器和右扬声器都可以发出声音,人耳会接收到两个扬声器发出的声音,在没有对音频信号处理的情况下,由于双扬声器距离很近,当手机水平放置播放音频的时候,耳朵在接收到同侧扬声器发出的声音的时候,还会接收到另一扬声器发出的声音,这就是串扰现象,在对输入的音频信号进行串扰消除处理后,再使用手机的双扬声器播放音频时,就会没有串扰现象,图中手机扬声器的位置可以是其它位置,手机形态也可以根据实际的生产使用进行调整。
在一种实施例中,可以将人耳听到手机双扬声器的声音表示为:
Figure PCTCN2018117642-appb-000016
Figure PCTCN2018117642-appb-000017
其中,H LL、H RR、H RL和H LR为头相关传输函数HRTF。为了消除串扰现象,使得左 声道发出的声音和右声道发出的声音在传入人耳中不会出现串扰现象,需要创建一个消除矩阵C,使得
Figure PCTCN2018117642-appb-000018
Figure PCTCN2018117642-appb-000019
在现实中,由于人头的屏蔽效应,高频信号串扰现象不明显,本实施例将双声道的立体声信号左声道信号和右声道信号分别通过高通滤波器与低通滤波器,并主要对中低频信号进行串扰消除:
Figure PCTCN2018117642-appb-000020
其中G为增益常数,L LP是通过低通滤波器的左声道信号,L HP是通过高通滤波器的左声道信号,R LP是通过低通滤波器的右声道信号,R HP为通过高通滤波器的右声道信号,L out为输出的左声道信号,R out为输出的右声道信号,采用的滤波器的分频点f 0可取值范围3500~5500Hz,本实施例中取值为4000Hz。
根据上述过程,对输入的双声道信号进行处理,达到对双声道信号串扰消除的效果。
在207中,输入音频信号至双扬声器播放。
在完成串扰消除的步骤之后,将双声道信号输入至双扬声器,在双扬声器播放音频时,串扰现象得到消除,实现了立体声播放的效果。
由上述可知,本申请实施例通过对输入的音频信号进行判断,判断出输入的音频信号是否具有立体声信号,如果有立体声信号,则构建虚拟扬声器阵列,对具有方位信息的立体声信号进行解码,如果输入的音频信号中不具有立体声信号,则对音频信号进行编码,使其具有立体声信号,再构建虚拟扬声器阵列,对具有方位信息的立体声信号进行解码,之后将解码后的多声道信号转码成双声道信号,对转码成的双声道信号进行串扰消除,将音频信号输入至双扬声器进行播放,达到立体声播放的效果。
在一实施例中,立体声播放装置包括:
提取模块,用于提取音频信号中具有方位信息的立体声信号;
解码模块,用于对所述立体声信号进行解码,以得到多声道信号;
转码模块,用于将所述多声道信号转码成双声道信号;
串扰消除模块,用于分别对所述双声道信号进行串扰消除。
在一实施例中,所述提取模块包括:
判断子模块,用于判断所述音频信号是否包含立体声信号;
编码子模块,用于所述判断子模块判断为否时,对所述音频信号进行编码,以得到所述具有方位信息的立体声信号。
在一实施例中,所述转码模块包括:
阵列构建子模块,用于基于头相关传输函数构建虚拟扬声器阵列;
转码子模块,具体用于对所述虚拟扬声器阵列信号进行双声道转码。
在一实施例中,所述阵列构建子模块,具体用于构建多个虚拟扬声器在空间中的位置;
基于第一公式分别计算多个所述虚拟扬声器的音频信号,其中所述第一公式为:
Figure PCTCN2018117642-appb-000021
其中,P i为第i个虚拟扬声器的音频信号,θ i为第i个虚拟扬声器位置在水平面XY上的方位角,
Figure PCTCN2018117642-appb-000022
为第i个虚拟扬声器位置在垂直平面YZ上的方位角,d为一个比例系数,W为声道信号。
在一实施例中,所述串扰消除模块包括:
滤波子模块,用于将所述双声道信号的左声道信号通过高通滤波器,右声道信号通过低通滤波器,对中低频信号进行串扰消除。
请参阅图5,图5是本申请实施例提供的立体声播放装置,立体声播放装置500应用于含有双扬声器的电子设备,立体声播放装置500包括提取模块501、解码模块502、转码模块503和串扰消除模块504。
其中,提取模块501,用于提取音频信号中具有方位信息的立体声信号。
具体地,在用户使用电子设备播放音频的时候,会通过网络下载或者本地存储的方式将音频文件打开,此时会输入音频信号,音频文件有很多种格式,例如,例如音频文件有MP3、WMA、APE、AAC等格式,一些格式的音频文件中含有立体声信息,电子设备在接收到输入的音频信号后,提取模块501会对音频信号进行提取,得到具有方位信息的立体声信号。
解码模块502,用于对所述立体声信号进行解码,以得到多声道信号。
解码模块502对B-Format,N3D,SN3D等格式立体声信号进行解码,获取多声道信号,可以理解的是,在虚拟三维空间中,多声道信号可以是不同位置的虚拟扬声器发 出的。
转码模块503,用于将所述多声道信号转码成双声道信号。
在一种实施例中,虚拟扬声器阵列位置可以基于头相关传输函数HRTF构建,对多声道的虚拟扬声器阵列信号进行双声道转码,可以得到双声道输出的立体声信号。
需要说明的是,多声道信号进行转码之后,得到的双声道信号是具有立体声信号的,多声道信号可以理解为多个虚拟扬声器发出的音频信号。
串扰消除模块504,用于分别对所述双声道信号进行串扰消除并输出至所述双扬声器进行播放。
对多声道信号进行转码后的双声道信号需要进行串扰消除,在一种实施例中,通过对不同频段的双声道信号进行滤波,达到串音消除的目的,具体地,由于人的头部的屏蔽效应,在播放音频时,高频信号的的串扰现象并不明显,可以通过对双声道信号中的左声道信号通过高通滤波器,右声道信号通过低通滤波器,主要对双声道信号中的中低频信号进行串扰消除,最终将串扰消除后的双声道信号输出至双扬声器,双扬声器进行音频播放,使电子设备达到立体声播放的效果。
请一并参阅图6,图6是本申请实施例提供的立体声播放装置的另一结构示意图,立体声播放装置500应用于含有双扬声器的电子设备。在一些实施方式中,提取模块501可以包括判断子模块5011、编码子模块5012。
判断模块5011,用于判断所述音频信号是否含有立体声信号。
在输入的音频信号中,有的音频信号并不含有具有方位信息的立体声信号,需要对输入的音频信号进行一个判断,如果输入的音频信号不具有立体声信号的情况下,需要编码子模块5012继续执行下一步骤。
编码子模块5012,用于对不包含立体声信号的音频信号进行编码,以得到所述具有方位信息的立体声信号。
判断出输入的音频信号不含有立体声信号的情况下,需要对音频信号编码。在一种实施例中,在音频信号不含有立体声信号的情况下,可以理解的是,该音频信号只含有单声道音频信号,这时可以通过设置空间参数,通过设置的立体声参数和单声道音频信号结合,编码成具有立体声信号的音频信号。
在一些实施方式中,转码模块503包括阵列构建子模块5031,转码子模块5032。
阵列构建子模块5031用于基于头相关传输函数构建虚拟扬声器阵列。
可以理解的是,虚拟扬声器阵列中包含多个虚拟扬声器,在虚拟的三维虚拟空间中,这些虚拟扬声器摆放在不同的位置,对具有方位信息的立体声信号进行解码,使得虚拟扬声器阵列的信号具有方位信息,最终在三维虚拟空间中构建成虚拟扬声器阵列。
转码子模块5032具体用于对所述虚拟扬声器阵列信号进行双声道转码。
在一种实施例中,可以对B-Format、N3D等格式的立体声信号解码成多个虚拟扬声器信号进行播放,此时人处于虚拟扬声器播放的虚拟三维空间中,接收各个虚拟扬声器发出的声音,实现立体声播放。
在一些实施方式中,串扰消除模块504包括滤波模块5041,用于将所述双声道信号的左声道信号通过高通滤波器,右声道信号通过低通滤波器。
具体地,在转码之后生成的双声道信号,需要对双声道信号进行滤波,输出的双声道信号在双扬声器播放时才不会出现串扰现象,由于,在现实中,由于人头的屏蔽效应,高频信号串扰现象不明显,本实施例将双声道的立体声信号左声道信号和右声道信号分别通过高通滤波器与低通滤波器,并主要对中低频信号进行串扰消除。
需要说明的是,本申请中在判断出输入的音频信号不具有立体声信号时,可以对音频信号进行编码成含有多种格式立体声信号的音频信号,在将多声道信号转码成双声道信号的时候,可以根据预设的转码方式进行转码,例如,利用多声道信号中自身包含的空间信息,在最后的串扰消除步骤中,本申请实施例中通过对中低频信号进行滤波来达到串扰消除的目的,具体地,可以根据手机的放置方式来进行双声道信号的实时调整,不对本申请作出限制。
由上述可知,本申请实施例通过对输入的音频信号进行判断,判断出输入的音频信号是否具有立体声信号,如果有立体声信号,则构建虚拟扬声器阵列,对具有方位信息的立体声信号进行解码,如果输入的音频信号中不具有立体声信号,则对音频信号进行编码,使其具有立体声信号,再构建虚拟扬声器阵列,对具有方位信息的立体声信号进行解码,之后将解码后的多声道信号转码成双声道信号,对转码成的双声道信号进行串扰消除,将音频信号输入至双扬声器进行播放,达到立体声播放的效果。
本申请实施例中,立体声播放装置与上文实施例中的立体声播放方法属于同一构思,在立体声装置上可以运行立体声播放方法实施例中提供的任一方法,其具体实现过程详见立体声播放方法的实施例,此处不再赘述。
本文所使用的术语“模块”可看作为在该运算系统上执行的软件对象。本文所述的 不同组件、模块、引擎及服务可看作为在该运算系统上的实施对象。而本文所述的装置及方法可以以软件的方式进行实施,当然也可在硬件上进行实施,均在本申请保护范围之内。
本申请实施例还提供一种存储介质,其上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述的用立体声播放方法。
本申请实施例还提供一种电子设备,如平板电脑、手机等电子设备。电子设备中的处理器会按照如下的步骤,将一个或一个以上的应用程序的进程对应的指令加载到存储器中,并由处理器来运行存储在存储器中的应用程序,从而实现各种功能:
提取音频信号中具有方位信息的立体声信号;
对所述立体声信号进行解码,以得到多声道信号;
将所述多声道信号转码成双声道信号;
分别对所述双声道信号进行串扰消除并输出至所述双扬声器进行播放。
在一实施例中,提取音频信号中具有方位信息的立体声信号时,所述处理器用于执行以下步骤:
判断所述音频信号是否包含立体声信号;
若否,对所述音频信号进行编码,以得到所述具有方位信息的立体声信号。
在一实施例中,在将所述多声道信号转码成双声道信号时,所述处理器用于执行以下步骤:
基于头相关传输函数构建虚拟扬声器阵列;
对所述虚拟扬声器阵列信号进行双声道转码。
在一实施例中,基于头相关传输函数构建虚拟扬声器阵列时,所述处理器用于执行以下步骤:
构建多个虚拟扬声器在空间中的位置;
基于第一公式分别计算多个所述虚拟扬声器的音频信号,其中所述第一公式为:
Figure PCTCN2018117642-appb-000023
其中,P i为第i个虚拟扬声器的音频信号,θ i为第i个虚拟扬声器位置在水平面XY上的方位角,
Figure PCTCN2018117642-appb-000024
为第i个虚拟扬声器位置在垂直平面YZ上的方位角,d为一个比例系数,W为声道信号。
在一实施例中,对所述虚拟扬声器阵列信号进行双声道转码时,所述处理器用于执行以下步骤:
基于第二公式对所述虚拟扬声器阵列信号进行双声道转码,可以得到双声信号的立体声信号,其中所述第二公式为:
Figure PCTCN2018117642-appb-000025
其中L为左声道信号,R为右声道信号,H为头相关传输函数,P为虚拟扬声器的音频信号。
在一实施例中,对中低频信号进行串扰消除时,所述处理器用于执行以下步骤:
基于第三公式对所诉中低频信号进行串扰消除,其中所述第三公式为:
Figure PCTCN2018117642-appb-000026
其中C为消除矩阵,G为增益常数,L LP是通过低通滤波器的左声道信号,L HP是通过高通滤波器的左声道信号,R LP是通过低通滤波器的右声道信号,R HP为通过高通滤波器的右声道信号,L out为输出的左声道信号,R out为输出的右声道信号。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
请参阅图7,图7是本发明实施例提供的用于立体声播放的电子设备结构示意图。电子设备700包括:处理器701、显示器702、存储器703、射频电路704、音频模块705以及电源706。
其中,处理器701是电子设备700的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器702内的计算机程序,以及调用存储在存储器702内的数据,执行电子设备700的各种功能并处理数据,从而对电子设备700进行整体监控。
存储器702可用于存储软件程序以及模块,处理器701通过运行存储在存储器702的计算机程序以及模块,从而执行各种功能应用以及数据处理。存储器702可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的计 算机程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器702可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器702还可以包括存储器控制器,以提供处理器701对存储器702的访问。
在本申请实施例中,电子设备700中的处理器701会按照如下的步骤,将一个或一个以上的计算机程序的进程对应的指令加载到存储器702中,并由处理器701运行存储在存储器702中的计算机程序,从而实现各种功能,如下:
获取输入的音频信号,提取输入的音频信号中具有方位信息的立体声信号,如果输入的音频信号不具有立体声信号,则对输入的音频信号进行编码,使其具有立体声信号,然后,对具有立体声信号的音频信号进行解码,以得到多声道信号,利用头相关传输函数创建虚拟扬声器阵列,将多声道信号转码成具有立体声信号的双声道信号,再对双声道信号进行串扰消除,最后将进行串扰消除后的双声道信号输出至双扬声器进行播放,实现电子设备播放音频时实现立体声播放效果。
显示器703可以用于显示由用户输入的信息或提供给用户的信息以及各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示器703可以包括显示面板,在一些实施方式中,可以采用液晶显示器(Liquid Crystal Display,LCD)、或者有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板。
射频电路704可以用于收发射频信号,以通过无线通信与网络设备或其他电子设备建立无线通讯,与网络设备或其他电子设备之间收发信号。
音频模块705,包含双扬声器以及音频电路。音频电路可将接收到的音频数据转换后的电信号,传输到双扬声器,由双扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路接收后转换为音频数据,再将音频数据输出处理器701处理后,经射频电路704以发送给比如另一终端,或者将音频数据输出至存储器702以便进一步处理。音频电路还可能包括耳塞插孔,以提供外设耳机与终端的通信。
电源706可以用于给电子设备700的各个部件供电。在一些实施例中,电源706可以通过电源管理系统与处理器701逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管图7中并未示出,电子设备700还可以包括摄像头、蓝牙模块等,在此不做赘述。
在本申请实施例中,存储介质可以是磁碟、光盘、只读存储器(Read Only Memory,ROM)、或者随机存取记忆体(Random Access Memory,RAM)等。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
需要说明的是,对本申请实施例的立体声播放方法而言,本领域普通测试人员可以理解实现本申请实施例用户性别预测方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,计算机程序可存储于一计算机可读取存储介质中,如存储在电子设备的存储器中,并被该电子设备内的至少一个处理器执行,在执行过程中可包括如用户性别预测方法的实施例的流程。其中,的存储介质可为磁碟、光盘、只读存储器、随机存取记忆体等。
对本申请实施例的立体声播放装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,存储介质譬如为只读存储器,磁盘或光盘等。
以上对本申请实施例所提供的一种立体声播放方法、装置、存储介质及电子设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种立体声播放方法,应用于电子设备,所述电子设备包括双扬声器,其中,包括:
    提取音频信号中具有方位信息的立体声信号;
    对所述立体声信号进行解码,以得到多声道信号;
    将所述多声道信号转码成双声道信号;
    分别对所述双声道信号进行串扰消除并输出至所述双扬声器进行播放。
  2. 根据权利要求1所述的立体声播放方法,其中,提取音频信号中具有方位信息的立体声信号,包括:
    判断所述音频信号是否包含立体声信号;
    若否,则对所述音频信号进行编码,以得到所述具有方位信息的立体声信号。
  3. 根据权利要求1所述的立体声播放方法,其中,将所述多声道信号转码成双声道信号,包括:
    基于头相关传输函数构建虚拟扬声器阵列;
    对所述虚拟扬声器阵列信号进行双声道转码。
  4. 根据权利要求3所述的立体声播放方法,其中,基于头相关传输函数构建虚拟扬声器阵列,包括:
    构建多个虚拟扬声器在空间中的位置;
    基于第一公式分别计算多个所述虚拟扬声器的音频信号,其中所述第一公式为:
    Figure PCTCN2018117642-appb-100001
    其中,P i为第i个虚拟扬声器的音频信号,θ i为第i个虚拟扬声器位置在水平面XY上的方位角,
    Figure PCTCN2018117642-appb-100002
    为第i个虚拟扬声器位置在垂直平面YZ上的方位角,d为一个比例系数,W为声道信号。
  5. 根据权利要求4所述的立体声播放方法,其中,对所述虚拟扬声器阵列信号进行双声道转码,包括:
    基于第二公式对所述虚拟扬声器阵列信号进行双声道转码,可以得到双声信号的立体声信号,其中所述第二公式为:
    Figure PCTCN2018117642-appb-100003
    其中L为左声道信号,R为右声道信号,H为头相关传输函数,P为虚拟扬声器的音频信号。
  6. 根据权利要求1至5任一项所述的立体声播放的方法,其中,所述对所述双声道信号进行串扰消除,包括:
    将所述双声道信号的左声道信号通过高通滤波器,右声道信号通过低通滤波器,对中低频信号进行串扰消除。
  7. 根据权利要求6所述的立体声播放的方法,其中,所述对中低频信号进行串扰消除,包括:
    基于第三公式对所诉中低频信号进行串扰消除,其中所述第三公式为:
    Figure PCTCN2018117642-appb-100004
    其中C为消除矩阵,G为增益常数,L LP是通过低通滤波器的左声道信号,L HP是通过高通滤波器的左声道信号,R LP是通过低通滤波器的右声道信号,R HP为通过高通滤波器的右声道信号,L out为输出的左声道信号,R out为输出的右声道信号。
  8. 一种立体声播放装置,应用于包括双扬声器的电子设备,其中,包括:
    提取模块,用于提取音频信号中具有方位信息的立体声信号;
    解码模块,用于对所述立体声信号进行解码,以得到多声道信号;
    转码模块,用于将所述多声道信号转码成双声道信号;
    串扰消除模块,用于分别对所述双声道信号进行串扰消除,并输出至所述双扬声器进行播放。
  9. 根据权利要求8所述的立体声播放装置,其中,所述提取模块包括:
    判断子模块,用于判断所述音频信号是否包含立体声信号;
    编码子模块,用于所述判断子模块判断为否时,对所述音频信号进行编码,以得到所述具有方位信息的立体声信号。
  10. 根据权利要求8所述的立体声播放装置,其中,所述转码模块包括:
    阵列构建子模块,用于基于头相关传输函数构建虚拟扬声器阵列;
    转码子模块,具体用于对所述虚拟扬声器阵列信号进行双声道转码。
  11. 根据权利要求10所述的立体声播放装置,其中,
    所述阵列构建子模块,具体用于构建多个虚拟扬声器在空间中的位置;
    基于第一公式分别计算多个所述虚拟扬声器的音频信号,其中所述第一公式为:
    Figure PCTCN2018117642-appb-100005
    其中,P i为第i个虚拟扬声器的音频信号,θ i为第i个虚拟扬声器位置在水平面XY上的方位角,
    Figure PCTCN2018117642-appb-100006
    为第i个虚拟扬声器位置在垂直平面YZ上的方位角,d为一个比例系数,W为声道信号。
  12. 根据权利要求8所述的立体声播放装置,其中,所述串扰消除模块包括:
    滤波子模块,用于将所述双声道信号的左声道信号通过高通滤波器,右声道信号通过低通滤波器,对中低频信号进行串扰消除。
  13. 一种存储介质,其上存储有计算机程序,其中,当所述计算机程序在计算机上执行时,使得所述计算机执行如权利要求1至7中任一项所述的方法。
  14. 一种立体声播放的电子设备,包括双扬声器、处理器及存储器,其中,所述处理器通过调用所述存储器中的计算机程序,用于执行:
    提取音频信号中具有方位信息的立体声信号;
    对所述立体声信号进行解码,以得到多声道信号;
    将所述多声道信号转码成双声道信号;
    分别对所述双声道信号进行串扰消除并输出至所述双扬声器进行播放。
  15. 根据权利要求14所述的立体声播放设备,其中,提取音频信号中具有方位信息的立体声信号时,所述处理器用于执行:
    判断所述音频信号是否包含立体声信号;
    若否,对所述音频信号进行编码,以得到所述具有方位信息的立体声信号。
  16. 根据权利要求14所述的立体声播放设备,其中,将所述多声道信号转码成双声道信号时,所述处理器用于执行:
    基于头相关传输函数构建虚拟扬声器阵列;
    对所述虚拟扬声器阵列信号进行双声道转码。
  17. 根据权利要求16所述的立体声播放设备,其中,基于头相关传输函数构建虚拟扬声器阵列时,所述处理器用于执行:
    构建多个虚拟扬声器在空间中的位置;
    基于第一公式分别计算多个所述虚拟扬声器的音频信号,其中所述第一公式为:
    Figure PCTCN2018117642-appb-100007
    其中,P i为第i个虚拟扬声器的音频信号,θ i为第i个虚拟扬声器位置在水平面XY上的方位角,
    Figure PCTCN2018117642-appb-100008
    为第i个虚拟扬声器位置在垂直平面YZ上的方位角,d为一个比例系数,W为声道信号。
  18. 根据权利要求17所述的立体声播放设备,其中,对所述虚拟扬声器阵列信号进行双声道转码时,所述处理器用于执行:
    基于第二公式对所诉中低频信号进行串扰消除,其中所述第二公式为:
    Figure PCTCN2018117642-appb-100009
    其中L为左声道信号,R为右声道信号,H为头相关传输函数,P为虚拟扬声器的音频信号。
  19. 根据权利要求14至18所述的立体声播放设备,其中,对所述双声道信号进行串扰消除时,包括:
    将所述双声道信号的左声道信号通过高通滤波器,右声道信号通过低通滤波器,对中低频信号进行串扰消除。
  20. 根据权利要求19所述的立体声播放设备,其中,对中低频信号进行串扰消除时,所述处理器用于执行:
    基于第三公式对所诉中低频信号进行串扰消除,其中所述第三公式为:
    Figure PCTCN2018117642-appb-100010
    其中C为消除矩阵,G为增益常数,L LP是通过低通滤波器的左声道信号,L HP是通过高通滤波器的左声道信号,R LP是通过低通滤波器的右声道信号,R HP为通过高通滤波器的右声道信号,L out为输出的左声道信号,R out为输出的右声道信号。
PCT/CN2018/117642 2018-11-27 2018-11-27 立体声播放方法、装置、存储介质及电子设备 Ceased WO2020107201A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880098484.4A CN112840678B (zh) 2018-11-27 2018-11-27 立体声播放方法、装置、存储介质及电子设备
PCT/CN2018/117642 WO2020107201A1 (zh) 2018-11-27 2018-11-27 立体声播放方法、装置、存储介质及电子设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/117642 WO2020107201A1 (zh) 2018-11-27 2018-11-27 立体声播放方法、装置、存储介质及电子设备

Publications (1)

Publication Number Publication Date
WO2020107201A1 true WO2020107201A1 (zh) 2020-06-04

Family

ID=70852207

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/117642 Ceased WO2020107201A1 (zh) 2018-11-27 2018-11-27 立体声播放方法、装置、存储介质及电子设备

Country Status (2)

Country Link
CN (1) CN112840678B (zh)
WO (1) WO2020107201A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113891219A (zh) * 2021-10-19 2022-01-04 Oppo广东移动通信有限公司 设备的布局方法、装置、音频播放设备以及存储介质
CN115989682A (zh) * 2020-08-27 2023-04-18 苹果公司 基于立体声的沉浸式编码(stic)
CN116208908A (zh) * 2023-03-03 2023-06-02 Oppo广东移动通信有限公司 录音文件播放方法、装置、电子设备及存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115376529B (zh) * 2021-05-17 2024-10-11 华为技术有限公司 三维音频信号编码方法、装置和编码器
CN113810838B (zh) * 2021-09-16 2024-12-10 Oppo广东移动通信有限公司 音频控制方法和音频播放设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1277532A (zh) * 1999-06-10 2000-12-20 三星电子株式会社 多声道音频重放装置和方法
KR20050078035A (ko) * 2004-01-30 2005-08-04 엘지전자 주식회사 오디오 데이터의 다운 믹스 방법 및 장치
CN101212834A (zh) * 2006-12-30 2008-07-02 上海乐金广电电子有限公司 音频系统的串扰消除装置
US20170366912A1 (en) * 2016-06-17 2017-12-21 Dts, Inc. Ambisonic audio rendering with depth decoding

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100677119B1 (ko) * 2004-06-04 2007-02-02 삼성전자주식회사 와이드 스테레오 재생 방법 및 그 장치
US8654994B2 (en) * 2008-01-01 2014-02-18 Lg Electronics Inc. Method and an apparatus for processing an audio signal
CN108632714B (zh) * 2017-03-23 2020-09-01 展讯通信(上海)有限公司 扬声器的声音处理方法、装置及移动终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1277532A (zh) * 1999-06-10 2000-12-20 三星电子株式会社 多声道音频重放装置和方法
KR20050078035A (ko) * 2004-01-30 2005-08-04 엘지전자 주식회사 오디오 데이터의 다운 믹스 방법 및 장치
CN101212834A (zh) * 2006-12-30 2008-07-02 上海乐金广电电子有限公司 音频系统的串扰消除装置
US20170366912A1 (en) * 2016-06-17 2017-12-21 Dts, Inc. Ambisonic audio rendering with depth decoding

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115989682A (zh) * 2020-08-27 2023-04-18 苹果公司 基于立体声的沉浸式编码(stic)
CN113891219A (zh) * 2021-10-19 2022-01-04 Oppo广东移动通信有限公司 设备的布局方法、装置、音频播放设备以及存储介质
CN116208908A (zh) * 2023-03-03 2023-06-02 Oppo广东移动通信有限公司 录音文件播放方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN112840678B (zh) 2022-06-14
CN112840678A (zh) 2021-05-25

Similar Documents

Publication Publication Date Title
US12126988B2 (en) Audio spatialization
US11304020B2 (en) Immersive audio reproduction systems
CN112840678B (zh) 立体声播放方法、装置、存储介质及电子设备
TWI819344B (zh) 音訊訊號渲染方法、裝置、設備及電腦可讀存儲介質
US9131298B2 (en) Constrained dynamic amplitude panning in collaborative sound systems
TWI651973B (zh) 以保真立體音響格式所編碼聲訊訊號為l揚聲器在已知位置之解碼方法和裝置以及電腦可讀式儲存媒體
US9344826B2 (en) Method and apparatus for communicating with audio signals having corresponding spatial characteristics
US20140226842A1 (en) Spatial audio processing apparatus
CN109165005B (zh) 音效增强方法、装置、电子设备及存储介质
CN111696513A (zh) 音频信号处理方法及装置、电子设备、存储介质
US20240119946A1 (en) Audio rendering system and method and electronic device
CN104581512A (zh) 一种立体声录制方法及装置
US20230370774A1 (en) Bluetooth speaker control method and system, storage medium, and mobile terminal
WO2018140174A1 (en) Symmetric spherical harmonic hrtf rendering
CN113170255A (zh) 对于双耳扩音器指向性的补偿
CN118264971B (zh) 基于扬声器的空间音频系统、音频处理器、车辆、虚拟环绕声转换方法及音频渲染方法
WO2023087031A2 (en) Systems and methods for rendering spatial audio using spatialization shaders
CN115696172A (zh) 声像校准方法和装置
EP4406363A1 (en) Conditionally adjusting light effect based on second audio channel content
CN112346694B (zh) 显示装置
US10721551B1 (en) Adjusting a size of headphone cushions
CN117931116B (zh) 音量调节方法、电子设备及介质
CN116567489B (zh) 一种音频数据处理方法及相关装置
US20260099296A1 (en) Audio processing method and related apparatus
CN112840671A (zh) 立体声播放方法、装置、存储介质及电子设备

Legal Events

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

Ref document number: 18941523

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18941523

Country of ref document: EP

Kind code of ref document: A1