Method of rendering object-based audio and electronic device for performing the method
A method of rendering object-based audio and an electronic device for performing the method are disclosed. The method includes identifying metadata of the object-based audio, determining whether the metadata includes a parameter set for an atmospheric absorption effect for each distance, and rendering the object-based audio, using a distance between the object-based audio and a listener obtained using the metadata and the atmospheric absorption effect according to an effect of a medium attenuation based on the parameter, when the metadata includes the parameter.
1 . A method of rendering object-based audio, the method comprising:
identifying metadata of the object-based audio;
determining whether the metadata comprises a parameter set for an atmospheric absorption effect for each distance;
rendering the object-based audio, using a distance between the object-based audio and a listener obtained using the metadata and the atmospheric absorption effect according to an effect of a medium attenuation based on the parameter and a cutoff frequency according to the distance comprised in the parameter, when the metadata comprises the parameter; and
rendering the object-based audio according to the distance based on an attenuation constant by predetermined air, when the metadata does not comprise the parameter.
2 . The method of claim 1 , wherein the metadata comprises a minimum distance of the object-based audio,
wherein the rendering of the object-based audio comprises rendering the object-based audio by applying the atmospheric absorption effect according to the distance, when the distance exceeds the minimum distance.
3 . The method of claim 1 ,
wherein the rendering of the object-based audio comprises rendering the object-based audio according to the distance based on the cutoff frequency.
4 . The method of claim 1 , wherein the parameter comprises a gain for each frequency band according to the distance,
wherein the rendering of the object-based audio comprises rendering the object-based audio according to the distance based on the gain for each frequency band.
5 . A method of rendering object-based audio, the method comprising:
identifying a distance between the object-based audio and a listener and a minimum distance of the object-based audio, using metadata of the object-based audio;
determining whether the metadata comprises a parameter set for an atmospheric absorption effect for each distance;
rendering the object-based audio using the distance and the atmospheric absorption effect according to the parameter and a cutoff frequency according to the distance comprised in the parameter, when the metadata comprises the parameter and the distance exceeds the minimum distance; and
rendering the object-based audio according to the distance based on an attenuation constant by predetermined air, when the metadata does not comprise the parameter.
6 . The method of claim 5 ,
wherein the rendering of the object-based audio comprises rendering the object-based audio according to the distance based on the cutoff frequency.
7 . The method of claim 5 , wherein the parameter comprises a gain for each frequency band according to the distance,
wherein the rendering of the object-based audio comprises rendering the object-based audio according to the distance based on the gain for each frequency band.
8 . An electronic device comprising:
a processor,
wherein the processor is configured to:
identify metadata comprising a distance between object-based audio and a listener;
determine whether the metadata comprises a parameter set for an atmospheric absorption effect for each distance;
render the object-based audio by applying the distance and the atmospheric absorption effect according to the parameter and a cutoff frequency according to the distance comprised in the parameter, when the metadata comprises the parameter; and
render the object-based audio according to the distance based on an attenuation constant by predetermined air, when the metadata does not comprise the parameter.
9 . The electronic device of claim 8 , wherein
the metadata comprises a minimum distance of the object-based audio, and
the processor is configured to render the object-based audio by applying the atmospheric absorption effect according to the distance, when the distance exceeds the minimum distance.
10 . The electronic device of claim 8 , wherein
the processor is configured to render the object-based audio according to the distance based on the cutoff frequency.
11 . The electronic device of claim 8 , wherein
the parameter comprises a gain for each frequency band according to the distance, and
the processor is configured to render the object-based audio according to the distance based on the gain for each frequency band.