Patent attributes
A computer system having an electronic device determines a listener position within a computer-generated reality (CGR) setting that is to be aurally experienced by a user of the electronic device through at least one speaker. The system determines a source position of a virtual sound source within the CGR setting and determines a characteristic of a virtual object within the CGR setting, where the characteristic include a geometry of an edge of the virtual object. The system determines at least one edge-diffraction filter parameter for an edge-diffraction filter based on 1) the listener position, 2) the source position, and 3) the geometry. The system applies the edge-diffraction filter to an input audio signal to produce a filtered audio signal that accounts for edge-diffraction of sound produced by the virtual sound source within the CGR setting.