This application claims the benefit of Korean Patent Application No. 10-2020-0084518, filed on Jul. 9, 2020, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference.
One or more example embodiments relate to a method and apparatus for performing rendering of an audio signal, and more particularly, a method and apparatus for performing binaural rendering on an object-based audio signal based on an attenuation rate according to a distance for each frequency.
Audio-related services have changed from mono and stereo services to multi-channel services such as 9.1, 11.1, 10.2, 13.1, 15.1, and 22.2 channels including upstream channels, through 5.1 and 7.1 channel services. Unlike existing channel services, an object-based audio-related service that regards one sound source as an object and that stores, transmits, and/or reproduces information such as a position and magnitude of an audio signal generated from the sound source has also been developed.
A magnitude of an audio signal transferred to a listener changes based on a distance between a sound source and the listener. For example, generally, an audio signal transferred to a listener at a distance of 2 meters (m) from an audio source is less than an audio signal transferred to a listener at a distance of 1 m from the audio source. Theoretically, in a free field environment, a magnitude of an audio signal decreases in inverse proportion to a distance. When a distance between a sound source and a listener is doubled, an audio signal audible by the listener decreases by 6 decibels (dB).
Here, a degree to which the audio signal is attenuated according to the distance may be determined based on frequencies. The related document ([Blauert, J. (1976)], “Spatial Hearing” (Revised Edition), The MIT Press) discloses that an attenuation rate of a low frequency is less than that of a high frequency at a distance of 15 m or greater.
However, since such an attenuation rate may be defined differently according to an environment, it is difficult to mathematically express the attenuation rate. Accordingly, the existing technology has an issue in that attenuation rates for each frequency are not considered during binaural rendering of an audio signal.
Example embodiments provide a method and apparatus for performing binaural rendering of an audio signal, to generate a more realistic audio signal based on an attenuation rate according to a distance for each frequency.
According to an aspect, there is provided a binaural rendering method including identifying metadata and an input signal that is based on an object, the metadata including distance information indicating a distance to the object, generating a binaural filter that is based on the metadata, using a binaural room impulse response, obtaining a binaural filter to which a low-pass filter (LPF) is applied, using a frequency response control that is based on the distance information, and generating a binaural-rendered output signal by performing a convolution of the input signal and the binaural filter to which the LPF is applied.
The LPF may have a cutoff frequency. The cutoff frequency may decrease as the distance to the object based on the distance information increases.
The LPF may have a cutoff frequency. The cutoff frequency may have the same value when the distance to the object based on the distance information is less than or equal to a threshold. The cutoff frequency may decrease as the distance to the object based on the distance information increases, when the distance to the object based on the distance information is greater than the threshold.
According to another aspect, there is provided a binaural rendering method including identifying metadata and an input signal that is based on an object, the metadata including distance information indicating a distance to the object, generating a binaural filter that is based on the metadata, using a binaural room impulse response; obtaining an input signal to which an LPF is applied, using a frequency response control that is based on the distance information, and generating a binaural-rendered output signal by performing a convolution of the binaural filter and the input signal to which the LPF is applied.
The LPF may have a cutoff frequency. The cutoff frequency may decrease as the distance to the object based on the distance information increases.
The LPF may have a cutoff frequency. The cutoff frequency may have the same value when the distance to the object based on the distance information is less than or equal to a threshold. The cutoff frequency may decrease as the distance to the object based on the distance information increases, when the distance to the object based on the distance information is greater than the threshold.
According to another aspect, there is provided a binaural rendering method including identifying metadata and an input signal that is based on an object, the metadata including distance information indicating a distance to the object, generating a binaural filter that is based on the metadata, using a binaural room impulse response, determining a binaural-rendered input signal by performing a convolution of the input signal and the binaural filter, and generating an output signal to which an LPF is applied from the binaural-rendered input signal, using a frequency response control that is based on the distance information.
The LPF may have a cutoff frequency. The cutoff frequency may decrease as the distance to the object based on the distance information increases.
The LPF may have a cutoff frequency. The cutoff frequency may have the same value when the distance to the object based on the distance information is less than or equal to a threshold. The cutoff frequency may decrease as the distance to the object based on the distance information increases, when the distance to the object based on the distance information is greater than the threshold.
According to another aspect, there is provided a binaural rendering method including identifying metadata and an input signal that is based on an object, the metadata including distance information indicating a distance to the object, determining a binaural filter to which an LPF is applied, using a binaural room impulse response that is based on the metadata and a frequency response control that is based on the distance information, and generating a binaural-rendered output signal by performing a convolution of the input signal and the binaural filter to which the LPF is applied.
The LPF may have a cutoff frequency. The cutoff frequency may decrease as the distance to the object based on the distance information increases.
The LPF may have a cutoff frequency. The cutoff frequency may have the same value when the distance to the object based on the distance information is less than or equal to a threshold. The cutoff frequency may decrease as the distance to the object based on the distance information increases, when the distance to the object based on the distance information is greater than the threshold.
According to another aspect, there is provided a binaural rendering apparatus including a processor, wherein the processor is configured to identify metadata and an input signal that is based on an object, the metadata including distance information indicating a distance to the object, to generate a binaural filter that is based on the metadata, using a binaural room impulse response, to obtain a binaural filter to which an LPF is applied, using a frequency response control that is based on the distance information, and to generate a binaural-rendered output signal by performing a convolution of the input signal and the binaural filter to which the LPF is applied.
The LPF may have a cutoff frequency. The cutoff frequency may decrease as the distance to the object based on the distance information increases.
According to another aspect, there is provided a binaural rendering apparatus including a processor, wherein the processor is configured to identify metadata and an input signal that is based on an object, the metadata including distance information indicating a distance to the object, to generate a binaural filter that is based on the metadata, using a binaural room impulse response, to obtain an input signal to which an LPF is applied, using a frequency response control that is based on the distance information, and to generate a binaural-rendered output signal by performing a convolution of the binaural filter and the input signal to which the LPF is applied.
The LPF may have a cutoff frequency. The cutoff frequency may decrease as the distance to the object based on the distance information increases.
According to another aspect, there is provided a binaural rendering apparatus including a processor, wherein the processor is configured to identify metadata and an input signal that is based on an object, the metadata including distance information indicating a distance to the object, to generate a binaural filter that is based on the metadata, using a binaural room impulse response, to determine a binaural-rendered input signal by performing a convolution of the input signal and the binaural filter, and to generate an output signal to which an LPF is applied from the binaural-rendered input signal, using a frequency response control that is based on the distance information.
The LPF may have a cutoff frequency. The cutoff frequency may decrease as the distance to the object based on the distance information increases.
According to another aspect, there is provided a binaural rendering apparatus including a processor, wherein the processor is configured to identify metadata and an input signal that is based on an object, the metadata including distance information indicating a distance to the object, to determine a binaural filter to which an LPF is applied, using a binaural room impulse response that is based on the metadata and a frequency response control that is based on the distance information, and to generate a binaural-rendered output signal by performing a convolution of the input signal and the binaural filter to which the LPF is applied.
The LPF may have a cutoff frequency. The cutoff frequency may decrease as the distance to the object based on the distance information increases.
Additional aspects of example embodiments will be set forth in part in the description which follows and, in part, will be apparent from the description, or may be learned by practice of the disclosure.
According to example embodiments, it is possible to generate a more realistic audio signal based on an attenuation rate according to a distance for each frequency by performing binaural rendering of an audio signal.
These and/or other aspects, features, and advantages of the invention will become apparent and more readily appreciated from the following description of example embodiments, taken in conjunction with the accompanying drawings of which:
Hereinafter, some example embodiments will be described in detail with reference to the accompanying drawings. However, various alterations and modifications may be made to the example embodiments. Here, the example embodiments are not construed as limited to the disclosure and should be understood to include all changes, equivalents, and replacements within the idea and the technical scope of the disclosure.
The terminology used herein is for the purpose of describing particular example embodiments only and is not to be limiting of the example embodiments. As used herein, the singular forms “a”, “an”, and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises/comprising” and/or “includes/including” when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groups thereof.
Unless otherwise defined, all terms including technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which example embodiments belong. It will be further understood that terms, such as those defined in commonly-used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
When describing the example embodiments with reference to the accompanying drawings, like reference numerals refer to like constituent elements and a repeated description related thereto will be omitted. In the description of example embodiments, detailed description of well-known related technologies will be omitted when it is deemed that such description will cause ambiguous interpretation of the present disclosure.
In the present disclosure, binaural rendering of an audio signal may be performed using a frequency response control that is based on distance information of the audio signal. The binaural rendering may reflect an attenuation rate of a magnitude of the audio signal. A binaural rendering apparatus 101 for performing a binaural rendering method according to an example embodiment may correspond to a processor.
Referring to
In the present disclosure, a binaural rendering process may be performed by performing a convolution of an object-based audio signal and a binaural filter determined based on metadata of an audio signal. The binaural filter may refer to a binaural room impulse response filter. The binaural rendering apparatus 101 may generate a binaural filter that is based on metadata, using a binaural room impulse response.
The binaural rendering apparatus 101 may select one binaural filter from binaural filters that are generated in advance, based on position information and distance information in the metadata, or may generate a new binaural filter. A type or an implementation of binaural filters is not limited to a specific example.
The binaural rendering apparatus 101 may generate a binaural-rendered output signal, by applying a low-pass filter (LPF) to an input signal, an output signal, or a binaural filter, using a frequency response control that is based on the distance information of the metadata.
For example, the binaural rendering apparatus 101 may determine a cutoff frequency of an LPF based on the distance information of the metadata, to perform a frequency response control. In other words, the frequency response control may refer to an operation of filtering an audio signal based on a cutoff frequency, and the LPF may refer to a filter used for filtering based on the cutoff frequency.
A process of performing binaural rendering using a frequency response control in the present disclosure may be performed as one of an example of performing binaural rendering by applying an LPF to a binaural filter, an example of performing binaural rendering by applying an LPF to an input signal, an example of performing binaural rendering by applying an LPF to a binaural-rendered input signal, and an example of performing binaural rendering by applying an LPF in a process of determining a binaural filter.
Specifically,
In operation 212, the binaural rendering apparatus 101 may generate a binaural filter that is based on metadata, using a binaural room impulse response. In operation 213, the binaural rendering apparatus 101 may apply an LPF to the generated binaural filter and distance information of the metadata.
Specifically, the binaural rendering apparatus 101 may determine a cutoff frequency of the LPF for a frequency response control, based on the distance information of the metadata, and may apply the LPF to the binaural filter based on the determined cutoff frequency, to generate a binaural filter to which the LPF is applied.
In operation 211, the binaural rendering apparatus 101 may perform a convolution of an input signal and the binaural filter to which the LPF is applied, to generate a binaural-rendered output signal. The binaural rendering apparatus 101 may generate an output signal filtered according to the frequency of the LPF, using the binaural filter to which the LPF is applied.
In operation 222, the binaural rendering apparatus 101 may generate a binaural filter that is based on metadata, using a binaural room impulse response. In operation 223, the binaural rendering apparatus 101 may determine an input signal to which an LPF is applied, using a frequency response control that is based on distance information of the metadata.
Specifically, in operation 233, the binaural rendering apparatus 101 may determine a cutoff frequency of the LPF for a frequency response control, based on the distance information of the metadata, and may perform filtering on the binaural-rendered input signal according to the determined cutoff frequency, to generate an output signal to which the LPF is applied. In other words, the input signal to which the LPF is applied may refer to an input signal filtered according to the cutoff frequency of the LPF.
In operation 221, the binaural rendering apparatus 101 may perform a convolution of the binaural filter and the input signal to which the LPF is applied, to generate a binaural-rendered output signal.
In operation 232, the binaural rendering apparatus 101 may generate a binaural filter that is based on metadata, using a binaural room impulse response. In operation 231, the binaural rendering apparatus 101 may perform a convolution of the binaural filter and an input signal, to generate a binaural-rendered input signal.
In operation 231, the binaural rendering apparatus 101 may extract an output signal to which the LPF is applied from the binaural-rendered input signal, using a frequency response control that is based on distance information of the metadata.
Specifically, the binaural rendering apparatus 101 may determine a cutoff frequency of the LPF for a frequency response control, based on the distance information of the metadata, and may perform filtering on the binaural-rendered input signal according to the determined cutoff frequency, to generate an output signal to which the LPF is applied.
In operation 242, the binaural rendering apparatus 101 may generate a binaural filter that is based on metadata, using a binaural room impulse response. In operation 243, the binaural rendering apparatus 101 may apply an LPF determined based on distance information of the metadata to the binaural filter.
Specifically, the binaural rendering apparatus 101 may determine a cutoff frequency of the LPF for a frequency response control, based on the distance information of the metadata, and may generate a binaural filter capable of performing filtering according to the determined cutoff frequency.
In operation 241, the binaural rendering apparatus 101 may perform a convolution of an input signal and the binaural filter to which the LPF is applied, to generate a binaural-rendered output signal.
A binaural rendering apparatus may determine a cutoff frequency of an LPF based on distance information to apply the LPF in using a frequency response control. In an example, when a distance to an object increases, a cutoff frequency may be determined to decrease by the binaural rendering apparatus. In another example, when the distance to the object decreases, the cutoff frequency may be determined to increase.
When a distance to an object based on distance information increases, a value of a cutoff frequency may decrease. When the distance to the object decreases, the value of the cutoff frequency may increase. The binaural rendering apparatus may determine, in advance, a relationship between the cutoff frequency and the distance to the object, and may determine the cutoff frequency according to distance information of metadata, using the determined relationship.
The relationship between the cutoff frequency and the distance to the object may be determined using various schemes. For example, the cutoff frequency and the distance to the object may be in a linear relationship, and the cutoff frequency may be determined to have the same value regardless of the distance, in a specific distance interval. The relationship between the cutoff frequency and the distance to the object will be further described below with reference to
In
In an example of
In an example of
In each of the graphs of
The above relationship between the cutoff frequency and the distance to the object is not limited to a form of the linear function. In another example, in
When the distance to the object is less than or equal to the threshold, the cutoff frequency may decrease with a constant slope as the distance increases, instead of being determined to have the same value.
In an example of
As described above, the relationship between the cutoff frequency and the distance to the object is not limited to the above examples. In an example, a plurality of thresholds may be determined in advance, and a cutoff frequency for a distance to an object may be determined based on functions with different types of slopes for each distance interval determined by the plurality of thresholds.
Thus, various types of functions that satisfy a condition that a cutoff frequency is less than a previous cutoff frequency when a distance to an object increases may correspond to a relationship between the cutoff frequency and the distance to the object.
The method according to example embodiments may be embodied as a program that is executable by a computer and may be implemented as various recording media such as a magnetic storage medium, an optical reading medium, and a digital storage medium.
The components described in the example embodiments may be implemented by hardware components including, for example, at least one digital signal processor (DSP), a processor, a controller, an application-specific integrated circuit (ASIC), a programmable logic element, such as a field programmable gate array (FPGA), other electronic devices, or combinations thereof. At least some of the functions or the processes described in the example embodiments may be implemented by software, and the software may be recorded on a recording medium. The components, the functions, and the processes described in the example embodiments may be implemented by a combination of hardware and software.
Various techniques described herein may be implemented in digital electronic circuitry, computer hardware, firmware, software, or combinations thereof. The techniques may be implemented as a computer program product, i.e., a computer program tangibly embodied in a machine-readable storage device (for example, a computer-readable medium) or in a propagated signal, for processing by, or to control an operation of, a data processing apparatus, e.g., a programmable processor, a computer, or multiple computers. A computer program, such as the computer program(s) described above, may be written in any form of a programming language, including compiled or interpreted languages, and may be deployed in any form, including as a stand-alone program or as a module, a component, a subroutine, or other units suitable for use in a computing environment. A computer program may be deployed to be processed on one computer or multiple computers at one site or distributed across multiple sites and interconnected by a communication network.
Processors suitable for processing of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read-only memory or a random-access memory, or both. Elements of a computer may include at least one processor for executing instructions and one or more memory devices for storing instructions and data. Generally, a computer also may include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto-optical disks, or optical disks. Examples of information carriers suitable for embodying computer program instructions and data include semiconductor memory devices, e.g., magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as a compact disk read-only memory (CD-ROM) or digital video disks (DVDs), magneto-optical media such as floptical disks, read-only memory (ROM), random-access memory (RAM), flash memory, erasable programmable ROM (EPROM), or electrically erasable programmable ROM (EEPROM). The processor and the memory may be supplemented by, or incorporated in special purpose logic circuitry.
In addition, non-transitory computer-readable media may be any available media that may be accessed by a computer and may include all computer storage media.
The present specification includes details of a number of specific implements, but it should be understood that the details do not limit any invention or what is claimable in the specification but rather describe features of the specific example embodiment. Features described in the specification in the context of individual example embodiments may be implemented as a combination in a single example embodiment. In contrast, various features described in the specification in the context of a single example embodiment may be implemented in multiple example embodiments individually or in an appropriate sub-combination. Furthermore, the features may operate in a specific combination and may be initially described as claimed in the combination, but one or more features may be excluded from the claimed combination in some cases, and the claimed combination may be changed into a sub-combination or a modification of a sub-combination.
Similarly, even though operations are described in a specific order on the drawings, it should not be understood as the operations needing to be performed in the specific order or in sequence to obtain desired results or as all the operations needing to be performed. In a specific case, multitasking and parallel processing may be advantageous. In addition, it should not be understood as requiring a separation of various apparatus components in the above-described example embodiments in all example embodiments, and it should be understood that the above-described program components and apparatuses may be incorporated into a single software product or may be packaged in multiple software products.
It should be understood that example embodiments disclosed herein are merely illustrative and are not intended to limit the scope of the disclosure. It will be apparent to those skilled in the art that various modifications of the example embodiments may be made without departing from the spirit and scope of the claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10-2020-0084518 | Jul 2020 | KR | national |
Number | Name | Date | Kind |
---|---|---|---|
5946400 | Matsuo | Aug 1999 | A |
9319819 | Lee et al. | Apr 2016 | B2 |
20030220602 | Lynch | Nov 2003 | A1 |
20030223602 | Eichler | Dec 2003 | A1 |
20160227338 | Oh | Aug 2016 | A1 |
20160277865 | Lee et al. | Sep 2016 | A1 |
Number | Date | Country |
---|---|---|
1020190028706 | Mar 2019 | KR |
1020190091445 | Aug 2019 | KR |
2015011055 | Jan 2015 | WO |
Number | Date | Country | |
---|---|---|---|
20220014869 A1 | Jan 2022 | US |