Methods of presenting dynamic soundscapes for virtual environments

Improved user interfaces with spatial audio and visual feedback techniques address inefficiencies in VR/AR interactions, enhancing efficiency and immersion while conserving power.

WO2026161092A2PCT designated stage Publication Date: 2026-07-30APPLE INC
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
APPLE INC
Filing Date
2025-05-08
Publication Date
2026-07-30

AI Technical Summary

Technical Problem

Existing methods for interacting with virtual and augmented reality environments are cumbersome, inefficient, and create a significant cognitive burden on users, often requiring multiple inputs and leading to errors, thereby wasting energy and detracting from the user experience.

Method used

The implementation of computer systems with improved user interfaces that provide spatial audio and visual feedback, reducing the number and nature of user inputs through techniques such as simulated spatial audio movement, level of detail adjustment, and immersive audio component changes, enhancing user interaction efficiency and reducing power consumption.

Benefits of technology

The improved interfaces enhance user interaction efficiency, reduce errors, conserve power, and extend battery life, enabling more intuitive and immersive XR experiences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US2025028499_30072026_PF_FP_ABST
    Figure US2025028499_30072026_PF_FP_ABST
Patent Text Reader

Abstract

Some examples are directed to systems and methods for presenting spatial audio at a plurality of locations based upon movement of a user viewpoint. Some examples are directed to systems and methods for presenting spatial audio with a level of detail based upon a distance between a location corresponding to spatial audio and a user viewpoint. Some examples are directed to systems and methods for changing a level of audio of an audio component associated with a virtual environment in response to a request to change a level of immersion of the virtual environment.
Need to check novelty before this filing date? Find Prior Art

Description

Docket No. 106842218840 (P65241WO1)METHODS OF PRESENTING DYNAMIC SOUNDSCAPES FOR VIRTUAL ENVIRONMENTSCROSS REFERENCE TO RELATED APPLICATIONS

[0001] This application claims the benefit of U.S. Provisional Application No.63 / 645,771, filed May 10, 2024, the content of which is herein incorporated by reference in its entirety for all purposes.TECHNICAL FIELD

[0002] The present disclosure relates generally to computer systems that provide computer-generated experiences, including, but not limited to, electronic devices that provide virtual reality and mixed reality experiences via a display.BACKGROUND

[0003] The development of computer systems for augmented reality has increased significantly in recent years. Example augmented reality environments include at least some virtual elements that replace or augment the physical world. Input devices, such as cameras, controllers, joysticks, touch-sensitive surfaces, and touch-screen displays for computer systems and other electronic computing devices are used to interact with virtual / augmented reality environments. Example virtual elements include virtual objects, such as digital images, video, text, icons, and control elements such as buttons and other graphics.SUMMARY

[0004] Some methods and interfaces for interacting with environments that include at least some virtual elements (e.g., applications, augmented reality environments, mixed reality environments, and virtual reality environments) are cumbersome, inefficient, and limited. For example, systems that provide insufficient feedback for performing actions associated with virtual objects, systems that require a series of inputs to achieve a desired outcome in an augmented reality environment, and systems in which manipulation of virtual objects are complex, tedious, and error-prone, create a significant cognitive burden on a user, and detract from the experience with the virtual / augmented reality environment. In addition, these methods take longer than necessary, thereby wasting energy of the computer system. This latter consideration is particularly important in battery-operated devices.14897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0005] Accordingly, there is a need for computer systems with improved methods and interfaces for providing computer-generated experiences to users that make interaction with the computer systems more efficient and intuitive for a user. Such methods and interfaces optionally complement or replace conventional methods for providing extended reality experiences to users. Such methods and interfaces reduce the number, extent, and / or nature of the inputs from a user by helping the user to understand the connection between provided inputs and device responses to the inputs, thereby creating a more efficient human-machine interface.

[0006] The above deficiencies and other problems associated with user interfaces for computer systems are reduced or eliminated by the disclosed systems. In some embodiments, the computer system is a desktop computer with an associated display. In some embodiments, the computer system is portable device (e.g., a notebook computer, tablet computer, or handheld device). In some embodiments, the computer system is a personal electronic device (e.g., a wearable electronic device, such as a watch, or a head-mounted device). In some embodiments, the computer system has a touchpad. In some embodiments, the computer system has one or more cameras. In some embodiments, the computer system has (e.g., includes or is in communication with) a display generation component (e.g., a display device such as a head-mounted device (HMD), a display, a projector, a touch-sensitive display (also known as a “touch screen” or “touch-screen display”), or other device or component that presents visual content to a user, for example on or in the display generation component itself or produced from the display generation component and visible elsewhere).”). In some embodiments, the computer system has one or more eye-tracking components. In some embodiments, the computer system has one or more hand-tracking components. In some embodiments, the computer system has one or more output devices in addition to the display generation component, the output devices including one or more tactile output generators and / or one or more audio output devices. In some embodiments, the computer system has a graphical user interface (GUI), one or more processors, memory and one or more modules, programs or sets of instructions stored in the memory for performing multiple functions. In some embodiments, the user interacts with the GUI through a stylus and / or finger contacts and gestures on the touch-sensitive surface, movement of the user’ s eyes and hand in space relative to the GUI (and / or computer system) or the user’s body as captured by cameras and other movement sensors, and / or voice inputs as captured by one or more audio input devices. In some embodiments, the functions performed through the interactions optionally include24897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)image editing, drawing, presenting, word processing, spreadsheet making, game playing, telephoning, video conferencing, e-mailing, instant messaging, workout support, digital photographing, digital videoing, web browsing, digital music playing, note taking, and / or digital video playing. Executable instructions for performing these functions are, optionally, included in a transitory and / or non-transitory computer readable storage medium or other computer program product configured for execution by one or more processors.

[0007] There is a need for electronic devices with improved methods and interfaces for interacting with a three-dimensional environment. Such methods and interfaces may complement or replace conventional methods for interacting with a three-dimensional environment. Such methods and interfaces reduce the number, extent, and / or the nature of the inputs from a user and produce a more efficient human-machine interface. For battery-operated computing devices, such methods and interfaces conserve power and increase the time between battery charges.

[0008] In some embodiments, a computer system presents audio with a simulated spatial quality corresponding to locations within a three-dimensional environment of a user of the computer system. In some embodiments, the computer system moves the location corresponding to spatial audio in accordance with a determination that a movement of the user’s viewpoint includes movement is a distance greater than a threshold distance. In some embodiments, the computer system moves a plurality of locations corresponding to a plurality of spatial audio sources. In some embodiments, the locations move as the viewpoint of the user moves. In some embodiments, the locations move in accordance with a lagging behavior. In some embodiments, a magnitude and / or direction of movement of the locations correspond to a magnitude and / or direction of movement of the user’s viewpoint. In some embodiments, the locations recenter to correspond to the user’s viewpoint in response to detecting movement of the viewpoint. In some embodiments, the movement of the locations includes rotation of the spatial audio relative to the three-dimensional environment.

[0009] In some embodiments, a computer system changes a level of detail of audio presented with a simulated spatial quality. In some embodiments, the changing of the level of detail includes adding and / or removing sound components included in the audio. In some embodiments, the level of detail increases as movement of a viewpoint of the user decreases a distance between the viewpoint and a location corresponding to a spatial audio source. In some embodiments, the level of detail decreases as movement of the viewpoint of the user increases the distance between the viewpoint and the location corresponding to the spatial 34897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)audio source. In some embodiments, the computer system changes the level of detail in accordance with a linear or non-linear function. In some embodiments, the rate of change of the level of detail changes based upon the distance between the viewpoint of the user and the location corresponding to the spatial audio source. In some embodiments, the computer system additionally or alternatively changes a volume of the audio. In some embodiments, the level of detail is associated with a level of immersion of a three-dimensional environment. In some embodiments, the computer system changes a level of detail of a plurality of audio.

[0010] In some embodiments, a computer system displays a virtual environment at a level of immersion and presents different audio components associated with the virtual environment. In some embodiments, a computer system changes levels of audio of the audio components in response to requests to change the level of immersion of the virtual environment. In some embodiments, different audio components are presented at different levels of immersion of the virtual environment. In some embodiments, audio components are moved in simulated spatial location in response to a request to change the level of immersion of the virtual environment.

[0011] Note that the various embodiments described above can be combined with any other embodiments described herein. The features and advantages described in the specification are not all inclusive and, in particular, many additional features and advantages will be apparent to one of ordinary skill in the art in view of the drawings, specification, and claims. Moreover, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter.BRIEF DESCRIPTION OF THE DRAWINGS

[0012] For a better understanding of the various described embodiments, reference should be made to the Description of Embodiments below, in conjunction with the following drawings in which like reference numerals refer to corresponding parts throughout the figures.

[0013] Figure 1 A is a block diagram illustrating an operating environment of a computer system for providing XR experiences in accordance with some embodiments.

[0014] Figures IB- IP are examples of a computer system for providing XR experiences in the operating environment of Figure 1A.44897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0015] Figure 2 is a block diagram illustrating a controller of a computer system that is configured to manage and coordinate a XR experience for the user in accordance with some embodiments.

[0016] Figure 3 A is a block diagram illustrating a display generation component of a computer system that is configured to provide a visual component of the XR experience to the user in accordance with some embodiments.

[0017] Figures 3B-3G illustrate the use of Application Programming Interfaces (APIs) to perform operations.

[0018] Figure 4 is a block diagram illustrating a hand tracking unit of a computer system that is configured to capture gesture inputs of the user in accordance with some embodiments.

[0019] Figure 5 is a block diagram illustrating an eye tracking unit of a computer system that is configured to capture gaze inputs of the user in accordance with some embodiments.

[0020] Figure 6 is a flow diagram illustrating a glint-assisted gaze tracking pipeline in accordance with some embodiments.

[0021] Figures 7A-7K illustrate examples of a computer system presenting spatial audio at a plurality of locations based upon movement of a user viewpoint in accordance with some embodiments.

[0022] Figure 8 is a flow diagram illustrating examples of a computer system presenting spatial audio at a plurality of locations based upon movement of a user viewpoint in accordance with some embodiments.

[0023] Figures 9A-9G illustrate examples of a computer system presenting spatial audio with a level of detail based upon a distance between a location corresponding to spatial audio and a user viewpoint in accordance with some embodiments.

[0024] Figure 10 is a flow diagram illustrating examples of presenting spatial audio with a level of detail based upon a distance between a location corresponding to the spatial audio and a user viewpoint in accordance with some embodiments.

[0025] Figures 11 A-l 1 Y illustrate examples of a computer system displaying a virtual environment at different levels of immersion and presenting different audio components associated with the virtual environment, and further illustrates examples of the computer 54897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)system changing levels of audio of the audio components in response to requests to change the level of immersion of the virtual environment in accordance with some embodiments.

[0026] Figure 12 is a flow diagram illustrating examples of changing a level of audio of an audio component associated with a virtual environment in response to a request to change a level of immersion of the virtual environment in accordance with some embodiments.DESCRIPTION OF EMBODIMENTS

[0027] The present disclosure relates to user interfaces for providing an extended reality (XR) experience to a user, in accordance with some embodiments.

[0028] The systems, methods, and GUIs described herein improve user interface interactions with virtual / augmented reality environments in multiple ways.

[0029] In some embodiments, a computer system presents audio with a simulated spatial quality corresponding to locations within a three-dimensional environment of a user of the computer system. In some embodiments, the computer system moves the location corresponding to spatial audio in accordance with a determination that a movement of the user’s viewpoint includes movement is a distance greater than a threshold distance. In some embodiments, the computer system moves a plurality of locations corresponding to a plurality of spatial audio sources. In some embodiments, the locations move as the viewpoint of the user moves. In some embodiments, the locations move in accordance with a lagging behavior. In some embodiments, a magnitude and / or direction of movement of the locations correspond to a magnitude and / or direction of movement of the user’s viewpoint. In some embodiments, the locations recenter to correspond to the user’s viewpoint in response to detecting movement of the viewpoint. In some embodiments, the movement of the locations includes rotation of the spatial audio relative to the three-dimensional environment.

[0030] In some embodiments, a computer system changes a level of detail of audio presented with a simulated spatial quality. In some embodiments, the changing of the level of detail includes adding and / or removing sound components included in the audio. In some embodiments, the level of detail increases as movement of a viewpoint of the user decreases a distance between the viewpoint and a location corresponding to a spatial audio source. In some embodiments, the level of detail decreases as movement of the viewpoint of the user increases the distance between the viewpoint and the location corresponding to the spatial audio source. In some embodiments, the computer system changes the level of detail in 64897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)accordance with a linear or non-linear function. In some embodiments, the rate of change of the level of detail changes based upon the distance between the viewpoint of the user and the location corresponding to the spatial audio source. In some embodiments, the computer system additionally or alternatively changes a volume of the audio. In some embodiments, the level of detail is associated with a level of immersion of a three-dimensional environment. In some embodiments, the computer system changes a level of detail of a plurality of audio.

[0031] In some embodiments, a computer system displays a virtual environment at a level of immersion and presents different audio components associated with the virtual environment. In some embodiments, a computer system changes levels of audio of the audio components in response to requests to change the level of immersion of the virtual environment. In some embodiments, different audio components are presented at different levels of immersion of the virtual environment. In some embodiments, audio components are moved in simulated spatial location in response to a request to change the level of immersion of the virtual environment.

[0032] Figures 1 A-6 provide a description of example computer systems for providing XR experiences to users (such as described below with respect to methods 800 1000, and / or 1200). Figures 7A-7K illustrate example techniques for presenting spatial audio at a plurality of locations based upon movement of a user viewpoint, in accordance with some embodiments. Figure 8 illustrates a flow diagram of methods presenting spatial audio at a plurality of locations based upon movement of a user viewpoint, in accordance with some embodiments. The user interfaces in Figures 7A-7K are used to illustrate the processes in Figure 8. Figures 9A-9G illustrate example techniques for presenting spatial audio with a level of detail based upon a distance between a location corresponding to spatial audio and a user viewpoint, in accordance with some embodiments. Figure 10 illustrates a flow diagram of methods of presenting spatial audio with a level of detail based upon a distance between a location corresponding to spatial audio and a user viewpoint, in accordance with various embodiments. The user interfaces in Figures 9A-9G are used to illustrate the processes in Figure 10. Figures 11 A-l 1 Y illustrate example techniques for displaying a virtual environment and changing levels of audio of audio components associated with the virtual environment in response to requests to change a level of immersion of the virtual environment in accordance with some embodiments. Figure 12 illustrates a flow diagram of methods of changing a level of audio of an audio component associated with a virtual environment in response to a request to change a level of immersion of the virtual74897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)environment in accordance with some embodiments. The user interfaces in Figures 11 A-l 1 Y are used to illustrate the processes in Figure 12.

[0033] The processes described below enhance the operability of the devices and make the user-device interfaces more efficient (e.g., by helping the user to provide proper inputs and reducing user mistakes when operating / interacting with the device) through various techniques, including by providing improved visual feedback to the user, reducing the number of inputs needed to perform an operation, providing additionalcontrol options without cluttering the user interface with additional displayedcontrols, performing an operation when a set of conditions has been met without requiring further user input, improving privacy and / or security, providing a more varied, detailed, and / or realistic user experience while saving storage space, and / or additional techniques. These techniques also reduce power usage and improve battery life of the device by enabling the user to use the device more quickly and efficiently. Saving on battery power, and thus weight, improves the ergonomics of the device. These techniques also enable realtime communication, allow for the use of fewer and / or less-precise sensors resulting in a more compact, lighter, and cheaper device, and enable the device to be used in a variety of lighting conditions. These techniques reduce energy usage, thereby reducing heat emitted by the device, which is particularly important for a wearable device where a device well within operational parameters for device components can become uncomfortable for a user to wear if it is producing too much heat.

[0034] In addition, in methods described herein where one or more steps are contingent upon one or more conditions having been met, it should be understood that the described method can be repeated in multiple repetitions so that over the course of the repetitions all of the conditions upon which steps in the method are contingent have been met in different repetitions of the method. For example, if a method requires performing a first step if a condition is satisfied, and a second step if the condition is not satisfied, then a person of ordinary skill would appreciate that the claimed steps are repeated until the condition has been both satisfied and not satisfied, in no particular order. Thus, a method described with one or more steps that are contingent upon one or more conditions having been met could be rewritten as a method that is repeated until each of the conditions described in the method has been met. This, however, is not required of system or computer readable medium claims where the system or computer readable medium contains instructions for performing the contingent operations based on the satisfaction of the corresponding one or more conditions 84897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)and thus is capable of determining whether the contingency has or has not been satisfied without explicitly repeating steps of a method until all of the conditions upon which steps in the method are contingent have been met. A person having ordinary skill in the art would also understand that, similar to a method with contingent steps, a system or computer readable storage medium can repeat the steps of a method as many times as are needed to ensure that all of the contingent steps have been performed.

[0035] In some embodiments, as shown in Figure 1 A, the XR experience is provided to the user via an operating environment 100 that includes a computer system 101. The computer system 101 includes a controller 110 (e.g., processors of a portable electronic device or a remote server), a display generation component 120 (e.g., a head-mounted device (HMD), a display, a projector, a touch-screen, etc.), one or more input devices 125 (e.g., an eye tracking device 130, a hand tracking device 140, other input devices 150), one or more output devices 155 (e.g., speakers 160, tactile output generators 170, and other output devices 180), one or more sensors 190 (e.g., image sensors, light sensors, depth sensors, tactile sensors, orientation sensors, proximity sensors, temperature sensors, location sensors, motion sensors, velocity sensors, etc.), and optionally one or more peripheral devices 195 (e.g., home appliances, wearable devices, etc.). In some embodiments, one or more of the input devices 125, output devices 155, sensors 190, and peripheral devices 195 are integrated with the display generation component 120 (e.g., in a head-mounted device or a handheld device).

[0036] When describing an XR experience, various terms are used to differentially refer to several related but distinct environments that the user may sense and / or with which a user may interact (e.g., with inputs detected by a computer system 101 generating the XR experience that cause the computer system generating the XR experience to generate audio, visual, and / or tactile feedback corresponding to various inputs provided to the computer system 101). The following is a subset of these terms:

[0037] Physical environment: A physical environment refers to a physical world that people can sense and / or interact with without aid of electronic systems. Physical environments, such as a physical park, include physical articles, such as physical trees, physical buildings, and physical people. People can directly sense and / or interact with the physical environment, such as through sight, touch, hearing, taste, and smell.

[0038] Extended reality: In contrast, an extended reality (XR) environment refers to a wholly or partially simulated environment that people sense and / or interact with via an94897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)electronic system. In XR, a subset of a person’s physical motions, or representations thereof, are tracked, and, in response, one or more characteristics of one or more virtual objects simulated in the XR environment are adjusted in a manner that comports with at least one law of physics. For example, a XR system may detect a person’s head turning and, in response, adjust graphical content and an acoustic field presented to the person in a manner similar to how such views and sounds would change in a physical environment. In some situations (e.g., for accessibility reasons), adjustments to characte sticfs) of virtual object(s) in a XR environment may be made in response to representations of physical motions (e.g., vocal commands). A person may sense and / or interact with a XR object using any one of their senses, including sight, sound, touch, taste, and smell. For example, a person may sense and / or interact with audio objects that create a 3D or spatial audio environment that provides the perception of point audio sources in 3D space. In another example, audio objects may enable audio transparency, which selectively incorporates ambient sounds from the physical environment with or without computer-generated audio. In some XR environments, a person may sense and / or interact only with audio objects.

[0039] Examples of XR include virtual reality and mixed reality.

[0040] Virtual reality: A virtual reality (VR) environment refers to a simulated environment that is designed to be based entirely on computer-generated sensory inputs for one or more senses. A VR environment comprises a plurality of virtual objects with which a person may sense and / or interact. For example, computer-generated imagery of trees, buildings, and avatars representing people are examples of virtual objects. A person may sense and / or interact with virtual objects in the VR environment through a simulation of the person’s presence within the computer-generated environment, and / or through a simulation of a subset of the person’s physical movements within the computer-generated environment.

[0041] Mixed reality: In contrast to a VR environment, which is designed to be based entirely on computer-generated sensory inputs, a mixed reality (MR) environment refers to a simulated environment that is designed to incorporate sensory inputs from the physical environment, or a representation thereof, in addition to including computer-generated sensory inputs (e.g., virtual objects). On a virtuality continuum, a mixed reality environment is anywhere between, but not including, a wholly physical environment at one end and virtual reality environment at the other end. In some MR environments, computer-generated sensory inputs may respond to changes in sensory inputs from the physical environment. Also, some electronic systems for presenting an MR environment may track location and / or orientation 104897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)with respect to the physical environment to enable virtual objects to interact with real objects (that is, physical articles from the physical environment or representations thereof). For example, a system may account for movements so that a virtual tree appears stationary with respect to the physical ground.

[0042] Examples of mixed realities include augmented reality and augmented virtuality.

[0043] Augmented reality: An augmented reality (AR) environment refers to a simulated environment in which one or more virtual objects are superimposed over a physical environment, or a representation thereof. For example, an electronic system for presenting an AR environment may have a transparent or translucent display through which a person may directly view the physical environment. The system may be configured to present virtual objects on the transparent or translucent display, so that a person, using the system, perceives the virtual objects superimposed over the physical environment. Alternatively, a system may have an opaque display and one or more imaging sensors that capture images or video of the physical environment, which are representations of the physical environment. The system composites the images or video with virtual objects, and presents the composition on the opaque display. A person, using the system, indirectly views the physical environment by way of the images or video of the physical environment, and perceives the virtual objects superimposed over the physical environment. As used herein, a video of the physical environment shown on an opaque display is called “pass-through video,” meaning a system uses one or more image sensor(s) to capture images of the physical environment, and uses those images in presenting the AR environment on the opaque display. Further alternatively, a system may have a projection system that projects virtual objects into the physical environment, for example, as a hologram or on a physical surface, so that a person, using the system, perceives the virtual objects superimposed over the physical environment. An augmented reality environment also refers to a simulated environment in which a representation of a physical environment is transformed by computer-generated sensory information. For example, in providing pass-through video, a system may transform one or more sensor images to impose a select perspective (e.g., viewpoint) different than the perspective captured by the imaging sensors. As another example, a representation of a physical environment may be transformed by graphically modifying (e.g., enlarging) portions thereof, such that the modified portion may be representative but not photorealistic versions114897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)of the originally captured images. As a further example, a representation of a physical environment may be transformed by graphically eliminating or obfuscating portions thereof.

[0044] Augmented virtuality: An augmented virtuality (AV) environment refers to a simulated environment in which a virtual or computer-generated environment incorporates one or more sensory inputs from the physical environment. The sensory inputs may be representations of one or more characteristics of the physical environment. For example, an AV park may have virtual trees and virtual buildings, but people with faces photorealistically reproduced from images taken of physical people. As another example, a virtual object may adopt a shape or color of a physical article imaged by one or more imaging sensors. As a further example, a virtual object may adopt shadows consistent with the position of the sun in the physical environment.

[0045] In an augmented reality, mixed reality, or virtual reality environment, a view of a three-dimensional environment is visible to a user. The view of the three-dimensional environment is typically visible to the user via one or more display generation components (e.g., a display or a pair of display modules that provide stereoscopic content to different eyes of the same user) through a virtual viewport that has a viewport boundary that defines an extent of the three-dimensional environment that is visible to the user via the one or more display generation components. In some embodiments, the region defined by the viewport boundary is smaller than a range of vision of the user in one or more dimensions (e.g., based on the range of vision of the user, size, optical properties or other physical characteristics of the one or more display generation components, and / or the location and / or orientation of the one or more display generation components relative to the eyes of the user). In some embodiments, the region defined by the viewport boundary is larger than a range of vision of the user in one or more dimensions (e.g., based on the range of vision of the user, size, optical properties or other physical characteristics of the one or more display generation components, and / or the location and / or orientation of the one or more display generation components relative to the eyes of the user). The viewport and viewport boundary typically move as the one or more display generation components move (e.g., moving with a head of the user for a head mounted device or moving with a hand of a user for a handheld device such as a tablet or smartphone). A viewpoint of a user determines what content is visible in the viewport, a viewpoint generally specfies a location and a direction relative to the three-dimensional environment, and as the viewpoint shifts, the view of the three-dimensional environment will also shift in the viewport. For a head mounted device, a viewpoint is typically based on a 124897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)location an direction of the head, face, and / or eyes of a user to provide a view of the three-dimensional environment that is perceptually accurate and provides an immersive experience when the user is using the head-mounted device. For a handheld or stationed device, the viewpoint shifts as the handheld or stationed device is moved and / or as a position of a user relative to the handheld or stationed device changes (e.g., a user moving toward, away from, up, down, to the right, and / or to the left of the device). For devices that include display generation components with virtual passthrough, portions of the physical environment that are visible (e.g., displayed, and / or projected) via the one or more display generation components are based on a field of view of one or more cameras in communication with the display generation components which typcially move with the display generation components (e.g., moving with a head of the user for a head mounted device or moving with a hand of a user for a handheld device such as a tablet or smartphone) because the viewpoint of the user moves as the field of view of the one or more cameras moves (and the appearance of one or more virtual objects displayed via the one or more display generation components is updated based on the viewpoint of the user (e.g., displayed positions and poses of the virtual objects are updated based on the movement of the viewpoint of the user)). For display generation components with optical passthrough, portions of the physical environment that are visible (e.g., optically visible through one or more partially or fully transparent portions of the display generation component) via the one or more display generation components are based on a field of view of a user through the partially or fully transparent portion(s) of the display generation component (e.g., moving with a head of the user for a head mounted device or moving with a hand of a user for a handheld device such as a tablet or smartphone) because the viewpoint of the user moves as the field of view of the user through the partially or fully transparent portions of the display generation components moves (and the appearance of one or more virtual objects is updated based on the viewpoint of the user).

[0046] In some embodiments a representation of a physical environment (e.g., displayed via virtual passthrough or optical passthrough) can be partially or fully obscured by a virtual environment. In some embodiments, the amount of virtual environment that is displayed (e.g., the amount of physical environment that is not displayed) is based on an immersion level for the virtual environment (e.g., with respect to the representation of the physical environment). For example, increasing the immersion level optionally causes more of the virtual environment to be displayed, replacing and / or obscuring more of the physical environment, and reducing the immersion level optionally causes less of the virtual134897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)environment to be displayed, revealing portions of the physical environment that were previously not displayed and / or obscured. In some embodiments, at a particular immersion level, one or more first background objects (e.g., in the representation of the physical environment) are visually de-emphasized (e.g., dimmed, blurred, and / or displayed with increased transparency) more than one or more second background objects, and one or more third background objects cease to be displayed. In some embodiments, a level of immersion includes an associated degree to which the virtual content displayed by the computer system (e.g., the virtual environment and / or the virtual content) obscures background content (e.g., content other than the virtual environment and / or the virtual content) around / behind the virtual content, optionally including the number of items of background content displayed and / or the visual characteristics (e.g., colors, contrast, and / or opacity) with which the background content is displayed, the angular range of the virtual content displayed via the display generation component (e.g., 60 degrees of content displayed at low immersion, 120 degrees of content displayed at medium immersion, or 180 degrees of content displayed at high immersion), and / or the proportion of the field of view displayed via the display generation component that is consumed by the virtual content (e.g., 33% of the field of view consumed by the virtual content at low immersion, 66% of the field of view consumed by the virtual content at medium immersion, or 100% of the field of view consumed by the virtual content at high immersion). In some embodiments, the background content is included in a background over which the virtual content is displayed (e.g., background content in the representation of the physical environment). In some embodiments, the background content includes user interfaces (e.g., user interfaces generated by the computer system corresponding to applications), virtual objects (e.g., files or representations of other users generated by the computer system) not associated with or included in the virtual environment and / or virtual content, and / or real objects (e.g., pass-through objects representing real objects in the physical environment around the user that are visible such that they are displayed via the display generation component and / or a visible via a transparent or translucent component of the display generation component because the computer system does not obscure / prevent visibility of them through the display generation component). In some embodiments, at a low level of immersion (e.g., a first level of immersion), the background, virtual and / or real objects are displayed in an unobscured manner. For example, a virtual environment with a low level of immersion is optionally displayed concurrently with the background content, which is optionally displayed with full brightness, color, and / or translucency. In some embodiments, at a higher level of immersion (e.g., a second level of immersion higher than 144897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)the first level of immersion), the background, virtual and / or real objects are displayed in an obscured manner (e.g., dimmed, blurred, or removed from display). For example, a respective virtual environment with a high level of immersion is displayed without concurrently displaying the background content (e.g., in a full screen or fully immersive mode). As another example, a virtual environment displayed with a medium level of immersion is displayed concurrently with darkened, blurred, or otherwise de-emphasized background content. In some embodiments, the visual characteristics of the background objects vary among the background objects. For example, at a particular immersion level, one or more first background objects are visually de-emphasized (e.g., dimmed, blurred, and / or displayed with increased transparency) more than one or more second background objects, and one or more third background objects cease to be displayed. In some embodiments, a null or zero level of immersion corresponds to the virtual environment ceasing to be displayed and instead a representation of a physical environment is displayed (optionally with one or more virtual objets such as application, windows, or virtual three-dimensional objects) without the representation of the physical environment being obscured by the virtual environment. Adjusting the level of immersion using a physical input element provides for quick and efficient method of adjusting immersion, which enhances the operability of the computer system and makes the user-device interface more efficient.

[0047] Viewpoint-locked virtual object: A virtual object is viewpoint-locked when a computer system displays the virtual object at the same location and / or position in the viewpoint of the user, even as the viewpoint of the user shifts (e.g., changes). In embodiments where the computer system is a head-mounted device, the viewpoint of the user is locked to the forward facing direction of the user’s head (e.g., the viewpoint of the user is at least a portion of the field-of-view of the user when the user is looking straight ahead); thus, the viewpoint of the user remains fixed even as the user’s gaze is shifted, without moving the user’s head. In embodiments where the computer system has a display generation component (e.g., a display screen) that can be repositioned with respect to the user’s head, the viewpoint of the user is the augmented reality view that is being presented to the user on a display generation component of the computer system. For example, a viewpoint-locked virtual object that is displayed in the upper left corner of the viewpoint of the user, when the viewpoint of the user is in a first orientation (e.g., with the user’s head facing north) continues to be displayed in the upper left comer of the viewpoint of the user, even as the viewpoint of the user changes to a second orientation (e.g., with the user’s head facing west).154897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)In other words, the location and / or position at which the viewpoint-locked virtual object is displayed in the viewpoint of the user is independent of the user’s position and / or orientation in the physical environment. In embodiments in which the computer system is a headmounted device, the viewpoint of the user is locked to the orientation of the user’s head, such that the virtual object is also referred to as a “head-locked virtual object.”

[0048] Environment-locked virtual object: A virtual object is environment-locked (alternatively, “world-locked”) when a computer system displays the virtual object at a location and / or position in the viewpoint of the user that is based on (e.g., selected in reference to and / or anchored to) a location and / or object in the three-dimensional environment (e.g., a physical environment or a virtual environment). As the viewpoint of the user shifts, the location and / or object in the environment relative to the viewpoint of the user changes, which results in the environment-locked virtual object being displayed at a different location and / or position in the viewpoint of the user. For example, an environment-locked virtual object that is locked onto a tree that is immediately in front of a user is displayed at the center of the viewpoint of the user. When the viewpoint of the user shifts to the right (e.g., the user’s head is turned to the right) so that the tree is now left-of-center in the viewpoint of the user (e.g., the tree’s position in the viewpoint of the user shifts), the environment-locked virtual object that is locked onto the tree is displayed left-of-center in the viewpoint of the user. In other words, the location and / or position at which the environment-locked virtual object is displayed in the viewpoint of the user is dependent on the position and / or orientation of the location and / or object in the environment onto which the virtual object is locked. In some embodiments, the computer system uses a stationary frame of reference (e.g., a coordinate system that is anchored to a fixed location and / or object in the physical environment) in order to determine the position at which to display an environment-locked virtual object in the viewpoint of the user. An environment-locked virtual object can be locked to a stationary part of the environment (e.g., a floor, wall, table, or other stationary object) or can be locked to a moveable part of the environment (e.g., a vehicle, animal, person, or even a representation of portion of the users body that moves independently of a viewpoint of the user, such as a user’s hand, wrist, arm, or foot) so that the virtual object is moved as the viewpoint or the portion of the environment moves to maintain a fixed relationship between the virtual object and the portion of the environment.

[0049] In some embodiments a virtual object that is environment-locked or viewpoint-locked exhibits lazy follow behavior which reduces or delays motion of the164897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)environment-locked or viewpoint-locked virtual object relative to movement of a point of reference which the virtual object is following. In some embodiments, when exhibiting lazy follow behavior the computer system intentionally delays movement of the virtual object when detecting movement of a point of reference (e.g., a portion of the environment, the viewpoint, or a point that is fixed relative to the viewpoint, such as a point that is between 5-300cm from the viewpoint) which the virtual object is following. For example, when the point of reference (e.g., the portion of the environement or the viewpoint) moves with a first speed, the virtual object is moved by the device to remain locked to the point of reference but moves with a second speed that is slower than the first speed (e.g., until the point of reference stops moving or slows down, at which point the virtual object starts to catch up to the point of reference). In some embodiments, when a virtual object exhibits lazy follow behavior the device ignores small amounts of movment of the point of reference (e.g., ignoring movement of the point of reference that is below a threshold amount of movement such as movement by 0-5 degrees or movement by 0-50 cm). For example, when the point of reference (e.g., the portion of the environment or the viewpoint to which the virtual object is locked) moves by a first amount, a distance between the point of reference and the virtual object increases (e.g., because the virtual object is being displayed so as to maintain a fixed or substantially fixed position relative to a viewpoint or portion of the environment that is different from the point of reference to which the virtual object is locked) and when the point of reference (e.g., the portion of the environment or the viewpoint to which the virtual object is locked) moves by a second amount that is greater than the first amount, a distance between the point of reference and the virtual object initially increases (e.g., because the virtual object is being displayed so as to maintain a fixed or substantially fixed position relative to a viewpoint or portion of the environment that is different from the point of reference to which the virtual object is locked) and then decreases as the amount of movement of the point of reference increases above a threshold (e.g., a “lazy follow” threshold) because the virtual object is moved by the computer system to maintain a fixed or substantially fixed position relative to the point of reference. In some embodiments the virtual object maintaining a substantially fixed position relative to the point of reference includes the virtual object being displayed within a threshold distance (e.g., 1, 2, 3, 5, 15, 20, 50 cm) of the point of reference in one or more dimensions (e.g., up / down, left / right, and / or forward / backward relative to the position of the point of reference).174897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0050] Hardware: There are many different types of electronic systems that enable a person to sense and / or interact with various XR environments. Examples include headmounted systems, projection-based systems, heads-up displays (HUDs), vehicle windshields having integrated display capability, windows having integrated display capability, displays formed as lenses designed to be placed on a person’s eyes (e.g., similar to contact lenses), headphones / earphones, speaker arrays, input systems (e.g., wearable or handheld controllers with or without haptic feedback), smartphones, tablets, and desktop / laptop computers. A head-mounted system may have one or more speaker(s) and an integrated opaque display. Alternatively, a head-mounted system may be configured to accept an external opaque display (e.g., a smartphone). The head-mounted system may incorporate one or more imaging sensors to capture images or video of the physical environment, and / or one or more microphones to capture audio of the physical environment. Rather than an opaque display, a head-mounted system may have a transparent or translucent display. The transparent or translucent display may have a medium through which light representative of images is directed to a person’s eyes. The display may utilize digital light projection, OLEDs, LEDs, uLEDs, liquid crystal on silicon, laser scanning light source, or any combination of these technologies. The medium may be an optical waveguide, a hologram medium, an optical combiner, an optical reflector, or any combination thereof. In one embodiment, the transparent or translucent display may be configured to become opaque selectively.Projection-based systems may employ retinal projection technology that projects graphical images onto a person’s retina. Projection systems also may be configured to project virtual objects into the physical environment, for example, as a hologram or on a physical surface. In some embodiments, the controller 110 is configured to manage and coordinate a XR experience for the user. In some embodiments, the controller 110 includes a suitable combination of software, firmware, and / or hardware. The controller 110 is described in greater detail below with respect to Figure 2. In some embodiments, the controller 110 is a computing device that is local or remote relative to the scene 105 (e.g., a physical environment). For example, the controller 110 is a local server located within the scene 105. In another example, the controller 110 is a remote server located outside of the scene 105 (e.g., a cloud server, central server, etc.). In some embodiments, the controller 110 is communicatively coupled with the display generation component 120 (e.g., an HMD, a display, a projector, a touch-screen, etc.) via one or more wired or wireless communication channels 144 (e.g., BLUETOOTH, IEEE 802.1 lx, IEEE 802.16x, IEEE 802.3x, etc.). In another example, the controller 110 is included within the enclosure (e.g., a physical housing)184897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)of the display generation component 120 (e.g., an HMD, or a portable electronic device that includes a display and one or more processors, etc.), one or more of the input devices 125, one or more of the output devices 155, one or more of the sensors 190, and / or one or more of the peripheral devices 195, or share the same physical enclosure or support structure with one or more of the above.

[0051] In some embodiments, the display generation component 120 is configured to provide the XR experience (e.g., at least a visual component of the XR experience) to the user. In some embodiments, the display generation component 120 includes a suitable combination of software, firmware, and / or hardware. The display generation component 120 is described in greater detail below with respect to Figure 3 A. In some embodiments, the functionalities of the controller 110 are provided by and / or combined with the display generation component 120.

[0052] According to some embodiments, the display generation component 120 provides an XR experience to the user while the user is virtually and / or physically present within the scene 105.

[0053] In some embodiments, the display generation component is worn on a part of the user’s body (e.g., on his / her head, on his / her hand, etc.). As such, the display generation component 120 includes one or more XR displays provided to display the XR content. For example, in various embodiments, the display generation component 120 encloses the field-of-view of the user. In some embodiments, the display generation component 120 is a handheld device (such as a smartphone or tablet) configured to present XR content, and the user holds the device with a display directed towards the field-of-view of the user and a camera directed towards the scene 105. In some embodiments, the handheld device is optionally placed within an enclosure that is worn on the head of the user. In some embodiments, the handheld device is optionally placed on a support (e.g., a tripod) in front of the user. In some embodiments, the display generation component 120 is a XR chamber, enclosure, or room configured to present XR content in which the user does not wear or hold the display generation component 120. Many user interfaces described with reference to one type of hardware for displaying XR content (e.g., a handheld device or a device on a tripod) could be implemented on another type of hardware for displaying XR content (e.g., an HMD or other wearable computing device). For example, a user interface showing interactions with XR content triggered based on interactions that happen in a space in front of a handheld or tripod mounted device could similarly be implemented with an HMD where the interactions happen in a space in front of the HMD and the responses of the XR content are displayed via 194897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)the HMD. Similarly, a user interface showing interactions with XR content triggered based on movement of a handheld or tripod mounted device relative to the physical environment (e.g., the scene 105 or a part of the user’s body (e.g., the user’s eye(s), head, or hand)) could similarly be implemented with an HMD where the movement is caused by movement of the HMD relative to the physical environment (e.g., the scene 105 or a part of the user’s body (e.g., the user’s eye(s), head, or hand)).

[0054] While pertinent features of the operating environment 100 are shown in Figure 1 A, those of ordinary skill in the art will appreciate from the present disclosure that various other features have not been illustrated for the sake of brevity and so as not to obscure more pertinent aspects of the example embodiments disclosed herein.

[0055] Figures 1 A-1P illustrate various examples of a computer system that is used to perform the methods and provide audio, visual and / or haptic feedback as part of user interfaces described herein. In some embodiments, the computer system includes one or more display generation components (e.g., first and second display assemblies l-120a, l-120b and / or first and second optical modules 11.1. l-104a and 11.1. l-104b) for displaying virtual elements and / or a representation of a physical environment to a user of the computer system, optionally generated based on detected events and / or user inputs detected by the computer system. User interfaces generated by the computer system are optionally corrected by one or more corrective lenses 11.3.2-216 that are optionally removably attached to one or more of the optical modules to enable the user interfaces to be more easily viewed by users who would otherwise use glasses or contacts to correct their vision. While many user interfaces illustrated herein show a single view of a user interface, user interfaces in a HMD are optionally displayed using two optical modules (e.g., first and second display assemblies 1-120a, l-120b and / or first and second optical modules ll.l.l-104a and 11.1.1-104b), one for a user’s right eye and a different one for a user’s left eye, and slightly different images are presented to the two different eyes to generate the illusion of stereoscopic depth, the single view of the user interface would typically be either a right-eye or left-eye view and the depth effect is explained in the text or using other schematic charts or views. In some embodiments, the computer system includes one or more external displays (e.g., display assembly 1-108) for displaying status information for the computer system to the user of the computer system (when the computer system is not being worn) and / or to other people who are near the computer system, optionally generated based on detected events and / or user inputs detected by the computer system. In some embodiments, the computer system includes one or more 204897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)audio output components (e.g., electronic component 1-112) for generating audio feedback, optionally generated based on detected events and / or user inputs detected by the computer system. In some embodiments, the computer system includes one or more input devices for detecting input such as one or more sensors (e.g., one or more sensors in sensor assembly 1-356, and / or Figure II) for detecting information about a physical environment of the device which can be used (optionally in conjunction with one or more illuminators such as the illuminators described in Figure II) to generate a digital passthrough image, capture visual media corresponding to the physical environment (e.g., photos and / or video), or determine a pose (e.g., position and / or orientation) of physical objects and / or surfaces in the physical environment so that virtual objects ban be placed based on a detected pose of physical objects and / or surfaces. In some embodiments, the computer system includes one or more input devices for detecting input such as one or more sensors for detecting hand position and / or movement (e.g., one or more sensors in sensor assembly 1-356, and / or Figure II) that can be used (optionally in conjunction with one or more illuminators such as the illuminators 6-124 described in Figure II) to determine when one or more air gestures have been performed. In some embodiments, the computer system includes one or more input devices for detecting input such as one or more sensors for detecting eye movement (e.g., eye tracking and gaze tracking sensors in Figure II) which can be used (optionally in conjunction with one or more lights such as lights 11.3.2-110 in Figure 10) to determine attention or gaze position and / or gaze movement which can optionally be used to detect gaze-only inputs based on gaze movement and / or dwell. A combination of the various sensors described above can be used to determine user facial expressions and / or hand movements for use in generating an avatar or representation of the user such as an anthropomorphic avatar or representation for use in a real-time communication session where the avatar has facial expressions, hand movements, and / or body movements that are based on or similar to detected facial expressions, hand movements, and / or body movements of a user of the device. Gaze and / or attention information is, optionally, combined with hand tracking information to determine interactions between the user and one or more user interfaces based on direct and / or indirect inputs such as air gestures or inputs that use one or more hardware input devices such as one or more buttons (e.g., first button 1-128, button 11.1.1-114, second button 1-132, and or dial or button 1-328), knobs (e.g., first button 1-128, button 11.1.1-114, and / or dial or button 1-328), digital crowns (e.g., first button 1-128 which is depressible and twistable or rotatable, button 11.1.1-114, and / or dial or button 1-328), trackpads, touch screens, keyboards, mice and / or other input devices. One or more buttons (e.g., first button 1-128, button 11.1.1-114, second button 214897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)1-132, and or dial or button 1-328) are optionally used to perform system operations such as recentering content in three-dimensional environment that is visible to a user of the device, displaying a home user interface for launching applications, starting real-time communication sessions, or initiating display of virtual three-dimensional backgrounds. Knobs or digital crowns (e.g., first button 1-128 which is depressible and twistable or rotatable, button 11.1.1-114, and / or dial or button 1-328) are optionally rotatable to adjust parameters of the visual content such as a level of immersion of a virtual three-dimensional environment (e.g., a degree to which virtual-content occupies the viewport of the user into the three-dimensional environment) or other parameters associated with the three-dimensional environment and the virtual content that is displayed via the optical modules (e.g., first and second display assemblies l-120a, l-120b and / or first and second optical modules ll.l.l-104a and 11.1.1-104b).

[0056] FIG. IB illustrates a front, top, perspective view of an example of a head-mountable display (HMD) device 1-100 configured to be donned by a user and provide virtual and altered / mixed reality (VR / AR) experiences. The HMD 1-100 can include a display unit 1-102 or assembly, an electronic strap assembly 1-104 connected to and extending from the display unit 1-102, and a band assembly 1-106 secured at either end to the electronic strap assembly 1-104. The electronic strap assembly 1-104 and the band 1-106 can be part of a retention assembly configured to wrap around a user’s head to hold the display unit 1-102 against the face of the user.

[0057] In at least one example, the band assembly 1-106 can include a first band 1-116 configured to wrap around the rear side of a user’s head and a second band 1-117 configured to extend over the top of a user’s head. The second strap can extend between first and second electronic straps l-105a, 1 -105b of the electronic strap assembly 1-104 as shown. The strap assembly 1-104 and the band assembly 1-106 can be part of a securement mechanism extending rearward from the display unit 1-102 and configured to hold the display unit 1-102 against a face of a user.

[0058] In at least one example, the securement mechanism includes a first electronic strap l-105a including a first proximal end 1-134 coupled to the display unit 1-102, for example a housing 1-150 of the display unit 1-102, and a first distal end 1-136 opposite the first proximal end 1-134. The securement mechanism can also include a second electronic strap 1 -105b including a second proximal end 1-138 coupled to the housing 1-150 of the display unit 1-102 and a second distal end 1-140 opposite the second proximal end 1-138.224897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)The securement mechanism can also include the first band 1-116 including a first end 1-142 coupled to the first distal end 1-136 and a second end 1-144 coupled to the second distal end 1-140 and the second band 1-117 extending between the first electronic strap l-105a and the second electronic strap 1 - 105b . The straps l-105a-b and band 1-116 can be coupled via connection mechanisms or assemblies 1-114. In at least one example, the second band 1-117 includes a first end 1-146 coupled to the first electronic strap l-105a between the first proximal end 1-134 and the first distal end 1-136 and a second end 1-148 coupled to the second electronic strap 1-105b between the second proximal end 1-138 and the second distal end 1-140.

[0059] In at least one example, the first and second electronic straps l-105a-b include plastic, metal, or other structural materials forming the shape the substantially rigid straps 1-105a-b. In at least one example, the first and second bands 1-116, 1-117 are formed of elastic, flexible materials including woven textiles, rubbers, and the like. The first and second bands 1-116, 1-117 can be flexible to conform to the shape of the user’ head when donning the HMD 1-100.

[0060] In at least one example, one or more of the first and second electronic straps 1-105a-b can define internal strap volumes and include one or more electronic components disposed in the internal strap volumes. In one example, as shown in FIG. IB, the first electronic strap l-105a can include an electronic component 1-112. In one example, the electronic component 1-112 can include a speaker. In one example, the electronic component 1-112 can include a computing component such as a processor.

[0061] In at least one example, the housing 1-150 defines a first, front-facing opening 1-152. The front-facing opening is labeled in dotted lines at 1-152 in FIG. IB because the display assembly 1-108 is disposed to occlude the first opening 1-152 from view when the HMD 1-100 is assembled. The housing 1-150 can also define a rear-facing second opening 1-154. The housing 1-150 also defines an internal volume between the first and second openings 1-152, 1-154. In at least one example, the HMD 1-100 includes the display assembly 1-108, which can include a front cover and display screen (shown in other figures) disposed in or across the front opening 1-152 to occlude the front opening 1-152. In at least one example, the display screen of the display assembly 1-108, as well as the display assembly 1-108 in general, has a curvature configured to follow the curvature of a user’s face. The display screen of the display assembly 1-108 can be curved as shown to compliment the user’s facial features and general curvature from one side of the face to the 234897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)other, for example from left to right and / or from top to bottom where the display unit 1-102 is pressed.

[0062] In at least one example, the housing 1-150 can define a first aperture 1-126 between the first and second openings 1-152, 1-154 and a second aperture 1-130 between the first and second openings 1-152, 1-154. The HMD 1-100 can also include a first button 1-128 disposed in the first aperture 1-126 and a second button 1-132 disposed in the second aperture 1-130. The first and second buttons 1-128, 1-132 can be depressible through the respective apertures 1-126, 1-130. In at least one example, the first button 1-126 and / or second button 1-132 can be twistable dials as well as depressible buttons. In at least one example, the first button 1-128 is a depressible and twistable dial button and the second button 1-132 is a depressible button.

[0063] FIG. 1C illustrates a rear, perspective view of the HMD 1-100. The HMD 1-100 can include a light seal 1-110 extending rearward from the housing 1-150 of the display assembly 1-108 around a perimeter of the housing 1-150 as shown. The light seal 1-110 can be configured to extend from the housing 1-150 to the user’s face around the user’s eyes to block external light from being visible. In one example, the HMD 1-100 can include first and second display assemblies l-120a, l-120b disposed at or in the rearward facing second opening 1-154 defined by the housing 1-150 and / or disposed in the internal volume of the housing 1-150 and configured to project light through the second opening 1-154. In at least one example, each display assembly l-120a-b can include respective display screens l-122a, l-122b configured to project light in a rearward direction through the second opening 1-154 toward the user’s eyes.

[0064] In at least one example, referring to both FIGS. IB and 1C, the display assembly 1-108 can be a front-facing, forward display assembly including a display screen configured to project light in a first, forward direction and the rear facing display screens 1-122a-b can be configured to project light in a second, rearward direction opposite the first direction. As noted above, the light seal 1-110 can be configured to block light external to the HMD 1-100 from reaching the user’s eyes, including light projected by the forward facing display screen of the display assembly 1-108 shown in the front perspective view of FIG. IB. In at least one example, the HMD 1-100 can also include a curtain 1-124 occluding the second opening 1-154 between the housing 1-150 and the rear-facing display assemblies 1-120a-b. In at least one example, the curtain 1-124 can be elastic or at least partially elastic.244897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0065] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIGS. IB and 1C can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. ID - IF and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. ID - IF can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIGS. IB and 1C.

[0066] FIG. ID illustrates an exploded view of an example of an HMD 1-200 including various portions or parts thereof separated according to the modularity and selective coupling of those parts. For example, the HMD 1-200 can include a band 1-216 which can be selectively coupled to first and second electronic straps l-205a, l-205b. The first securement strap l-205a can include a first electronic component l-212a and the second securement strap l-205b can include a second electronic component 1-212b. In at least one example, the first and second straps l-205a-b can be removably coupled to the display unit 1-202.

[0067] In addition, the HMD 1-200 can include a light seal 1-210 configured to be removably coupled to the display unit 1-202. The HMD 1-200 can also include lenses 1-218 which can be removably coupled to the display unit 1-202, for example over first and second display assemblies including display screens. The lenses 1-218 can include customized prescription lenses configured for corrective vision. As noted, each part shown in the exploded view of FIG. ID and described above can be removably coupled, attached, reattached, and changed out to update parts or swap out parts for different users. For example, bands such as the band 1-216, light seals such as the light seal 1-210, lenses such as the lenses 1-218, and electronic straps such as the straps l-205a-b can be swapped out depending on the user such that these parts are customized to fit and correspond to the individual user of the HMD 1-200.

[0068] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. ID can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. IB, 1C, and IE - IF and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. IB, 1C, and IE - IF can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. ID.254897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0069] FIG. IE illustrates an exploded view of an example of a display unit 1-306 of a HMD. The display unit 1-306 can include a front display assembly 1-308, a frame / housing assembly 1-350, and a curtain assembly 1-324. The display unit 1-306 can also include a sensor assembly 1-356, logic board assembly 1-358, and cooling assembly 1-360 disposed between the frame assembly 1-350 and the front display assembly 1-308. In at least one example, the display unit 1-306 can also include a rear-facing display assembly 1-320 including first and second rear-facing display screens l-322a, 1-322b disposed between the frame 1-350 and the curtain assembly 1-324.

[0070] In at least one example, the display unit 1-306 can also include a motor assembly 1-362 configured as an adjustment mechanism for adjusting the positions of the display screens l-322a-b of the display assembly 1-320 relative to the frame 1-350. In at least one example, the display assembly 1-320 is mechanically coupled to the motor assembly 1-362, with at least one motor for each display screen l-322a-b, such that the motors can translate the display screens l-322a-b to match an interpupillary distance of the user’s eyes.

[0071] In at least one example, the display unit 1-306 can include a dial or button 1-328 depressible relative to the frame 1-350 and accessible to the user outside the frame 1-350. The button 1-328 can be electronically connected to the motor assembly 1-362 via a controller such that the button 1-328 can be manipulated by the user to cause the motors of the motor assembly 1-362 to adjust the positions of the display screens l-322a-b.

[0072] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. IE can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. IB -ID and IF and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. IB - ID and IF can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. IE.

[0073] FIG. IF illustrates an exploded view of another example of a display unit 1-406 of a HMD device similar to other HMD devices described herein. The display unit 1-406 can include a front display assembly 1-402, a sensor assembly 1-456, a logic board assembly 1-458, a cooling assembly 1-460, a frame assembly 1-450, a rear-facing display assembly 1-421, and a curtain assembly 1-424. The display unit 1-406 can also include a motor assembly 1-462 for adjusting the positions of first and second display sub-assemblies l-420a, l-420b of264897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)the rear-facing display assembly 1-421, including first and second respective display screens for interpupillary adjustments, as described above.

[0074] The various parts, systems, and assemblies shown in the exploded view of FIG. IF are described in greater detail herein with reference to FIGS. IB - IE as well as subsequent figures referenced in the present disclosure. The display unit 1-406 shown in FIG. IF can be assembled and integrated with the securement mechanisms shown in FIGS. IB -IE, including the electronic straps, bands, and other components including light seals, connection assemblies, and so forth.

[0075] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. IF can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. IB -IE and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. IB - IE can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. IF.

[0076] Figure 1G illustrates a perspective, exploded view of a front cover assembly 3-100 of an HMD device described herein, for example the front cover assembly 3-1 of the HMD 3-100 shown in FIG. 1G or any other HMD device shown and described herein. The front cover assembly 3-100 shown in FIG. 1G can include a transparent or semi-transparent cover 3-102, shroud 3-104 (or “canopy”), adhesive layers 3-106, display assembly 3-108 including a lenticular lens panel or array 3-110, and a structural trim 3-112. The adhesive layer 3-106 can secure the shroud 3-104 and / or transparent cover 3-102 to the display assembly 3-108 and / or the trim 3-112. The trim 3-112 can secure the various components of the front cover assembly 3-100 to a frame or chassis of the HMD device.

[0077] In at least one example, as shown in FIG. 1G, the transparent cover 3-102, shroud 3-104, and display assembly 3-108, including the lenticular lens array 3-110, can be curved to accommodate the curvature of a user’s face. The transparent cover 3-102 and the shroud 3-104 can be curved in two or three dimensions, e.g., vertically curved in the Z-direction in and out of the Z-X plane and horizontally curved in the X-direction in and out of the Z-X plane. In at least one example, the display assembly 3-108 can include the lenticular lens array 3-110 as well as a display panel having pixels configured to project light through the shroud 3-104 and the transparent cover 3-102. The display assembly 3-108 can be curved274897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)in at least one direction, for example the horizontal direction, to accommodate the curvature of a user’s face from one side (e.g., left side) of the face to the other (e.g., right side). In at least one example, each layer or component of the display assembly 3-108, which will be shown in subsequent figures and described in more detail, but which can include the lenticular lens array 3-110 and a display layer, can be similarly or concentrically curved in the horizontal direction to accommodate the curvature of the user’s face.

[0078] In at least one example, the shroud 3-104 can include a transparent or semitransparent material through which the display assembly 3-108 projects light. In one example, the shroud 3-104 can include one or more opaque portions, for example opaque ink-printed portions or other opaque film portions on the rear surface of the shroud 3-104. The rear surface can be the surface of the shroud 3-104 facing the user’s eyes when the HMD device is donned. In at least one example, opaque portions can be on the front surface of the shroud 3-104 opposite the rear surface. In at least one example, the opaque portion or portions of the shroud 3-104 can include perimeter portions visually hiding any components around an outside perimeter of the display screen of the display assembly 3-108. In this way, the opaque portions of the shroud hide any other components, including electronic components, structural components, and so forth, of the HMD device that would otherwise be visible through the transparent or semi-transparent cover 3-102 and / or shroud 3-104.

[0079] In at least one example, the shroud 3-104 can define one or more apertures transparent portions 3-120 through which sensors can send and receive signals. In one example, the portions 3-120 are apertures through which the sensors can extend or send and receive signals. In one example, the portions 3-120 are transparent portions, or portions more transparent than surrounding semi-transparent or opaque portions of the shroud, through which sensors can send and receive signals through the shroud and through the transparent cover 3-102. In one example, the sensors can include cameras, IR sensors, LUX sensors, or any other visual or non-visual environmental sensors of the HMD device.

[0080] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. 1G can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described herein can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. 1G.284897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0081] FIG. 1H illustrates an exploded view of an example of an HMD device 6-100. The HMD device 6-100 can include a sensor array or system 6-102 including one or more sensors, cameras, projectors, and so forth mounted to one or more components of the HMD 6-100. In at least one example, the sensor system 6-102 can include a bracket 1-338 on which one or more sensors of the sensor system 6-102 can be fixed / secured.

[0082] FIG. II illustrates a portion of an HMD device 6-100 including a front transparent cover 6-104 and a sensor system 6-102. The sensor system 6-102 can include a number of different sensors, emitters, receivers, including cameras, IR sensors, projectors, and so forth. The transparent cover 6-104 is illustrated in front of the sensor system 6-102 to illustrate relative positions of the various sensors and emitters as well as the orientation of each sensor / emitter of the system 6-102. As referenced herein, “sideways,” “side,” “lateral,” “horizontal,” and other similar terms refer to orientations or directions as indicated by the X-axis shown in FIG. 1 J. Terms such as “vertical,” “up,” “down,” and similar terms refer to orientations or directions as indicated by the Z-axis shown in FIG. 1 J. Terms such as “frontward,” “rearward,” “forward,” backward,” and similar terms refer to orientations or directions as indicated by the Y-axis shown in FIG. 1 J.

[0083] In at least one example, the transparent cover 6-104 can define a front, external surface of the HMD device 6-100 and the sensor system 6-102, including the various sensors and components thereof, can be disposed behind the cover 6-104 in the Y-axis / direction. The cover 6-104 can be transparent or semi-transparent to allow light to pass through the cover 6-104, both light detected by the sensor system 6-102 and light emitted thereby.

[0084] As noted elsewhere herein, the HMD device 6-100 can include one or more controllers including processors for electrically coupling the various sensors and emitters of the sensor system 6-102 with one or more mother boards, processing units, and other electronic devices such as display screens and the like. In addition, as will be shown in more detail below with reference to other figures, the various sensors, emitters, and other components of the sensor system 6-102 can be coupled to various structural frame members, brackets, and so forth of the HMD device 6-100 not shown in FIG. II. FIG. II shows the components of the sensor system 6-102 unattached and un-coupled electrically from other components for the sake of illustrative clarity.294897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0085] In at least one example, the device can include one or more controllers having processors configured to execute instructions stored on memory components electrically coupled to the processors. The instructions can include, or cause the processor to execute, one or more algorithms for self-correcting angles and positions of the various cameras described herein overtime with use as the initial positions, angles, or orientations of the cameras get bumped or deformed due to unintended drop events or other events.

[0086] In at least one example, the sensor system 6-102 can include one or more scene cameras 6-106. The system 6-102 can include two scene cameras 6-102 disposed on either side of the nasal bridge or arch of the HMD device 6-100 such that each of the two cameras 6-106 correspond generally in position with left and right eyes of the user behind the cover 6-103. In at least one example, the scene cameras 6-106 are oriented generally forward in the Y-direction to capture images in front of the user during use of the HMD 6-100. In at least one example, the scene cameras are color cameras and provide images and content for MR video pass through to the display screens facing the user’s eyes when using the HMD device 6-100. The scene cameras 6-106 can also be used for environment and object reconstruction.

[0087] In at least one example, the sensor system 6-102 can include a first depth sensor 6-108 pointed generally forward in the Y-direction. In at least one example, the first depth sensor 6-108 can be used for environment and object reconstruction as well as user hand and body tracking. In at least one example, the sensor system 6-102 can include a second depth sensor 6-110 disposed centrally along the width (e.g., along the X-axis) of the HMD device 6-100. For example, the second depth sensor 6-110 can be disposed above the central nasal bridge or accommodating features over the nose of the user when donning the HMD 6-100. In at least one example, the second depth sensor 6-110 can be used for environment and object reconstruction as well as hand and body tracking. In at least one example, the second depth sensor can include a LIDAR sensor.

[0088] In at least one example, the sensor system 6-102 can include a depth projector 6-112 facing generally forward to project electromagnetic waves, for example in the form of a predetermined pattern of light dots, out into and within a field of view of the user and / or the scene cameras 6-106 or a field of view including and beyond the field of view of the user and / or scene cameras 6-106. In at least one example, the depth projector can project electromagnetic waves of light in the form of a dotted light pattern to be reflected off objects and back into the depth sensors noted above, including the depth sensors 6-108, 6-110. In at 304897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)least one example, the depth projector 6-112 can be used for environment and object reconstruction as well as hand and body tracking.

[0089] In at least one example, the sensor system 6-102 can include downward facing cameras 6-114 with a field of view pointed generally downward relative to the HDM device 6-100 in the Z-axis. In at least one example, the downward cameras 6-114 can be disposed on left and right sides of the HMD device 6-100 as shown and used for hand and body tracking, headset tracking, and facial avatar detection and creation for display a user avatar on the forward facing display screen of the HMD device 6-100 described elsewhere herein. The downward cameras 6-114, for example, can be used to capture facial expressions and movements for the face of the user below the HMD device 6-100, including the cheeks, mouth, and chin.

[0090] In at least one example, the sensor system 6-102 can include jaw cameras 6-116. In at least one example, the jaw cameras 6-116 can be disposed on left and right sides of the HMD device 6-100 as shown and used for hand and body tracking, headset tracking, and facial avatar detection and creation for display a user avatar on the forward facing display screen of the HMD device 6-100 described elsewhere herein. The jaw cameras 6-116, for example, can be used to capture facial expressions and movements for the face of the user below the HMD device 6-100, including the user’s jaw, cheeks, mouth, and chin, for hand and body tracking, headset tracking, and facial avatar

[0091] In at least one example, the sensor system 6-102 can include side cameras 6-118. The side cameras 6-118 can be oriented to capture side views left and right in the X-axis or direction relative to the HMD device 6-100. In at least one example, the side cameras 6-118 can be used for hand and body tracking, headset tracking, and facial avatar detection and re-creation.

[0092] In at least one example, the sensor system 6-102 can include a plurality of eye tracking and gaze tracking sensors for determining an identity, status, and gaze direction of a user’s eyes during and / or before use. In at least one example, the eye / gaze tracking sensors can include nasal eye cameras 6-120 disposed on either side of the user’s nose and adjacent the user’s nose when donning the HMD device 6-100. The eye / gaze sensors can also include bottom eye cameras 6-122 disposed below respective user eyes for capturing images of the eyes for facial avatar detection and creation, gaze tracking, and iris identification functions.314897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0093] In at least one example, the sensor system 6-102 can include infrared illuminators 6-124 pointed outward from the HMD device 6-100 to illuminate the external environment and any object therein with IR light for IR detection with one or more IR sensors of the sensor system 6-102. In at least one example, the sensor system 6-102 can include a flicker sensor 6-126 and an ambient light sensor 6-128. In at least one example, the flicker sensor 6-126 can detect overhead light refresh rates to avoid display flicker. In one example, the infrared illuminators 6-124 can include light emitting diodes and can be used especially for low light environments for illuminating user hands and other objects in low light for detection by infrared sensors of the sensor system 6-102.

[0094] In at least one example, multiple sensors, including the scene cameras 6-106, the downward cameras 6-114, the jaw cameras 6-116, the side cameras 6-118, the depth projector 6-112, and the depth sensors 6-108, 6-110 can be used in combination with an electrically coupled controller to combine depth data with camera data for hand tracking and for size determination for better hand tracking and object recognition and tracking functions of the HMD device 6-100. In at least one example, the downward cameras 6-114, jaw cameras 6-116, and side cameras 6-118 described above and shown in FIG. II can be wide angle cameras operable in the visible and infrared spectrums. In at least one example, these cameras 6-114, 6-116, 6-118 can operate only in black and white light detection to simplify image processing and gain sensitivity.

[0095] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. II can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. 1 J -IL and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. 1 J - IL can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. II.

[0096] FIG. 1 J illustrates a lower perspective view of an example of an HMD 6-200 including a cover or shroud 6-204 secured to a frame 6-230. In at least one example, the sensors 6-203 of the sensor system 6-202 can be disposed around a perimeter of the HDM 6-200 such that the sensors 6-203 are outwardly disposed around a perimeter of a display region or area 6-232 so as not to obstruct a view of the displayed light. In at least one example, the sensors can be disposed behind the shroud 6-204 and aligned with transparent portions of the shroud allowing sensors and projectors to allow light back and forth through 324897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)the shroud 6-204. In at least one example, opaque ink or other opaque material or films / layers can be disposed on the shroud 6-204 around the display area 6-232 to hide components of the HMD 6-200 outside the display area 6-232 other than the transparent portions defined by the opaque portions, through which the sensors and projectors send and receive light and electromagnetic signals during operation. In at least one example, the shroud 6-204 allows light to pass therethrough from the display (e.g., within the display region 6-232) but not radially outward from the display region around the perimeter of the display and shroud 6-204.

[0097] In some examples, the shroud 6-204 includes a transparent portion 6-205 and an opaque portion 6-207, as described above and elsewhere herein. In at least one example, the opaque portion 6-207 of the shroud 6-204 can define one or more transparent regions 6-209 through which the sensors 6-203 of the sensor system 6-202 can send and receive signals. In the illustrated example, the sensors 6-203 of the sensor system 6-202 sending and receiving signals through the shroud 6-204, or more specifically through the transparent regions 6-209 of the (or defined by) the opaque portion 6-207 of the shroud 6-204 can include the same or similar sensors as those shown in the example of FIG. II, for example depth sensors 6-108 and 6-110, depth projector 6-112, first and second scene cameras 6-106, first and second downward cameras 6-114, first and second side cameras 6-118, and first and second infrared illuminators 6-124. These sensors are also shown in the examples of FIGS. IK and IL. Other sensors, sensor types, number of sensors, and relative positions thereof can be included in one or more other examples of HMDs.

[0098] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. 1 J can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. II and IK - IL and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. II and IK - IL can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. 1 J.

[0099] FIG. IK illustrates a front view of a portion of an example of an HMD device 6-300 including a display 6-334, brackets 6-336, 6-338, and frame or housing 6-330. The example shown in FIG. IK does not include a front cover or shroud in order to illustrate the brackets 6-336, 6-338. For example, the shroud 6-204 shown in FIG. 1J includes the opaque portion 6-207 that would visually cover / block a view of anything outside (e.g.,334897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)radially / peripherally outside) the display / display region 6-334, including the sensors 6-303 and bracket 6-338.

[0100] In at least one example, the various sensors of the sensor system 6-302 are coupled to the brackets 6-336, 6-338. In at least one example, the scene cameras 6-306 include tight tolerances of angles relative to one another. For example, the tolerance of mounting angles between the two scene cameras 6-306 can be 0.5 degrees or less, for example 0.3 degrees or less. In order to achieve and maintain such a tight tolerance, in one example, the scene cameras 6-306 can be mounted to the bracket 6-338 and not the shroud. The bracket can include cantilevered arms on which the scene cameras 6-306 and other sensors of the sensor system 6-302 can be mounted to remain un-deformed in position and orientation in the case of a drop event by a user resulting in any deformation of the other bracket 6-226, housing 6-330, and / or shroud.

[0101] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. IK can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. II -1 J and IL and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. II - 1 J and IL can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. IK.

[0102] FIG. IL illustrates a bottom view of an example of an HMD 6-400 including a front display / cover assembly 6-404 and a sensor system 6-402. The sensor system 6-402 can be similar to other sensor systems described above and elsewhere herein, including in reference to FIGS. II - IK. In at least one example, the jaw cameras 6-416 can be facing downward to capture images of the user’s lower facial features. In one example, the jaw cameras 6-416 can be coupled directly to the frame or housing 6-430 or one or more internal brackets directly coupled to the frame or housing 6-430 shown. The frame or housing 6-430 can include one or more apertures / openings 6-415 through which the jaw cameras 6-416 can send and receive signals.

[0103] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. IL can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. II -IK and described herein. Likewise, any of the features, components, and / or parts, including344897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)the arrangements and configurations thereof shown and described with reference to FIGS. II - IK can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. IL.

[0104] FIG. IM illustrates a rear perspective view of an inter-pupillary distance (IPD) adjustment system 11.1.1-102 including first and second optical modules 11.1. l-104a-b slidably engaging / coupled to respective guide-rods 11.1. l-108a-b and motors 11.1.1-1 lOa-b of left and right adjustment subsystems 11.1. l-106a-b. The IPD adjustment system 11.1.1-102 can be coupled to a bracket 11.1.1-112 and include a button 11.1.1-114 in electrical communication with the motors 11.1.1-1 lOa-b. In at least one example, the button 11.1.1-114 can electrically communicate with the first and second motors 11.1.1-1 lOa-b via a processor or other circuitry components to cause the first and second motors 11.1.1-1 lOa-b to activate and cause the first and second optical modules 11.1.1-104a-b, respectively, to change position relative to one another.

[0105] In at least one example, the first and second optical modules 11.1. l-104a-b can include respective display screens configured to project light toward the user’s eyes when donning the HMD 11.1.1-100. In at least one example, the user can manipulate (e.g., depress and / or rotate) the button 11.1.1-114 to activate a positional adjustment of the optical modules 11.1. l-104a-b to match the inter-pupillary distance of the user’s eyes. The optical modules 11.1. l-104a-b can also include one or more cameras or other sensors / sensor systems for imaging and measuring the IPD of the user such that the optical modules 11.1. l-104a-b can be adjusted to match the IPD.

[0106] In one example, the user can manipulate the button 11.1.1-114 to cause an automatic positional adjustment of the first and second optical modules 11.1. l-104a-b. In one example, the user can manipulate the button 11.1.1-114 to cause a manual adjustment such that the optical modules 11.1. l-104a-b move further or closer away, for example when the user rotates the button 11.1.1-114 one way or the other, until the user visually matches her / his own IPD. In one example, the manual adjustment is electronically communicated via one or more circuits and power for the movements of the optical modules 11.1. l-104a-b via the motors 11.1.1-1 lOa-b is provided by an electrical power source. In one example, the adjustment and movement of the optical modules 11.1. l-104a-b via a manipulation of the button 11.1.1-114 is mechanically actuated via the movement of the button 11.1.1-114.354897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0107] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. IM can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in any other figures shown and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to any other figure shown and described herein, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. IM.

[0108] FIG. IN illustrates a front perspective view of a portion of an HMD 11.1.2-100, including an outer structural frame 11.1.2-102 and an inner or intermediate structural frame 11.1.2-104 defining first and second apertures 11.1.2- 106a, 11.1.2- 106b. The apertures 11.1.2-106a-b are shown in dotted lines in FIG. IN because a view of the apertures 11.1.2-106a-b can be blocked by one or more other components of the HMD 11.1.2-100 coupled to the inner frame 11.1.2-104 and / or the outer frame 11.1.2-102, as shown. In at least one example, the HMD 11.1.2-100 can include a first mounting bracket 11.1.2-108 coupled to the inner frame 11.1.2-104. In at least one example, the mounting bracket 11.1.2-108 is coupled to the inner frame 11.1.2-104 between the first and second apertures 11.1 ,2-106a-b.

[0109] The mounting bracket 11.1.2-108 can include a middle or central portion 11.1.2-109 coupled to the inner frame 11.1.2-104. In some examples, the middle or central portion 11.1.2-109 may not be the geometric middle or center of the bracket 11.1.2-108. Rather, the middle / central portion 11.1.2-109 can be disposed between first and second cantilevered extension arms extending away from the middle portion 11.1.2-109. In at least one example, the mounting bracket 108 includes a first cantilever arm 11.1.2-112 and a second cantilever arm 11.1.2-114 extending away from the middle portion 11.1.2-109 of the mount bracket 11.1.2-108 coupled to the inner frame 11.1.2-104.

[0110] As shown in FIG. IN, the outer frame 11.1.2-102 can define a curved geometry on a lower side thereof to accommodate a user’s nose when the user dons the HMD 11.1.2-100. The curved geometry can be referred to as a nose bridge 11.1.2-111 and be centrally located on a lower side of the HMD 11.1.2-100 as shown. In at least one example, the mounting bracket 11.1.2-108 can be connected to the inner frame 11.1.2-104 between the apertures 11.1 ,2-106a-b such that the cantilevered arms 11.1.2-112, 11.1.2-114 extend downward and laterally outward away from the middle portion 11.1.2-109 to compliment the nose bridge 11.1.2-111 geometry of the outer frame 11.1.2-102. In this way, the mounting bracket 11.1.2-108 is configured to accommodate the user’s nose as noted above. The nose 364897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)bridge 11.1.2-111 geometry accommodates the nose in that the nose bridge 11.1.2-111 provides a curvature that curves with, above, over, and around the user’s nose for comfort and fit.[OHl] The first cantilever arm 11.1.2-112 can extend away from the middle portion 11.1.2-109 of the mounting bracket 11.1.2-108 in a first direction and the second cantilever arm 11.1.2-114 can extend away from the middle portion 11.1.2-109 of the mounting bracket 11.1.2-10 in a second direction opposite the first direction. The first and second cantilever arms 11.1.2-112, 11.1.2-114 are referred to as “cantilevered” or “cantilever” arms because each arm 11.1.2-112, 11.1.2-114, includes a distal free end 11.1.2-116, 11.1.2-118, respectively, which are free of affixation from the inner and outer frames 11.1.2-102, 11.1.2-104. In this way, the arms 11.1.2-112, 11.1.2-114 are cantilevered from the middle portion 11.1.2-109, which can be connected to the inner frame 11.1.2-104, with distal ends 11.1.2-102, 11.1.2-104 unattached.

[0112] In at least one example, the HMD 11.1.2-100 can include one or more components coupled to the mounting bracket 11.1.2-108. In one example, the components include a plurality of sensors 11.1.2-1 lOa-f. Each sensor of the plurality of sensors 11.1.2-1 lOa-f can include various types of sensors, including cameras, IR sensors, and so forth. In some examples, one or more of the sensors 11.1.2-1 lOa-f can be used for object recognition in three-dimensional space such that it is important to maintain a precise relative position of two or more of the plurality of sensors 11.1.2-1 lOa-f. The cantilevered nature of the mounting bracket 11.1.2-108 can protect the sensors 11.1.2-1 lOa-f from damage and altered positioning in the case of accidental drops by the user. Because the sensors 11.1.2-1 lOa-f are cantilevered on the arms 11.1.2-112, 11.1.2-114 of the mounting bracket 11.1.2-108, stresses and deformations of the inner and / or outer frames 11.1.2-104, 11.1.2-102 are not transferred to the cantilevered arms 11.1.2-112, 11.1.2-114 and thus do not affect the relative positioning of the sensors 11.1.2-1 lOa-f coupled / mounted to the mounting bracket 11.1.2-108.

[0113] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. IN can be included, either alone or in any combination, in any of the other examples of devices, features, components, and described herein.Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described herein can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. IN.374897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0114] FIG. 10 illustrates an example of an optical module 11.3.2-100 for use in an electronic device such as an HMD, including HDM devices described herein. As shown in one or more other examples described herein, the optical module 11.3.2-100 can be one of two optical modules within an HMD, with each optical module aligned to project light toward a user’s eye. In this way, a first optical module can project light via a display screen toward a user’s first eye and a second optical module of the same device can project light via another display screen toward the user’s second eye.

[0115] In at least one example, the optical module 11.3.2-100 can include an optical frame or housing 11.3.2-102, which can also be referred to as a barrel or optical module barrel. The optical module 11.3.2-100 can also include a display 11.3.2-104, including a display screen or multiple display screens, coupled to the housing 11.3.2-102. The display 11.3.2-104 can be coupled to the housing 11.3.2-102 such that the display 11.3.2-104 is configured to project light toward the eye of a user when the HMD of which the display module 11.3.2-100 is a part is donned during use. In at least one example, the housing 11.3.2-102 can surround the display 11.3.2-104 and provide connection features for coupling other components of optical modules described herein.

[0116] In one example, the optical module 11.3.2-100 can include one or more cameras 11.3.2-106 coupled to the housing 11.3.2-102. The camera 11.3.2-106 can be positioned relative to the display 11.3.2-104 and housing 11.3.2-102 such that the camera 11.3.2-106 is configured to capture one or more images of the user’s eye during use. In at least one example, the optical module 11.3.2-100 can also include a light strip 11.3.2-108 surrounding the display 11.3.2-104. In one example, the light strip 11.3.2-108 is disposed between the display 11.3.2-104 and the camera 11.3.2-106. The light strip 11.3.2-108 can include a plurality of lights 11.3.2- 110. The plurality of lights can include one or more light emitting diodes (LEDs) or other lights configured to project light toward the user’s eye when the HMD is donned. The individual lights 11.3.2-110 of the light strip 11.3.2-108 can be spaced about the strip 11.3.2-108 and thus spaced about the display 11.3.2-104 uniformly or non-uniformly at various locations on the strip 11.3.2-108 and around the display 11.3.2-104.

[0117] In at least one example, the housing 11.3.2-102 defines a viewing opening 11.3.2-101 through which the user can view the display 11.3.2-104 when the HMD device is donned. In at least one example, the LEDs are configured and arranged to emit light through the viewing opening 11.3.2-101 and onto the user’s eye. In one example, the camera 11.3.2-384897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)106 is configured to capture one or more images of the user’s eye through the viewing opening 11.3.2-101.

[0118] As noted above, each of the components and features of the optical module 11.3.2-100 shown in FIG. 10 can be replicated in another (e.g., second) optical module disposed with the HMD to interact (e.g., project light and capture images) of another eye of the user.

[0119] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. 10 can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. IP or otherwise described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. IP or otherwise described herein can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. 10.

[0120] FIG. IP illustrates a cross-sectional view of an example of an optical module 11.3.2-200 including a housing 11.3.2-202, display assembly 11.3.2-204 coupled to the housing 11.3.2-202, and a lens 11.3.2-216 coupled to the housing 11.3.2-202. In at least one example, the housing 11.3.2-202 defines a first aperture or channel 11.3.2-212 and a second aperture or channel 11.3.2-214. The channels 11.3.2-212, 11.3.2-214 can be configured to slidably engage respective rails or guide rods of an HMD device to allow the optical module 11.3.2-200 to adjust in position relative to the user’s eyes for match the user’s interpapillary distance (IPD). The housing 11.3.2-202 can slidably engage the guide rods to secure the optical module 11.3.2-200 in place within the HMD.

[0121] In at least one example, the optical module 11.3.2-200 can also include a lens 11.3.2-216 coupled to the housing 11.3.2-202 and disposed between the display assembly 11.3.2-204 and the user’s eyes when the HMD is donned. The lens 11.3.2-216 can be configured to direct light from the display assembly 11.3.2-204 to the user’s eye. In at least one example, the lens 11.3.2-216 can be a part of a lens assembly including a corrective lens removably attached to the optical module 11.3.2-200. In at least one example, the lens 11.3.2-216 is disposed over the light strip 11.3.2-208 and the one or more eye-tracking cameras 11.3.2-206 such that the camera 11.3.2-206 is configured to capture images of the user’s eye through the lens 11.3.2-216 and the light strip 11.3.2-208 includes lights configured to project light through the lens 11.3.2-216 to the users’ eye during use.394897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0122] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. IP can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described herein can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. IP.

[0123] Figure 2 is a block diagram of an example of the controller 110 in accordance with some embodiments. While certain specific features are illustrated, those skilled in the art will appreciate from the present disclosure that various other features have not been illustrated for the sake of brevity, and so as not to obscure more pertinent aspects of the embodiments disclosed herein. To that end, as a non-limiting example, in some embodiments, the controller 110 includes one or more processing units 202 (e.g., microprocessors, application-specific integrated-circuits (ASICs), field-programmable gate arrays (FPGAs), graphics processing units (GPUs), central processing units (CPUs), processing cores, and / or the like), one or more input / output (I / O) devices 206, one or more communication interfaces 208 (e.g., universal serial bus (USB), FIREWIRE, THUNDERBOLT, IEEE 802.3x, IEEE 802.1 lx, IEEE 802.16x, global system for mobile communications (GSM), code division multiple access (CDMA), time division multiple access (TDMA), global positioning system (GPS), infrared (IR), BLUETOOTH, ZIGBEE, and / or the like type interface), one or more programming (e.g., I / O) interfaces 210, a memory 220, and one or more communication buses 204 for interconnecting these and various other components.

[0124] In some embodiments, the one or more communication buses 204 include circuitry that interconnects and controls communications between system components. In some embodiments, the one or more I / O devices 206 include at least one of a keyboard, a mouse, a touchpad, a joystick, one or more microphones, one or more speakers, one or more image sensors, one or more displays, and / or the like.

[0125] The memory 220 includes high-speed random-access memory, such as dynamic random-access memory (DRAM), static random-access memory (SRAM), double-data-rate random-access memory (DDR RAM), or other random-access solid-state memory devices. In some embodiments, the memory 220 includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 220 optionally includes one or 404897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)more storage devices remotely located from the one or more processing units 202. The memory 220 comprises a non-transitory computer readable storage medium. In some embodiments, the memory 220 or the non-transitory computer readable storage medium of the memory 220 stores the following programs, modules and data structures, or a subset thereof including an optional operating system 230 and a XR experience module 240.

[0126] The operating system 230 includes instructions for handling various basic system services and for performing hardware dependent tasks. In some embodiments, the XR experience module 240 is configured to manage and coordinate one or more XR experiences for one or more users (e.g., a single XR experience for one or more users, or multiple XR experiences for respective groups of one or more users). To that end, in various embodiments, the XR experience module 240 includes a data obtaining unit 241, a tracking unit 242, a coordination unit 246, and a data transmitting unit 248.

[0127] In some embodiments, the data obtaining unit 241 is configured to obtain data (e.g., presentation data, interaction data, sensor data, location data, etc.) from at least the display generation component 120 of Figure 1 A, and optionally one or more of the input devices 125, output devices 155, sensors 190, and / or peripheral devices 195. To that end, in various embodiments, the data obtaining unit 241 includes instructions and / or logic therefor, and heuristics and metadata therefor.

[0128] In some embodiments, the tracking unit 242 is configured to map the scene 105 and to track the position / location of at least the display generation component 120 with respect to the scene 105 of Figure 1 A, and optionally, to one or more of the input devices 125, output devices 155, sensors 190, and / or peripheral devices 195. To that end, in various embodiments, the tracking unit 242 includes instructions and / or logic therefor, and heuristics and metadata therefor. In some embodiments, the tracking unit 242 includes hand tracking unit 244 and / or eye tracking unit 243. In some embodiments, the hand tracking unit 244 is configured to track the position / location of one or more portions of the user’s hands, and / or motions of one or more portions of the user’s hands with respect to the scene 105 of Figure 1 A, relative to the display generation component 120, and / or relative to a coordinate system defined relative to the user’s hand. The hand tracking unit 244 is described in greater detail below with respect to Figure 4. In some embodiments, the eye tracking unit 243 is configured to track the position and movement of the user’s gaze (or more broadly, the user’s eyes, face, or head) with respect to the scene 105 (e.g., with respect to the physical environment and / or to the user (e.g., the user’s hand)) or with respect to the XR content displayed via the display 414897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)generation component 120. The eye tracking unit 243 is described in greater detail below with respect to Figure 5.

[0129] In some embodiments, the coordination unit 246 is configured to manage and coordinate the XR experience presented to the user by the display generation component 120, and optionally, by one or more of the output devices 155 and / or peripheral devices 195. To that end, in various embodiments, the coordination unit 246 includes instructions and / or logic therefor, and heuristics and metadata therefor.

[0130] In some embodiments, the data transmitting unit 248 is configured to transmit data (e.g., presentation data, location data, etc.) to at least the display generation component 120, and optionally, to one or more of the input devices 125, output devices 155, sensors 190, and / or peripheral devices 195. To that end, in various embodiments, the data transmitting unit 248 includes instructions and / or logic therefor, and heuristics and metadata therefor.

[0131] Although the data obtaining unit 241, the tracking unit 242 (e.g., including the eye tracking unit 243 and the hand tracking unit 244), the coordination unit 246, and the data transmitting unit 248 are shown as residing on a single device (e.g., the controller 110), it should be understood that in other embodiments, any combination of the data obtaining unit 241, the tracking unit 242 (e.g., including the eye tracking unit 243 and the hand tracking unit 244), the coordination unit 246, and the data transmitting unit 248 may be located in separate computing devices.

[0132] Moreover, Figure 2 is intended more as functional description of the various features that may be present in a particular implementation as opposed to a structural schematic of the embodiments described herein. As recognized by those of ordinary skill in the art, items shown separately could be combined and some items could be separated. For example, some functional modules shown separately in Figure 2 could be implemented in a single module and the various functions of single functional blocks could be implemented by one or more functional blocks in various embodiments. The actual number of modules and the division of particular functions and how features are allocated among them will vary from one implementation to another and, in some embodiments, depends in part on the particular combination of hardware, software, and / or firmware chosen for a particular implementation.

[0133] Figure 3 A is a block diagram of an example of the display generation component 120 in accordance with some embodiments. While certain specific features are illustrated, those skilled in the art will appreciate from the present disclosure that various 424897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)other features have not been illustrated for the sake of brevity, and so as not to obscure more pertinent aspects of the embodiments disclosed herein. To that end, as a non-limiting example, in some embodiments the display generation component 120 (e.g., HMD) includes one or more processing units 302 (e.g., microprocessors, ASICs, FPGAs, GPUs, CPUs, processing cores, and / or the like), one or more input / output (I / O) devices and sensors 306, one or more communication interfaces 308 (e g., USB, FIREWIRE, THUNDERBOLT, IEEE 802.3x, IEEE 802.1 lx, IEEE 802.16x, GSM, CDMA, TDMA, GPS, IR, BLUETOOTH, ZIGBEE, and / or the like type interface), one or more programming (e.g., I / O) interfaces 310, one or more XR displays 312, one or more optional interior- and / or exterior-facing image sensors 314, a memory 320, and one or more communication buses 304 for interconnecting these and various other components.

[0134] In some embodiments, the one or more communication buses 304 include circuitry that interconnects and controls communications between system components. In some embodiments, the one or more I / O devices and sensors 306 include at least one of an inertial measurement unit (IMU), an accelerometer, a gyroscope, a thermometer, one or more physiological sensors (e.g., blood pressure monitor, heart rate monitor, blood oxygen sensor, blood glucose sensor, etc.), one or more microphones, one or more speakers, a haptics engine, one or more depth sensors (e.g., a structured light, a time-of-flight, or the like), and / or the like.

[0135] In some embodiments, the one or more XR displays 312 are configured to provide the XR experience to the user. In some embodiments, the one or more XR displays 312 correspond to holographic, digital light processing (DLP), liquid-crystal display (LCD), liquid-crystal on silicon (LCoS), organic light-emitting field-effect transitory (OLET), organic light-emitting diode (OLED), surface-conduction electron-emitter display (SED), field-emission display (FED), quantum-dot light-emitting diode (QD-LED), micro-electro-mechanical system (MEMS), and / or the like display types. In some embodiments, the one or more XR displays 312 correspond to diffractive, reflective, polarized, holographic, etc. waveguide displays. For example, the display generation component 120 (e.g., HMD) includes a single XR display. In another example, the display generation component 120 includes a XR display for each eye of the user. In some embodiments, the one or more XR displays 312 are capable of presenting MR and VR content. In some embodiments, the one or more XR displays 312 are capable of presenting MR or VR content.434897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0136] In some embodiments, the one or more image sensors 314 are configured to obtain image data that corresponds to at least a portion of the face of the user that includes the eyes of the user (and may be referred to as an eye-tracking camera). In some embodiments, the one or more image sensors 314 are configured to obtain image data that corresponds to at least a portion of the user’s hand(s) and optionally arm(s) of the user (and may be referred to as a hand-tracking camera). In some embodiments, the one or more image sensors 314 are configured to be forward-facing so as to obtain image data that corresponds to the scene as would be viewed by the user if the display generation component 120 (e.g., HMD) was not present (and may be referred to as a scene camera). The one or more optional image sensors 314 can include one or more RGB cameras (e.g., with a complimentary metal-oxide-semiconductor (CMOS) image sensor or a charge-coupled device (CCD) image sensor), one or more infrared (IR) cameras, one or more event-based cameras, and / or the like.

[0137] The memory 320 includes high-speed random-access memory, such as DRAM, SRAM, DDR RAM, or other random-access solid-state memory devices. In some embodiments, the memory 320 includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 320 optionally includes one or more storage devices remotely located from the one or more processing units 302. The memory 320 comprises a non-transitory computer readable storage medium. In some embodiments, the memory 320 or the non-transitory computer readable storage medium of the memory 320 stores the following programs, modules and data structures, or a subset thereof including an optional operating system 330 and a XR presentation module 340.

[0138] The operating system 330 includes instructions for handling various basic system services and for performing hardware dependent tasks. In some embodiments, the XR presentation module 340 is configured to present XR content to the user via the one or more XR displays 312. To that end, in various embodiments, the XR presentation module 340 includes a data obtaining unit 342, a XR presenting unit 344, a XR map generating unit 346, and a data transmitting unit 348.

[0139] In some embodiments, the data obtaining unit 342 is configured to obtain data (e.g., presentation data, interaction data, sensor data, location data, etc.) from at least the controller 110 of Figure 1 A. To that end, in various embodiments, the data obtaining unit 342 includes instructions and / or logic therefor, and heuristics and metadata therefor.444897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0140] In some embodiments, the XR presenting unit 344 is configured to present XR content via the one or more XR displays 312. To that end, in various embodiments, the XR presenting unit 344 includes instructions and / or logic therefor, and heuristics and metadata therefor.

[0141] In some embodiments, the XR map generating unit 346 is configured to generate a XR map (e.g., a 3D map of the mixed reality scene or a map of the physical environment into which computer-generated objects can be placed to generate the extended reality) based on media content data. To that end, in various embodiments, the XR map generating unit 346 includes instructions and / or logic therefor, and heuristics and metadata therefor.

[0142] In some embodiments, the data transmitting unit 348 is configured to transmit data (e.g., presentation data, location data, etc.) to at least the controller 110, and optionally one or more of the input devices 125, output devices 155, sensors 190, and / or peripheral devices 195. To that end, in various embodiments, the data transmitting unit 348 includes instructions and / or logic therefor, and heuristics and metadata therefor.

[0143] Although the data obtaining unit 342, the XR presenting unit 344, the XR map generating unit 346, and the data transmitting unit 348 are shown as residing on a single device (e.g., the display generation component 120 of Figure 1 A), it should be understood that in other embodiments, any combination of the data obtaining unit 342, the XR presenting unit 344, the XR map generating unit 346, and the data transmitting unit 348 may be located in separate computing devices.

[0144] Moreover, Figure 3 A is intended more as a functional description of the various features that could be present in a particular implementation as opposed to a structural schematic of the embodiments described herein. As recognized by those of ordinary skill in the art, items shown separately could be combined and some items could be separated. For example, some functional modules shown separately in Figure 3A could be implemented in a single module and the various functions of single functional blocks could be implemented by one or more functional blocks in various embodiments. The actual number of modules and the division of particular functions and how features are allocated among them will vary from one implementation to another and, in some embodiments, depends in part on the particular combination of hardware, software, and / or firmware chosen for a particular implementation.454897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0145] Implementations within the scope of the present disclosure can be partially or entirely realized using a tangible computer-readable storage medium (or multiple tangible computer-readable storage media of one or more types) encoding one or more computer-readable instructions. It should be recognized that computer-readable instructions can be organized in any format, including applications, widgets, processes, software, and / or components.

[0146] Implementations within the scope of the present disclosure include a computer-readable storage medium that encodes instructions organized as an application (e.g., application 3160) that, when executed by one or more processing units, control an electronic device (e.g., device 3150) to perform the method of FIG. 3B, the method of FIG.3C, and / or one or more other processes and / or methods described herein.

[0147] It should be recognized that application 3160 (shown in FIG. 3D) can be any suitable type of application, including, for example, one or more of: a browser application, an application that functions as an execution environment for plug-ins, widgets or other applications, a fitness application, a health application, a digital payments application, a media application, a social network application, a messaging application, and / or a maps application. In some embodiments, application 3160 is an application that is pre-installed on device 3150 at purchase (e.g., a first-party application). In some embodiments, application 3160 is an application that is provided to device 3150 via an operating system update file (e.g., a first-party application or a second-party application). In some embodiments, application 3160 is an application that is provided via an application store. In some embodiments, the application store can be an application store that is pre-installed on device 3150 at purchase (e.g., a first-party application store). In some embodiments, the application store is a third-party application store (e.g., an application store that is provided by another application store, downloaded via a network, and / or read from a storage device).

[0148] Referring to FIG. 3B and FIG. 3F, application 3160 obtains information (e.g., 3010). In some embodiments, at 3010, information is obtained from at least one hardware component of device 3150. In some embodiments, at 3010, information is obtained from at least one software module of device 3150. In some embodiments, at 3010, information is obtained from at least one hardware component external to device 3150 (e.g., a peripheral device, an accessory device, and / or a server). In some embodiments, the information obtained at 3010 includes positional information, time information, notification information, user information, environment information, electronic device state information, weather 464897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)information, media information, historical information, event information, hardware information, and / or motion information. In some embodiments, in response to and / or after obtaining the information at 3010, application 3160 provides the information to a system (e.g., 3020).

[0149] In some embodiments, the system (e.g., 3110 shown in FIG. 3E) is an operating system hosted on device 3150. In some embodiments, the system (e.g., 3110 shown in FIG. 3E) is an external device (e.g., a server, a peripheral device, an accessory, and / or a personal computing device) that includes an operating system.

[0150] Referring to FIG. 3C and FIG. 3G, application 3160 obtains information (e.g., 3030). In some embodiments, the information obtained at 3030 includes positional information, time information, notification information, user information, environment information electronic device state information, weather information, media information, historical information, event information, hardware information, and / or motion information. In response to and / or after obtaining the information at 3030, application 3160 performs an operation with the information (e.g., 3040). In some embodiments, the operation performed at 3040 includes: providing a notification based on the information, sending a message based on the information, displaying the information, controlling a user interface of a fitness application based on the information, controlling a user interface of a health application based on the information, controlling a focus mode based on the information, setting a reminder based on the information, adding a calendar entry based on the information, and / or calling an API of system 3110 based on the information.

[0151] In some embodiments, one or more steps of the method of FIG. 3B and / or the method of FIG. 3C is performed in response to a trigger. In some embodiments, the trigger includes detection of an event, a notification received from system 3110, a user input, and / or a response to a call to an API provided by system 3110.

[0152] In some embodiments, the instructions of application 3160, when executed, control device 3150 to perform the method of FIG. 3B and / or the method of FIG. 3C by calling an application programming interface (API) (e.g., API 3190) provided by system 3110. In some embodiments, application 3160 performs at least a portion of the method of FIG. 3B and / or the method of FIG. 3C without calling API 3190.

[0153] In some embodiments, one or more steps of the method of FIG. 3B and / or the method of FIG. 3C includes calling an API (e.g., API 3190) using one or more parameters 474897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)defined by the API. In some embodiments, the one or more parameters include a constant, a key, a data structure, an object, an object class, a variable, a data type, a pointer, an array, a list or a pointer to a function or method, and / or another way to reference a data or other item to be passed via the API.

[0154] Referring to FIG. 3D, device 3150 is illustrated. In some embodiments, device 3150 is a personal computing device, a smart phone, a smart watch, a fitness tracker, a head mounted display (HMD) device, a media device, a communal device, a speaker, a television, and / or a tablet. As illustrated in FIG. 3D, device 3150 includes application 3160 and an operating system (e.g., system 3110 shown in FIG. 3E). Application 3160 includes application implementation module 3170 and API-calling module 3180. System 3110 includes API 3190 and implementation module 3100. It should be recognized that device 3150, application 3160, and / or system 3110 can include more, fewer, and / or different components than illustrated in FIGS. 3D and 3E.

[0155] In some embodiments, application implementation module 3170 includes a set of one or more instructions corresponding to one or more operations performed by application 3160. For example, when application 3160 is a messaging application, application implementation module 3170 can include operations to receive and send messages. In some embodiments, application implementation module 3170 communicates with API-calling module 3180 to communicate with system 3110 via API 3190 (shown in FIG. 3E).

[0156] In some embodiments, API 3190 is a software module (e.g., a collection of computer-readable instructions) that provides an interface that allows a different module (e.g., API-calling module 3180) to access and / or use one or more functions, methods, procedures, data structures, classes, and / or other services provided by implementation module 3100 of system 3110. For example, API-calling module 3180 can access a feature of implementation module 3100 through one or more API calls or invocations (e.g., embodied by a function or a method call) exposed by API 3190 (e.g., a software and / or hardware module that can receive API calls, respond to API calls, and / or send API calls) and can pass data and / or control information using one or more parameters via the API calls or invocations. In some embodiments, API 3190 allows application 3160 to use a service provided by a Software Development Kit (SDK) library. In some embodiments, application 3160 incorporates a call to a function or method provided by the SDK library and provided by API 3190 or uses data types or objects defined in the SDK library and provided by API 484897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)3190. In some embodiments, API-calling module 3180 makes an API call via API 3190 to access and use a feature of implementation module 3100 that is specified by API 3190. In such embodiments, implementation module 3100 can return a value via API 3190 to API-calling module 3180 in response to the API call. The value can report to application 3160 the capabilities or state of a hardware component of device 3150, including those related to aspects such as input capabilities and state, output capabilities and state, processing capability, power state, storage capacity and state, and / or communications capability. In some embodiments, API 3190 is implemented in part by firmware, microcode, or other low level logic that executes in part on the hardware component.

[0157] In some embodiments, API 3190 allows a developer of API-calling module 3180 (which can be a third-party developer) to leverage a feature provided by implementation module 3100. In such embodiments, there can be one or more API-calling modules (e.g., including API-calling module 3180) that communicate with implementation module 3100. In some embodiments, API 3190 allows multiple API-calling modules written in different programming languages to communicate with implementation module 3100 (e.g., API 3190 can include features for translating calls and returns between implementation module 3100 and API-calling module 3180) while API 3190 is implemented in terms of a specific programming language. In some embodiments, API-calling module 3180 calls APIs from different providers such as a set of APIs from an OS provider, another set of APIs from a plug-in provider, and / or another set of APIs from another provider (e.g., the provider of a software library) or creator of the another set of APIs.

[0158] Examples of API 3190 can include one or more of: a pairing API (e.g., for establishing secure connection, e.g., with an accessory), a device detection API (e.g., for locating nearby devices, e.g., media devices and / or smartphone), a payment API, a UIKit API (e.g., for generating user interfaces), a location detection API, a locator API, a maps API, a health sensor API, a sensor API, a messaging API, a push notification API, a streaming API, a collaboration API, a video conferencing API, an application store API, an advertising services API, a web browser API (e.g., WebKit API), a vehicle API, a networking API, a WiFi API, a Bluetooth API, an NFC API, a UWB API, a fitness API, a smart home API, contact transfer API, photos API, camera API, and / or image processing API. In some embodiments, the sensor API is an API for accessing data associated with a sensor of device 3150. For example, the sensor API can provide access to raw sensor data. For another example, the sensor API can provide data derived (and / or generated) from the raw sensor 494897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)data. In some embodiments, the sensor data includes temperature data, image data, video data, audio data, heart rate data, IMU (inertial measurement unit) data, lidar data, location data, GPS data, and / or camera data. In some embodiments, the sensor includes one or more of an accelerometer, temperature sensor, infrared sensor, optical sensor, heartrate sensor, barometer, gyroscope, proximity sensor, temperature sensor, and / or biometric sensor.

[0159] In some embodiments, implementation module 3100 is a system (e.g., operating system and / or server system) software module (e.g., a collection of computer-readable instructions) that is constructed to perform an operation in response to receiving an API call via API 3190. In some embodiments, implementation module 3100 is constructed to provide an API response (via API 3190) as a result of processing an API call. By way of example, implementation module 3100 and API-calling module 3180 can each be any one of an operating system, a library, a device driver, an API, an application program, or other module. It should be understood that implementation module 3100 and API-calling module 3180 can be the same or different type of module from each other. In some embodiments, implementation module 3100 is embodied at least in part in firmware, microcode, or hardware logic.

[0160] In some embodiments, implementation module 3100 returns a value through API 3190 in response to an API call from API-calling module 3180. While API 3190 defines the syntax and result of an API call (e.g., how to invoke the API call and what the API call does), API 3190 might not reveal how implementation module 3100 accomplishes the function specified by the API call. Various API calls are transferred via the one or more application programming interfaces between API-calling module 3180 and implementation module 3100. Transferring the API calls can include issuing, initiating, invoking, calling, receiving, returning, and / or responding to the function calls or messages. In other words, transferring can describe actions by either of API-calling module 3180 or implementation module 3100. In some embodiments, a function call or other invocation of API 3190 sends and / or receives one or more parameters through a parameter list or other structure.

[0161] In some embodiments, implementation module 3100 provides more than one API, each providing a different view of or with different aspects of functionality implemented by implementation module 3100. For example, one API of implementation module 3100 can provide a first set of functions and can be exposed to third-party developers, and another API of implementation module 3100 can be hidden (e.g., not exposed) and provide a subset of the first set of functions and also provide another set of functions, such as testing or debugging 504897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)functions which are not in the first set of functions. In some embodiments, implementation module 3100 calls one or more other components via an underlying API and thus is both an API-calling module and an implementation module. It should be recognized that implementation module 3100 can include additional functions, methods, classes, data structures, and / or other features that are not specified through API 3190 and are not available to API-calling module 3180. It should also be recognized that API-calling module 3180 can be on the same system as implementation module 3100 or can be located remotely and access implementation module 3100 using API 3190 over a network. In some embodiments, implementation module 3100, API 3190, and / or API-calling module 3180 is stored in a machine-readable medium, which includes any mechanism for storing information in a form readable by a machine (e.g., a computer or other data processing system). For example, a machine-readable medium can include magnetic disks, optical disks, random access memory; read only memory, and / or flash memory devices.

[0162] An application programming interface (API) is an interface between a first software process and a second software process that specifies a format for communication between the first software process and the second software process. Limited APIs (e.g., private APIs or partner APIs) are APIs that are accessible to a limited set of software processes (e.g., only software processes within an operating system or only software processes that are approved to access the limited APIs). Public APIs that are accessible to a wider set of software processes. Some APIs enable software processes to communicate about or set a state of one or more input devices (e.g., one or more touch sensors, proximity sensors, visual sensors, motion / orientation sensors, pressure sensors, intensity sensors, sound sensors, wireless proximity sensors, biometric sensors, buttons, switches, rotatable elements, and / or external controllers). Some APIs enable software processes to communicate about and / or set a state of one or more output generation components (e.g., one or more audio output generation components, one or more display generation components, and / or one or more tactile output generation components). Some APIs enable particular capabilities (e.g., scrolling, handwriting, text entry, image editing, and / or image creation) to be accessed, performed, and / or used by a software process (e.g., generating outputs for use by a software process based on input from the software process). Some APIs enable content from a software process to be inserted into a template and displayed in a user interface that has a layout and / or behaviors that are specified by the template.514897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0163] Many software platforms include a set of frameworks that provides the core objects and core behaviors that a software developer needs to build software applications that can be used on the software platform. Software developers use these objects to display content onscreen, to interact with that content, and to manage interactions with the software platform. Software applications rely on the set of frameworks for their basic behavior, and the set of frameworks provides many ways for the software developer to customize the behavior of the application to match the specific needs of the software application. Many of these core objects and core behaviors are accessed via an API. An API will typically specify a format for communication between software processes, including specifying and grouping available variables, functions, and protocols. An API call (sometimes referred to as an API request) will typically be sent from a sending software process to a receiving software process as a way to accomplish one or more of the following: the sending software process requesting information from the receiving software process (e.g., for the sending software process to take action on), the sending software process providing information to the receiving software process (e.g., for the receiving software process to take action on), the sending software process requesting action by the receiving software process, or the sending software process providing information to the receiving software process about action taken by the sending software process. Interaction with a device (e.g., using a user interface) will in some circumstances include the transfer and / or receipt of one or more API calls (e.g., multiple API calls) between multiple different software processes (e.g., different portions of an operating system, an application and an operating system, or different applications) via one or more APIs (e.g., via multiple different APIs). For example, when an input is detected the direct sensor data is frequently processed into one or more input events that are provided (e.g., via an API) to a receiving software process that makes some determination based on the input events, and then sends (e.g., via an API) information to a software process to perform an operation (e.g., change a device state and / or user interface) based on the determination. While a determination and an operation performed in response could be made by the same software process, alternatively the determination could be made in a first software process and relayed (e.g., via an API) to a second software process, that is different from the first software process, that causes the operation to be performed by the second software process. Alternatively, the second software process could relay instructions (e.g., via an API) to a third software process that is different from the first software process and / or the second software process to perform the operation. It should be understood that some or all user interactions with a computer system could involve one or more API calls within a step of interacting with 524897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)the computer system (e.g., between different software components of the computer system or between a software component of the computer system and a software component of one or more remote computer systems). It should be understood that some or all user interactions with a computer system could involve one or more API calls between steps of interacting with the computer system (e.g., between different software components of the computer system or between a software component of the computer system and a software component of one or more remote computer systems).

[0164] In some embodiments, the application can be any suitable type of application, including, for example, one or more of: a browser application, an application that functions as an execution environment for plug-ins, widgets or other applications, a fitness application, a health application, a digital payments application, a media application, a social network application, a messaging application, and / or a maps application.

[0165] In some embodiments, the application is an application that is pre-installed on the first computer system at purchase (e.g., a first-party application). In some embodiments, the application is an application that is provided to the first computer system via an operating system update file (e.g., a first-party application). In some embodiments, the application is an application that is provided via an application store. In some embodiments, the application store is pre-installed on the first computer system at purchase (e.g., a first-party application store) and allows download of one or more applications. In some embodiments, the application store is a third-party application store (e.g., an application store that is provided by another device, downloaded via a network, and / or read from a storage device). In some embodiments, the application is a third-party application (e.g., an app that is provided by an application store, downloaded via a network, and / or read from a storage device). In some embodiments, the application controls the first computer system to perform method 700 (FIG. 7) by calling an application programming interface (API) provided by the system process using one or more parameters.

[0166] In some embodiments, exemplary APIs provided by the system process include one or more of: a pairing API (e.g., for establishing secure connection, e.g., with an accessory), a device detection API (e.g., for locating nearby devices, e.g., media devices and / or smartphone), a payment API, a UIKit API (e.g., for generating user interfaces), a location detection API, a locator API, a maps API, a health sensor API, a sensor API, a messaging API, a push notification API, a streaming API, a collaboration API, a video conferencing API, an application store API, an advertising services API, a web browser API 534897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)(e.g., WebKit API), a vehicle API, a networking API, a WiFi API, a Bluetooth API, an NFC API, a UWB API, a fitness API, a smart home API, contact transfer API, a photos API, a camera API, and / or an image processing API.

[0167] In some embodiments, at least one API is a software module (e.g., a collection of computer-readable instructions) that provides an interface that allows a different module (e.g., API-calling module) to access and use one or more functions, methods, procedures, data structures, classes, and / or other services provided by an implementation module of the system process. The API can define one or more parameters that are passed between the API-calling module and the implementation module. In some embodiments, API 3190 defines a first API call that can be provided by API-calling module 3180. The implementation module is a system software module (e.g., a collection of computer-readable instructions) that is constructed to perform an operation in response to receiving an API call via the API. In some embodiments, the implementation module is constructed to provide an API response (via the API) as a result of processing an API call. In some embodiments, the implementation module is included in the device (e.g., 3150) that runs the application. In some embodiments, the implementation module is included in an electronic device that is separate from the device that runs the application.

[0168] Figure 4 is a schematic, pictorial illustration of an example embodiment of the hand tracking device 140. In some embodiments, hand tracking device 140 (Figure 1 A) is controlled by hand tracking unit 244 (Figure 2) to track the position / location of one or more portions of the user’s hands, and / or motions of one or more portions of the user’s hands with respect to the scene 105 of Figure 1 A (e.g., with respect to a portion of the physical environment surrounding the user, with respect to the display generation component 120, or with respect to a portion of the user (e.g., the user’s face, eyes, or head), and / or relative to a coordinate system defined relative to the user’s hand. In some embodiments, the hand tracking device 140 is part of the display generation component 120 (e.g., embedded in or attached to a head-mounted device). In some embodiments, the hand tracking device 140 is separate from the display generation component 120 (e.g., located in separate housings or attached to separate physical support structures).

[0169] In some embodiments, the hand tracking device 140 includes image sensors 404 (e.g., one or more IR cameras, 3D cameras, depth cameras, and / or color cameras, etc.) that capture three-dimensional scene information that includes at least a hand 406 of a human user. The image sensors 404 capture the hand images with sufficient resolution to enable the 544897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)fingers and their respective positions to be distinguished. The image sensors 404 typically capture images of other parts of the user’s body, as well, or possibly all of the body, and may have either zoom capabilities or a dedicated sensor with enhanced magnification to capture images of the hand with the desired resolution. In some embodiments, the image sensors 404 also capture 2D color video images of the hand 406 and other elements of the scene. In some embodiments, the image sensors 404 are used in conjunction with other image sensors to capture the physical environment of the scene 105, or serve as the image sensors that capture the physical environments of the scene 105. In some embodiments, the image sensors 404 are positioned relative to the user or the user’s environment in a way that a field of view of the image sensors or a portion thereof is used to define an interaction space in which hand movement captured by the image sensors are treated as inputs to the controller 110.

[0170] In some embodiments, the image sensors 404 output a sequence of frames containing 3D map data (and possibly color image data, as well) to the controller 110, which extracts high-level information from the map data. This high-level information is typically provided via an Application Program Interface (API) to an application running on the controller, which drives the display generation component 120 accordingly. For example, the user may interact with software running on the controller 110 by moving his hand 406 and changing his hand posture.

[0171] In some embodiments, the image sensors 404 project a pattern of spots onto a scene containing the hand 406 and capture an image of the projected pattern. In some embodiments, the controller 110 computes the 3D coordinates of points in the scene (including points on the surface of the user’s hand) by triangulation, based on transverse shifts of the spots in the pattern. This approach is advantageous in that it does not require the user to hold or wear any sort of beacon, sensor, or other marker. It gives the depth coordinates of points in the scene relative to a predetermined reference plane, at a certain distance from the image sensors 404. In the present disclosure, the image sensors 404 are assumed to define an orthogonal set of x, y, z axes, so that depth coordinates of points in the scene correspond to z components measured by the image sensors. Alternatively, the image sensors 404 (e.g., a hand tracking device) may use other methods of 3D mapping, such as stereoscopic imaging or time-of-flight measurements, based on single or multiple cameras or other types of sensors.

[0172] In some embodiments, the hand tracking device 140 captures and processes a temporal sequence of depth maps containing the user’s hand, while the user moves his hand 554897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)(e.g., whole hand or one or more fingers). Software running on a processor in the image sensors 404 and / or the controller 110 processes the 3D map data to extract patch descriptors of the hand in these depth maps. The software matches these descriptors to patch descriptors stored in a database 408, based on a prior learning process, in order to estimate the pose of the hand in each frame. The pose typically includes 3D locations of the user’s hand joints and finger tips.

[0173] The software may also analyze the trajectory of the hands and / or fingers over multiple frames in the sequence in order to identify gestures. The pose estimation functions described herein may be interleaved with motion tracking functions, so that patch-based pose estimation is performed only once in every two (or more) frames, while tracking is used to find changes in the pose that occur over the remaining frames. The pose, motion, and gesture information are provided via the above-mentioned API to an application program running on the controller 110. This program may, for example, move and modify images presented on the display generation component 120, or perform other functions, in response to the pose and / or gesture information.

[0174] In some embodiments, a gesture includes an air gesture. An air gesture is a gesture that is detected without the user touching (or independently of) an input element that is part of a device (e.g., computer system 101, one or more input device 125, and / or hand tracking device 140) and is based on detected motion of a portion (e.g., the head, one or more arms, one or more hands, one or more fingers, and / or one or more legs) of the user’s body through the air including motion of the user’s body relative to an absolute reference (e.g., an angle of the user’s arm relative to the ground or a distance of the user’s hand relative to the ground), relative to another portion of the user’s body (e.g., movement of a hand of the user relative to a shoulder of the user, movement of one hand of the user relative to another hand of the user, and / or movement of a finger of the user relative to another finger or portion of a hand of the user), and / or absolute motion of a portion of the user’s body (e.g., a tap gesture that includes movement of a hand in a predetermined pose by a predetermined amount and / or speed, or a shake gesture that includes a predetermined speed or amount of rotation of a portion of the user’s body).

[0175] In some embodiments, input gestures used in the various examples and embodiments described herein include air gestures performed by movement of the user’s finger(s) relative to other finger(s) or part(s) of the user’s hand) for interacting with an XR environment (e.g., a virtual or mixed-reality environment), in accordance with some564897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)embodiments. In some embodiments, an air gesture is a gesture that is detected without the user touching an input element that is part of the device (or independently of an input element that is a part of the device) and is based on detected motion of a portion of the user’s body through the air including motion of the user’s body relative to an absolute reference (e.g., an angle of the user’s arm relative to the ground or a distance of the user’s hand relative to the ground), relative to another portion of the user’s body (e.g., movement of a hand of the user relative to a shoulder of the user, movement of one hand of the user relative to another hand of the user, and / or movement of a finger of the user relative to another finger or portion of a hand of the user), and / or absolute motion of a portion of the user’s body (e.g., a tap gesture that includes movement of a hand in a predetermined pose by a predetermined amount and / or speed, or a shake gesture that includes a predetermined speed or amount of rotation of a portion of the user’s body).

[0176] In some embodiments in which the input gesture is an air gesture (e.g., in the absence of physical contact with an input device that provides the computer system with information about which user interface element is the target of the user input, such as contact with a user interface element displayed on a touchscreen, or contact with a mouse or trackpad to move a cursor to the user interface element), the gesture takes into account the user's attention (e.g., based on gaze) to determine the target of the user input (e.g., for direct inputs, as described below). Thus, in implementations involving air gestures, the input gesture is, for example, detected attention (e.g., based on gaze) toward the user interface element in combination (e.g., concurrent) with movement of a user's finger(s) and / or hands to perform a pinch and / or tap input, as described in more detail below.

[0177] In some embodiments, input gestures that are directed to a user interface object are performed directly or indirectly with reference to a user interface object. For example, a user input is performed directly on the user interface object in accordance with performing the input gesture with the user’s hand at a position that corresponds to the position of the user interface object in the three-dimensional environment (e.g., as determined based on a current viewpoint of the user). In some embodiments, the input gesture is performed indirectly on the user interface object in accordance with the user performing the input gesture while a position of the user’s hand is not at the position that corresponds to the position of the user interface object in the three-dimensional environment while detecting the user’s attention (e.g., based on gaze) on the user interface object. For example, for direct input gesture, the user is enabled to direct the user’s input to the user interface object by 574897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)initiating the gesture at, or near, a position corresponding to the displayed position of the user interface object (e.g., within 0.5 cm, 1 cm, 5 cm, or a distance between 0-5 cm, as measured from an outer edge of the option or a center portion of the option). For an indirect input gesture, the user is enabled to direct the user’s input to the user interface object by paying attention to the user interface object (e.g., by gazing at the user interface object) and, while paying attention to the option, the user initiates the input gesture (e.g., at any position that is detectable by the computer system) (e.g., at a position that does not correspond to the displayed position of the user interface object).

[0178] In some embodiments, input gestures (e.g., air gestures) used in the various examples and embodiments described herein include pinch inputs and tap inputs, for interacting with a virtual or mixed-reality environment, in accordance with some embodiments. For example, the pinch inputs and tap inputs described below are performed as air gestures.

[0179] In some embodiments, a pinch input is part of an air gesture that includes one or more of: a pinch gesture, a long pinch gesture, a pinch and drag gesture, or a double pinch gesture. For example, a pinch gesture that is an air gesture includes movement of two or more fingers of a hand to make contact with one another, that is, optionally, followed by an immediate (e.g., within 0-1 seconds) break in contact from each other. A long pinch gesture that is an air gesture includes movement of two or more fingers of a hand to make contact with one another for at least a threshold amount of time (e.g., at least 1 second), before detecting a break in contact with one another. For example, a long pinch gesture includes the user holding a pinch gesture (e.g., with the two or more fingers making contact), and the long pinch gesture continues until a break in contact between the two or more fingers is detected. In some embodiments, a double pinch gesture that is an air gesture comprises two (e.g., or more) pinch inputs (e.g., performed by the same hand) detected in immediate (e.g., within a predefined time period) succession of each other. For example, the user performs a first pinch input (e.g., a pinch input or a long pinch input), releases the first pinch input (e.g., breaks contact between the two or more fingers), and performs a second pinch input within a predefined time period (e.g., within 1 second or within 2 seconds) after releasing the first pinch input.

[0180] In some embodiments, a pinch and drag gesture that is an air gesture (e.g., an air drag gesture or an air swipe gesture) includes a pinch gesture (e.g., a pinch gesture or a long pinch gesture) performed in conjunction with (e.g., followed by) a drag input that 584897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)changes a position of the user’s hand from a first position (e.g., a start position of the drag) to a second position (e.g., an end position of the drag). In some embodiments, the user maintains the pinch gesture while performing the drag input, and releases the pinch gesture (e.g., opens their two or more fingers) to end the drag gesture (e.g., at the second position). In some embodiments, the pinch input and the drag input are performed by the same hand (e.g., the user pinches two or more fingers to make contact with one another and moves the same hand to the second position in the air with the drag gesture). In some embodiments, the pinch input is performed by a first hand of the user and the drag input is performed by the second hand of the user (e.g., the user’s second hand moves from the first position to the second position in the air while the user continues the pinch input with the user’s first hand. In some embodiments, an input gesture that is an air gesture includes inputs (e.g., pinch and / or tap inputs) performed using both of the user’s two hands. For example, the input gesture includes two (e.g., or more) pinch inputs performed in conjunction with (e.g., concurrently with, or within a predefined time period of) each other. For example, a first pinch gesture performed using a first hand of the user (e.g., a pinch input, a long pinch input, or a pinch and drag input), and, in conjunction with performing the pinch input using the first hand, performing a second pinch input using the other hand (e.g., the second hand of the user’s two hands).

[0181] In some embodiments, a tap input (e.g., directed to a user interface element) performed as an air gesture includes movement of a user's finger(s) toward the user interface element, movement of the user's hand toward the user interface element optionally with the user’s finger(s) extended toward the user interface element, a downward motion of a user's finger (e.g., mimicking a mouse click motion or a tap on a touchscreen), or other predefined movement of the user’s hand. In some embodiments a tap input that is performed as an air gesture is detected based on movement characteristics of the finger or hand performing the tap gesture movement of a finger or hand away from the viewpoint of the user and / or toward an object that is the target of the tap input followed by an end of the movement. In some embodiments the end of the movement is detected based on a change in movement characteristics of the finger or hand performing the tap gesture (e.g., an end of movement away from the viewpoint of the user and / or toward the object that is the target of the tap input, a reversal of direction of movement of the finger or hand, and / or a reversal of a direction of acceleration of movement of the finger or hand).

[0182] In some embodiments, attention of a user is determined to be directed to a portion of the three-dimensional environment based on detection of gaze directed to the 594897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)portion of the three-dimensional environment (optionally, without requiring other conditions). In some embodiments, attention of a user is determined to be directed to a portion of the three-dimensional environment based on detection of gaze directed to the portion of the three-dimensional environment with one or more additional conditions such as requiring that gaze is directed to the portion of the three-dimensional environment for at least a threshold duration (e.g., a dwell duration) and / or requiring that the gaze is directed to the portion of the three-dimensional environment while the viewpoint of the user is within a distance threshold from the portion of the three-dimensional environment in order for the device to determine that attention of the user is directed to the portion of the three-dimensional environment, where if one of the additional conditions is not met, the device determines that attention is not directed to the portion of the three-dimensional environment toward which gaze is directed (e.g., until the one or more additional conditions are met).

[0183] In some embodiments, the detection of a ready state configuration of a user or a portion of a user is detected by the computer system. Detection of a ready state configuration of a hand is used by a computer system as an indication that the user is likely preparing to interact with the computer system using one or more air gesture inputs performed by the hand (e.g., a pinch, tap, pinch and drag, double pinch, long pinch, or other air gesture described herein). For example, the ready state of the hand is determined based on whether the hand has a predetermined hand shape (e.g., a pre-pinch shape with a thumb and one or more fingers extended and spaced apart ready to make a pinch or grab gesture or a pretap with one or more fingers extended and palm facing away from the user), based on whether the hand is in a predetermined position relative to a viewpoint of the user (e.g., below the user’s head and above the user’s waist and extended out from the body by at least 15, 20, 25, 30, or 50cm), and / or based on whether the hand has moved in a particular manner (e.g., moved toward a region in front of the user above the user’s waist and below the user’s head or moved away from the user’s body or leg). In some embodiments, the ready state is used to determine whether interactive elements of the user interface respond to attention (e.g., based on gaze) inputs.

[0184] In scenarios where inputs are described with reference to air gestures, it should be understood that similar gestures could be detected using a hardware input device that is attached to or held by one or more hands of a user, where the position of the hardware input device in space can be tracked using optical tracking, one or more accelerometers, one or more gyroscopes, one or more magnetometers, and / or one or more inertial measurement units 604897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)and the position and / or movement of the hardware input device is used in place of the position and / or movement of the one or more hands in the corresponding air gesture(s). In scenarios where inputs are described with reference to air gestures, it should be understood that similar gestures could be detected using a hardware input device that is attached to or held by one or more hands of a user. User inputs can be detected with controls contained in the hardware input device such as one or more touch-sensitive input elements, one or more pressure-sensitive input elements, one or more buttons, one or more knobs, one or more dials, one or more joysticks, one or more hand or finger coverings that can detect a position or change in position of portions of a hand and / or fingers relative to each other, relative to the user’s body, and / or relative to a physical environment of the user, and / or other hardware input device controls, where the user inputs with the controls contained in the hardware input device are used in place of hand and / or finger gestures such as air taps or air pinches in the corresponding air gesture(s). For example, a selection input that is described as being performed with an air tap or air pinch input could be alternatively detected with a button press, a tap on a touch-sensitive surface, a press on a pressure-sensitive surface, or other hardware input. As another example, a movement input that is described as being performed with an air pinch and drag (e.g., an air drag gesture or an air swipe gesture) could be alternatively detected based on an interaction with the hardware input control such as a button press and hold, a touch on a touch-sensitive surface, a press on a pressure-sensitive surface, or other hardware input that is followed by movement of the hardware input device (e.g., along with the hand with which the hardware input device is associated) through space.Similarly, a two-handed input that includes movement of the hands relative to each other could be performed with one air gesture and one hardware input device in the hand that is not performing the air gesture, two hardware input devices held in different hands, or two air gestures performed by different hands using various combinations of air gestures and / or the inputs detected by one or more hardware input devices that are described above.

[0185] In some embodiments, the software may be downloaded to the controller 110 in electronic form, over a network, for example, or it may alternatively be provided on tangible, non-transitory media, such as optical, magnetic, or electronic memory media. In some embodiments, the database 408 is likewise stored in a memory associated with the controller 110. Alternatively or additionally, some or all of the described functions of the computer may be implemented in dedicated hardware, such as a custom or semi-custom integrated circuit or a programmable digital signal processor (DSP). Although the controller614897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)110 is shown in Figure 4, by way of example, as a separate unit from the image sensors 404, some or all of the processing functions of the controller may be performed by a suitable microprocessor and software or by dedicated circuitry within the housing of the image sensors 404 (e.g., a hand tracking device) or otherwise associated with the image sensors 404. In some embodiments, at least some of these processing functions may be carried out by a suitable processor that is integrated with the display generation component 120 (e.g., in a television set, a handheld device, or head-mounted device, for example) or with any other suitable computerized device, such as a game console or media player. The sensing functions of image sensors 404 may likewise be integrated into the computer or other computerized apparatus that is to be controlled by the sensor output.

[0186] Figure 4 further includes a schematic representation of a depth map 410 captured by the image sensors 404, in accordance with some embodiments. The depth map, as explained above, comprises a matrix of pixels having respective depth values. The pixels 412 corresponding to the hand 406 have been segmented out from the background and the wrist in this map. The brightness of each pixel within the depth map 410 corresponds inversely to its depth value, i.e., the measured z distance from the image sensors 404, with the shade of gray growing darker with increasing depth. The controller 110 processes these depth values in order to identify and segment a component of the image (i.e., a group of neighboring pixels) having characteristics of a human hand. These characteristics, may include, for example, overall size, shape and motion from frame to frame of the sequence of depth maps.

[0187] Figure 4 also schematically illustrates a hand skeleton 414 that controller 110 ultimately extracts from the depth map 410 of the hand 406, in accordance with some embodiments. In Figure 4, the hand skeleton 414 is superimposed on a hand background 416 that has been segmented from the original depth map. In some embodiments, key feature points of the hand (e.g., points corresponding to knuckles, finger tips, center of the palm, end of the hand connecting to wrist, etc.) and optionally on the wrist or arm connected to the hand are identified and located on the hand skeleton 414. In some embodiments, location and movements of these key feature points over multiple image frames are used by the controller 110 to determine the hand gestures performed by the hand or the current state of the hand, in accordance with some embodiments.

[0188] Figure 5 illustrates an example embodiment of the eye tracking device 130 (Figure 1A). In some embodiments, the eye tracking device 130 is controlled by the eye 624897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)tracking unit 243 (Figure 2) to track the position and movement of the user’s gaze with respect to the scene 105 or with respect to the XR content displayed via the display generation component 120. In some embodiments, the eye tracking device 130 is integrated with the display generation component 120. For example, in some embodiments, when the display generation component 120 is a head-mounted device such as headset, helmet, goggles, or glasses, or a handheld device placed in a wearable frame, the head-mounted device includes both a component that generates the XR content for viewing by the user and a component for tracking the gaze of the user relative to the XR content. In some embodiments, the eye tracking device 130 is separate from the display generation component 120. For example, when display generation component is a handheld device or a XR chamber, the eye tracking device 130 is optionally a separate device from the handheld device or XR chamber. In some embodiments, the eye tracking device 130 is a head-mounted device or part of a head-mounted device. In some embodiments, the head-mounted eye-tracking device 130 is optionally used in conjunction with a display generation component that is also headmounted, or a display generation component that is not head-mounted. In some embodiments, the eye tracking device 130 is not a head-mounted device, and is optionally used in conjunction with a head-mounted display generation component. In some embodiments, the eye tracking device 130 is not a head-mounted device, and is optionally part of a non-head-mounted display generation component.

[0189] In some embodiments, the display generation component 120 uses a display mechanism (e.g., left and right near-eye display panels) for displaying frames including left and right images in front of a user’s eyes to thus provide 3D virtual views to the user. For example, a head-mounted display generation component may include left and right optical lenses (referred to herein as eye lenses) located between the display and the user’s eyes. In some embodiments, the display generation component may include or be coupled to one or more external video cameras that capture video of the user’s environment for display. In some embodiments, a head-mounted display generation component may have a transparent or semi-transparent display through which a user may view the physical environment directly and display virtual objects on the transparent or semi-transparent display. In some embodiments, display generation component projects virtual objects into the physical environment. The virtual objects may be projected, for example, on a physical surface or as a holograph, so that an individual, using the system, observes the virtual objects superimposed634897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)over the physical environment. In such cases, separate display panels and image frames for the left and right eyes may not be necessary.

[0190] As shown in Figure 5, in some embodiments, eye tracking device 130 (e.g., a gaze tracking device) includes at least one eye tracking camera (e.g., infrared (IR) or near-IR (NIR) cameras), and illumination sources (e.g., IR or NIR light sources such as an array or ring of LEDs) that emit light (e.g., IR or NIR light) towards the user’s eyes. The eye tracking cameras may be pointed towards the user’s eyes to receive reflected IR or NIR light from the light sources directly from the eyes, or alternatively may be pointed towards “hot” mirrors located between the user’s eyes and the display panels that reflect IR or NIR light from the eyes to the eye tracking cameras while allowing visible light to pass. The eye tracking device 130 optionally captures images of the user’s eyes (e.g., as a video stream captured at 60-120 frames per second (fps)), analyze the images to generate gaze tracking information, and communicate the gaze tracking information to the controller 110. In some embodiments, two eyes of the user are separately tracked by respective eye tracking cameras and illumination sources. In some embodiments, only one eye of the user is tracked by a respective eye tracking camera and illumination sources.

[0191] In some embodiments, the eye tracking device 130 is calibrated using a device-specific calibration process to determine parameters of the eye tracking device for the specific operating environment 100, for example the 3D geometric relationship and parameters of the LEDs, cameras, hot mirrors (if present), eye lenses, and display screen. The device-specific calibration process may be performed at the factory or another facility prior to delivery of the AR / VR equipment to the end user. The device- specific calibration process may be an automated calibration process or a manual calibration process. A user-specific calibration process may include an estimation of a specific user’s eye parameters, for example the pupil location, fovea location, optical axis, visual axis, eye spacing, etc. Once the device-specific and user- specific parameters are determined for the eye tracking device 130, images captured by the eye tracking cameras can be processed using a glint-assisted method to determine the current visual axis and point of gaze of the user with respect to the display, in accordance with some embodiments.

[0192] As shown in Figure 5, the eye tracking device 130 (e.g., 130A or 130B) includes eye lens(es) 520, and a gaze tracking system that includes at least one eye tracking camera 540 (e.g., infrared (IR) or near-IR (NIR) cameras) positioned on a side of the user’s face for which eye tracking is performed, and an illumination source 530 (e.g., IR or NIR 644897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)light sources such as an array or ring of NIR light-emitting diodes (LEDs)) that emit light (e.g., IR or NIR light) towards the user’s eye(s) 592. The eye tracking cameras 540 may be pointed towards mirrors 550 located between the user’s eye(s) 592 and a display 510 (e.g., a left or right display panel of a head-mounted display, or a display of a handheld device, a projector, etc.) that reflect IR or NIR light from the eye(s) 592 while allowing visible light to pass (e.g., as shown in the top portion of Figure 5), or alternatively may be pointed towards the user’s eye(s) 592 to receive reflected IR or NIR light from the eye(s) 592 (e.g., as shown in the bottom portion of Figure 5).

[0193] In some embodiments, the controller 110 renders AR or VR frames 562 (e.g., left and right frames for left and right display panels) and provides the frames 562 to the display 510. The controller 110 uses gaze tracking input 542 from the eye tracking cameras 540 for various purposes, for example in processing the frames 562 for display. The controller 110 optionally estimates the user’s point of gaze on the display 510 based on the gaze tracking input 542 obtained from the eye tracking cameras 540 using the glint-assisted methods or other suitable methods. The point of gaze estimated from the gaze tracking input 542 is optionally used to determine the direction in which the user is currently looking.

[0194] The following describes several possible use cases for the user’s current gaze direction, and is not intended to be limiting. As an example use case, the controller 110 may render virtual content differently based on the determined direction of the user’s gaze. For example, the controller 110 may generate virtual content at a higher resolution in a foveal region determined from the user’s current gaze direction than in peripheral regions. As another example, the controller may position or move virtual content in the view based at least in part on the user’s current gaze direction. As another example, the controller may display particular virtual content in the view based at least in part on the user’s current gaze direction. As another example use case in AR applications, the controller 110 may direct external cameras for capturing the physical environments of the XR experience to focus in the determined direction. The autofocus mechanism of the external cameras may then focus on an object or surface in the environment that the user is currently looking at on the display 510. As another example use case, the eye lenses 520 may be focusable lenses, and the gaze tracking information is used by the controller to adjust the focus of the eye lenses 520 so that the virtual object that the user is currently looking at has the proper vergence to match the convergence of the user’s eyes 592. The controller 110 may leverage the gaze tracking654897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)information to direct the eye lenses 520 to adjust focus so that close objects that the user is looking at appear at the right distance.

[0195] In some embodiments, the eye tracking device is part of a head-mounted device that includes a display (e.g., display 510), two eye lenses (e.g., eye lens(es) 520), eye tracking cameras (e.g., eye tracking camera(s) 540), and light sources (e.g., illumination sources 530 (e.g., IR or NIR LEDs), mounted in a wearable housing. The light sources emit light (e.g., IR or NIR light) towards the user’s eye(s) 592. In some embodiments, the light sources may be arranged in rings or circles around each of the lenses as shown in Figure 5. In some embodiments, eight illumination sources 530 (e.g., LEDs) are arranged around each of lenses 520 as an example. However, more or fewer illumination sources 530 may be used, and other arrangements and locations of illumination sources 530 may be used.

[0196] In some embodiments, the display 510 emits light in the visible light range and does not emit light in the IR or NIR range, and thus does not introduce noise in the gaze tracking system. Note that the location and angle of eye tracking camera(s) 540 is given by way of example, and is not intended to be limiting. In some embodiments, a single eye tracking camera 540 is located on each side of the user’s face. In some embodiments, two or more NIR cameras 540 may be used on each side of the user’s face. In some embodiments, a camera 540 with a wider field of view (FOV) and a camera 540 with a narrower FOV may be used on each side of the user’s face. In some embodiments, a camera 540 that operates at one wavelength (e.g., 850nm) and a camera 540 that operates at a different wavelength (e.g., 940nm) may be used on each side of the user’s face.

[0197] Embodiments of the gaze tracking system as illustrated in Figure 5 may, for example, be used in computer-generated reality, virtual reality, and / or mixed reality applications to provide computer-generated reality, virtual reality, augmented reality, and / or augmented virtuality experiences to the user.

[0198] Figure 6 illustrates a glint-assisted gaze tracking pipeline, in accordance with some embodiments. In some embodiments, the gaze tracking pipeline is implemented by a glint-assisted gaze tracking system (e.g., eye tracking device 130 as illustrated in Figures 1A and 5). The glint-assisted gaze tracking system may maintain a tracking state. Initially, the tracking state is off or “NO”. When in the tracking state, the glint-assisted gaze tracking system uses prior information from the previous frame when analyzing the current frame to track the pupil contour and glints in the current frame. When not in the tracking state, the664897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)glint-assisted gaze tracking system attempts to detect the pupil and glints in the current frame and, if successful, initializes the tracking state to “YES” and continues with the next frame in the tracking state.

[0199] As shown in Figure 6, the gaze tracking cameras may capture left and right images of the user’s left and right eyes. The captured images are then input to a gaze tracking pipeline for processing beginning at 610. As indicated by the arrow returning to element 600, the gaze tracking system may continue to capture images of the user’s eyes, for example at a rate of 60 to 120 frames per second. In some embodiments, each set of captured images may be input to the pipeline for processing. However, in some embodiments or under some conditions, not all captured frames are processed by the pipeline.

[0200] At 610, for the current captured images, if the tracking state is YES, then the method proceeds to element 640. At 610, if the tracking state is NO, then as indicated at 620 the images are analyzed to detect the user’s pupils and glints in the images. At 630, if the pupils and glints are successfully detected, then the method proceeds to element 640.Otherwise, the method returns to element 610 to process next images of the user’s eyes.

[0201] At 640, if proceeding from element 610, the current frames are analyzed to track the pupils and glints based in part on prior information from the previous frames. At 640, if proceeding from element 630, the tracking state is initialized based on the detected pupils and glints in the current frames. Results of processing at element 640 are checked to verify that the results of tracking or detection can be trusted. For example, results may be checked to determine if the pupil and a sufficient number of glints to perform gaze estimation are successfully tracked or detected in the current frames. At 650, if the results cannot be trusted, then the tracking state is set to NO at element 660, and the method returns to element 610 to process next images of the user’s eyes. At 650, if the results are trusted, then the method proceeds to element 670. At 670, the tracking state is set to YES (if not already YES), and the pupil and glint information is passed to element 680 to estimate the user’s point of gaze.

[0202] Figure 6 is intended to serve as one example of eye tracking technology that may be used in a particular implementation. As recognized by those of ordinary skill in the art, other eye tracking technologies that currently exist or are developed in the future may be used in place of or in combination with the glint-assisted eye tracking technology describe674897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)herein in the computer system 101 for providing XR experiences to users, in accordance with various embodiments.

[0203] In some embodiments, the captured portions of real world environment 602 are used to provide a XR experience to the user, for example, a mixed reality environment in which one or more virtual objects are superimposed over representations of real world environment 602.

[0204] Thus, the description herein describes some embodiments of three-dimensional environments (e.g., XR environments) that include representations of real world objects and representations of virtual objects. For example, a three-dimensional environment optionally includes a representation of a table that exists in the physical environment, which is captured and displayed in the three-dimensional environment (e.g., actively via cameras and displays of a computer system, or passively via a transparent or translucent display of the computer system). As described previously, the three-dimensional environment is optionally a mixed reality system in which the three-dimensional environment is based on the physical environment that is captured by one or more sensors of the computer system and displayed via a display generation component. As a mixed reality system, the computer system is optionally able to selectively display portions and / or objects of the physical environment such that the respective portions and / or objects of the physical environment appear as if they exist in the three-dimensional environment displayed by the computer system. Similarly, the computer system is optionally able to display virtual objects in the three-dimensional environment to appear as if the virtual objects exist in the real world (e.g., physical environment) by placing the virtual objects at respective locations in the three-dimensional environment that have corresponding locations in the real world. For example, the computer system optionally displays a vase such that it appears as if a real vase is placed on top of a table in the physical environment. In some embodiments, a respective location in the three-dimensional environment has a corresponding location in the physical environment. Thus, when the computer system is described as displaying a virtual object at a respective location with respect to a physical object (e.g., such as a location at or near the hand of the user, or at or near a physical table), the computer system displays the virtual object at a particular location in the three-dimensional environment such that it appears as if the virtual object is at or near the physical object in the physical world (e.g., the virtual object is displayed at a location in the three-dimensional environment that corresponds to a location in the physical684897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)environment at which the virtual object would be displayed if it were a real object at that particular location).

[0205] In some embodiments, real world objects that exist in the physical environment that are displayed in the three-dimensional environment (e.g., and / or visible via the display generation component) can interact with virtual objects that exist only in the three-dimensional environment. For example, a three-dimensional environment can include a table and a vase placed on top of the table, with the table being a view of (or a representation of) a physical table in the physical environment, and the vase being a virtual object.

[0206] In a three-dimensional environment (e.g., a real environment, a virtual environment, or an environment that includes a mix of real and virtual objects), objects are sometimes referred to as having a depth or simulated depth, or objects are referred to as being visible, displayed, or placed at different depths. In this context, depth refers to a dimension other than height or width. In some embodiments, depth is defined relative to a fixed set of coordinates (e.g., where a room or an object has a height, depth, and width defined relative to the fixed set of coordinates). In some embodiments, depth is defined relative to a location or viewpoint of a user, in which case, the depth dimension varies based on the location of the user and / or the location and angle of the viewpoint of the user. In some embodiments where depth is defined relative to a location of a user that is positioned relative to a surface of an environment (e.g., a floor of an environment, or a surface of the ground), objects that are further away from the user along a line that extends parallel to the surface are considered to have a greater depth in the environment, and / or the depth of an object is measured along an axis that extends outward from a location of the user and is parallel to the surface of the environment (e.g., depth is defined in a cylindrical or substantially cylindrical coordinate system with the position of the user at the center of the cylinder that extends from a head of the user toward feet of the user). In some embodiments where depth is defined relative to viewpoint of a user (e.g., a direction relative to a point in space that determines which portion of an environment that is visible via a head mounted device or other display), objects that are further away from the viewpoint of the user along a line that extends parallel to the direction of the viewpoint of the user are considered to have a greater depth in the environment, and / or the depth of an object is measured along an axis that extends outward from a line that extends from the viewpoint of the user and is parallel to the direction of the viewpoint of the user (e.g., depth is defined in a spherical or substantially spherical coordinate system with the origin of the viewpoint at the center of the sphere that extends outwardly from a head of the 694897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)user). In some embodiments, depth is defined relative to a user interface container (e.g., a window or application in which application and / or system content is displayed) where the user interface container has a height and / or width, and depth is a dimension that is orthogonal to the height and / or width of the user interface container. In some embodiments, in circumstances where depth is defined relative to a user interface container, the height and or width of the container are typically orthogonal or substantially orthogonal to a line that extends from a location based on the user (e.g., a viewpoint of the user or a location of the user) to the user interface container (e.g., the center of the user interface container, or another characteristic point of the user interface container) when the container is placed in the three-dimensional environment or is initially displayed (e.g., so that the depth dimension for the container extends outward away from the user or the viewpoint of the user). In some embodiments, in situations where depth is defined relative to a user interface container, depth of an object relative to the user interface container refers to a position of the object along the depth dimension for the user interface container. In some embodiments, multiple different containers can have different depth dimensions (e.g., different depth dimensions that extend away from the user or the viewpoint of the user in different directions and / or from different starting points). In some embodiments, when depth is defined relative to a user interface container, the direction of the depth dimension remains constant for the user interface container as the location of the user interface container, the user and / or the viewpoint of the user changes (e.g., or when multiple different viewers are viewing the same container in the three-dimensional environment such as during an in-person collaboration session and / or when multiple participants are in a real-time communication session with shared virtual content including the container). In some embodiments, for curved containers (e.g., including a container with a curved surface or curved content region), the depth dimension optionally extends into a surface of the curved container. In some situations, z-separation (e.g., separation of two objects in a depth dimension), z-height (e.g., distance of one object from another in a depth dimension), z-position (e.g., position of one object in a depth dimension), z-depth (e.g., position of one object in a depth dimension), or simulated z dimension (e.g., depth used as a dimension of an object, dimension of an environment, a direction in space, and / or a direction in simulated space) are used to refer to the concept of depth as described above.

[0207] In some embodiments, a user is optionally able to interact with virtual objects in the three-dimensional environment using one or more hands as if the virtual objects were704897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)real objects in the physical environment. For example, as described above, one or more sensors of the computer system optionally capture one or more of the hands of the user and display representations of the hands of the user in the three-dimensional environment (e.g., in a manner similar to displaying a real world object in three-dimensional environment described above), or in some embodiments, the hands of the user are visible via the display generation component via the ability to see the physical environment through the user interface due to the transparency / translucency of a portion of the display generation component that is displaying the user interface or due to projection of the user interface onto a transparent / translucent surface or projection of the user interface onto the user’s eye or into a field of view of the user’s eye. Thus, in some embodiments, the hands of the user are displayed at a respective location in the three-dimensional environment and are treated as if they were objects in the three-dimensional environment that are able to interact with the virtual objects in the three-dimensional environment as if they were physical objects in the physical environment. In some embodiments, the computer system is able to update display of the representations of the user’s hands in the three-dimensional environment in conjunction with the movement of the user’s hands in the physical environment.

[0208] In some of the embodiments described below, the computer system is optionally able to determine the “effective” distance between physical objects in the physical world and virtual objects in the three-dimensional environment, for example, for the purpose of determining whether a physical object is directly interacting with a virtual object (e.g., whether a hand is touching, grabbing, holding, etc. a virtual object or within a threshold distance of a virtual object). For example, a hand directly interacting with a virtual object optionally includes one or more of a finger of a hand pressing a virtual button, a hand of a user grabbing a virtual vase, two fingers of a hand of the user coming together and pinching / holding a user interface of an application, and any of the other types of interactions described here. For example, the computer system optionally determines the distance between the hands of the user and virtual objects when determining whether the user is interacting with virtual objects and / or how the user is interacting with virtual objects. In some embodiments, the computer system determines the distance between the hands of the user and a virtual object by determining the distance between the location of the hands in the three-dimensional environment and the location of the virtual object of interest in the three-dimensional environment. For example, the one or more hands of the user are located at a particular position in the physical world, which the computer system optionally captures and714897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)displays at a particular corresponding position in the three-dimensional environment (e.g., the position in the three-dimensional environment at which the hands would be displayed if the hands were virtual, rather than physical, hands). The position of the hands in the three-dimensional environment is optionally compared with the position of the virtual object of interest in the three-dimensional environment to determine the distance between the one or more hands of the user and the virtual object. In some embodiments, the computer system optionally determines a distance between a physical object and a virtual object by comparing positions in the physical world (e.g., as opposed to comparing positions in the three-dimensional environment). For example, when determining the distance between one or more hands of the user and a virtual object, the computer system optionally determines the corresponding location in the physical world of the virtual object (e.g., the position at which the virtual object would be located in the physical world if it were a physical object rather than a virtual object), and then determines the distance between the corresponding physical position and the one of more hands of the user. In some embodiments, the same techniques are optionally used to determine the distance between any physical object and any virtual object. Thus, as described herein, when determining whether a physical object is in contact with a virtual object or whether a physical object is within a threshold distance of a virtual object, the computer system optionally performs any of the techniques described above to map the location of the physical object to the three-dimensional environment and / or map the location of the virtual object to the physical environment.

[0209] In some embodiments, the same or similar technique is used to determine where and what the gaze of the user is directed to and / or where and at what a physical stylus held by a user is pointed. For example, if the gaze of the user is directed to a particular position in the physical environment, the computer system optionally determines the corresponding position in the three-dimensional environment (e.g., the virtual position of the gaze), and if a virtual object is located at that corresponding virtual position, the computer system optionally determines that the gaze of the user is directed to that virtual object.Similarly, the computer system is optionally able to determine, based on the orientation of a physical stylus, to where in the physical environment the stylus is pointing. In some embodiments, based on this determination, the computer system determines the corresponding virtual position in the three-dimensional environment that corresponds to the location in the physical environment to which the stylus is pointing, and optionally724897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)determines that the stylus is pointing at the corresponding virtual position in the three-dimensional environment.

[0210] Similarly, the embodiments described herein may refer to the location of the user (e.g., the user of the computer system) and / or the location of the computer system in the three-dimensional environment. In some embodiments, the user of the computer system is holding, wearing, or otherwise located at or near the computer system. Thus, in some embodiments, the location of the computer system is used as a proxy for the location of the user. In some embodiments, the location of the computer system and / or user in the physical environment corresponds to a respective location in the three-dimensional environment. For example, the location of the computer system would be the location in the physical environment (and its corresponding location in the three-dimensional environment) from which, if a user were to stand at that location facing a respective portion of the physical environment that is visible via the display generation component, the user would see the objects in the physical environment in the same positions, orientations, and / or sizes as they are displayed by or visible via the display generation component of the computer system in the three-dimensional environment (e.g., in absolute terms and / or relative to each other). Similarly, if the virtual objects displayed in the three-dimensional environment were physical objects in the physical environment (e.g., placed at the same locations in the physical environment as they are in the three-dimensional environment, and having the same sizes and orientations in the physical environment as in the three-dimensional environment), the location of the computer system and / or user is the position from which the user would see the virtual objects in the physical environment in the same positions, orientations, and / or sizes as they are displayed by the display generation component of the computer system in the three-dimensional environment (e.g., in absolute terms and / or relative to each other and the real world objects).

[0211] In the present disclosure, various input methods are described with respect to interactions with a computer system. When an example is provided using one input device or input method and another example is provided using another input device or input method, it is to be understood that each example may be compatible with and optionally utilizes the input device or input method described with respect to another example. Similarly, various output methods are described with respect to interactions with a computer system. When an example is provided using one output device or output method and another example is provided using another output device or output method, it is to be understood that each 734897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)example may be compatible with and optionally utilizes the output device or output method described with respect to another example. Similarly, various methods are described with respect to interactions with a virtual environment or a mixed reality environment through a computer system. When an example is provided using interactions with a virtual environment and another example is provided using mixed reality environment, it is to be understood that each example may be compatible with and optionally utilizes the methods described with respect to another example. As such, the present disclosure discloses embodiments that are combinations of the features of multiple examples, without exhaustively listing all features of an embodiment in the description of each example embodiment.USER INTERFACES AND ASSOCIATED PROCESSES

[0212] Attention is now directed towards embodiments of user interfaces (“U ’) and associated processes that may be implemented on a computer system, such as portable multifunction device or a head-mounted device, with a display generation component, one or more input devices, and (optionally) one or more cameras.

[0213] Figs. 7A-7K illustrate methods of and systems for changing a level of detail of spatial audio based upon movement of a viewpoint of a user in accordance with some embodiments of the disclosure.

[0214] Fig. 7A illustrates a computer system 101 (e.g., tablet, smartphone, wearable computer, or head mounted device) (e.g., an electronic device) displaying, via a display generation component (e.g., display generation component 120 of Figure 1A such as a computer display, touch screen, or one or more display modules of a head mounted device), a three-dimensional environment 700 (e.g., an AR, AV, VR, MR, or XR environment) from a viewpoint of the user of the computer system 101 (e.g., tablet, smartphone, wearable computer, or head mounted device) (e.g., facing a back wall of the physical environment in which computer system 101 (e.g., tablet, smartphone, wearable computer, or head mounted device) is located). In some embodiments, computer system 101 (e.g., tablet, smartphone, wearable computer, or head mounted device) includes a display generation component 120 (e.g., a computer display, touch screen, or display module of a head mounted device) and a plurality of image sensors 314a-314c (e.g., image sensors 314 of Figure 3 A). The image sensors optionally include one or more of a visible light camera, an infrared camera, a depth sensor, or any other sensor the computer system 101 (e.g., tablet, smartphone, wearable computer, or head mounted device) would be able to use to capture one or more images of a744897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)user or a part of the user (e.g., one or more hands of the user) while the user interacts with the computer system 101 (e.g., tablet, smartphone, wearable computer, or head mounted device). In some embodiments, the user interfaces illustrated and described below could also be implemented on a head-mounted display that includes a display generation component that displays the user interface or three-dimensional environment to the user, and sensors to detect the physical environment and / or movements of the user’s hands (e.g., external sensors facing outwards from the user), and / or attention (e.g., based on gaze) of the user (e.g., internal sensors facing inwards towards the face of the user).

[0215] As shown in Fig. 7A, computer system 101 (e.g., tablet, smartphone, wearable computer, or head mounted device) captures one or more images of the physical environment around computer system 101 (e.g., tablet, smartphone, wearable computer, or head mounted device), including one or more objects in the physical environment around computer system 101. In some embodiments, computer system 101 displays representations of the physical environment included in three-dimensional environment 700. For example, three-dimensional environment 700 includes a flight of stairs 706, which is optionally a representation of stairs (e.g., video, pictures, and / or a view of the stairs via transparent materials) in the physical environment.

[0216] In Fig. 7A, three-dimensional environment 700 also includes one or more virtual objects. For example, as shown in Fig. 7A, the computer system 101 is displaying a virtual object 702 in the three-dimensional environment 700 (e.g., an AR, AV, VR, MR, or XR environment). In some embodiments, the virtual object is or includes one or more of user interfaces of an application (e.g., an application running on the computer system 101 (e.g., tablet, smartphone, wearable computer, or head mounted device)) containing content (e.g., windows displaying photographs, playback user interface displaying content, and / or webbrowsing user interface displaying text), three-dimensional objects (e.g., virtual clocks, virtual balls, and / or virtual cars) or any other element displayed by computer system 101 (e.g., tablet, smartphone, wearable computer, or head mounted device) that is not included in the physical environment of display generation component 120.

[0217] In Fig. 7A, as shown in the overhead view, the computer system displays virtual object 702 and displays stairs 706 from a viewpoint of the user 708 relative to three-dimensional environment 700. In some embodiments, the viewpoint of the user 708 includes a position and / or an orientation of the user 708 relative to three-dimensional environment 700. In Fig. 7A, computer system 101 detects an input provided by hand 730 directed to a 754897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)button 703 included in computer system 101. The input optionally corresponds to one or more inputs requesting display of an at least partially immersive three-dimensional environment, as described further herein. It is understood that such an input is merely an example of a plurality of different events and / or inputs that optionally cause display of an at least partially immersive virtual content and / or and at least partially immersive three-dimensional environment (e.g., an AR, AV, VR, MR, or XR environment). As described with reference to method 1200, such immersive virtual content is optionally displayed at a level of visual prominence relative to the three-dimensional environment 700, including, but not limited to what percentage, region, and / or region(s) of a viewport of the computer system 101 is consumed by the immersive virtual content. It is understood embodiments described herein referencing “immersive” environments and / or content optionally refers to virtual content and / or virtual environments that computer system 101 is able to display with a level of immersion, as described with reference to method 800 and / or 1200, and does not preclude the possibility of displaying such virtual content and / or virtual environments that is not entirely immersive (e.g., displayed consuming a portion, rather than all of a viewport of computer system 101). In some embodiments, computer system 101 detects additional or alternative input(s) requesting display of the immersive virtual content and / or immersive environment. For example, the computer system optionally detects a voice command, and air gesture (e.g., an air pinch include a contacting of a plurality of fingers of hand 730, and air pointing of one or more fingers, and air splaying of one or more fingers, and / or some combination thereof), a selection of a virtual button (e.g., using an air gesture, optionally while attention (e.g., based on gaze) of the user is directed to the virtual button), a rotating of an electromechanical crown button, and / or some combination thereof.

[0218] In Fig. 7B, computer system 101 displays an at least partially immersive three-dimensional environment 700 via display generation component 120 in response to detecting the input in Fig. 7A. For example, as described with reference to method 800, the three-dimensional environment 700 in Fig. 7B optionally includes an atmospheric effect that overlays representations of the user’s physical environment. For example, the computer system 101 optionally displays a virtual tinting, dimming, color, pattern, and / or a virtual blurring overlaying one or more representations of the user’s physical environment. In some embodiments, the atmospheric effect is displayed overlaying virtual content, including virtual object 702 in Fig. 7B, as illustrated by the fill pattern overlaying the virtual object 702.Further, stairs 706 are displayed with the fill pattern overlaying the representation of the764897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)physical features of stairs 706 in Fig. 7B. Thus, the computer system 101 in Fig. 7B fills the user’s three-dimensional environment 700 with a simulated environment, as though the user 708 were engulfed and / or immersed in a virtual environment.

[0219] In some embodiments, computer system 101 presents simulated spatial audio in conjunction with an at least partially immersive environment. For example, in Fig. 7B, three-dimensional environment 700 includes a plurality of locations corresponding to simulated spatial audio sources, including locations virtually occupied by source 704a, source 704b, source 704c, and source 704d shown in an overhead view of three-dimensional environment 700. As described with reference to method 800, the computer system 101 optionally presents (e.g., generates) audio via one or more audio channels, with time delay(s) and / or including modification of audio volume(s) of the channels to simulate the perception that physical sound sources were presenting audio in the three-dimensional environment 700. Accordingly, in Fig. 7B, sources 704b-d optionally are not displayed, but user 708 is able to hear sound as though emanating from the locations corresponding to source 704a-d, thus the spatial audio sources virtually “occupy” the locations. In such an example, computer system 101 presents spatial audio using one or more directional filters to simulate the effect spatial audio emanating from the locations, as though sources 704a-d respectively “generate” audio, as though the audio were provided by a physical speaker at the locations that correspond to each source 704a-d. It is understood that description herein of a spatial audio source “generating” spatial audio optionally corresponds to spatial audio that computer system 101 generates and configures as though a simulated spatial audio source (e.g., 704a-d) is physically generating the spatial audio. Such sounds and / or audio emanating from sources 704a-d are optionally associated with the currently displayed immersive environment. For example, in Fig. 7B, three-dimensional environment 700 optionally corresponds to a golden colored environmental overlay, and the sources 704a-d optionally virtually generate sounds including music, intermittent environmental sounds, and / or additional or alternative sound described with reference to method 800.

[0220] In some embodiments, the locations corresponding to three-dimensional environment 700 are elevated and / or offset from a floor of the three-dimensional environment 700, as described with reference to Fig. 7H. For example, source 704b is a first elevation 736a away from a floor of three-dimensional environment 700, source 704c is a second, different elevation 736b, and source 704d is a third, also different elevation 736c in Fig. 7B. Although not illustrated, source 704a is optionally a fourth elevation away from the floor.774897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0221] In some embodiments, each source is optionally a particular distance away from a viewpoint of user 708 when the immersive environment is displayed, such as beyond threshold 710 in Fig. 7B. For example, the locations that correspond to sources 704a-d in Fig.7B are beyond the threshold 710, a spherical or circular region including a radius 712 -which optionally corresponds to a two or three-dimensional threshold within which spatial audio sources are typically not located. In some embodiments, threshold 710 is not displayed. Presenting the spatial audio via sources 704a-d at respective distances beyond threshold 710 relative to the viewpoint of user 708 optionally reduces the likelihood that spatial audio sources correspond to simulated locations that potentially cause discomfort and / or disorientation of user 708. It is understood that threshold 710 is merely representative of a threshold region, and that a spatial profile of the threshold 710 optionally is different dependent upon the displayed immersive environment in Fig. 7B and / or other environments described herein. For example, the threshold 710 optionally is cone-shaped, includes a plurality of volumetric shapes and / or curves, and / or is asymmetric relative to the user’s viewpoint.

[0222] The audio optionally includes ambient sound effects that are intermittently and / or constantly played, as described with reference to method 800, including a river flowing, wind whipping, ocean waves lapping, raindrops falling, and / or some combination thereof. The audio optionally relates to what displayed in three-dimensional environment 700 in Fig. 7B (e.g., a virtual feature such as a river and / or a streak of color representative of the river), and / or optionally does not correspond to displayed virtual content (e.g., a virtual tree branch creaking that is not displayed, but relates to the underlying immersive three-dimensional environment). In some embodiments, each source of sources 704a-d provide a different audio track, and / or include a combination of audio tracks and / or sounds. Thus, computer system 101 simulates the perception that user 708 is immersed by sound sources in Fig. 7B, lending realism to the immersive portions of the three-dimensional environment 700. Mechanics concerning what tracks, and details of such tracks are described with reference to at least method 1000. In some embodiments, computer system 101 maintains the position of spatial audio sources in response to detecting movement of the user’s viewpoint such as illustrated in FIG. 7C.

[0223] In Fig. 7C, computer system 101 maintains display of virtual content and maintains presentation of spatial audio when detecting movement of the viewpoint of user 708, which optionally includes movement of the user’s body relative to three-dimensional 784897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)environment 700. In Fig. 7C, computer system 101 detects movement of the viewpoint of user 708 from as shown in Fig. 7B, to a location that is within the region of the three-dimensional environment bound by threshold 710. From Fig. 7B to Fig. 7C, an orientation of the user 708 is maintained relative to the three-dimensional environment 700. In some embodiments, computer system 101 maintains the position of virtual content such as virtual object 702 relative to the three-dimensional environment 700 in response to detecting viewpoint movement. For example, from Fig. 7B to Fig. 7C, computer system 101 displays the virtual object 702 corresponding to a same location as illustrated in the overhead view of three-dimensional environment 700 via display generation component 120. Additionally, in some embodiments, the computer system at least temporarily maintains the locations of spatial audio sources 704a-d relative to the three-dimensional environment in response to detecting movement of the user’s viewpoint similar to or the same as the aforementioned movement relative to threshold 710. For example, because the viewpoint movement from Fig. 7B to Fig. 7C does not include movement beyond the threshold 710, the computer system 101 maintains the locations that correspond to the sources 704a-d, as illustrated in the overhead view. Timer 716 in Fig. 7C - representative of an amount of time that the viewpoint of user 708 has remained at its depicted position and / or orientation - is not yet filled, indicating that the viewpoint of the user has settled at its position and / or orientation relative to three-dimensional environment 700 (e.g., or that the user’s viewpoint movement is ongoing) in Fig. 7B. As described further with reference to the following figures, timer 716 is associated with one or more thresholds (e.g., time threshold 718 and threshold 720) that respectively relate to updating the position and / or orientation of the spatial audio sources relative to the three-dimensional environment 700 and / or the user’s viewpoint. In some embodiments, after the user’s viewpoint dwells at a particular position and / or orientation, computer system 101 recenters the spatial audio to correspond to the user’s viewpoint, as illustrated in FIG. 7D.

[0224] In Fig. 7D, the viewpoint of the user 708 is maintained for a period of time greater than a threshold period of time. For example, from Fig. 7C to Fig. 7D, the viewpoint of the user is maintained, as indicated by the filling of timer 716, for a period of time greater than threshold 718. In response to detecting the maintenance of the user’s viewpoint relative to three-dimensional environment for such a period of time, computer system 101 “moves” the spatial audio sources to assume the arrangement illustrated in Fig. 7D. For example, computer system 101 optionally changes the location of sources 704a-d to updated positions794897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)and / or orientations relative to the three-dimensional environment 700, and / or relative to the viewpoint of user 708. Such moving optionally includes continuing to present the audio (e.g., continue to play a track provided by a given source), and optionally changing the spatial filtering of the audio to mimic the perception that a physical sound source is moving within the three-dimensional environment 700. It is appreciated, however, that the audio optionally cross-fades from its former position and / or orientation, to an updated position and / or orientation to restore a previous spatial arrangement between the user’s viewpoint and spatial audio sources to as illustrated in Fig. 7B, without simulating the continuous movement of the audio.

[0225] In Fig. 7D, computer system 101 performs an operation - at times referred to herein as a “recentering” - of the spatial audio sources. Recentering optionally refers to scenarios in which virtual content such as the locations corresponding to sources 704a-d are moved to correspond to an updated viewpoint of the user, such that the sources 704a-d have updated positions and / or orientations. In Fig. 7D, the spatial relationship between the sources 704a-d as shown in Fig. 7D is the same as the spatial arrangement between the sources at 704a-d in Fig. 7C; thus, the spatial relationship between the viewpoint of the user 704a-d and the sources 704a-d is updated from Fig. 7C to Fig. 7D, but the spatial relationship between sources 704a-d is maintained relative to one another. Thus, in response to detecting the movement of the user’s viewpoint, the computer system 101 forgoes changing of the spatial relationship between a plurality of spatial audio sources, and updates the spatial relationship between the viewpoint of user 708 and the spatial audio sources 704a-d when the viewpoint of the user remains in an updated position relative to the three-dimensional environment 700, independently of whether the updated position is within threshold 710. For example, the computer system 101 in Fig. 7D restores the spatial arrangement between the sources and the viewpoint to be similar to or the same as when the immersive environment was initially displayed in Fig. 7B. Accordingly, the spatial audio sources 704a-d in Fig. 7D are again centered (e.g., “recentered”) on the user’s viewpoint in Fig. 7D, due to the user’s dwelling at its position for period of time depicted in timer 716 greater than a threshold 718 period of time. Recentering, as referred to herein, optionally includes moving locations corresponding to virtual content such as spatial audio sources to assume a spatial arrangement relative to a viewpoint of the user. In some embodiments, such a spatial arrangement of the locations corresponds to an arrangement that was defined prior to detecting one or more inputs. For example, the relative arrangement of spatial audio sources relative to the viewpoint of user804897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)708 is a first spatial arrangement in Fig. 7B (e.g., the spatial audio sources 704a-d are placed at first locations and / or first orientations relative to the viewpoint of the user 708). In response to movement of the viewpoint of user 708 in Fig. 7C, the relative arrangement of spatial audio sources 704aa-d correspond to a second, different spatial arrangement relative to the viewpoint of user 708 (e.g., the spatial audio sources 704a-d are placed at second locations and / or second orientations relative to the viewpoint of the user 708). In Fig. 7D, the relative arrangement of spatial audio sources is changed to again-correspond to the first spatial arrangement in response to detecting the movement of the viewpoint of user 708 form as shown in Fig. 7C to as shown in Fig. 7D. In some embodiments, the computer system 101 maintains the locations corresponding to spatial audio sources in response to detecting movement of the user’s viewpoint outside of the region bound by threshold 710 as illustrated in FIG. 7E.

[0226] In Fig. 7E, the computer system 101 displays representations of virtual content in response to detecting an updating of the user’s viewpoint. From Fig. 7D to Fig. 7E, computer system 101 detects one or more inputs, such as walking of the user laterally, requesting rightward movement of the user relative to three-dimensional environment 700. In response to detecting the movement, the computer system 101 again maintains the locations corresponding to spatial audio sources 704a-d (e.g., forgoes changing of such locations). Additionally, computer system 101 partially displays virtual object 702, as though the virtual object was instead a physical object that was partially outside of a viewport of computer system 101 (e.g., and thus, is partially not displayed) in Fig. 7E. In Fig. 7E, timer 716 is again not filled, due to the user’s movement being ongoing and / or ceasing at the illustrated viewpoint relative to the three-dimensional environment 700.

[0227] In Fig. 7F, computer system 101 updates the locations corresponding to the spatial audio sources 704a-d in response to detecting, and in accordance with movement of the viewpoint of the user 708 beyond threshold 710. In some embodiments, the computer system 101 moves spatial audio in response to detecting movement beyond the threshold 710, and is not moved (e.g., at least temporarily) in response to detecting movement within the threshold 710. In some embodiments, the movement of the spatial audio sources is instantaneous, or is performed rapidly in response to detecting movement of the viewpoint (e.g., spatial audio is moved from as illustrated in Fig. 7D to as illustrated in Fig. 7F, not including the dwelling of the viewpoint described with reference to Fig. 7E).814897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0228] In some embodiments, the spatial audio source moves and / or recenters around the user’s viewpoint in accordance with a lagging behavior. For example, after detecting movement of the viewpoint of user 708 from Fig. 7D to Fig. 7E, the computer system 101 maintains the locations corresponding to spatial audio sources 704a-d. Thus, from the perspective of user 708, the spatial audio sources remain in place in response to detecting one or more inputs moving the user’s viewpoint, lagging behind the user’s viewpoint movement. After the viewpoint dwells at its updated position in Fig. 7E for a period of time in timer 716 that exceeds threshold 720 (e.g., shown in Fig. 7F), computer system 101 updates the simulated spatial locations corresponding to audio sources 704a-d. In Fig. 7F, the sources 704a-d have recentered about the user’s viewpoint relatively more quickly in response to detecting movement beyond the threshold 710, as compared to relatively more slowly in response to detecting movement from Fig. 7C to Fig. 7D. In particular, the threshold 720 is relatively less than threshold 718, such that computer system 101 facilitates a rapid recentering of spatial audio when the user’s viewpoint moves beyond threshold 710. Thus, although computer system 101 does not detect additional movement of the viewpoint of user 708 from Fig. 7E to Fig. 7F, computer system 101 moves the locations corresponding to sources 704a-d, causing the spatial audio sources to “catch up” with previous movement of the user. Additionally, the threshold 710 is recentered on the user’s viewpoint in Fig. 7F, for similar reasons, optionally concurrent with the moving of the audio sources 704a-d.

[0229] In some embodiments, the computer system 101 does not wait until the user viewpoint dwells at a particular position before initiating movement of the spatial audio sources. For example, the computer system 101 immediately initiates movement of the spatial audio sources in response to detecting movement of the user’s viewpoint beyond threshold 710. For example, the spatial audio source movement is initially moved at the instant the user 708 crosses threshold 710, at a rate (e.g., time-based and / or distance-based rate) that is less than the rate of change of the user’s viewpoint relative to the three-dimensional environment 700. In other embodiments, the spatial audio source movement is initiated in response to detecting the movement of the user’s viewpoint, independently of whether the viewpoint is moving beyond threshold 710. Thus, the movement of the spatial audio sources optionally lags behind movement of the user’s viewpoint, and optionally recenters on user’s viewpoint (e.g., when the user’s viewpoint dwells for some period of time, and / or catches up to the user’s updated viewpoint while viewpoint movement is ongoing).824897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0230] In some embodiments, computer system 101 moves the simulated locations corresponding to spatial audio in accordance with rotation of the user’s viewpoint relative to the three-dimensional environment 700, as illustrated from Figs. 7G-7H. In Fig. 7G, computer system 101 maintains the locations corresponding to spatial audio sources 704a-d in response to detected movement of the viewpoint of user 708. For example, from Fig. 7F to Fig. 7G, the locations corresponding to sources 704a-d are maintained in the overhead view of three-dimensional environment 700, despite detecting the user rotate counter-clockwise relative to the overhead view of the three-dimensional environment 700. In Fig. 7G, the timer 716 is not filled, illustrating that the rotation has concluded recently and / or is ongoing. From Fig. 7G to Fig. 7H, the viewpoint of the user 708 is maintained, and time elapses as illustrated by the filling of timer 716. Similar to as described with reference to other movements of the user’s viewpoint, computer system 101 optionally rotates the locations corresponding to sources 704a-d in accordance with a determination that the viewpoint of the user in Fig. 7H is maintained for a period of time that exceeds threshold 718. It is understood that a timer related to viewpoint rotation is optionally different from description of timer 716. For example, rotation of the spatial audio is optionally performed by computer system 101 in response to detecting that the viewpoint dwells at a given viewpoint for a threshold period of time that is different in value than threshold 718 and / or threshold 720 (e.g., less than or greater than such thresholds). In some embodiments, computer system 101 forgoes rotation of the spatial audio sources relative to three-dimensional environment 700 in response to detecting any rotation of the viewpoint of the user, and / or after detecting any rotation of the viewpoint of the user. In such embodiments, computer system 101 optionally moves the spatial audio sources upward, downward, and / or laterally relative to a floor of the three-dimensional environment 700 in response to detecting movement of the user’s viewpoint, and forgoes movement in accordance with the user rotating along a vector extending normal to the floor of the three-dimensional environment 700. In some embodiments, computer system 101 elevates or lowers the locations corresponding to spatial audio sources in response to detecting elevation or lowering of the user’s viewpoint relative to the three-dimensional environment as illustrated in Figs. 7H-7I.

[0231] Fig. 7H includes additional depictions of three-dimensional environment 700. For example, Fig. 7H includes a profile view, looking toward a left shoulder of user 708 standing within three-dimensional environment 700. The profile view also illustrates that threshold 710 is optionally centered on the user’s body (e.g., the user’s torso). In some834897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)embodiments, threshold 710 is optionally centered on the computer system 101. As illustrated by the x-shape in the profile view, source 704d is relatively close to the viewpoint of the user, and corresponds to a location having an elevation 726d, as illustrated by the elevation plot 724d. Although the sources 704a-c are not depicted in the profile view (e.g., because those sources are relatively further away from the user’s viewpoint in Fig. 7H than source 704d), sources 704a-c are located with various elevations 726a-c, depicted in the elevation plots 724a-c. In some embodiments, the sources 704a-d move upwards or downwards, away or toward a floor of the three-dimensional environment 700 in accordance with movement of the viewpoint upwards or downwards relative to the floor. In some embodiments, computer system 101 elevates the locations corresponding to spatial audio sources in response to detecting elevation of the user’s viewpoint relative to the three-dimensional environment as illustrated in FIG. 71.

[0232] In Fig. 71, computer system 101 detects movement of the viewpoint of user 708 and accordingly moves spatial audio sources upwards. For example, from Fig. 7H to Fig.71, computer system 101 detects the user 708 climb stairs 706, moving upwards relative to the floor, and beyond an upper bound of threshold 710 (e.g., the upper bound of the sphere formed by threshold 710) (e.g., in addition to translation of the viewpoint relative to the overhead view of three-dimensional environment 700). In such an example, the computer system 101 moves the virtual sound sources upwards by the elevation change of the viewpoint, as illustrated by the increasing of elevations 726a-d.

[0233] In some embodiments, the spatial relationship between the viewpoint of the user 708 and the sources (e.g., sources 704a-d) are maintained in response to detecting the increase in elevation of the viewpoint of user 708. For example, from Fig. 7H to Fig. 71, in response to the detecting the elevating of the user’s viewpoint, computer system 101 elevates spatial audio sources 704a-d relative to a floor of the three-dimensional environment 700. From Fig. 7H to Fig. 71, a difference in elevations between the viewpoint of user 708 and the spatial audio sources are maintained. It is understood that in response to detecting a decrease in elevation of the viewpoint of user 708 relative to three-dimensional environment 700, computer system 101 optionally decreases the elevation of sources 704a-d in accordance with the viewpoint movement, and optionally maintains the difference in elevation between sources 704a-d and the viewpoint of user 708.

[0234] In Fig. 71, sources 704a-d are elevated by a same amount, but it is understood that the sources 704a-d optionally move by different amounts. It is further understood that in 844897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)response to detecting movement of the viewpoint of user 708 downward, toward the floor of the three-dimensional environment 700, computer system 101 optionally moves sources 704a-d downwards toward the floor of the three-dimensional environment 700, similar to or the same as described with reference to other movements of locations corresponding to sources 704a-d herein.

[0235] From Fig. 7G through Fig. 71, computer system 101 additionally detects translation of the viewpoint of the user relative to the floor of the three-dimensional environment 700 (e.g., moving the user upwards, and to the right of the overhead view), and accordingly moves the sources 704a-d upwards, and to the right relative to the overhead view of three-dimensional environment 700 in accordance with the translation. Thus, the computer system 101 optionally moves the spatial audio sources 704a-d in one or more directions - up to three directions - relative to three-dimensional environment 700. In Fig. 71, computer system 101 detects an input provided by hand 730, which optionally has one or more characteristics of additional or alternative inputs directed to computer system 101 described herein. Such an input optionally includes a request to initiate a changing of the current, immersive three-dimensional environment. In some embodiments, in response to detecting an input direction to button 703, computer system 101 displays an environmental picker user interface as illustrated in FIG. 7J.

[0236] In Fig. 7J, computer system 101 displays a user interface 728 in response to an input. For example, user interface 728 is displayed in response to the input provided by hand 730 in Fig. 71. In some embodiments, user interface 728 includes virtual content that the user 708 is able to interact with, such as selectable options to change a currently displayed immersive environment, and / or modify the currently displayed immersive environment. In some embodiments, the user interface 728 includes one or more selectable options 732. The selectable options 732 include media such as a picture, text, video, simulated video, and / or some combination thereof, and respectively are optionally selectable to replace display of a current immersive environment with another immersive environment. In some embodiments, user interface 728 and / or selectable options 732 overlay other aspects of three-dimensional environment 700, including representation of physical objects and / or virtual objects like virtual object 702. In Fig. 7J, computer system 101 detects attention 734a of the user 708 directed to a selectable option (e.g., “Fall Light”), and / or concurrently detects an air pinch gesture performed by hand 730 while displaying the user interface 728, optionally corresponding to and / or including a request to change the current immersive environment. In 854897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)some embodiments, the spatial audio sources and / or threshold associated with an immersive environment changes when the user selects a new immersive environment as illustrated in FIG. 7K.

[0237] In Fig. 7K, computer system 101 displays three-dimensional environment 700 including virtual content corresponding to a second immersive environment, different than a previously displayed immersive environment. For example, in response to the selection of the “Fall Light” selectable option (e.g., in FIG. 7J), computer system 101 optionally ceases display of the previous atmospheric effect shown in Fig. 7J, and initiates display of a new atmospheric effect in Fig. 7K (e.g., indicated by the fill pattern overlaying content displayed by display generation component 120). In some embodiments, the newly selected immersive environment is associated with an additional or alternative threshold. For example, threshold 710 in Fig. 7K is a larger size than as illustrated in Fig. 7J. Therefore, the location corresponding to spatial audio sources 704e and 704f are located at least beyond the updated dimensions of threshold 710 in Fig. 7K. Additionally, sources 704e and 704f each are presented at unique locations, such as different elevations 726e-f as illustrated by elevation plots 724e-724f. In some embodiments, the newly selected immersive environment includes different spatial audio (e.g., tracks, sources, number of sources, and / or audio tracks presented by the sources). For example, the sounds associated with the “Fall Light” atmospheric effect optionally include different nature sounds, different intermittent noises, different background music and / or vocalizations, and / or some combination thereof, as compared to spatial audio accompanying the atmospheric effect described with reference to Figs. 7A-7J. In some embodiments, the computer system moves sources 704e-f in accordance with movement of the user’s viewpoint, similar to or the same as described with reference to sources 704a-d, but based upon the size of threshold 710 depicted in Fig. 7K. Therefore, in response to detecting a changing of a currently selected immersive environment, computer system 101 optionally changes the threshold associated with moving spatial audio sources relative to the three-dimensional environment, and / or changes the spatial audio presented concurrently while displaying the selected immersive environment.

[0238] Figure 8 is a flowchart illustrating a method of presenting spatial audio at a plurality of locations based upon movement of a user viewpoint, in accordance with some embodiments. In some embodiments, the method 800 is performed at a computer system (e.g., computer system 101 in Fig. 1 A such as a tablet, smartphone, wearable computer, or head mounted device) including a display generation component (e.g., display generation 864897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)component 120 in Figs. 1, 3, and 4) (e.g., a heads-up display, a display, a touchscreen, and / or a projector) and one or more cameras (e.g., a camera (e.g., color sensors, infrared sensors, and other depth-sensing cameras) that points downward at a user’s hand or a camera that points forward from the user’s head). In some embodiments, the method 800 is governed by instructions that are stored in a non-transitory computer-readable storage medium and that are executed by one or more processors of a computer system, such as the one or more processing units 202 of computer system 101 (e.g., control unit 110 in Fig. 1 A). Some operations in method 800 are, optionally, combined and / or the order of some operations is, optionally, changed.

[0239] In some embodiments, a method 800 is performed at a computer system, such as computer system 101 as shown in Fig. 7A, in communication with one or more input devices, such as input devices 314a-c as shown in Fig. 7A, and a display generation component, such as display generation component 120 as shown in Fig. 7A. In some embodiments, the computer system is or includes an electronic device, such as a mobile device (e.g., a tablet, a smartphone, a media player, or a wearable device), or a computer. In some embodiments, the display generation component is a display integrated with the computer system (e.g., optionally a touch screen display), external display such as a monitor, projector, television, or a hardware component (e.g., optionally integrated or external) for projecting a user interface or causing a user interface to be visible to one or more users. In some embodiments, the one or more input devices include an electronic device or component capable of receiving a user input (e.g., capturing a user input or detecting a user input) and transmitting information associated with the user input to the electronic device. Examples of input devices include an image sensor (e.g., a camera), location sensor, hand tracking sensor, eye-tracking sensor, motion sensor w(e.g., hand motion sensor) orientation sensor, microphone (e.g., and / or other audio sensors), touch screen (e.g., optionally integrated or external), remote control device (e.g., external), another mobile device (e.g., separate from the electronic device), a handheld device (e.g., external), and / or a controller.

[0240] In some embodiments, while a three-dimensional environment, such as three-dimensional environment 700 as shown in Fig. 7A, of a user of the computer system, such as user 708 as shown in Fig. 7A, is visible via the display generation component from a viewpoint of the user that is a first viewpoint relative to the three-dimensional environment, such as the viewpoint of user 708 as shown in Fig. 7A, and while presenting first spatial audio associated with the three-dimensional environment, such as spatial audio source 704a 874897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)as shown in Fig. 7B, with a simulated spatial location that corresponds to a first position within the three-dimensional environment, such as the position of spatial audio 704a as shown in Fig. 7B, the computer system detects (802), via the one or more input devices, movement of the viewpoint of the user, such as movement of the viewpoint of user 708 as shown from Fig. 7B to Fig. 7C and / or from Fig. 7C to Fig. 7D (e.g., from the first viewpoint to a second viewpoint, different from the first viewpoint). In some embodiments, the three-dimensional environment is generated, displayed, or otherwise caused to be viewable by the first computer system. For example, the three-dimensional environment is an extended reality (XR) environment, such as a virtual reality (VR) environment, a mixed reality (MR) environment, or an augmented reality (AR) environment. In some embodiments, the three-dimensional environment at least partially or entirely includes the physical environment of the user of the computer system. For example, the computer system optionally includes one or more outward facing cameras and / or passive optical components (e.g., lenses, panes or sheets of transparent materials, and / or mirrors) configured to allow the user to view the physical environment and / or a representation of the physical environment (e.g., images and / or another visual reproduction of the physical environment). In some embodiments, the three-dimensional environment includes one or more virtual objects and / or representations of objects in a physical environment of a user of the computer system. In some embodiments, the three-dimensional environment includes one or more characteristics of three-dimensional and / or virtual environments described with reference to methods 1000 and / or 1200.

[0241] In some embodiments, the computer system displays a simulated three-dimensional environment, such as a simulated portion of three-dimensional environment 700 as shown in Fig. 7B. In some embodiments, the three-dimensional environment includes a simulated and / or virtual three-dimensional environment that is displayed within the three-dimensional environment, optionally instead of the representations of the physical environment (e.g., full immersion) or optionally concurrently with the representation of the physical environment (e.g., partial immersion). Some examples of a virtual environment include a lake environment, a mountain environment, a sunset scene, a sunrise scene, a nighttime environment, a grassland environment, and / or a concert scene. In some embodiments, a virtual environment is based on a real physical location, such as a museum, and / or an aquarium. In some embodiments, a virtual environment is an artist-designed location. In some embodiments, the simulated portions of the three-dimensional environment (e.g., portions or all of a virtual environment) correspond to an environmental atmosphere884897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)applied to the three-dimensional environment. For example, the computer system optionally displays a virtual tinting (e.g., of physical representations of the user’s physical environment and / or virtual content including virtual objects), one or more simulated lighting effects (e.g., virtual lighting simulating the appearance of physical light source(s) projecting light around the three-dimensional environment), virtual shadows (e.g., simulating the appearance of physical shadows caused by physical equivalents of the virtual lighting), and the like overlaying and / or applied to representations of the three-dimensional environment (e.g., the user’s physical) environment. In some embodiments, applying an atmospheric effect to the three-dimensional environment includes modifying one or more visual characteristics of the three-dimensional environment such that it appears as if the three-dimensional environment is located at a different time, place, and / or condition (e.g., morning lighting instead of afternoon lighting, or sunny instead of overcast). In some embodiments, applying the atmospheric effect to the physical environment modifies the physical environment to appear dimly lit, and / or humid. In some embodiments, in response to detecting changes in the user’s viewpoint relative to the three-dimensional environment, the computer system changes the presented perspective relative to the virtual portions of the three-dimensional environment, to simulate the user moving through a physical equivalent of the virtual environment. It is understood that description of three-dimensional environments, and presentation of audio (e.g., spatial audio) herein and described with reference to methods 1000 and / or 1200 optionally include audio presented while displaying an at least partially immersive virtual environment and / or a three-dimensional environment that includes a virtual tinting.

[0242] In some embodiments, the user has a current viewpoint relative to the three-dimensional environment (e.g., including a representation of the physical environment and / or the virtual environment), such as the viewpoint of user 708 as shown in Fig. 7B. In general, the viewpoint of the user optionally corresponds to the orientation and / or position of the user relative to the three-dimensional environment. In some embodiments, the computer system presents audio corresponding to the three-dimensional environment, such as ambient audio associated with the three-dimensional environment. In some embodiments, the audio corresponding to the three-dimensional environment (e.g., the first spatial audio) is a looping, randomly (e.g., or pseudo-randomly) presented, and / or intermittently presented audio track, based upon characteristics of the three-dimensional environment. For example, the computer system facilitates auditory passthrough to hear real-world sounds, in addition to or in the alternative to sounds that are virtually generated and associated with the virtual environment894897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)(e.g., the real -world sounds corresponding to audio in the user’s physical environment detected by the computer system and reproduced by and / or otherwise presented to the user via an audio output device such as speakers, headphones, and / or earbuds). As additional examples, the computer system optionally presents sounds including a river flowing, waves crashing, animals crying out, vehicles moving, wind blowing, a fireplace crackling, and the like. In some embodiments, as described further herein, the computer system plays the sound as though the sounds were emanating from a specific position / location and / or region within the three-dimensional environment.

[0243] In some embodiments, the computer system presents (e.g., generates) spatial audio associated with the three-dimensional environment, such as spatial audio source 704a-d as shown in Fig. 7B. For example, the computer system optionally drives one or more sounds cells, changing the amplitude and / or delay of audio provided the one or more sound cells to mimic the sensation of being “immersed” and / or surrounded by sounds within a physical equivalent of their environment. In some embodiments, the “spatialization” of sounds includes configuring audio (e.g., the amplitude and / or delay of audio that played by the one or more sound cells) to correspond to (e.g., to be generated and / or presented as if emanating from) virtual positions relative to the user’s viewpoint, within the three-dimensional environment (e.g., the sounds are generated / presented as if emanating from those virtual positions). At such virtual positions, the computer system optionally places a virtual sound source - optionally analogous to a physical a sound source - that optionally presents the audio, thus lending a perceived spatial quality to the audio - referred to herein as “spatial audio.” In some embodiments, the spatial audio is presented at a particular volume level (e.g., is presented at 0% volume relative to the three-dimensional environment (e.g., is not presented)), is presented at 100% volume relative to the three-dimensional environment (e.g., a maximum volume of audio) and / or is presented at a volume level intermediate to 0% or 100%. For example, a preset spatial audio optionally is presented as described further with reference to methods 1000 and / or 1200. In some embodiments the sound source presenting the first spatial audio is a first virtual sound source, at times referred to herein as a first sound source. In some embodiments, the computer system detects a change in viewpoint of the user (e.g., along a three-dimensional coordinate system mapping the three-dimensional environment of the user). In some embodiments, the computer system optionally changes the one or more characteristics (e.g., time delay and / or amplitude) of one or more channels of audio included in the first spatial audio in response to detecting such changes. In some904897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)embodiments, the changes to the one or more characteristics simulate the sensation of the user’s viewpoint changing relative to a physical equivalent of the first sound source.

[0244] For example, the computer system detects movement of one or more portions of the user’s body (e.g., the head, torso, neck, and / or entire body), optionally including a changing or maintaining of the user’s position and / or orientation relative to the three-dimensional environment, optionally corresponding to corresponding changes of position and / or orientation of the viewpoint of the user relative to the three-dimensional environment. Additionally or alternatively, the movement of the viewpoint of the user is optionally virtual based upon one or more inputs other than movement of the user’s body (e.g., movement of a joystick, input(s) requesting placement of the user at a particular position and / or orientation in the three-dimensional environment (e.g., a preset location, a virtual teleporting destination, and / or a voice command).

[0245] In some embodiments, in response to detecting the movement of the viewpoint (804), and in accordance with a determination that one or more criteria are satisfied, including a criterion that is satisfied when a distance of the movement of the viewpoint of the user is less than a threshold distance (e.g., the viewpoint moves less than 0, 0.05, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.25, 1.5, or 3m relative to and / or away from the first viewpoint in the three-dimensional environment), the computer system maintains (806) presentation of the first spatial audio with the simulated spatial location that corresponds to the first position in the three-dimensional environment, such as the maintaining of presentation of spatial audio source 704a corresponding to a location within three-dimensional environment 700 as shown from Fig. 7B to Fig. 7C in response to movement of the viewpoint of user 708 as shown from Fig. 7B to Fig. 7C. For example, the computer system optionally performs the operations described with reference to presenting the first spatial audio when the user’s viewpoint moves, and without detecting additional or alternative intervening inputs. For example, when the computer system detects that the user’s viewpoint moves less than the threshold distance, the computer system maintains a virtual position (e.g., the first position) of the sound source that is virtually presenting the first spatial audio and thereby changing a spatial relationship (e.g., relative position and / or orientation) between the viewpoint of the user and the virtual position of the sound source. It is understood at times that description of a “position” and / or “orientation” of spatial audio being changed or maintained optionally refers to the movement or maintenance of position and / or orientation of virtual sound sources that provide the spatial audio. In some embodiments, the computer system concurrently maintains presentation of a 914897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)plurality of spatial audio sources corresponding to (e.g., as if emanating from) respective positions within the three-dimensional environment in response to the viewpoint movement, and in accordance with a determination that the one or more criteria are satisfied. Thus, the spatial arrangement of the sound sources relative to a position within the three-dimensional environment (and not relative to the user’s viewpoint) optionally are maintained in response to the viewpoint movement that satisfies the one or more criteria.

[0246] In some embodiments, the threshold distance, such as threshold 710 as shown in Fig. 7B, corresponds to a boundary (e.g., a spherical, elliptical, and / or polygonal) threshold distance measured relative to a portion of the user’s body, such as a center of the user’s viewpoint (e.g., before the viewpoint of the user moves and / or the user’s viewpoint when the virtual environment is initially displayed). When the computer system optionally detects that the user has not moved beyond the boundary, and optionally without moving the boundary, the computer system optionally maintains the position of the first spatial audio with respect to the three-dimensional environment. In some embodiments, the computer system forgoes movement of the boundary relative to the three-dimensional environment when the movement satisfies the one or more criteria.

[0247] In some embodiments, in response to detecting the movement of the viewpoint (804), and in accordance with a determination that the one or more criteria are not satisfied, the computer system presents (808) the first spatial audio with a simulated spatial location that corresponds to a second position, different from the first position, within the three-dimensional environment, such as the changing of presentation of spatial audio source 704a corresponding to a location within three-dimensional environment 700 as shown from Fig. 7C to Fig. 7D in response to movement of the viewpoint of user 708 as shown from Fig. 7C to Fig. 7D. For example, the computer system optionally moves the position of the first spatial audio (e.g., and / or additional or alternative spatial audio sources) within the three-dimensional environment when the viewpoint movement does not satisfy the one or more criteria (e.g., includes movement beyond the boundary described herein) such that the position of the first spatial audio with respect to the viewpoint of the user of the computer system is optionally maintained, or changes less than it would have if the one or more criteria were satisfied. In some embodiments, the movement of spatial audio includes movement by a distance and / or in one or more directions relative to the first position in the three-dimensional environment that match or otherwise correspond to the distance and / or one or more directions of movement of the user’s viewpoint. For example, the computer system optionally moves 924897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)the first spatial audio to correspond (e.g., virtually emanate from) the second position that is a particular distance, and in a particular direction relative to the first position that is a same distance, and that is in a same direction as the initial and terminal positions corresponding to movement of the user’s viewpoint relative to the three-dimensional environment (e.g., from the first viewpoint to the second viewpoint), thus tracking the user’s viewpoint movement. In some embodiments, the distance and / or direction between the first and the second position is based on a distance and / or direction that the user’s viewpoint moves beyond the boundary (e.g., the computer system moves the sound source by a relatively greater distance in response to relatively greater movement of the viewpoint relative to the three-dimensional environment, and by a relatively smaller distance in response to relatively smaller movement of the viewpoint relative to the three-dimensional environment). For example, in accordance with a determination that the movement of the viewpoint is one meter beyond the boundary in a first direction relative to the three-dimensional environment, the sound sources are moved one meter in the first direction relative to the three-dimensional environment. In accordance with a determination that the movement of the boundary is additionally or alternatively one meter beyond the boundary in a second direction, different from the first direction, relative to the three-dimensional environment, the computer system optionally moves the sound sources one meter in the second direction relative to the three-dimensional environment. It is understood that the movement of the sound source optionally is based upon movement of the user’s viewpoint, and / or a magnitude of the sound source movement (e.g., distance of movement) is optionally different from (e.g., greater than or less than) the magnitude of the viewpoint movement. For example, the virtual sound source is optionally moved by 0.5m in response to detecting a Im change in the user’s viewpoint, in accordance with a determination that the viewpoint of the user is at least partially moving through a region of the three-dimensional environment (e.g., a buffer region in which sound source(s) at least initially or always move less than the magnitude of the viewpoint of movement). In some embodiments, the movement of the sound source occurs concurrently with the movement of the viewpoint and / or in rapid succession after detecting the movement of the viewpoint. In some embodiments, as described further herein, the computer system temporally delays movement of the sound source in response to detecting the movement of the viewpoint. In some embodiments, the computer system concurrently moves a plurality of spatial audio sources in accordance with the movement of the viewpoint, maintaining the spatial arrangement between the plurality of spatial audio sources. Changing the distance between the first spatial audio source and the viewpoint of the user reduces the likelihood that 934897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)the first spatial audio source is presented relatively too close to or conflicting with the viewpoint of the user, improves user comfort while moving within the three-dimensional environment, and reduces the need to move the first spatial audio source when the first spatial audio source is at a suitable distance from the viewpoint of the user.

[0248] In some embodiments, while the three-dimensional environment is visible from the first viewpoint of the user, and while presenting second spatial audio, different from the first spatial audio, such as the presenting of spatial audio source 704b as shown in Fig. 7B, associated with the three-dimensional environment with a simulated spatial location that corresponds to a third position within the three-dimensional environment, (e.g., optionally different from the first position) such as the location of spatial audio source 704b as shown in Fig. 7B, in response to detecting the movement of the viewpoint, and in accordance with the determination that the one or more criteria are satisfied, including the criterion that is satisfied when the distance of the movement of the viewpoint of the user is less than the threshold distance, such as the distance of the movement of the viewpoint of user 708 from as shown in Fig. 7B to as shown in Fig. 7C, the computer system maintains presentation of the second spatial audio with the simulated spatial location that corresponds to the third position in the three-dimensional environment, such as maintaining the location corresponding spatial audio source 704b as shown from Fig. 7B to Fig. 7C. In some embodiments, the second spatial audio has one or more characteristics similar to or the same as those described with reference to the first spatial audio described above. In some embodiments, the second spatial audio is spatial audio that corresponds to ambient and / or environmental audio included in an immersive virtual scene different from other spatial audio included in the virtual scene (e.g., different from the first spatial audio). For example, the second spatial audio is optionally a wave crashing, a river flowing, and / or a bird chirping, and / or the first spatial audio is optionally an object dropped into water, wind blowing, and / or a voice presented to simulate individuals nearly out of earshot of the user. Similar to as described with reference to the first spatial audio, characteristics of the second spatial audio are optionally configured to simulate a virtual sound source that is providing the second spatial audio at a respective position (e.g., the third position) in the three-dimensional environment. As described further herein, in response to detecting the viewpoint moving, the computer system optionally changes characteristics of the second spatial audio to simulate movement of the viewpoint relative to the virtual sound source that is generating the second spatial audio.944897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0249] For example, in accordance with a determination that the viewpoint moves less than the threshold distance - including rotation and / or translation of the viewpoint relative to the three-dimensional environment - the computer system optionally presents the second spatial audio as though it continued to be generated by the audio source positioned at the third position. In some embodiments, the computer system forgoes changing of (e.g., maintains) positions of a plurality of spatial audio sources in response to detecting movement of the viewpoint of the user.

[0250] In some embodiments, in response to detecting the movement of the viewpoint of the user, the computer system moves one or more first spatial audio sources and forgoes movement of one or more second spatial audio sources, when one or more second criteria are satisfied, such as moving a location corresponding to spatial audio source 704a as shown in Fig. 7C to Fig. 7D while forgoing movement of a location corresponding to spatial audio source 704b as shown in Fig. 7B to Fig. 7C. For example, the one or more second criteria include a criterion that is satisfied when the distance of movement of the viewpoint of the user is greater than a respective threshold distance. In some embodiments, each of the respective threshold distances are different for respective spatial audio sources (e.g., 0.005, 0.01, 0.05, 0.1, 0.25, 0.5, 0.75, 1, 1.5, 3, or 5m). Thus, the first threshold distance associated with the first spatial audio source is optionally determined and / or obtained, and is optionally unique to (e.g., but not necessarily a same value or a different value as) a second threshold distance corresponding to the second spatial audio source. For example, the one or more first spatial audio sources are optionally moved relative to the three-dimensional environment when the distance of the viewpoint movement is greater than a first threshold distance (e.g., 0.005, 0.01, 0.05, 0.1, 0.25, 0.5, 0.75, 1, 1.5, 3, or 5m). Concurrently, the computer system optionally forgoes movement of one or more second spatial audio sources when the distance of the viewpoint movement is (e.g., optionally greater than the first threshold distance but) less than a second threshold distance (e.g., 0.01, 0.05, 0.1, 0.25, 0.5, 0.75, 1, 1.5, 3, 5, or 10m).

[0251] Additionally or alternatively, the computer system optionally moves the one or more second spatial audio sources when the one or more second criteria are satisfied with respect to the one or more second spatial audio sources, and optionally forgoes movement (e.g., maintains the location) of the one or more first spatial audio sources when one or more criteria are not satisfied with respect to the one or more first spatial audio sources.Additionally or alternatively, when the distance of movement of the viewpoint of the user is 954897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)less than the first and the second threshold distances, the computer system optionally forgoes movement of the respective locations corresponding to the first and the second spatial audio sources. When the distance of the movement of the viewpoint of the user and respective locations corresponding to the one or more first and second spatial audio sources is greater than the first and the second threshold distances, the computer system optionally moves the respective locations for both the first and second spatial audio sources.

[0252] In some embodiments, while the three-dimensional environment is visible from the first viewpoint of the user, and while presenting second spatial audio, different from the first spatial audio, such as the presenting of spatial audio source 704b as shown in Fig. 7B, associated with the three-dimensional environment with the simulated spatial location that corresponds to a third position within the three-dimensional environment, (e.g., optionally different from the first position) such as the location of spatial audio source 704b as shown in Fig. 7B, in response to detecting the movement of the viewpoint, and in accordance with the determination the one or more criteria are not satisfied, the computer system presents the second spatial audio with a simulated spatial location that corresponds to a fourth position, different from the third position, within the three-dimensional environment, such as the lack of satisfaction of the one or more criteria in response to detecting movement of the viewpoint of user 708 from as shown in Fig. 7B to as shown in Fig. 7C, and the maintaining of the location corresponding to spatial audio source 704c from as shown in Fig.7B to Fig. 7C. For example, the presenting the second spatial audio with the simulated spatial location corresponding to the fourth position has one or more characteristics similar to or the same as described with reference to presenting the first spatial audio with the simulated spatial location that corresponds to the second position within the three-dimensional environment. Thus, the computer system optionally moves the simulated sound source(s) generating the first and / or the second spatial audio in response to detecting changes in the user’s viewpoint, in accordance with changes in the user’s viewpoint, and / or in accordance with the determination that the one or more criteria are not satisfied. In some embodiments, the first and the second spatial audio are moved by a same magnitude and / or in a same direction in response to detecting the viewpoint movement. Thus, the computer system optionally maintains a spatial arrangement between locations corresponding to one or more spatial audio sources and the viewpoint of the user in response to detecting movement of the viewpoint of the user. In some embodiments, the first and / or the second spatial audio are moved by different magnitudes and / or different directions. For example, the first spatial964897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)audio optionally rotates clockwise along an axis extending perpendicular to a floor of the three-dimensional environment, and the second spatial audio optionally rotates counterclockwise along the axis by a rotational distance that is the same as or different from the rotational distance of the first spatial audio. As an additional example, in response to detecting the movement of the viewpoint, the computer system optionally moves the first spatial audio optionally along an axis extending from the viewpoint of the user toward the first position, and / or the second spatial audio optionally moves the second spatial audio along an axis extending from the viewpoint of the user toward the second position (e.g., closer to the viewpoint of the user, or further away from the viewpoint of the user). Moving additional spatial audio in response to detecting the movement of the viewpoint provides additional audio feedback indicative of the viewpoint movement relative to the three-dimensional environment, thus reducing the likelihood that the user moves erroneously relative to the three-dimensional environment and improving user comfort while moving within the three-dimensional environment, and thereby reducing processing required to perform operations based upon erroneous movement.

[0253] In some embodiments, while presenting the first spatial audio, such as spatial audio source 704a as shown in Fig. 7D and in accordance with the determination that the one or more criteria are not satisfied, such as the lack of satisfaction of the one or more criteria in response to viewpoint movement of user 708 from Fig. 7D to Fig. 7E, and in accordance with a determination that the movement of the viewpoint includes a first magnitude of movement, the second position is a first distance away from the first position, such as a distance between locations corresponding to spatial audio source 704a as shown in Fig. 7E and in Fig. 7F. In some embodiments, the computer system moves spatial audio in response to detecting changes in viewpoint and / or while the spatial audio is being presented. It is understood that presentation of spatial audio is not limited to merely generating sounds, but that moving spatial audio that includes silence for a period of time is also included in moving spatial audio “while presenting” the spatial audio. For example, the computer system optionally moves the first spatial audio by a magnitude (e.g., simulated distance, simulated velocity, and / or simulated acceleration) optionally based upon a detected magnitude of simulated distance, simulated velocity, and / or simulated acceleration of the viewpoint of the user and / or while optionally presenting the first spatial audio. For example, in response to response to detecting the viewpoint move by the first magnitude (e.g., a distance) relative to the three-dimensional environment, the computer system optionally moves the first spatial audio by the first974897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)distance to the second position. Additionally or alternatively, the virtual speed at which the computer system optionally moves the first spatial audio is based upon the magnitude of the viewpoint movement, and / or the virtual acceleration at which the computer system optionally moves the first spatial audio is optionally based upon the magnitude of the viewpoint movement. In some embodiments, the movement of the first spatial audio is performed while corresponding movement of the viewpoint is ongoing and / or is initiated in response to detecting the movement of the viewpoint. In some embodiments, the computer system continues to play the first spatial audio, and changes characteristics in response to the detected movement (e.g., changing amplitude and / or delay of the audio to simulate an ocean sound moving further away or closer to the user, decreasing or increasing a level of detail of the spatial audio as described further with reference to methods 1000 and / or 1200, and / or decreasing or increasing a volume of the spatial audio).

[0254] In some embodiments, while presenting the first spatial audio, such as spatial audio source 704a as shown in Fig. 7H and in accordance with the determination that the one or more criteria are not satisfied, such as the lack of satisfaction of the one or more criteria in response to viewpoint movement of user 708 from Fig. 7H to Fig. 71, and in accordance with a determination that the movement of the viewpoint includes a second magnitude of movement, different from the first magnitude of movement, the second position is a second distance away from the first position, different from the first distance, such as a distance between locations corresponding to spatial audio source 704d from as shown in Fig. 7H to as shown in Fig. 71. For example, the first spatial audio is moved by the second distance from the first position to the second position, and / or forgoes moving the spatial audio by the first distance. In some embodiments, in response to detecting a subsequent change in viewpoint that does not satisfy the one or more criteria, the computer system optionally moves the first spatial audio by a third magnitude in accordance with a determination that the subsequent viewpoint change includes a third magnitude of movement, and / or by a fourth magnitude in accordance with a determination that the subsequent viewpoint change includes a fourth magnitude of movement. Moving the first spatial audio by a first or a second magnitude based upon detecting a first or second magnitude of viewpoint movement indicates a spatial relationship between the viewpoint of the user and the three-dimensional environment, thus improving the likelihood the user moves within the three-dimensional environment in accordance with their desires and improving the user’s comfort while moving within the three-dimensional environment, thereby reducing processing and power consumption984897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)responsive to correct for erroneous input(s) and / or movement relative to the three-dimensional environment.

[0255] In some embodiments, presenting the first spatial audio with the simulated spatial location that corresponds to the second position in the three-dimensional environment includes, while presenting the first spatial audio associated with the three-dimensional environment, such as spatial audio source 704a as shown in Fig. 7D, and in accordance with the determination that the one or more criteria are not satisfied, in accordance with a determination that the movement of the viewpoint of the user includes movement at a first rate, such as a first rate of movement of the viewpoint of user 708 from as shown in Fig. 7D to as shown in Fig. 7E, moving the first spatial audio from the first position to the second position at a second rate, different from the first rate, wherein the second rate is slower than the first rate, such as a rate of movement of the spatial audio source 704a different from the first rate of movement. For example, the one or more criteria including the criterion satisfied when the movement of the viewpoint is less than the threshold distance as described with reference to method 800.

[0256] In some embodiments, after moving the first spatial audio from the first position to the second position at the second rate, the computer system moves the first spatial audio at a first rate in response to detecting the movement of the viewpoint of the user, and later moves the first spatial audio at a second, relatively greater rate (e.g., a rate of movement that is greater than a rate of movement of the viewpoint of the user). For example, the computer system optionally detects a magnitude of movement of the viewpoint of the user (e.g., a first magnitude) relative to the three-dimensional environment, which optionally includes a rate (e.g., a first rate including a first speed and / or a first acceleration) and / or detects movement in first one or more directions relative to the three-dimensional environment. In some embodiments, in response to detecting the movement, the computer system moves the position corresponding to the first spatial audio from its initial position to an updated position with a magnitude based upon the rate of the viewpoint movement (e.g., a second magnitude and / or second rate, including a second speed and / or second acceleration in second one or more directions, optionally different from the first rate(s)). In some embodiments, moving the first spatial audio includes maintaining location corresponding to the first spatial audio in response to detecting movement of the viewpoint for a period of time greater than a threshold period of time (e.g., 0.001, 0.01, 0.05, 0.1, 0.25, 0.5, or 1 second) before moving the first spatial audio at the second rate. In such embodiments, the rate of 994897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)movement of the first spatial audio is optionally a same rate relative to a unit of movement (e.g., described further herein) of the viewpoint relative to the three-dimensional environment, but the movement of the first spatial audio is optionally, temporally delayed from detecting the movement of the viewpoint. Additionally or alternatively, the computer system optionally, initially moves the first spatial audio at the first rate that is non-zero, slower than the second rate, in response to detecting the movement of the viewpoint of the user. Thus, computer system optionally moves the first spatial audio as though the first spatial audio is “catching up” with corresponding movement of the viewpoint, and does not necessarily keep the first spatial audio spatially fixed before initiating “catching up” with the movement of the viewpoint.

[0257] Thus, the computer system optionally moves the first spatial audio relative to the three-dimensional environment with a magnitude based upon a corresponding magnitude of movement of the viewpoint of the user. Such a magnitude of the first spatial audio is optionally proportional, inversely proportional, or otherwise based upon the magnitude of movement of the viewpoint. In some embodiments, the computer system moves a plurality of spatial audio sources from respective positions in accordance with the movement of the viewpoint. In some embodiments, moving the plurality of spatial audio sources includes moving the sources concurrently, by a same magnitude as each other, and / or by a different magnitude as each other. In some embodiments, moving the first spatial audio and / or other spatial audio includes moving in a direction that is the same as, similar to, in opposition to, or otherwise based upon movement of the viewpoint relative to the three-dimensional environment. In some embodiments, the computer system moves the plurality of spatial audio sources in a same one or more directions and / or in similar one or more directions. Moving the first spatial audio at a rate corresponding to a rate of movement of the viewpoint provides audio feedback of the viewpoint movement relative to the three-dimensional environment and improves user comfort while moving within the three-dimensional environment, thus reducing processing required to perform operations in response to detecting erroneous movement relative to the three-dimensional environment caused by ambiguities related to the spatial relationship between the viewpoint and the three-dimensional environment.

[0258] In some embodiments, the three-dimensional environment includes respective virtual visual content, such as virtual objects, textures, and / or overlays that are able to be displayed, such as within three-dimensional environment 700 as shown in Fig. 7B. For example, the three-dimensional environment optionally includes one or more virtual objects 1004897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)as described further with reference to method 800. In some embodiments, the virtual visual content includes an at least partially or fully immersive three-dimensional environment. In some embodiments, the virtual visual content includes virtual objects including user interfaces (e.g., such as content windows) of software applications. For example, the first spatial audio is optionally audio associated with virtual visual content presented via the virtual object (e.g., media in a user interface), and the simulated spatial location corresponding to the first spatial audio is optionally a center of the virtual object, or another location that the virtual object occupies (e.g., a comer, a border, and / or an edge). In some embodiments, the virtual visual content includes animations of virtual objects moving throughout the three-dimensional environment. In some embodiments, the virtual visual content includes representations of one or more other individuals within the physical environment of the user, such as images detected by one or more cameras and / or a view of the individuals via at least partially transparent materials. In some embodiments, the virtual visual content includes representations of users of computer system(s) in communication with the computer system. For example, the representation optionally is an avatar and / or a lifelike recreation of one or more portions of bodies of the users of other computer systems including one or more body parts that move relative to one another. In some embodiments, prior to displaying the three-dimensional environment including an at least partially immersive three-dimensional environment, some or all of the virtual visual content is not displayed (e.g., initiates display of a virtual window that is associated with the immersive environment). In some embodiments, in response to displaying the at least partially immersive environment, the computer system maintains visibility of the virtual visual content (e.g., maintains display of a virtual window). Including virtual content in the three-dimensional environment allows the use to concurrently view the three-dimensional environment and virtual visual content, thus reducing inputs required to separately display and / or inspect the three-dimensional environment and the virtual content and thereby reducing power consumption required for such separate display.

[0259] In some embodiments, the three-dimensional environment includes respective representations of one or more physical objects, such as a representation of stairs 706 as shown in Fig. 7A. For example, the three-dimensional environment optionally includes one or more images of objects physically within the user’s three-dimensional environment.Additionally or alternatively, the three-dimensional environment optionally includes one or more images of objects within a physical environment of another computer system in1014897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)communication with the computer system (e.g., a real time, or nearly real time communication session). In some embodiments, the three-dimensional environment includes visibility of physical objects via a transparent sheet, lens, and / or one or more mirrors.Including representations of the physical objects reduces user input required to separately view physical object(s) and virtual content, thus reducing inputs and thereby processing required to perform the separate viewing of the physical objects and virtual content.

[0260] In some embodiments, a spatial arrangement between the first viewpoint of the user and the first location corresponding to the simulated spatial location of the first spatial audio is a first spatial arrangement, such as the spatial arrangement between the viewpoint of user 708 and spatial audio sources 704a-d as shown in Fig. 7B. For example, the spatial arrangement optionally includes a position and / or orientation of the viewpoint relative to the first location within the three-dimensional environment.

[0261] In some embodiments, in response to detecting the movement of the viewpoint of the user to a second viewpoint, such as movement of the viewpoint of user 708 from FIG.7B to the viewpoint shown in Fig. 7C, after presenting the first spatial audio with the simulated spatial location that corresponds to a second position in the three-dimensional environment, such as a location and / or position intermediate to (e.g., different from) the locations of spatial audio source 704a as shown in Fig. 7B and Fig. 7C, and in accordance with a determination that one or more second criteria are satisfied, different from the one or more first criteria, the computer system presents the first spatial audio at a simulated spatial location corresponding to a respective position in the three-dimensional environment, different from the first position, wherein a spatial arrangement between the second viewpoint of the user and the respective position is the first spatial arrangement, such as the position of spatial audio source 704a as shown in Fig. 7C. In some embodiments, the computer system moves one or more spatial audio sources to positions and / or orientations in response to detecting viewpoint movement (e.g., that does not satisfy the one or more criteria), thus restoring a spatial relationship between the one or more spatial audio sources and the viewpoint of the user. For example, the computer system optionally detects the movement of the viewpoint of the user from the first to the second viewpoint while the simulated spatial location of the first spatial audio corresponds to the first location and / or has a first orientation relative to the three-dimensional environment, and optionally moves the first spatial audio to a second position and / or second orientation relative to the three-dimensional environment. In some embodiments, the second position and / or second orientation is an intermediate position 1024897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)and / or orientation that the first spatial audio corresponds to before restoring the spatial relationship between the first spatial audio and the viewpoint of the user. In some embodiments, after moving the first spatial audio to the second position and / or second orientation, the computer system moves the first spatial audio to the respective position. In some embodiments, the spatial relationship between the spatial audio at the first position and / or orientation and the first viewpoint of the user is the same as the spatial relationship between the spatial audio at the second position and / or second orientation, and the second viewpoint of the user. In some embodiments, the spatial audio moves concurrently with the viewpoint movement, thus maintaining the spatial relationship between the first spatial audio throughout the viewpoint movement. In some embodiments, the computer system moves a plurality of spatial audio sources similar to or the same as described with reference to the first spatial audio (e.g., concurrently). In some embodiments, in response to detecting movement of the viewpoint that causes movement of the plurality of spatial audio sources, the computer system moves the plurality of spatial audio sources such that the plurality of spatial audio sources assume a same spatial relationship with each other and with the viewpoint of the user as before the movement is detected. In some embodiments, in accordance with a determination that the one or more second criteria are not satisfied, the computer system forgoes presenting the first spatial audio at the simulated spatial location corresponding to the respective position in the three-dimensional environment. Additionally or alternatively, the computer system optionally changes the spatial relationship between the first spatial audio and the viewpoint of the user (e.g., at the second viewpoint) to a second spatial relationship, different from a prior spatial relationship, in response to the detecting of the viewpoint movement that does not satisfy the one or more criteria described with reference to method 800. Presenting the first spatial audio at the respective position preserves an understanding of the viewpoint of the user relative to the three-dimensional environment after viewpoint movement is detected, thus improving user comfort while moving within the three-dimensional environment and reducing user input, and thereby power consumption required to process erroneously changing of the user’s viewpoint relative to the three-dimensional environment.

[0262] In some embodiments, the one or more second criteria include a criterion that is satisfied while the viewpoint of the user is moving relative to the three-dimensional environment, (e.g., and a criterion that is satisfied when the one or more criteria are not satisfied), such as movement of the viewpoint of user 708 from Fig. 7D to Fig. 7E and1034897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)corresponding movement of spatial audio source 704a. For example, the computer system optionally moves first spatial audio in response to and / or concurrently while detecting the movement of the viewpoint of the user. Thus, when the user moves relative to the three-dimensional environment in a manner that does not satisfy the one or more criteria (e.g., moves beyond the threshold distance), the computer system optionally moves the first spatial audio. In some embodiments, the computer system moves the first spatial audio in response to detecting movement of the viewpoint of the user, irrespective of whether the movement is beyond the threshold distance described with reference to method 800. Moving the first spatial audio when the viewpoint of the user is moving preserves the user’s sense of their spatial relationship relative to the three-dimensional environment and improves the user’s comfort while moving within the three-dimensional environment, thus minimizing erroneous inputs caused by misperceptions of the user’s spatial relationship relative to the three-dimensional environment and thereby reducing computing resources associated with correcting erroneous input.

[0263] In some embodiments, the one or more second criteria include a criterion that is satisfied when the viewpoint of the user is maintained relative to the three-dimensional environment for a longer than a pre-defined threshold period of time after detecting the movement of the viewpoint of the user to the second viewpoint, such as movement of spatial audio source 704a from as shown in Fig. 7C to as shown in Fig. 7D in accordance with a determination that an amount of time indicated by timer 716 is greater than threshold 718 as shown in Fig. 7D. For example, in accordance with a determination that the movement of the viewpoint of the user does not satisfy the one or more criteria described with reference to method 800, and that the position and / or orientation of the user is maintained relative to the three-dimensional environment for a period of time greater than a threshold period of time (e.g., 0.05, 0.1, 0.25, 0.5, 0.75, 1, 1.25, 3, or 5 seconds), the computer system optionally moves the first spatial audio relative to the three-dimensional environment. Such movement optionally includes restoring a spatial relationship between the location and / or orientation of the first spatial audio at the second viewpoint that corresponds to (e.g., matches) the spatial relationship between the first viewpoint and the location and / or orientation of the first spatial audio before the viewpoint movement described with reference to method 800 is detected. Moving the spatial audio after the viewpoint of the user is maintained for a period of time reduces power consumption required to continuously determine and / or move an updated position and / or orientation of the first spatial audio.1044897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)

[0264] In some embodiments, in accordance with the one or more second criteria being satisfied, in accordance with a determination that the movement of the viewpoint of the user is within a threshold distance (e.g., 0, 0.005, 0.01, 0.05, 0.1, 0.25, 0.3, 0.5, 1, or 3m) of the first viewpoint, the computer system moves the respective simulated location of the first spatial audio from the first position to the second position after a first amount of time (e.g., at a first rate and / or after a first delay period), such as moving spatial audio source 704a from as shown from Fig. 7C to as shown in Fig. 7D when the d...

Claims

1. Docket No. 106842218840 (P65241WO1)CLAIMSWhat is claimed is:

1. A method comprising:at a computer system in communication with one or more input devices and a display generation component:while a three-dimensional environment of a user of the computer system is visible via the display generation component from a viewpoint of the user that is a first viewpoint relative to the three-dimensional environment, and while presenting first spatial audio associated with the three-dimensional environment with a simulated spatial location that corresponds to a first position within the three-dimensional environment:detecting, via the one or more input devices, movement of the viewpoint of the user; andin response to detecting the movement of the viewpoint:in accordance with a determination that one or more criteria are satisfied, including a criterion that is satisfied when a distance of the movement of the viewpoint of the user is less than a threshold distance, maintaining presentation of the first spatial audio with the simulated spatial location that corresponds to the first position in the three-dimensional environment; andin accordance with a determination that the one or more criteria are not satisfied, presenting the first spatial audio with a simulated spatial location that corresponds to a second position, different from the first position, within the three-dimensional environment.

2. The method of claim 1, further comprising:while the three-dimensional environment is visible from the first viewpoint of the user, and while presenting second spatial audio, different from the first spatial audio, associated with the three-dimensional environment with a simulated spatial location that corresponds to a third position within the three-dimensional environment, in response to detecting the movement of the viewpoint:in accordance with the determination that the one or more criteria are satisfied, including the criterion that is satisfied when the distance of the movement of the viewpoint of the user is less than the threshold distance, maintaining presentation of the second spatial2174897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)audio with the simulated spatial location that corresponds to the third position in the three-dimensional environment; andin accordance with the determination the one or more criteria are not satisfied, presenting the second spatial audio with a simulated spatial location that corresponds to a fourth position, different from the third position, within the three-dimensional environment.

3. The method of any of claims 1-2, wherein:while presenting the first spatial audio, and in accordance with the determination that the one or more criteria are not satisfied:in accordance with a determination that the movement of the viewpoint includes a first magnitude of movement, the second position is a first distance away from the first position, andin accordance with a determination that the movement of the viewpoint includes a second magnitude of movement, different from the first magnitude of movement, the second position is a second distance away from the first position, different from the first distance.

4. The method of any of claims 1-3, wherein presenting the first spatial audio with the simulated spatial location that corresponds to the second position in the three-dimensional environment includes:while presenting the first spatial audio associated with the three-dimensional environment, and in accordance with the determination that the one or more criteria are not satisfied:in accordance with a determination that the movement of the viewpoint of the user includes movement at a first rate, moving the first spatial audio from the first position to the second position at a second rate, different from the first rate, wherein the second rate is slower than the first rate.

5. The method of any of claims 1-4, wherein the three-dimensional environment includes respective virtual visual content.

6. The method of any of claims 1-5, wherein the three-dimensional environment includes respective representations of one or more physical objects.2184897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)7. The method of any of claims 1-6, wherein a spatial arrangement between the first viewpoint of the user and the first location corresponding to the simulated spatial location of the first spatial audio is a first spatial arrangement, the method further comprising:in response to detecting the movement of the viewpoint of the user to a second viewpoint, after presenting the first spatial audio with the simulated spatial location that corresponds to a second position in the three-dimensional environment, and in accordance with a determination that one or more second criteria are satisfied, different from the one or more first criteria, presenting the first spatial audio at a simulated spatial location corresponding to a respective position in the three-dimensional environment, different from the first position, wherein a spatial arrangement between the second viewpoint of the user and the respective position is the first spatial arrangement.

8. The method of claim 7, wherein the one or more second criteria include a criterion that is satisfied while the viewpoint of the user is moving relative to the three-dimensional environment.

9. The method of any one of claims 7-8, wherein the one or more second criteria include a criterion that is satisfied when the viewpoint of the user is maintained relative to the three-dimensional environment for a longer than a pre-defined threshold period of time after detecting the movement of the viewpoint of the user to the second viewpoint.

10. The method of any of claims 7-9, and the method further comprising:in accordance with the one or more second criteria being satisfied:in accordance with a determination that the movement of the viewpoint of the user is within a threshold distance of the first viewpoint, moving the respective simulated location of the first spatial audio from the first position to the second position after a first amount of time andin accordance with a determination that the movement of the viewpoint of the user is beyond the threshold distance of the first viewpoint, moving the respective simulated location of the first spatial audio from the first position to the second position after a second amount of time that is different from the first amount of time.

11. The method of any of claims 1-10, wherein the method further comprises:2194897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)while presenting the first spatial audio, in response to detecting the movement of the viewpoint and in accordance the determination that the one or more criteria are not satisfied:in accordance with a determination that the movement of the viewpoint includes one or more first viewpoint movement characteristics, moving the first spatial audio from the first location to the second location according to one or more first audio movement characteristics;in accordance with a determination that the movement of the viewpoint includes one or more second viewpoint movement characteristics, different from the one or more first viewpoint movement characteristics, moving the first spatial audio from the first location to the second location according to one or more second audio movement characteristics, different from the first audio movement characteristics.

12. The method of any of claims 1-11, wherein the movement of the viewpoint of the user is detected while the three-dimensional environment includes first virtual content corresponding to a first simulated environment, and the threshold distance is a first distance, the method further comprising:in response to detecting the movement of the viewpoint:in accordance with the three-dimensional environment corresponding to the first simulated environment, determining that the one or more criteria are satisfied when the distance of the movement of the viewpoint of the user is more than a first threshold distance; andin accordance with the three-dimensional environment corresponding to a second simulated environment, different from the first simulated environment, determining that the one or more criteria are satisfied when the distance of the movement of the viewpoint of the user is more than a second threshold distance, different from the first threshold distance.

13. The method of any of claims 1-12, wherein the movement of the viewpoint of the user includes a rotation of the viewpoint relative to the three-dimensional environment, and the second position corresponding to the first spatial audio is based upon an amount of the rotation of the viewpoint relative to the three-dimensional environment.

14. The method of any of claims 1-12, wherein the movement of the viewpoint of the user that does not satisfy the one or more criteria includes a rotation of the viewpoint relative to 2204897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)the three-dimensional environment, and the second position corresponding to the first spatial audio is independent of an amount of the rotation of the viewpoint relative to the three-dimensional environment.

15. The method of any of claims 1-14, wherein the movement of the viewpoint includes movement in three directions relative to the three-dimensional environment, and the second position is displaced from the first position in the three directions relative to the three-dimensional environment in accordance with the movement of the viewpoint in the three directions.

16. A computer system in communication with one or more input devices and a display generation component, the computer system comprising:one or more processors; andmemory storing instructions, which when executed by the one or more processors cause the computer system to perform a method comprising:while a three-dimensional environment of a user of the computer system is visible via the display generation component from a viewpoint of the user that is a first viewpoint relative to the three-dimensional environment, and while presenting first spatial audio associated with the three-dimensional environment with a simulated spatial location that corresponds to a first position within the three-dimensional environment:detecting, via the one or more input devices, movement of the viewpoint of the user; andin response to detecting the movement of the viewpoint:in accordance with a determination that one or more criteria are satisfied, including a criterion that is satisfied when a distance of the movement of the viewpoint of the user is less than a threshold distance, maintaining presentation of the first spatial audio with the simulated spatial location that corresponds to the first position in the three-dimensional environment; andin accordance with a determination that the one or more criteria are not satisfied, presenting the first spatial audio with a simulated spatial location that corresponds to a second position, different from the first position, within the three-dimensional environment.2214897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)17. A non-transitory computer readable storage medium storing instructions, which when executed by one or more processors included in a computer system in communication with one or more input devices and a display generation component, cause the computer system to perform a method comprising:while a three-dimensional environment of a user of the computer system is visible via the display generation component from a viewpoint of the user that is a first viewpoint relative to the three-dimensional environment, and while presenting first spatial audio associated with the three-dimensional environment with a simulated spatial location that corresponds to a first position within the three-dimensional environment:detecting, via the one or more input devices, movement of the viewpoint of the user; andin response to detecting the movement of the viewpoint:in accordance with a determination that one or more criteria are satisfied, including a criterion that is satisfied when a distance of the movement of the viewpoint of the user is less than a threshold distance, maintaining presentation of the first spatial audio with the simulated spatial location that corresponds to the first position in the three-dimensional environment; andin accordance with a determination that the one or more criteria are not satisfied, presenting the first spatial audio with a simulated spatial location that corresponds to a second position, different from the first position, within the three-dimensional environment.

18. A computer system that is in communication with a display generation component and one or more input devices, the computer system comprising:one or more processors;memory;means for, while a three-dimensional environment of a user of the computer system is visible via the display generation component from a viewpoint of the user that is a first viewpoint relative to the three-dimensional environment, and while presenting first spatial audio associated with the three-dimensional environment with a simulated spatial location that corresponds to a first position within the three-dimensional environment:detecting, via the one or more input devices, movement of the viewpoint of the user; andmeans for, in response to detecting the movement of the viewpoint:2224897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)in accordance with a determination that one or more criteria are satisfied, including a criterion that is satisfied when a distance of the movement of the viewpoint of the user is less than a threshold distance, maintaining presentation of the first spatial audio with the simulated spatial location that corresponds to the first position in the three-dimensional environment; andin accordance with a determination that the one or more criteria are not satisfied, presenting the first spatial audio with a simulated spatial location that corresponds to a second position, different from the first position, within the three-dimensional environment.

19. A computer system that is in communication with a display generation component and one or more input devices, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 1-15.

20. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with a display generation component and one or more input devices, cause the computer system to perform any of the methods of claims 1-15.

21. A computer system that is in communication with a display generation component and one or more input devices, the computer system comprising:one or more processors;memory; andmeans for performing any of the methods of claims 1-15.

22. A method comprising:at a computer system in communication with one or more input devices and a display generation component:2234897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)while a three-dimensional environment of a user of the computer system is visible via the display generation component from a viewpoint of the user that is a first viewpoint relative to the three-dimensional environment, and while presenting first spatial audio associated with the three-dimensional environment with a simulated spatial location that corresponds to a first location within the three-dimensional environment and at a first level of detail:detecting, via the one or more input devices, movement of the viewpoint of the user; andin response to detecting the movement of the viewpoint, and in accordance with a determination that one or more criteria are satisfied, including a criterion that is satisfied when the movement of the viewpoint changes a distance between the viewpoint of the user and the simulated spatial location that corresponds to the first location within the three-dimensional environment:changing a level of detail of the first spatial audio from the first level of detail to a second level of detail, different from the first level of detail.

23. The method of claim 22, wherein presenting the first spatial audio at the first level of detail includes presenting the first spatial audio with a first set of audio components, and changing the level of detail of the first spatial audio from the first level of detail to the second level of detail includes presenting the first spatial audio with a second set of audio components, different from the first set of audio components.

24. The method of claim 23, wherein changing the level of detail includes applying a cross-fading effect, wherein the cross-fading effect includes decreasing a volume of one or more of the first set of audio components and increasing a volume of one or more of the second set of audio components.

25. The method of any of claims 22-24, wherein changing the level of detail of the first spatial audio from the first level of detail to the second level of detail comprises:in accordance with a determination that the movement of the viewpoint decreases the distance between the viewpoint of the user and the simulated spatial location that corresponds to the first location, increasing the level of detail of the first spatial audio.2244897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)26. The method of any of claims 22-25, wherein the changing of the level of detail of the first spatial audio from the first level of detail to the second level of detail comprises:in accordance with a determination that the movement of the viewpoint increases the distance between the viewpoint of the user and the simulated spatial location that corresponds to the first location, decreasing the level of detail of the first spatial audio.

27. The method of any of claims 22-26, wherein the changing of the level of detail is performed gradually in accordance with changes in the distance between the viewpoint of the user and the simulated location that corresponds to the first location.

28. The method of claim 27, wherein the movement of the viewpoint includes a first portion and a second portion, the method further comprising:in response to detecting the first portion of the movement, changing the level of detail from the first level of detail to a first respective level of detail, different from the first level of detail, at a first rate per unit movement during the first portion of the movement;in response to detecting the second portion of the movement, changing the level of detail from the first respective level of detail to a second respective level of detail, different from the first respective level of detail, at a second rate, different from the first rate, per unit movement during the second portion of the movement.

29. The method of any of claims 27-28, wherein the movement of the viewpoint includes a first portion and a second portion, the method further comprising:in response to the first portion of the movement, changing the level of detail from the first level of detail to a first respective level of detail, different from the first level of detail, based upon a first rate per unit of movement of the viewpoint; andin response to the second portion of the movement, changing the level of detail from the first respective level of detail to a second respective level of detail, different from the first respective level of detail, based upon the first rate per unit of movement of the viewpoint.

30. The method of any of claims 27-29, wherein the method further comprises:while changing the level of detail of the first spatial audio:in accordance with a determination that the distance between the viewpoint of the user and the simulated spatial location is a first distance, changing the level of detail of the first spatial audio at a first rate per unit movement of the viewpoint; and2254897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)in accordance with a determination that the distance between the viewpoint of the user and the simulated spatial location is a second distance, different from the first distance, changing the level of detail of the first spatial audio at a second rate, different from the first rate, per unit movement of the viewpoint.

31. The method of any of claims 22-30, further comprising:in response to detecting the movement of the viewpoint, and in accordance with a determination that one or more second criteria are satisfied, changing a volume of the first spatial audio.

32. The method of claim 31, wherein the one or more second criteria include a criterion that is satisfied when a distance between the viewpoint and the first location is less than a threshold distance, and changing the volume of the first spatial audio in accordance with the determination that the one or more second criteria are satisfied was at a first rate of change, greater than a second rate of change associated with the one or more second criteria not being satisfied because the distance between the viewpoint and the first location is greater than the threshold distance.

33. The method of claim 32, wherein the second rate of change is a zero rate of change.

34. The method of any of claims 31-33, wherein the one or more second criteria include a criterion that is satisfied when a distance between the viewpoint and the first location is greater than a threshold distance, changing the volume of the first spatial audio in accordance with the determination that the one or more second criteria are satisfied was at a first rate of change, greater than a second rate of change associated with the one or more second criteria not being satisfied because the distance between the viewpoint and the first location is less than the threshold.

35. The method of claim 34, wherein the second rate of change is a zero rate of change.

36. The method of any of claims 22-35, further comprising:while the three-dimensional environment is visible via the display generation component, while the viewpoint of the user is the first viewpoint of the user relative to the three-dimensional environment, and while presenting the first spatial audio with the 2264897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)simulated spatial location that corresponds to the first location within the three-dimensional environment and at the first level of detail, detecting an event corresponding to a change in a level of immersion of virtual content included in the three-dimensional environment; and in response to detecting the event corresponding to the change in the level of immersion of virtual content included in the three-dimensional environment: displaying, via the display generation component, the virtual content with an updated level of immersion relative to the three-dimensional environment based on the event; and forgoing changing of the level of detail of the first spatial audio.

37. The method of any of claims 22-36, further comprising:while the three-dimensional environment is visible via the display generation component, while the viewpoint of the user is the first viewpoint of the user relative to the three-dimensional environment, and while presenting second spatial audio at a third level of detail and with a simulated spatial location that corresponds to a second location within the three-dimensional environment, detecting, via the one or more input devices, respective movement of the viewpoint of the user changing a distance between the viewpoint of the user and the second location; andin response to detecting the respective movement of the viewpoint, and in accordance with a determination that one or more second criteria are satisfied, including a criterion that is satisfied when the movement of the viewpoint changes a distance between the viewpoint of the user and the simulated spatial location that corresponds to the second location within the three-dimensional environment, changing a level of detail of the second spatial audio from the third level of detail to a fourth level of detail, different from the third level of detail.

38. The method of claim 37, wherein changing the level of detail of the first spatial audio is performed in a first manner in accordance with the movement of the viewpoint, and changing the level of detail of the second spatial audio is performed in a second manner, different from the first manner, in accordance with the movement of the viewpoint.

39. A computer system in communication with one or more input devices and a display generation component, the computer system comprising:one or more processors; andmemory storing instructions, which when executed by the one or more processors cause the computer system to perform a method comprising:2274897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)while a three-dimensional environment of a user of the computer system is visible via the display generation component from a viewpoint of the user that is a first viewpoint relative to the three-dimensional environment, and while presenting first spatial audio associated with the three-dimensional environment with a simulated spatial location that corresponds to a first location within the three-dimensional environment and at a first level of detail:detecting, via the one or more input devices, movement of the viewpoint of the user; andin response to detecting the movement of the viewpoint, and in accordance with a determination that one or more criteria are satisfied, including a criterion that is satisfied when the movement of the viewpoint changes a distance between the viewpoint of the user and the simulated spatial location that corresponds to the first location within the three-dimensional environment:changing a level of detail of the first spatial audio from the first level of detail to a second level of detail, different from the first level of detail.

40. A non-transitory computer readable storage medium storing instructions, which when executed by one or more processors included in a computer system in communication with one or more input devices and a display generation component, cause the computer system to perform a method comprising:while a three-dimensional environment of a user of the computer system is visible via the display generation component from a viewpoint of the user that is a first viewpoint relative to the three-dimensional environment, and while presenting first spatial audio associated with the three-dimensional environment with a simulated spatial location that corresponds to a first location within the three-dimensional environment and at a first level of detail:detecting, via the one or more input devices, movement of the viewpoint of the user; andin response to detecting the movement of the viewpoint, and in accordance with a determination that one or more criteria are satisfied, including a criterion that is satisfied when the movement of the viewpoint changes a distance between the viewpoint of the user and the simulated spatial location that corresponds to the first location within the three-dimensional environment:2284897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)changing a level of detail of the first spatial audio from the first level of detail to a second level of detail, different from the first level of detail.

41. A computer system that is in communication with a display generation component and one or more input devices, the computer system comprising:one or more processors;memory;means for, while a three-dimensional environment of a user of the computer system is visible via the display generation component from a viewpoint of the user that is a first viewpoint relative to the three-dimensional environment, and while presenting first spatial audio associated with the three-dimensional environment with a simulated spatial location that corresponds to a first location within the three-dimensional environment and at a first level of detail:detecting, via the one or more input devices, movement of the viewpoint of the user; andmeans for, in response to detecting the movement of the viewpoint, and in accordance with a determination that one or more criteria are satisfied, including a criterion that is satisfied when the movement of the viewpoint changes a distance between the viewpoint of the user and the simulated spatial location that corresponds to the first location within the three-dimensional environment:changing a level of detail of the first spatial audio from the first level of detail to a second level of detail, different from the first level of detail.

42. A computer system that is in communication with a display generation component and one or more input devices, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 22-38.

43. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with a display generation2294897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)component and one or more input devices, cause the computer system to perform any of the methods of claims 22-38.

44. A computer system that is in communication with a display generation component and one or more input devices, the computer system comprising:one or more processors;memory; andmeans for performing any of the methods of claims 22-38.

45. A method comprising:at a computer system in communication with one or more input devices and a display generation component:while a virtual environment of a user of the computer system is visible via the display generation component at a first level of immersion, and while presenting a first audio component of the virtual environment with a first value for a respective property relative to a current value for the respective property of a second audio component of the virtual environment:detecting an event corresponding to a trigger to change the level of immersion of the virtual environment from the first level of immersion to a second level of immersion, different from the first level of immersion; andin response to detecting the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion:displaying, via the display generation component, the virtual environment at the second level of immersion; andpresenting the first audio component with a second value of the respective property relative to the current value for the respective property of the second audio component, different from the first value of the respective property for the first audio component.

46. The method of claim 45, wherein the first audio component comprises one or more ambient sounds.2304897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)47. The method of claim 45 or 46, wherein the first audio component comprises one or more point sources of audio.

48. The method of any of claims 45-47, wherein the respective property is a volume level, and wherein:the first value for the respective property is a first volume level; andthe second value for the respective property is a second volume level, greater than the first volume level.

49. The method of any of claims 45-47, wherein the respective property is a volume level, and wherein:the first value for the respective property is a first volume level; andthe second value for the respective property is a second volume level, less than the first volume level.

50. The method of any of claims 45-49, wherein a first respective audio component is not presented while the virtual environment is at the first level of immersion, and wherein the method further comprises:in response to detecting the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion:presenting the first respective audio component with a first respective value for the respective property relative to the current value for the respective property of the second audio component.

51. The method of claim 50, wherein presenting the first respective audio component with the first respective value for the respective property relative to the current value for the respective property of the second audio component includes:in accordance with a determination that that the virtual environment is at the second level of immersion at a first time:presenting the first respective audio component with the first respective value for the respective property relative to the current value for the respective property of the second audio component when a first duration of time starting from the first time has elapsed;2314897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)and in accordance with a determination that that the virtual environment is at the second level of immersion at a second time, different from the first time:presenting the first respective audio component with the first respective value for the respective property relative to the current value for the respective property of the second audio component when a second duration of time, different from the first duration of time, starting from the second time has elapsed.

52. The method of claim 50 or 51, wherein the method further comprises:while the first respective audio component is moving prior to being presented, and in response to detecting the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion:in accordance with detecting the event at a first time, presenting the first respective audio component with a simulated spatial audio that corresponds to a first location relative to the virtual environment; andin accordance with detecting the event at a second time, different from the first time, presenting the first respective audio component with a simulated spatial audio that corresponds to a second location, different from the first location, relative to the virtual environment.

53. The method of any of claims 45-52, wherein detecting the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion is further performed while presenting a first respective audio component with a first respective value for the respective property relative to the current value for the respective property of the second audio component, and wherein the method further comprises:in response to detecting the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion:ceasing presentation of the first respective audio component.

54. The method of any of claims 45-53, wherein the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion is further detected while presenting the first audio component2324897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)of the virtual environment with a simulated spatial location that corresponds to a first location relative to the virtual environment, and wherein the method further comprises:in response to detecting the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion:in accordance with a determination that change of the level of immersion of the virtual environment from the first level of immersion to the second level of immersion is a first amount of change, moving the first audio component to a second location relative to the virtual environment; andin accordance with a determination that the change of the level of immersion of the virtual environment from the first level of immersion to the second level of immersion is a second amount of change, different from the first amount of change, moving the first audio component to a third location relative to the virtual environment, different from the second location.

55. The method of claim 54, wherein moving the first audio component from the first location to the second or third location occurs gradually over time by moving the first audio component through a plurality of intermediate locations at different points in time.

56. The method of claim 55, wherein the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion is further detected while presenting the second audio component of the virtual environment with a simulated spatial location that corresponds to a fourth location relative to the virtual environment, and wherein the method further comprises:in response to detecting the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion:in accordance with a determination that the virtual environment is at a third level of immersion while changing the level of immersion of the virtual environment from the first level of immersion to the second level of immersion, initiating movement of the first audio component, without initiating movement of the second audio component; andin accordance with a determination that the virtual environment is at a fourth level of immersion, different from the third level of immersion, while changing the level of2334897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)immersion of the virtual environment from the first level of immersion to the second level of immersion, initiating movement of the second audio component.

57. The method of claim 55 or 56, wherein the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion is further detected while presenting the second audio component of the virtual environment with a simulated spatial location that corresponds to a fourth location relative to the virtual environment, and wherein the method further comprises:in response to detecting the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion:moving the first audio component away from the first location;moving the second audio component away from the fourth location;in accordance with a determination that the virtual environment is at a third level of immersion while changing the level of immersion of the virtual environment from the first level of immersion to the second level of immersion, stopping movement the first audio component, without stopping movement of the second audio component; andin accordance with a determination that the virtual environment is at a fourth level of immersion, different from the third level of immersion, while changing the level of immersion of the virtual environment from the first level of immersion to the second level of immersion, stopping movement of the second audio component.

58. The method of any of claims 54-57, wherein movement of the first audio component of the virtual environment from the first location to the second location or the third location is animated over time.

59. The method of any of claims 54-58, wherein the method further comprises:in response to detecting the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion:in accordance with a determination that the event corresponds to changing the level of immersion of the virtual environment from the first level of immersion to the second level of immersion within a first amount of time, moving the first audio component from the first location to the second location over the first amount of time, and2344897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)in accordance with a determination that the event further corresponds to changing the level of immersion of the virtual environment from the first level of immersion to the second level of immersion within a second amount of time, less than the first amount of time, moving the first audio component from the first location to the second location over a third amount of time that is greater than the second amount of time.

60. The method of any of claims 54-59, wherein the method further comprises:in accordance with a determination that the first level of immersion of the virtual environment is a first respective level of immersion and while the virtual environment is initially displayed at the first level of immersion:presenting the first audio component with a simulated spatial location that corresponds to a first respective location relative to the virtual environment; andin accordance with a determination that the first level of immersion of the virtual environment is a second respective level of immersion, different from the first respective level of immersion:presenting the first audio component with a simulated spatial location that corresponds to a second respective location, different from the first respective location, relative to the virtual environment.

61. The method of any of claims 54-60, wherein the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion is further detected while presenting the first audio component of the virtual environment with the simulated spatial location that corresponds to the first location relative to the virtual environment and while presenting the second audio component of the virtual environment with a simulated spatial location that corresponds to a fourth location relative to the virtual environment, and wherein the method further comprises:in response to detecting the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion:moving the first audio component away from the first location; and moving the second audio component away from the fourth location.

62. The method of claim 61, wherein:2354897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)moving the first audio component away from the first location includes moving the first audio component a first distance; andmoving the second audio component away from the fourth location includes moving the second audio component a second distance, different from the first distance.

63. The method of claim 61 or 62, wherein:moving the first audio component away from the first location includes moving the first audio component in a first direction; andmoving the second audio component away from the fourth location includes moving the second audio component in a second direction, different from the first direction.

64. The method of any of claims 54-63, wherein:in response to detecting the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion:in accordance with a determination that the second level of immersion is greater than the first level of immersion, moving the first audio component is in a first direction; andin accordance with a determination that the second level of immersion is less than the first level of immersion, moving the first audio component is in a second direction, different from the first direction.

65. The method of any of claims 45-64, wherein the method further comprises:in response to detecting the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion, and in accordance with a determination that the second level of immersion is a respective level of immersion, presenting a respective audio component indicating the respective level of immersion.

66. The method of claim 65, wherein the respective audio component indicating the respective level of immersion is a simulated natural sound corresponding to the virtual environment.2364897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)67. The method of claim 65 or 66, wherein presenting the respective audio component indicating the respective level of immersion includes:in accordance with a determination that the virtual environment is a first virtual environment, the respective audio component indicating the respective level of immersion being a first respective audio component; andin accordance with a determination that the virtual environment is a second virtual environment, different from the first virtual environment, the respective audio component indicating the respective level of immersion being a second respective audio component, different from the first respective audio component.

68. The method of any of claims 65-67, wherein the respective audio component indicating the respective level of immersion repeats while the virtual environment is at the respective level of immersion.

69. The method of claim 68, wherein the method further comprises:while displaying the virtual environment at the respective level of immersion, detecting an event corresponding to a trigger to change the level of immersion of the virtual environment from the respective level of immersion to a third level of immersion, different from the respective level of immersion; andin response to detecting the event corresponding to the trigger to change the level of immersion of the virtual environment from the respective level of immersion to the third level of immersion:displaying, via the display generation component, the virtual environment at the third level of immersion; andin response to displaying the virtual environment at the third level of immersion, ceasing presentation of the respective audio component.

70. The method of any of claims 45-69, wherein the method comprises:moving the first audio component outside of a visually displayed area of the virtual environment at the second level of immersion.

71. A computer system that is in communication with a display generation component and one or more input devices, the computer system comprising:one or more processors;2374897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:while a virtual environment of a user of the computer system is visible via the display generation component at a first level of immersion, and while presenting a first audio component of the virtual environment with a first value for a respective property relative to a current value for the respective property of a second audio component of the virtual environment:detecting an event corresponding to a trigger to change the level of immersion of the virtual environment from the first level of immersion to a second level of immersion, different from the first level of immersion; andin response to detecting the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion:displaying, via the display generation component, the virtual environment at the second level of immersion; andpresenting the first audio component with a second value of the respective property relative to the current value for the respective property of the second audio component, different from the first value of the respective property for the first audio component.

72. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with a display generation component and one or more input devices, cause the computer system to perform a method comprising:while a virtual environment of a user of the computer system is visible via the display generation component at a first level of immersion, and while presenting a first audio component of the virtual environment with a first value for a respective property relative to a current value for the respective property of a second audio component of the virtual environment:2384897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)detecting an event corresponding to a trigger to change the level of immersion of the virtual environment from the first level of immersion to a second level of immersion, different from the first level of immersion; andin response to detecting the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion:displaying, via the display generation component, the virtual environment at the second level of immersion; andpresenting the first audio component with a second value of the respective property relative to the current value for the respective property of the second audio component, different from the first value of the respective property for the first audio component.

73. A computer system that is in communication with a display generation component and one or more input devices, the computer system comprising:one or more processors;memory; andmeans for:while a virtual environment of a user of the computer system is visible via the display generation component at a first level of immersion, and while presenting a first audio component of the virtual environment with a first value for a respective property relative to a current value for the respective property of a second audio component of the virtual environment:detecting an event corresponding to a trigger to change the level of immersion of the virtual environment from the first level of immersion to a second level of immersion, different from the first level of immersion; andin response to detecting the event corresponding to the trigger to change the level of immersion of the virtual environment from the first level of immersion to the second level of immersion:displaying, via the display generation component, the virtual environment at the second level of immersion; andpresenting the first audio component with a second value of the respective property relative to the current value for the respective property of the second2394897-5682-3105, v. 1Docket No. 106842218840 (P65241WO1)audio component, different from the first value of the respective property for the first audio component.

74. A computer system that is in communication with a display generation component and one or more input devices, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 45-70.

75. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with a display generation component and one or more input devices, cause the computer system to perform any of the methods of claims 45-70.

76. A computer system that is in communication with a display generation component and one or more input devices, the computer system comprising:one or more processors;memory; andmeans for performing any of the methods of claims 45-70.2404897-5682-3105, v. 1