Method for providing occluded sound effect and electronic device
The embodiments of the disclosure provide a method for providing an occluded sound effect and an electronic device. The method includes: providing a virtual environment, wherein the virtual environment comprises a first object, and the first object is approximated as a second object; defining an obj...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiments of the disclosure provide a method for providing an occluded sound effect and an electronic device. The method includes: providing a virtual environment, wherein the virtual environment comprises a first object, and the first object is approximated as a second object; defining an object detection range of a sound source based on a sound ray originated from the sound source; in response to determining that the first object enters the object detection range, defining a reference plane based on a reference point on the second object and the sound ray, wherein the reference plane has an intersection area with the object detection range; projecting the second object onto the reference plane as a first projection; determining a sound occluding factor based on the intersection area and the first projection; and adjusting a sound signal based on the sound occluding factor. |
---|