Electronic device for controlling plurality of speakers on basis of at least one of posture and direction, and method therefor

The electronic device uses sensors and processing circuitry to dynamically manage audio channels based on its shape and orientation, addressing the challenge of controlling multiple speakers in diverse configurations and enhancing user experience through adaptive audio output.

WO2024242305A1PCT designated stage expired Publication Date: 2024-11-28SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2024/004001
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-12
Filing Date
2024-03-28
Publication Date
2024-11-28

AI Technical Summary

Technical Problem

As electronic devices become more diverse in shape and size to enhance mobility, there is a need for a solution to effectively control multiple speakers based on the device's posture or direction, especially in flexible display configurations, to optimize audio output and user experience.

Method used

An electronic device with rotatable housings and hinge assemblies, equipped with sensors and processing circuitry, identifies angles and folding motions to dynamically map audio channels to corresponding speakers, allowing for adaptive audio output based on the device's shape and orientation.

Benefits of technology

This solution enables seamless audio channel management and optimized user experience by ensuring that audio is output through the appropriate speakers based on the device's configuration, enhancing mobility and functionality in various usage states.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024004001_28112024_PF_FP_ABST
    Figure KR2024004001_28112024_PF_FP_ABST
Patent Text Reader

Abstract

A processor of an electronic device according to an embodiment can use a sensor to identify a first angle at which a first housing and a second housing are folded and a second angle at which the second housing and a third housing are folded. The processor can control a first speaker to output an audio channel corresponding to the first speaker on the basis of at least one of the first angle and the second angle. The processor can control a second speaker to output an audio channel corresponding to the second speaker on the basis of at least one of the first angle and the second angle.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device and method for controlling a plurality of speakers based on at least one of posture and orientation

[0001] The present disclosure relates to an electronic device and method for controlling a plurality of speakers based on at least one of a posture or orientation.

[0002] The shape and / or size of electronic devices are diversifying. To enhance mobility, electronic devices with reduced size and / or volume are being designed. Electronic devices may include a display for visualizing information. As the number of functions supported by electronic devices increases, the size of the display may increase to visualize more information to the user and / or to support the execution of the functions. For example, electronic devices may be designed to be reduced in size and / or volume while maintaining or increasing the size of the display.

[0003] The above information may be provided as background art to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above is applicable as prior art related to the present disclosure.

[0004] In one embodiment, an electronic device may include a first housing, a first speaker disposed in the first housing, a second housing, a first hinge assembly for rotatably coupling the first housing and the second housing, a third housing, a second speaker disposed in the third housing, a second hinge assembly for rotatably coupling the second housing and the third housing, a flexible display disposed from the first housing across the first hinge assembly, the second housing, and the second hinge assembly to the third housing, one or more sensors, and a memory including one or more storage media for storing instructions, at least one processor including a processing circuit. The instructions, when individually and / or collectively executed by the at least one processor, may cause the electronic device, while displaying video on the flexible display, to identify, using the one or more sensors, a first angle at which the first housing and the second housing are folded relative to the first hinge assembly (e.g., the first angle (141) of FIGS. 1A to 6B ) and a second angle at which the second housing and the third housing are folded relative to the second hinge assembly (e.g., the second angle (142) of FIGS. 1A to 6B ). The instructions, when individually and / or collectively executed by the at least one processor, may cause the electronic device to control the first speaker to output the audio channel corresponding to the first speaker and to control the second speaker to output the audio channel corresponding to the second speaker based on at least one of the identified first angle or the identified second angle.

[0005] According to an embodiment, an electronic device may include a first housing, a first speaker disposed in the first housing, a second housing, a first hinge assembly for rotatably coupling the first housing and the second housing, a third housing, a second speaker disposed in the third housing, a second hinge assembly for rotatably coupling the second housing and the third housing, a flexible display disposed from the first housing across the first hinge assembly, the second housing, and the second hinge assembly to the third housing, one or more sensors, a memory including one or more storage media for storing instructions, and at least one processor including a processing circuit. The instructions, when individually and / or collectively executed by the at least one processor, may cause the electronic device, while displaying a video on the flexible display, to use the one or more sensors to identify a first angle at which the first housing and the second housing are folded relative to the first hinge assembly and a second angle at which the second housing and the third housing are folded relative to the second hinge assembly. The instructions, when individually and / or collectively executed by the at least one processor, may cause the electronic device to identify speakers, among the first speaker and the second speaker, corresponding to each of the audio channels associated with the video based on at least one of the first angle or the second angle.The instructions, when individually and / or collectively executed by the at least one processor, may cause the electronic device to control the first speaker to output the audio channel corresponding to the first speaker based on identifying an audio channel corresponding to the first speaker among the audio channels. The instructions, when individually and / or collectively executed by the at least one processor, may cause the electronic device to control the second speaker to output the audio channel corresponding to the second speaker based on identifying an audio channel corresponding to the second speaker among the audio channels.

[0006] In one embodiment, a method of an electronic device may include, while a video is displayed on a flexible display of the electronic device, using one or more sensors of the electronic device, identifying a first angle at which a first housing and a second housing of the electronic device are folded relative to a first hinge assembly and a second angle at which the second housing and the third housing of the electronic device are folded relative to a second hinge assembly. The method may include, based on at least one of the first angle and the second angle, identifying speakers corresponding to each of audio channels associated with the video, among a first speaker disposed in the first housing or a second speaker disposed in the third housing. The method may include, based on identifying an audio channel corresponding to the first speaker among the audio channels, controlling the first speaker to output the audio channel corresponding to the first speaker. The method may include an operation of controlling the second speaker to output the audio channel corresponding to the second speaker based on identifying an audio channel corresponding to the second speaker among the audio channels.

[0007] In one embodiment, an electronic device may include a first housing, a first speaker disposed in the first housing, a second housing, a first hinge assembly for rotatably coupling the first housing and the second housing, a third housing, a second speaker disposed in the third housing, a second hinge assembly for rotatably coupling the second housing and the third housing, a flexible display disposed from the first housing across the first hinge assembly, the second housing, and the second hinge assembly to the third housing, one or more sensors, a memory including one or more storage media for storing instructions, and at least one processor including a processing circuit. The instructions, when individually and / or collectively executed by the at least one processor, may cause the electronic device, while displaying a video on the flexible display, to identify, based on the one or more sensors, a motion in which the flexible display folds relative to either the first hinge assembly or the second hinge assembly. The instructions, when individually and / or collectively executed by the at least one processor, may cause the electronic device to display, based on the motion, the video on a second portion of the flexible display, which is larger than the first portion, among flat portions defined by the hinge assembly folded by the motion. The instructions, when individually and / or collectively executed by the at least one processor, may cause the electronic device to control either the first speaker or the second speaker to output audio related to the video through a speaker included in a housing corresponding to the second portion of the first housing or the third housing, wherein the video is displayed.

[0008] In one embodiment, a method of an electronic device may include an operation of identifying, based on one or more sensors of the electronic device, a motion in which the flexible display folds relative to one of a plurality of hinge assemblies of the electronic device while the flexible display is in a state of displaying a video on the flexible display of the electronic device. The method may include an operation of displaying, based on the motion, the video on a second portion of the flexible display, which is larger than a first portion, among flat portions of the flexible display defined by the hinge assembly folded by the motion. The method may include an operation of controlling one of the first speaker or the second speaker to output audio related to the video through a speaker included in a housing corresponding to the second portion of the first housing or the third housing, in which the video is displayed.

[0009] Figures 1a and 1b illustrate examples of deformable electronic devices.

[0010] FIG. 2 illustrates an example block diagram of an electronic device according to one embodiment.

[0011] Figure 3 illustrates an exemplary flowchart of the operation of an electronic device distinguished by software applications.

[0012] Figure 4 illustrates different states of an electronic device distinguished by the angle of the folding axis.

[0013] Figure 5 illustrates an example of the operation of an electronic device according to deformation in the folding axes.

[0014] FIGS. 6A and 6B illustrate an example of the operation of an electronic device displaying a video on at least one of the portions of a flexible display separated by folding axes.

[0015] FIGS. 7A and 7B illustrate an example of the operation of an electronic device for displaying videos on portions of a flexible display separated by folding axes.

[0016] FIG. 8 illustrates an example of the operation of an electronic device that displays visual objects for adjusting volumes corresponding to videos.

[0017] FIG. 9 illustrates an example of the operation of an electronic device for obtaining information for controlling speakers in each of different states of the electronic device distinguished by deformation in the folding axes.

[0018] Figure 10 illustrates an exemplary flowchart of the operation of an electronic device distinguished by software applications.

[0019] FIG. 11 illustrates an exemplary graph for explaining the operation of an electronic device that adjusts volume based on the angles of the folding axes.

[0020] FIG. 12 illustrates an example of a flowchart of an electronic device according to one embodiment.

[0021] FIG. 13 illustrates an example of a flowchart of an electronic device according to one embodiment.

[0022] FIG. 14 illustrates an example of a flowchart of an electronic device according to one embodiment.

[0023] FIG. 15 is a block diagram of an electronic device within a network environment according to various embodiments.

[0024] Hereinafter, various embodiments of this document are described with reference to the attached drawings.

[0025] The various embodiments of this document and the terminology used therein are not intended to limit the technology described in this document to a specific embodiment, but should be understood to include various modifications, equivalents, and / or substitutes of the embodiment. In connection with the description of the drawings, similar reference numerals may be used for similar components. The singular expression may include plural expressions unless the context clearly indicates otherwise. In this document, expressions such as "A or B", "at least one of A and / or B", "A, B, or C", or "at least one of A, B, and / or C" may include all possible combinations of the items listed together. Expressions such as "first", "second", "first", or "second" may modify the corresponding components regardless of order or importance, and are only used to distinguish one component from another, but do not limit the corresponding components. When it is said that a component (e.g., a first component) is “(functionally or communicatively) connected” or “connected” to another component (e.g., a second component), said component may be directly connected to said other component, or may be connected via another component (e.g., a third component).

[0026] Figures 1A and 1B illustrate a deformable electronic device (101). In one embodiment, the electronic device (101) may be referred to as a terminal (or user terminal) in terms of being owned by a user. The terminal may include, for example, a personal computer (PC) such as a laptop or desktop. The terminal may include, for example, a smartphone, a smartpad, and / or a tablet PC. The terminal may include a smart accessory such as a smartwatch and / or a head-mounted device (HMD).

[0027] Referring to FIGS. 1A and 1B , an electronic device (101) according to one embodiment may include a deformable housing. Based on the deformability, the housing of the electronic device (101) may be divided into a plurality of parts. For example, the housing of the electronic device (101) of FIGS. 1A and 1B may include a first housing (111), a second housing (112), and a first hinge assembly (121) for rotatably coupling the first housing (111) and the second housing (112). By the first hinge assembly (121), the relative position, angle, shape, and / or distance of the first housing (111) and the second housing (112), which are rigid bodies, may be changed by an external force. The housing of the electronic device (101) may include a second housing (112), a third housing (113), and a second hinge assembly (122) for rotatably connecting the second housing (112) and the third housing (113). By the second hinge assembly (122), the relative position, angle, shape, posture, and / or distance of the second housing (112) and the third housing (113), which are rigid bodies, may be changed by an external force.

[0028] Referring to FIGS. 1A and 1B, the first folding axis (131) is a rotation axis of the first housing (111) and the second housing (112) connected through the first hinge assembly (121), and may be formed within the first hinge assembly (121). As the first housing (111) and / or the second housing (112) rotate around the first folding axis (131), the first angle (141) between the first housing (111), the first hinge assembly (121), and the second housing (112) may change. The second folding axis (132) is a rotation axis of the second housing (112) and the third housing (113) connected through the second hinge assembly (122), and may be formed within the second hinge assembly (122). As the second housing (112) and / or the third housing (113) rotate about the second folding axis (132), the second angle (142) between the second housing (112), the second hinge assembly (122), and the third housing (113) can be changed.

[0029] Referring to FIGS. 1A and 1B , according to one embodiment, an electronic device (101) may include a flexible display (150) disposed on one surface (e.g., a front surface of the electronic device (101)) of a first housing (111), a second housing (112), and a third housing (113). For example, the flexible display (150) may be disposed from the first housing (111) across the first hinge assembly (121), the second housing (112), and the second hinge assembly (122) to the third housing (113). Hereinafter, the first angle (141) may correspond to an angle between one side of the first housing (111) in which the flexible display (150) is arranged and which can be folded by the first folding axis (131) of the first hinge assembly (121) and one side of the second housing (112). Hereinafter, the second angle (142) may correspond to an angle between one side of the second housing (112) in which the flexible display (150) is arranged and which can be folded by the second folding axis (132) of the second hinge assembly (122) and one side of the third housing (113).

[0030] Referring to FIGS. 1A and 1B , according to one embodiment, an electronic device (101) may include a first speaker (161) and / or a third speaker (163) disposed in a first housing (111). The electronic device (101) may include a second speaker (162) and / or a fourth speaker (164) disposed in a third housing (113). The third speaker (163) may be disposed at a second edge of the first housing (111) opposite a first edge of the first housing (111) where the first speaker (161) is disposed. The fourth speaker (164) may be disposed at a second edge of the third housing (113) opposite a first edge of the third housing (113) where the second speaker (162) is disposed. Although the second speaker (162) disposed on one side of the third housing (113) on which the flexible display (150) is disposed and the first speaker (161), the third speaker (163) and the fourth speaker (164) disposed on the side connected to the front side of the electronic device (101) are illustratively illustrated, the positions of the speakers (e.g., the first speaker (161) to the fourth speaker (164)) included in the electronic device (101) are not limited to the positions illustrated in FIGS. 1A and 1B. An example of hardware included in the electronic device (101) to control a plurality of speakers and the flexible display (150) is described with reference to FIG. 2.

[0031] Referring to FIGS. 1A and 1B , different configurations of an electronic device (101) supporting deformability based on multiple folding axes (e.g., a first folding axis (131) and / or a second folding axis (132)) are illustrated. Referring to FIG. 1A , a first electronic device (101-1) is illustrated including a flexible display (150) that is visually completely covered by first housings (111) to third housings (113) folded along a first folding axis (131) and a second folding axis (132). Referring to FIG. 1A , different states (e.g., a first state (191) to a third state (193)) of the first electronic device (101-1) are illustrated, distinguished by a first angle (141) and a second angle (142). A first state (191) of the first electronic device (101-1), in which the first angle (141) and the second angle (142) are substantially straight angles (e.g., about 180º), may be referred to as a fully unfolded state, an opened state, an unfolded state, a flat state, and / or a planar state. Within the first state (191), the flexible display (150) disposed from the first housing (111) to the third housing (113) may have a substantially flat shape. Within the first state (191), a single plane may be formed on the front surface of the electronic device (101) on which the flexible display (150) is disposed.

[0032] Referring to FIG. 1A, a second state (192) of the first electronic device (101-1) is illustrated, wherein the first angle (141) is substantially parallel and the second angle (142) is less than parallel. The state of the first electronic device (101-1) in which the first angle (141) and / or the second angle (142) are less than parallel, including the second state (192), may be referred to as an in-fold state, a sub-unfolded state (or sub-folded state), and / or a concave state. Although only the second hinge assembly (122) among the first hinge assembly (121) and the second hinge assembly (122) is illustrated as being folded, the embodiment is not limited thereto, and the sub-folded state may include a state in which both the first angle (141) and the second angle (142) are less than parallel and exceed 0°. Within the sub-fold state, a plurality of planes may be formed by the flexible display (150) folded by at least one hinge assembly. Referring to the second state (192), the flexible display (150) bent by the second hinge assembly (122) may include two flat portions separated by the second hinge assembly (122). For example, the flat portions of the flexible display (150) separated by the second hinge assembly (122) may face different directions.

[0033] Referring to FIG. 1A, the third state (193) of the first electronic device (101-1), in which the first angle (141) and the second angle (142) are substantially all 0°, may be referred to as a fully folded state, a folded state, and / or a closed state. Within the third state (193), the flexible display (150) may be visually completely covered by the first housing (111) to the third housing (113). For example, within the folded state, the size of the flexible display (150) of the first electronic device (101-1) exposed to the outside may be substantially 0. Referring to FIG. 1A, an exemplary third state (193) is illustrated in which the front and rear surfaces of the third housing (113) on which a portion of the flexible display (150) is disposed are covered by the first housing (111) and the second housing (112), respectively, but the embodiment is not limited thereto. A first electronic device (101-1) including a flexible display (150) that is visually completely covered in a folded state may include a cover display (152) disposed on a rear surface opposite to the front surface on which the flexible display (150) is disposed. Referring to FIG. 1A, according to an embodiment, a first electronic device (101-1) may include a cover display (152) disposed on a second surface of the first housing (111) opposite to the first surface of the first housing (111) on which a portion of the flexible display (150) is disposed.

[0034] According to one embodiment, the electronic device (101) may, while playing media content including video and audio, change the position and / or size of the flexible display (150) on which the video is played, and at least one speaker from which audio is output, based on the shape of the flexible display (150). The operation of the electronic device (101) for controlling a plurality of speakers (e.g., the first speaker (161) to the fourth speaker (164)) based on the shape of the flexible display (150) is described with reference to FIGS. 4, 6A, and / or 9. The operation of the first electronic device (101-1) for controlling the speaker based on the shape described with reference to states (191, 192, 193) is described with reference to FIGS. 5, 6B, 7A, 8, and / or 11.

[0035] Referring to FIG. 1A, a first electronic device (101-1) including a flexible display (150) configured to be folded at an angle less than a parallel angle along a first folding axis (131) and a second folding axis (132) may be referred to as a G-shaped foldable electronic device. Referring to FIG. 1B, different forms of a second electronic device (101-2) including a flexible display (150) configured to be folded at an angle greater than a parallel angle along at least one of the first folding axis (131) and the second folding axis (132) are illustrated. The second electronic device (101-2) may be referred to as an S-shaped foldable electronic device.

[0036] Referring to FIG. 1B, different states (e.g., the fourth state (194) to the sixth state (196)) of the second electronic device (101-2) are illustrated, which are distinguished by the first angle (141) and the second angle (142). The fourth state (194) of the second electronic device (101-2) may correspond to the first state (191) of the first electronic device (101-1) of FIG. 1A. Within the fourth state (194), which corresponds to the unfolded state, a flat plane may be formed by the flexible display (150).

[0037] Referring to FIG. 1B, a fifth state (195) of the second electronic device (101-2) is illustrated, in which the first angle (141) exceeds a parallel angle and the second angle (142) is substantially parallel. The state of the second electronic device (101-2) in which the first angle (141) and / or the second angle (142) exceed a parallel angle and are less than 360° may be referred to as an outfold state and / or a convex state. Although only the first angle (141) among the first angle (141) and the second angle (142) is illustrated as exceeding a parallel angle, the embodiment is not limited thereto. Within the convex state including the fifth state (195), a plurality of planes formed by the flexible display (150) folded by the first hinge assembly (121) may face different directions.

[0038] Referring to FIG. 1b, the sixth state (196) of the second electronic device (101-2), in which the first angle (141) is substantially 360° and the second angle (142) is substantially 0°, may be referred to as a fully folded state, a folded state, and / or a closed state. Within the sixth state (196), among the portions of the flexible display (150) disposed in each of the first housing (111) to the third housing (113), only the portion of the flexible display (150) disposed on the first housing (111) may be exposed to the outside. The operation of the second electronic device (101-2) for controlling the speaker based on the form described with reference to the states (194, 195, 196) is described with reference to FIG. 7b.

[0039] As described above, according to one embodiment, the electronic device (101) may be a multi-foldable electronic device including a plurality of folding axes (e.g., a first folding axis (131) and / or a second folding axis (132)). The electronic device (101) may change a signal path for outputting audio to speakers of the electronic device (101), such as the first speaker (161) to the fourth speaker (164), and / or the volumes of the speakers, based on the shape of the electronic device (101) folded by the plurality of folding axes. The shape of the electronic device (101) may be distinguished by parameters including a first angle (141) and / or a second angle (142). For example, the electronic device (101) may control the first speaker (161) to the fourth speaker (164) using the first angle (141) and / or the second angle (142). In one embodiment, to enhance the audio-related user experience, the electronic device (101) may change the mapping of speakers and audio channels (e.g., two separate audio channels for stereo) based on the above shape.

[0040] Below, with reference to FIG. 2, hardware included in an electronic device (101) that changes the mapping of speakers and audio channels is described.

[0041] FIG. 2 illustrates an example block diagram of an electronic device (101), according to one embodiment. Referring to FIG. 2, the electronic device (101), according to one embodiment, may include at least one of a processor (210), a memory (215), a flexible display (150), a plurality of speakers (220) (e.g., the first speaker (161) to the fourth speaker (164) of FIG. 1A and / or FIG. 1B), or a sensor (230). The processor (210), the memory (215), the flexible display (150), the plurality of speakers (220), and the sensor (230) may be electrically and / or operably coupled with each other by an electronic component, such as a communication bus (202). In one embodiment, the electronic device (101) may further include a cover display (152) and / or communication circuitry (240).

[0042] In one embodiment, the hardware of the electronic device (101) being operatively coupled may mean that a direct connection or an indirect connection is established between the hardwares, either wired or wireless, so that the second hardware is controlled by the first hardware among the hardwares. Although illustrated based on different blocks, the embodiment is not limited thereto, and some of the hardware of FIG. 2 (e.g., at least a portion of the processor (210), the memory (215), and the communication circuit (240)) may be included in a single integrated circuit such as a system on a chip (SoC). The hardware of the electronic device (101), which is divided into blocks, may be located within the first housing (111) to the third housing (113) described with reference to FIGS. 1A and 1B. The type and / or number of hardware included in the electronic device (101) is not limited to that illustrated in FIG. 2. For example, the electronic device (101) may include only some of the hardware components illustrated in FIG. 2.

[0043] According to one embodiment, the processor (210) of the electronic device (101) may include hardware for processing data based on one or more instructions. The hardware for processing data may include, for example, an arithmetic and logic unit (ALU), a floating point unit (FPU), a field programmable gate array (FPGA), a central processing unit (CPU), and / or an application processor (AP). The number of processors (210) may be one or more. For example, the processor (210) may have a multi-core processor structure such as a dual core, a quad core, or a hexa core.

[0044] According to one embodiment, the memory (215) of the electronic device (101) may include hardware components for storing data input to and / or output from the processor (210), and / or instructions processed by the processor (210). The memory (215) may include, for example, volatile memory such as random-access memory (RAM) and / or non-volatile memory such as read-only memory (ROM). The volatile memory may include, for example, at least one of dynamic RAM (DRAM), static RAM (SRAM), cache RAM, and pseudo SRAM (PSRAM). The non-volatile memory may include, for example, at least one of programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), flash memory, hard disk, compact disc, solid state drive (SSD), and embedded multimedia card (eMMC).

[0045] According to one embodiment, a flexible display (150) of an electronic device (101) can output visualized information (e.g., the screens of FIGS. 4 to 9 and / or 11) to a user. For example, the flexible display (150) can visualize information provided by a processor (210), such as a graphic processing unit (GPU). The flexible display (150) can include a liquid crystal display (LCD), a plasma display panel (PDP), and / or one or more light emitting diodes (LEDs). The LEDs can include organic LEDs (OLEDs). The flexible display (150) can include electronic paper. The flexible display (150) can have an at least partially curved shape and / or a deformable shape, as described above with reference to FIGS. 1A and 1B.

[0046] According to one embodiment, the flexible display (150) of the electronic device (101) may include a sensor (e.g., a touch sensor panel (TSP)) for detecting an external object (e.g., a user's finger) on the flexible display (150). For example, based on the TSP, the electronic device (101) may detect an external object that is in contact with the flexible display (150) or floating on the flexible display (150). In response to detecting the external object, the electronic device (101) may execute a function associated with a specific visual object corresponding to a location of the external object on the flexible display (150) among visual objects displayed within the flexible display (150).

[0047] According to one embodiment, a cover display (152) of an electronic device (101) may be provided to output visualized information to a user, similar to a flexible display (150). As described above with reference to FIG. 1A, the cover display (152) may be disposed on a different surface from a surface of the electronic device (101) on which the flexible display (150) is disposed. The location of the cover display (152) may be disposed on a surface of a housing that is viewable in a state in which the flexible display (150) is covered (e.g., the third state (193) of FIG. 1A). The cover display (152) may be implemented similarly to the flexible display (150). In the description of the cover display (152), descriptions that overlap with those of the flexible display (150) may be omitted for convenience of description.

[0048] According to one embodiment, a plurality of speakers (220) of an electronic device (101) may be configured to output audio signals provided from a processor (210). Signal paths electrically connecting the processor (210) and each of the plurality of speakers (220) may include at least one switch (e.g., a transistor) and / or an amplifier controlled by the processor (210). The processor (210) may use the switch and / or amplifier on the signal path to change the volume and / or frequency of a speaker corresponding to the signal path among the plurality of speakers (220). The processor (210) may activate or deactivate the speaker by changing the voltage and / or current of a power signal provided to the speaker. Based on independently formed signal paths, the processor (210) may individually control the plurality of speakers (220).

[0049] According to one embodiment, the sensor (230) of the electronic device (101) may generate electrical information that may be processed by the processor (210) and / or the memory (215) from non-electronic information related to the electronic device (101). For example, the sensor (230) may include a global positioning system (GPS) sensor for detecting a geographic location of the electronic device (101). In addition to the GPS method, the sensor (230) may generate information indicating the geographic location of the electronic device (101) based on a global navigation satellite system (GNSS) such as, for example, Galileo, Beidou (compass). The information may be stored in the memory (215), processed by the processor (210), and / or transmitted to another electronic device distinct from the electronic device (101) via the communication circuit (240). The sensor (230) is not limited to those described above, and may include an image sensor, a light sensor, a proximity sensor, a grip sensor, and / or a ToF sensor for detecting electromagnetic waves including light.

[0050] Referring to FIG. 2, as examples of sensors (230), a Hall sensor (232) and an inertial measurement unit (IMU) (234) are illustrated. The Hall sensor (232) may include a magnet and a magnetic field sensor that measures changes in a magnetic field formed by the magnet. The magnet and the magnetic field sensor may be placed in different parts of the housing of the electronic device (101). Based on the changes in the magnetic field measured by the magnetic field sensor, the Hall sensor (232) may identify the distance between the parts. In one embodiment where the electronic device (101) includes a deformable housing (e.g., the first housing (111), the second housing (112), and / or the third housing (113) of FIGS. 1A-1B), the electronic device (101) can identify the shape of the housing using the magnets and the Hall sensor (232) including the magnetic field sensor, which are disposed at different portions of the housing. For example, the Hall sensor (232) can output sensor data indicative of the distance and / or the shape of the housing.

[0051] According to one embodiment, the IMU (234) may include an acceleration sensor, a gyro sensor, a geomagnetic sensor, or any combination thereof. The acceleration sensor may output an electrical signal representing gravitational acceleration and / or acceleration along each of a plurality of axes (e.g., x-axis, y-axis, and z-axis) that are perpendicular to each other. The gyro sensor (233) may output an electrical signal representing an angular velocity (e.g., an angular velocity based on roll, pitch, and / or yaw) along each of the plurality of axes. The geomagnetic sensor may output an electrical signal representing a magnitude of a magnetic field formed in the electronic device (101) along each of the plurality of axes (e.g., x-axis, y-axis, and / or z-axis). The processor (210) may repeatedly acquire data representing acceleration, angular velocity, and / or magnitude of a magnetic field from the IMU (234) based on a specified period (e.g., 1 millisecond). Using the Hall sensor (232) and / or the IMU (234), the processor (210) can identify parameters related to the shape of the electronic device (101) (e.g., the first angle (141) and / or the second angle (142) of FIGS. 1A and 1B). Based on the parameters, the processor (210) can identify the current shape of the electronic device (101) among designated shapes for distinguishing the shape of the electronic device (101) (e.g., an unfolded state, a sub-folded state, and / or a folded state).

[0052] A communication circuit (240) of an electronic device (101) according to one embodiment may include hardware for supporting transmission and / or reception of information between the electronic device (101) and an external electronic device (242). The communication circuit (240) may include, for example, at least one of a modem (MODEM), an antenna, and an optical / electronic (O / E) converter. The communication circuit (240) may support transmission and / or reception of electrical signals based on various types of protocols, such as Ethernet, a local area network (LAN), a wide area network (WAN), wireless fidelity (WiFi), near field communication (NFC), Bluetooth, Bluetooth low energy (BLE), ZigBee, long term evolution (LTE), 5G NR (new radio), and / or 6G. Although an external electronic device (242) is shown as an example of a wireless earphone, the type of external electronic device that the electronic device (101) can access through the communication circuit (240) is not limited to the wireless earphone.

[0053] Although not shown, in one embodiment, the electronic device (101) may include output means for outputting information in a form other than a visualized form. For example, the electronic device (101) may include a motor for providing haptic feedback based on vibration.

[0054] According to one embodiment, one or more instructions (or commands) representing operations and / or actions to be performed on data by the processor (210) may be stored within the memory (215) of the electronic device (101). A set of one or more instructions may be referred to as firmware, an operating system, a process, a routine, a sub-routine, and / or an application. For example, the electronic device (101) and / or the processor (210) may perform at least one of the operations of FIGS. 3, 10, 12, and 14 when a set of a plurality of instructions distributed in the form of an operating system, firmware, driver, and / or application is executed. Hereinafter, the fact that an application is installed in an electronic device (101) may mean that one or more instructions provided in the form of an application are stored in the memory (215) of the electronic device (101), and that the one or more applications are stored in a format executable by the processor (210) of the electronic device (101) (e.g., a file having an extension specified by the operating system of the electronic device (101)).

[0055] Referring to FIG. 2, programs stored in the memory (215) are illustrated as different blocks. For example, the processor (210) may execute at least one of the application (250), the first hinge sensor driver (261), the second hinge sensor driver (262), the volume controller (270), the IMU driver (275), or the speaker driver (280). Based on the execution of the application (250), the processor (210) may perform at least one operation targeting the user of the electronic device (101). For example, while the application (250) is executed, the processor (210) may output media content stored in the memory (215) and / or received in the form of a bitstream through the communication circuit (240). The media content may include video, images, text, audio, or a combination thereof. To output the above media content, the processor (210) may control the flexible display (150), the cover display (152), and / or a plurality of speakers (220). To output video and / or audio synchronized with each other within the above media content, the processor (210) may simultaneously control the flexible display (150) and a plurality of speakers (220).

[0056] Referring to FIG. 2, based on the execution of the first hinge sensor driver (261), the processor (210) may obtain information about a first hinge assembly (e.g., the first hinge assembly (121) of FIGS. 1A to 1B) among a plurality of hinge assemblies of the electronic device (101). The information obtained from the first hinge sensor driver (261) may include an angle of the folded flexible display (150) at the first hinge assembly (e.g., the first angle (141) of FIGS. 1A to 1B) and / or data to be used for calculating the angle. For example, the first hinge sensor driver (261) may be a program for controlling a sensor for measuring an angle between a first housing and a second housing connected by the first hinge assembly. The sensor for measuring the angle between the first housing and the second housing may include a Hall sensor (232) of FIG. 2. The embodiment is not limited thereto, and the sensor for measuring the angle between the first housing and the second housing may include an IMU (234) disposed in each of the first housing and the second housing. Similarly, based on the execution of the second hinge sensor driver (262), the processor (210) may obtain information about a second hinge assembly among the plurality of hinge assemblies (e.g., the second hinge assembly (122) of FIGS. 1A and 1B).

[0057] Referring to FIG. 2, based on the execution of the volume controller (270), the processor (210) can change the volume of at least one of the plurality of speakers (220). Based on the execution of the volume controller (270), the processor (210) can obtain audio signals to be output to the plurality of speakers (220) from applications executed by the processor (210). Based on the execution of the volume controller (270), the processor (210) can identify a mapping (or relationship) between the audio signals to be output through the plurality of speakers (220) and the plurality of speakers (220).

[0058] Referring to FIG. 2, based on the execution of the IMU driver (275), the processor (210) can control the IMU (234) and / or acquire and / or receive sensor data from the IMU (234). Based on the execution of the IMU driver (275), the processor (210) can periodically (or repeatedly) acquire the sensor data from the IMU (234). Based on the execution of the IMU driver (275), the processor (210) can perform an operation for controlling the IMU (234).

[0059] Referring to FIG. 2, based on the execution of the speaker driver (280), the processor (210) may control at least one transistor included in signal paths between the processor (210) and the plurality of speakers (220), or may directly control the plurality of speakers (220). The processor (210) executing the speaker driver (280) may generate a control signal for activating, deactivating, and / or adjusting the volume of the plurality of speakers (220) based on the mapping identified based on the execution of the volume controller (270), and transmit the control signal to at least one of the plurality of speakers (220).

[0060] As described above, in one embodiment, the processor (210) of the electronic device (101) may, while displaying a video on the flexible display (150), use the sensor (230) to identify a first angle at which the first housing and the second housing are folded with respect to the first hinge assembly and a second angle at which the second housing and the third housing are folded with respect to the second hinge assembly. The processor (210) may identify speakers corresponding to each of the audio channels associated with the video among a plurality of speakers (220), based on at least one of the first angle and the second angle. For example, the processor (210) that identifies an audio channel corresponding to a first speaker among the audio channels may control the first speaker to output the audio channel corresponding to the first speaker. For example, a processor (210) that identifies an audio channel corresponding to a second speaker among the audio channels may be configured to control the second speaker to output the audio channel corresponding to the second speaker.

[0061] Hereinafter, with reference to FIG. 3, an example of the operation of an electronic device (101) based on the execution of one or more software applications stored in a memory (215) is described.

[0062] FIG. 3 illustrates an exemplary flowchart of the operation of an electronic device distinguished by software applications. The operation of the electronic device described with reference to FIG. 3 may be performed by the electronic device (101) of FIGS. 1A, 1B, and 2 and / or the processor (210) of FIG. 2.

[0063] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.

[0064] Referring to FIG. 3, the operation of the processor performed based on the execution of the application (250) is described. The operation of FIG. 3 may be performed by the processor while the application (250) for playing media content (e.g., video and / or audio) is executed. For example, the processor may display a video through a display (e.g., the flexible display (150) and / or the cover display (152) of FIGS. 1A, 1B, and / or 2) based on the execution of the application (250). While displaying the video, the processor may perform at least one of the operations of FIG. 3. The embodiment is not limited thereto.

[0065] Referring to FIG. 3, in operation (310), the processor may obtain an angle by using hinge sensor drivers (e.g., the first hinge sensor driver (261) and / or the second hinge sensor driver (262)) based on the execution of the application (250). The processor may perform operation (310) by executing a designated API (application programming interface) for requesting (or obtaining) angle information. The designated API may be indicated by instructions included in the application (250). For example, the processor may execute an API for registering an object (e.g., an event listener) to repeatedly (or periodically) obtain sensor data (e.g., sensor data of a first hinge sensor corresponding to the first hinge sensor driver (261)) with the first hinge sensor driver (261). Similarly, the processor may register an object to the second hinge sensor driver (262) to repeatedly (or periodically) provide sensor data of the second hinge sensor corresponding to the second hinge sensor driver (262) to the application (250).

[0066] Referring to FIG. 3, in operation (320), the processor may provide angle information identified using each of the hinge sensors for execution of the application (250) based on the execution of the first hinge sensor driver (261) and / or the second hinge sensor driver (262). The processor providing the angle information based on operation (320) may be performed repeatedly (or periodically) based on the execution of the first hinge sensor driver (261) and / or the second hinge sensor driver (262). The provision of the angle information for execution of the application (250) may include an operation of executing specified instructions included in the application (250) (e.g., a callback function (or sub-routine) specified by an object registered to the hinge sensor driver) based on the angle information. Based on the operation (320), the processor may obtain first angle information and / or second angle information to be used for executing the application (250). The first angle information may be obtained based on the execution of the first hinge sensor driver (261) and may include sensor data of a first hinge sensor corresponding to the first hinge sensor driver (261). The second angle information may be obtained based on the execution of the second hinge sensor driver (262) and may include sensor data of a second hinge sensor corresponding to the second hinge sensor driver (262). Based on the operation (320), the processor may obtain angles of a plurality of folding axes included in the electronic device for executing the application (250).

[0067] Referring to FIG. 3, in operation (330), the processor may identify a motion of at least one of the folding axes of the electronic device (e.g., the first folding axis (131) and / or the second folding axis (132) of FIGS. 1A and 1B) using the first angle information and / or the second angle information. For example, the processor may identify a motion in which a flexible display of the electronic device (e.g., the flexible display (150) of FIGS. 1A, 1B, and / or 2) folds based on any one of the hinge assemblies corresponding to each of the folding axes. The motion may be generated by an external force applied to the housing of the electronic device. For example, the motion may be generated by an external force applied to the housing by a user for deformation of the electronic device. Based on operation (330), the processor may determine whether to execute a function for reacting to deformation of the electronic device, among the functions of the application (250). For example, based on identifying the motion of the action (330), the processor can perform the action (340).

[0068] Referring to FIG. 3, in operation (340), the processor may execute a function for requesting the direction (or orientation) of the electronic device to the IMU driver (275) based on the execution of the application (250). Based on the request, the processor may obtain the direction of the electronic device using the IMU driver (275). The processor may perform operation (340) by executing a designated API for requesting (or obtaining) the direction. The designated API may be indicated by instructions included in the application (250). For example, the processor may execute an API for registering an object (e.g., an event listener) for obtaining (or returning) the direction of the electronic device to the IMU driver (275). The direction of operation (340) may be related to the direction of gravity applied to the electronic device. For example, the direction of the motion (340) may be related to the direction in which the flexible display of the electronic device faces (e.g., the direction of the normal of the flexible display). If the flexible display is at least partially folded or bent, the direction of the motion (340) may be related to the direction in which at least one of the flat portions of the flexible display, which are defined by one or more folding axes of the folded flexible display, faces.

[0069] Referring to FIG. 3, in operation (350), the processor may provide direction information indicating the direction of the electronic device for execution of the application (250) based on the execution of the IMU driver (275). The processor providing the direction information based on operation (350) may be performed based on the execution of the IMU driver (275). For example, the processor may execute a subroutine for processing direction information among the instructions of the application (250) based on operation (350). The subroutine of the application (250) may be executed based on the direction information obtained by the execution of the IMU driver (275).

[0070] Referring to FIG. 3, at operation 360, the processor may identify speakers corresponding to audio channels. For example, the processor may identify a mapping between audio channels and one or more speakers according to the type of electronic device described with reference to FIGS. 4 to 9. The audio channels of operation 360 may include audio data synchronized to video displayed by the processor. The audio channels may include audio data distinguished by speakers. For example, the processor may identify, from media content, multiple audio channels to be provided independently (or individually) to multiple speakers. For example, an audio channel to be provided to a speaker positioned adjacent to a user's left ear may be referred to as a left channel, and an audio channel to be provided to a speaker positioned adjacent to the user's right ear may be referred to as a right channel. If one audio channel is identified from the media content, the identified audio channel may be referred to as a mono channel. If two audio channels are identified from the media content, the two identified audio channels may be referred to as stereo channels. Stereo can mean providing multiple audio channels to differentiate sounds output to the user's two ears. By controlling the speakers based on these stereo-based audio channels, the processor can provide the user with a sense of space.

[0071] In one embodiment, a processor of an electronic device may identify a mapping between audio channels and speakers using at least one of angular information obtained based on operation (320) and directional information obtained based on operation (350). For example, the processor may identify the mapping based on a posture, shape, and / or orientation of the electronic device indicated by the angular information and / or the directional information. The processor may obtain mapping information including at least one of an audio channel corresponding to each of a plurality of speakers and volumes of each of the plurality of speakers. For example, the mapping information may include parameters (e.g., flags) indicating whether to activate each of the plurality of speakers. For example, the mapping information may include identifiers of audio channels mapped to each of the plurality of speakers. For example, the mapping information may include parameters indicating volumes of each of the plurality of speakers.

[0072] Referring to FIG. 3, in operation (370), the processor may execute the volume controller (270) using the mapping information identified based on the operation (360) performed by the application (250). The volume controller (270) may be a process (e.g., a system service and / or a system process) executed by the operating system (or framework) of the electronic device to control a plurality of speakers. Based on the volume controller (270) executed based on the mapping information, the processor may perform operation (380). In operation (380), the processor may control the speaker driver (280) to map the plurality of speakers included in the electronic device and the audio channels provided from the application (250). Based on the mapping of the speakers and the audio channels, the processor may output audio data included in the audio channels to each of the speakers.

[0073] Hereinafter, with reference to FIGS. 4 to 8, an operation of obtaining mapping information between speakers and audio channels based on the posture, shape, and / or direction of an electronic device identified based on the execution of an application (250) by the processor and controlling the speakers using the mapping information is described.

[0074] FIG. 4 illustrates different states (401, 402) of an electronic device (101) distinguished by the angle of the folding axis. The electronic device (101) of FIG. 1A, FIG. 1B, and / or FIG. 2 and / or the processor (210) of FIG. 2 may perform the operations described with reference to FIG. 4. For example, the electronic device (101) of FIG. 4 may include the first electronic device (101-1) and the second electronic device (101-2) of FIGS. 1A to 1B. The operations of the electronic device (101) described with reference to FIG. 4 may be related to at least one of the operations of FIG. 3.

[0075] Referring to FIG. 4, in a state (401) corresponding to an unfolded state, the electronic device (101) may display a video included in media content on the flexible display (150). While displaying the video, the electronic device (101) may execute a function for outputting audio channels included in the media content through a plurality of speakers (e.g., a first speaker (161) to a fourth speaker (164)). According to one embodiment, the electronic device (101) may determine a mapping between the plurality of audio channels and the plurality of speakers based on an orientation of the video displayed on the flexible display (150). In an exemplary state (401) for outputting video based on the direction illustrated in FIG. 4, the electronic device (101) may match the left channel among the audio channels for stereo to the first speaker (161) and / or the third speaker (163) disposed in the first housing (111), and may match the right channel among the audio channels to the second speaker (162) and / or the fourth speaker (164) disposed in the third housing (113). In the state (401), similar to displaying the video through the entire flexible display (150), the electronic device (101) may output each of the audio channels corresponding to the video using all of the plurality of speakers.

[0076] Referring to FIG. 4, in a state (401) of displaying a video on a flat portion of a flexible display (150) formed on a first housing (111), a second housing (112), and a third housing (113), the electronic device (101) can control all of the plurality of speakers by linking each of the audio channels of the audio with a plurality of speakers to play audio corresponding to the video based on stereo. In the state (401) of FIG. 4, the electronic device (101) can identify the rotation of the first hinge assembly (121) and / or the second hinge assembly (122). By the rotation, at least a portion of the flexible display (150) can be bent.

[0077] Referring to FIG. 4, a state (402) is illustrated in which a second angle (142) between the second housing (112) and the third housing (113) is reduced by the rotation of the second hinge assembly (122). In one embodiment, the electronic device (101) can switch from state (401) to state (402) based on identifying the second angle (142) reduced to an angular range less than a flat angle (e.g., an angular range between about 30º and about 175º, including a right angle (90º)) based on a sensor (e.g., sensor (230) of FIG. 2). For example, the electronic device (101) can compare a designated angular range corresponding to a state in which a flat surface is formed by two housings connected via the hinge assembly (e.g., an angular range including a flat angle (180º)) with the first angle (141) and / or the second angle (142). Based on the above comparison, the electronic device (101) can identify a fold in the first hinge assembly (121) and / or the second hinge assembly (122). Based on the above comparison, the electronic device (101) can identify a speaker corresponding to each of the audio channels among a plurality of speakers.

[0078] In the state (402) of FIG. 4, the electronic device (101) that identifies that the first angle (141) is included in a first angle range including a flat angle and that the second angle (142) is included in a second angle range less than the first angle range can determine that the state of the electronic device (101) is a sub-fold state folded by the second angle (142) within the second angle range. The electronic device (101) that identifies that the second angle (142) is reduced can identify a motion in which the flexible display (150) is folded with respect to the second hinge assembly (122). In a state of displaying a video on a flexible display (150), an electronic device (101) that identifies a motion in which the flexible display (150) is folded based on either the first hinge assembly (121) and / or the second hinge assembly (122) can display the video on any one of the flat portions of the flexible display (150) that are distinguished by the hinge assembly folded by the motion.

[0079] Referring to FIG. 4, within a state (402), the electronic device (101) can identify flat portions (421, 422) of the flexible display (150) defined by the second hinge assembly (122) based on identifying a second angle (142) within a second angular range including a right angle. The portion (421) can be a portion of the flexible display (150) on the first housing (111) and the second housing (112) connected along the first angle (141) within the first angular range associated with the flat angle. The portion (422) can be a portion of the flexible display (150) on the third housing (113) defined by the second folding axis (132) of the folded second hinge assembly (122). The electronic device (101) can identify which part of the video is to be displayed based on the directions of the parts (421, 422).

[0080] According to one embodiment, the electronic device (101) can identify at least one of the directions of the portions (421, 422) and / or the pose, shape and / or orientation of the electronic device (101) based on an IMU (e.g., IMU (234) of FIG. 2). For example, the electronic device (101) can identify a direction of gravity applied to at least one of the first housing (111) to the third housing (113) using the IMU. Based on at least one of the direction, the first angle (141) or the second angle (142), the electronic device (101) can identify at least one of the directions of the portions (421, 422) (e.g., directions of normals of the portions (421, 422)).

[0081] Referring to FIG. 4, in an exemplary state (402) in which the direction of gravity toward the -z-axis is identified, it is assumed that portions (421) of the flexible display (150) on the first housing (111) and the second housing (112) are perpendicular to the direction of gravity, and portions (422) of the flexible display (150) on the third housing (113) are not perpendicular to the direction of gravity. The electronic device (101) that has identified the assumed direction of gravity can display a video on the portion (422) among the portions (421, 422) that is not perpendicular to the direction of gravity.

[0082] In one embodiment, within a state (402) of playing a video using a portion (422), the electronic device (101) may determine a size and / or orientation of a video displayed within the portion (422) based on a size, orientation, and / or aspect ratio of the portion (422). Based on the above assumption, within a state (402) in which the third housing (113) is erected, a bottom of the video displayed through the portion (422) may correspond to an edge of the third housing (113) connected to the second hinge assembly (122).

[0083] Within state (402) of FIG. 4, the electronic device (101) may adjust mapping between audio channels and speakers corresponding to the video displayed in the portion (422). Based on the direction of the video displayed in the portion (422), the electronic device (101) may map a left channel among the audio channels to a first speaker (161) and a second speaker (162), and may map a right channel among the audio channels to a third speaker (163) and a fourth speaker (164). Based on the mapping, audio corresponding to the left channel may be output through the first speaker (161) and / or the second speaker (162), and audio corresponding to the right channel may be output through the third speaker (163) and / or the fourth speaker (164).

[0084] Within the state (402) of FIG. 4, the electronic device (101) can display a screen (e.g., a home screen including a list of applications) that is distinct from the video in a portion (421) that is different from the portion (422) where the video is displayed. By displaying the screen that is distinct from the video in the portion (421), the electronic device (101) can support multi-tasking (or multi-window) based on the flat portions (421, 422) of the flexible display (150) that are distinct from the second hinge assembly (122). Within the state (402), the electronic device (101) can support the execution of other software applications installed in the electronic device (101) by using the portion (421) together with the video displayed through the portion (422).

[0085] According to one embodiment, the electronic device (101) can execute a function for individually controlling speakers corresponding to each of the portions (421, 422) within a state (402) that supports multi-tasking by using portions (421, 422) distinguished by the folding of the flexible display (150). Within the state (402) of FIG. 4, in order to independently control the first speaker (161) and the third speaker (163) disposed in the first housing (111) associated with the portion (421) from other speakers (e.g., the second speaker (162) and the fourth speaker (164) disposed in the third housing (113) corresponding to the portion (422), the electronic device (101) can display a visual object (430) on the portion (421). A visual object (430) including an icon and / or image representing mute is illustrated as an example, but the embodiment is not limited thereto.

[0086] In one embodiment, in response to identifying an input indicating selection of a visual object (430) (e.g., a touch input tapping a portion of the flexible display (150) on which the visual object (430) is displayed and / or a click on the visual object (430), the electronic device (101) may reduce the volume of the first speaker (161) and the third speaker (163) to substantially zero, or may disassociate the audio channels associated with the video from the first speaker (161) and the third speaker (163). Based on the input, the electronic device (101) may at least temporarily stop playing audio corresponding to the video through the first speaker (161) and the third speaker (163). After receiving the input, the electronic device (101) may continue playing the audio through the second speaker (162) and the fourth speaker (164). After identifying an input related to a visual object (430), the electronic device (101) may display an icon and / or image to resume playing the audio through the first speaker (161) and the third speaker (163). The icon and / or image may be displayed based on the location of the flexible display (150) where the visual object (430) was displayed.

[0087] In one embodiment, within a state (402) of displaying a video through a portion (422) and playing audio corresponding to the video using all speakers, the electronic device (101) may, based on a software application running through the portion (421), de-mapping between the first speaker (161) and the third speaker (163) and the audio. For example, based on identifying an input for running a software application (e.g., a music application) for playing another audio distinct from the audio through the portion (421), the electronic device (101) may play the other audio using the first speaker (161) and the third speaker (163). While the software application is running, the audio corresponding to the video displayed through the portion (422) may be played through the second speaker (162) and the fourth speaker (164), and the other audio provided from the software application may be played through the first speaker (161) and the third speaker (163).

[0088] As described above, according to one embodiment, the electronic device (101) can determine where a video will be displayed among the portions (421, 422) and / or the mapping between audio channels and speakers associated with the video based on the directions of gravity applied to each of the flat portions (421, 422) of the flexible display (150). If a particular portion (e.g., a portion (421) facing in a direction parallel to the direction of gravity, based on the above assumption) is perpendicular to the direction of gravity, the electronic device (101) can display the video on another portion (e.g., a portion (422) according to the above assumption) that is different from the particular portion.

[0089] Hereinafter, with reference to FIG. 5, an operation of an electronic device (101) for controlling speakers according to the posture, shape and / or direction of the electronic device (101) based on a plurality of folding axes (e.g., a first folding axis (131) and a second folding axis (132)) is exemplarily described.

[0090] FIG. 5 illustrates an example of the operation of an electronic device (101) according to deformation at the folding axes. The electronic device (101) of FIG. 1A, FIG. 1B, and / or FIG. 2 and / or the processor (210) of FIG. 2 can perform the operation described with reference to FIG. 5.

[0091] Referring to FIG. 5, different states (501, 502, 503) of the first electronic device (101-1) of FIG. 1A are illustrated. Although the operation of the first electronic device (101-1) is described, the second electronic device (101-2) of FIG. 1B can also perform the operation of the first electronic device (101-1) described with reference to FIG. 5. Within the state (501) corresponding to the unfolded state, the first electronic device (101-1) can display a video over the entire substantially flat flexible display (150) based on identifying a first angle (141) and a second angle (142) within an angular range including a flat angle, similar to the state (401) of FIG. 4. Within state (501), the first electronic device (101-1) may, based on the direction of the video displayed within the flexible display (150), assign a plurality of speakers (e.g., the first speaker (161) to the fourth speaker (164)) to each of the audio channels corresponding to the video. For example, based on identifying the first angle (141) and the second angle (142) within a specified angular range including a flat angle, the first electronic device (101-1) may, based on the direction of the video displayed within the flexible display (150), distribute or allocate each of the audio channels for stereo to the plurality of speakers.

[0092] Referring to FIG. 5, in a state (501) of displaying a video on a flexible display (150), a first electronic device (101-1) may identify a motion in which the flexible display (150) is folded based on one or more sensors (e.g., sensor (230) of FIG. 2) based on one or more sensors. The first electronic device (101-1) that has identified the motion may display the video on one portion having a relatively large size (or area (extent)) among the flat portions of the flexible display (150) that are distinguished by the hinge assembly folded by the motion.

[0093] Referring to FIG. 5, in a folded state (502) of the second housing (112) and the third housing (113) based on the second hinge assembly (122), the first electronic device (101-1) can identify the folding of the second housing (112) and the third housing (113) based on a sensor corresponding to the second hinge assembly (122). The first electronic device (101-1) that identifies the folding of the second housing (112) and the third housing (113) can identify the flat portions (521, 522) of the flexible display (150) that are distinguished by the folded second hinge assembly (122). In one embodiment of a first electronic device (101-1) including a plurality of folding axes (e.g., a first folding axis (131) and a second folding axis (132)), since the plurality of folding axes are spaced from a central axis of the first electronic device (101-1) and / or the flexible display (150), the portions (521, 522) of the flexible display (150) defined by the folded folding axes may have different sizes, shapes, and / or areas. Within the state (502) of FIG. 5, a first electronic device (101-1) that identifies flat portions (521, 522) of the flexible display (150) defined by the second hinge assembly (122) folded along a second angle (142) less than a horizontal angle may display a video on the portion (521) that is larger than the portion (522). For example, within state (502), the first electronic device (101-1) can display a video on a portion (521) of a flexible display (150) disposed on the first housing (111) and the second housing (112).

[0094] In state (502) of FIG. 5, the first electronic device (101-1) displaying the video in the portion (521) can output audio related to the video through a speaker included in the first housing (111) corresponding to the portion (521) among the first housing (111) to the third housing (113). For example, the first electronic device (101-1) can control the first speaker (161) and / or the third speaker (163) among the first speaker (161) to the fourth speaker (164) to output audio related to the video. The first electronic device (101-1) can map audio channels related to the video to the first speaker (161) and the third speaker (163), respectively. For example, the first electronic device (101-1) in state (502) can link the left channel among the audio channels with the first speaker (161) and link the right channel among the audio channels with the third speaker (163). Based on the above example, the first electronic device (101-1) can control the first speaker (161) based on the left channel and control the third speaker (163) based on the right channel. The embodiment is not limited thereto, and the first electronic device (101-1) can output matched audio through the first speaker (161) and the third speaker (163) based on a mono channel. In a state (502) of selectively controlling the first speaker (161) and the third speaker (163), the first electronic device (101-1) can refrain from controlling the second speaker (162) and the fourth speaker (164) arranged in the third housing (113) from the part (521) where the video is displayed.

[0095] Referring to FIG. 5, in a state where the first hinge assembly (121) and the second hinge assembly (122) are all folded (503), the first electronic device (101-1) can identify portions (531, 532, 533) of the flexible display (150) that are defined by a first folding axis (131) and a second folding axis (132) having a first angle (141) and a second angle (142) less than a parallel angle. The first electronic device (101-1) can display a video on a portion (532) corresponding to the second housing (112) located at the center among the portions (531, 532, 533).

[0096] In state (503) of FIG. 5, as both the first angle (141) and the second angle (142) are reduced to less than a flat angle, the flexible display (150) may have a concave shape. Based on the concave shape, the range (or angle) at which the flexible display (150) is visible may be reduced compared to the range in the unfolded state (e.g., state (501)). The state (503) including the flexible display (150) having a concave shape may be referred to as a privacy state. In the state (503) corresponding to the privacy state, the first electronic device (101-1) may reduce the volume of the speakers to less than a designated volume. For example, the first electronic device (101-1) may adjust the volumes of the first speaker (161) to the fourth speaker (164) to substantially 0. For example, the first electronic device (101-1) can deactivate or mute the first speaker (161) to the fourth speaker (164). For example, the first electronic device (101-1) can deactivate the first speaker (161) to the fourth speaker (164) by adjusting the voltage of the power signal provided to the first speaker (161) to the fourth speaker (164) to be below a specified voltage.

[0097] Referring to FIG. 5, within a state (501) corresponding to an unfolded state, based on a first motion of folding the second hinge assembly (122), the first electronic device (101-1) can switch to a state (502). Within the state (502), the first electronic device (101-1) can display a video within a portion (521) having a relatively large size among the flat portions (521, 522) of the flexible display (150) distinguished by the second hinge assembly (122) folded by the first motion. Within the state (502) of displaying a video within the portion (521), the first electronic device (101-1) can output audio through speakers (e.g., the first speaker (161) and / or the third speaker (163)) corresponding to the portion (521). While displaying a video on the portion (521) based on the first motion, the first electronic device (101-1) can switch from state (502) to state (503) based on the second motion of folding the first hinge assembly (121). Within the switched state (503) based on the second motion, the first electronic device (101-1) can display a video on the portion (532) of the flexible display (150) corresponding to the second housing (112) and control all speakers to a volume below a specified volume.

[0098] While the operation of the first electronic device (101-1) while gradually transitioning from state (501) to state (503) has been exemplarily described, the embodiment is not limited thereto. Within state (503) where both the first angle (141) and the second angle (142) are less than parallel, the first electronic device (101-1) can switch to either of the states (501, 502) based on a motion in which at least one of the first hinge assembly (121) and / or the second hinge assembly (122) unfolds. For example, within the state (503), based on identifying the first angle (141) increased to a horizontal angle by the rotation of the first hinge assembly (121), the first electronic device (101-1) can display a video on the portion (521) based on the state (502) and output audio corresponding to the video through the first speaker (161) and the third speaker (163). For example, when switching to the unfolded state by the rotation of all of the first hinge assembly (121) and the second hinge assembly (122), the first electronic device (101-1) can display a video on the entire flexible display (150) and map audio channels corresponding to the video to all of the first speaker (161) to the fourth speaker (164).

[0099] As described above, according to one embodiment, the first electronic device (101-1) can dynamically control the plurality of speakers based on the posture and / or shape of the first electronic device (101-1) folded by the plurality of folding axes. Depending on the shape, based on the position within the flexible display (150) where the video is played, the first electronic device (101-1) can change the relationship between the plurality of speakers and the audio channels corresponding to the video. The first electronic device (101-1) can change the position within the flexible display (150) where the video is played and / or the volumes of each of the plurality of speakers based on the posture and / or shape of the first electronic device (101-1), thereby improving the user experience related to the playback of media content that is a combination of video and / or audio channels.

[0100] In one embodiment, when the number of flat portions of the flexible display (150) is two or more (e.g., states (502, 503) of FIG. 5), the electronic device (101) can execute a function for changing the position of a video displayed through one of the portions. Based on the function, while changing the position of the video, the electronic device (101) can change the mapping between a plurality of speakers and / or audio channels corresponding to the video. Hereinafter, an operation of the electronic device (101) for controlling speakers based on the position of the video within the flexible display (150) is described with reference to FIGS. 6A and 6B.

[0101] FIGS. 6A and 6B illustrate an example of the operation of an electronic device (101) displaying a video on at least one of the portions of a flexible display (150) separated by folding axes. The electronic device (101) of FIGS. 1A, 1B, and / or 2 and / or the processor (210) of FIG. 2 may perform the operations described with reference to FIGS. 6A and 6B.

[0102] Referring to FIG. 6A, a sub-fold state of an electronic device (101) folded along a second folding axis (132) among a first folding axis (131) and a second folding axis (132) formed by a plurality of hinge assemblies is illustrated. Although the operation of the electronic device (101) folded along the second folding axis (132) is described with reference to FIG. 6A, the embodiment is not limited thereto, and for example, in the sub-fold state folded along the first folding axis (131), the electronic device (101) may perform the operation described with reference to FIG. 6A.

[0103] In state (601) of FIG. 6a, similarly to state (502) of FIG. 5, the electronic device (101) can display a video on a portion (611) having a relatively large size among the flat portions (611, 612) of the flexible display (150) separated by the folded second hinge assembly (122). In state (601), the electronic device (101) can output audio corresponding to the video through the first speaker (161) and the third speaker (163) corresponding to the portion (611) among the speakers (e.g., the first speaker (161) to the fourth speaker (164)).

[0104] In one embodiment, the electronic device (101) may display a visual object (615) for moving a video to another portion (612) of the flexible display (150) that is separated by the second hinge assembly (122), in a state (601) where the flexible display (150) is separated by the second hinge assembly (122), on a portion (611) of the flexible display (150) where the video is displayed. The embodiment is not limited thereto, and the electronic device (101) may display the visual object (615) on a portion (612) different from the portion (611) where the video is displayed. Although a visual object (615) in the form of a button containing designated text such as “switch” is illustrated as an example, the embodiment is not limited thereto.

[0105] Within state (601) of FIG. 6A, in response to an input indicating selection of a visual object (615), the electronic device (101) can change a location within the flexible display (150) where the video is displayed from a portion (611) to a portion (612). For example, the electronic device (101) receiving the input can switch from state (601) to a state (602). Within state (602), the electronic device (101) can display a visual object (615) for moving the location of the flexible display (150) where the video is displayed to a portion (611) while displaying the video through the portion (612) of the flexible display (150).

[0106] Referring to FIG. 6A, in a state (602) of displaying a video in a portion (612), the electronic device (101) can output audio corresponding to the video through speakers (e.g., a second speaker (162) and / or a fourth speaker (164)) included in a third housing (113) corresponding to the portion (612) among the speakers. For example, the electronic device (101) switching from state (601) to state (602) can link an audio channel that was output through the first speaker (161) in the state (601) with the second speaker (162), and can link an audio channel that was output through the third speaker (163) in the state (601) with the fourth speaker (164). Within the above example, the electronic device (101) may stop controlling the first speaker (161) and the third speaker (163) and control the second speaker (162) and the fourth speaker (164) as it switches from state (601) to state (602).

[0107] Referring to FIG. 6B, a sub-fold state of the first electronic device (101-1) is illustrated in which all of the folding axes formed by the plurality of hinge assemblies are folded. While the first angle (141) and the second angle (142) all have a second angle range less than the first angle range including the flat angle, the first electronic device (101-1) can display a video on any one of the portions (631, 632, 633) of the flexible display (150) defined by the first hinge assembly (121) and the second hinge assembly (122). In the state (603), similar to the state (503) of FIG. 5, the first electronic device (101-1) can display a video on the portion (632) of the flexible display (150) corresponding to the second housing (112). Within state (603), the first electronic device (101-1) may deactivate multiple speakers to refrain from outputting audio corresponding to the video.

[0108] Within state (603) of FIG. 6B, the first electronic device (101-1) may display a visual object (e.g., visual objects (634, 635)) for changing the position of the video displayed in the portion (632). While visual objects (634, 635) in the form of arrows are illustrated as an example, the shape and / or position of the visual objects for changing the position of the video are not limited thereto. The first electronic device (101-1) may display designated text (e.g., “Move”) for guiding the movement of the video together with the visual objects (634, 635). Within state (603), based on an input indicating selection of a visual object (634) including an arrow pointing to the portion (631), the first electronic device (101-1) may switch to state (604). Within state (603), based on an input indicating selection of a visual object (635) including an arrow pointing to a portion (633), the first electronic device (101-1) can switch to state (605).

[0109] Referring to FIG. 6B, within a switched state (604) based on an input related to a visual object (634), the first electronic device (101-1) can display a video in a portion (631). Along with the video displayed in the portion (631), the first electronic device (101-1) can display a visual object (641) for movement of the video. Based on an input indicating selection of the visual object (641) including an arrow pointing to other portions (632, 633) different from the portion (631), the first electronic device (101-1) can switch to the state (603). In a state (604) of displaying a video based on a portion (631), the first electronic device (101-1) may output audio corresponding to the video through speakers (e.g., the first speaker (161) and / or the third speaker (163)) within the first housing (111) corresponding to the portion (631). The embodiment is not limited thereto, and the first electronic device (101-1) may maintain the interruption of audio output.

[0110] Referring to FIG. 6B, within a switched state (605) based on an input related to a visual object (635), the first electronic device (101-1) can display a video in a portion (633). Along with the video displayed in the portion (633), the first electronic device (101-1) can display a visual object (651) for movement of the video. Based on an input indicating selection of the visual object (651) including an arrow pointing to other portions (631, 632) different from the portion (633), the first electronic device (101-1) can switch to the state (603). Within a state (605) of displaying a video based on a portion (633), the first electronic device (101-1) may output audio corresponding to the video through speakers (e.g., the second speaker (162) and / or the fourth speaker (164)) within the third housing (113) corresponding to the portion (633). The embodiment is not limited thereto, and the first electronic device (101-1) may maintain the interruption of audio output.

[0111] As described above, according to one embodiment, the electronic device (101) can switch the position at which a video is displayed among the portions (611, 612, 631, 632, 633) of the flexible display (150) folded by the plurality of folding axes. Along with the switching of the position, the electronic device (101) can change at least one speaker among the plurality of speakers on which audio corresponding to the video is to be displayed.

[0112] In one embodiment, the electronic device (101) can simultaneously display multiple videos through different surfaces of the housing. While simultaneously displaying multiple videos, the electronic device (101) can simultaneously output audio corresponding to the multiple videos using multiple speakers. Below, with reference to FIGS. 7A and 7B , the operation of the electronic device (101) for simultaneously outputting audio corresponding to multiple videos will be described.

[0113] FIGS. 7A and 7B illustrate an example of the operation of an electronic device (101) for displaying videos on portions of a flexible display (150) separated by folding axes. The electronic device (101) of FIGS. 1A, 1B, and / or 2 and / or the processor (210) of FIG. 2 may perform the operations described with reference to FIGS. 7A and 7B.

[0114] Referring to FIG. 7A, an exemplary state (701) of a first electronic device (101-1) including both a cover display (152) and a flexible display (150) is illustrated. In the state (701) associated with the sub-fold state, it is assumed that the flexible display (150) is folded perpendicularly along the first hinge assembly (121) and the first housing (111) is erected. According to one embodiment, the first electronic device (101-1) can identify the gravity applied in the -z-axis direction using sensor data of an IMU (e.g., the IMU (234) of FIG. 2) in the state (701). Based on the sensor data of the IMU, the first electronic device (101-1) can identify the posture, shape, and / or orientation of the first electronic device (101-1) in which the first housing (111) is erected.

[0115] In state (701) of FIG. 7A, the first electronic device (101-1) can output a plurality of videos through each of the cover display (152) and the flexible display (150). The first video can be displayed on the cover display (152), and the first electronic device (101-1) can display a second video on a portion (711) of the flexible display (150) formed on one side of the first housing (111) where the cover display (152) is placed, among portions (711, 712) of the flexible display (150) separated by the folded first hinge assembly (121). In a state (701) in which the first housing (111) is erected, the first electronic device (101-1) can display a plurality of videos through a portion (711) of a flexible display (150) and a cover display (152) arranged on both sides of the first housing (111).

[0116] Referring to FIG. 7A, in a state (701) of displaying a plurality of videos through each of a portion (711) of the flexible display (150) and a cover display (152), the first electronic device (101-1) can determine a relationship between the plurality of videos and the plurality of speakers based on the posture, shape, and / or direction of the first electronic device (101-1). In the state (701) of FIG. 7A, the first electronic device (101-1) can output audio corresponding to the first video displayed through the cover display (152) using the first speaker (161) and / or the third speaker (163) arranged in the first housing (111). For example, among the audio channels corresponding to the first video, the left channel can be linked to the first speaker (161), and among the audio channels corresponding to the first video, the right channel can be linked to the third speaker (163). The first electronic device (101-1) can output audio corresponding to the second video displayed through the portion (711) of the flexible display (150) through a different speaker (e.g., a second speaker (162) and / or a fourth speaker (164)) than the first speaker (161) and the third speaker (163) corresponding to the first video. For example, the left channel among the audio channels corresponding to the second video can be linked to the fourth speaker (164), and the right channel among the audio channels corresponding to the second video can be linked to the second speaker (162).

[0117] In one embodiment, within a state (701) of displaying a second video through a portion (711) of the flexible display (150), the first electronic device (101-1) can support multi-tasking through another portion (712) of the flexible display (150). Through the portion (712), the first electronic device (101-1) can display a screen (e.g., a home screen) including a list of applications installed in the first electronic device (101-1).

[0118] Referring to FIG. 7A, according to one embodiment, a first electronic device (101-1) can identify an external electronic device (242) using a communication circuit (e.g., the communication circuit (240) of FIG. 2). Referring to FIG. 7A, an external electronic device (242) including earbuds (242-1, 242-2) attachable to a user's left ear and right ear is exemplarily illustrated. The embodiment is not limited thereto. For example, the first electronic device (101-1) can identify a location of the external electronic device (242) with respect to the first electronic device (101-1) using a first wireless signal associated with ultra-wide band (UWB) based on identifying the external electronic device (242) for outputting an audio channel. Based on the identified location, the first electronic device (101-1) can transmit audio corresponding to one of a plurality of videos to the external electronic device (242). The first electronic device (101-1) can stop outputting audio transmitted to an external electronic device (242) through the speaker of the first electronic device (101-1).

[0119] For example, based on identifying a location of an external electronic device (242) adjacent to the cover display (152) among the cover display (152) and the flexible display (150) (e.g., a portion (711) of the flexible display (150)), the first electronic device (101-1) may transmit at least one of the audio channels of a first video displayed through the cover display (152) to the external electronic device (242). While transmitting at least one of the audio channels of the first video to the external electronic device (242), the first electronic device (101-1) may stop outputting the audio channels of the first video through speakers (e.g., the first speaker (161) and / or the third speaker (163)). For example, the first electronic device (101-1) may refrain from controlling the first speaker (161) and the third speaker (163) of the first housing (111) in which the cover display (152) is arranged while transmitting wireless signals related to the audio channels of the first video to the external electronic device (242).

[0120] For example, a first electronic device (101-1) that identifies an external electronic device (242) positioned in a direction toward which a portion (711) of a flexible display (150) is facing may transmit at least one of the audio channels of a second video displayed through the portion (711) to the external electronic device (242). While transmitting a wireless signal related to at least one of the audio channels of the second video to the external electronic device (242), the first electronic device (101-1) may at least temporarily stop controlling a speaker of the first electronic device (101-1) based on the audio channels of the second video.

[0121] Referring to FIG. 7B, an exemplary state (702) of a second electronic device (101-2) displaying videos through different portions (721, 722) of a flexible display (150) is illustrated. Within the state (702) associated with the sub-fold state, it is assumed that the flexible display (150) is folded at an angle exceeding a plane angle along the first hinge assembly (121) and at an angle less than a plane angle along the second hinge assembly (122). Within the state (702), it is assumed that the second electronic device (101-2) identifies a gravity applied in the -z direction. For example, when the second electronic device (101-2) is positioned on the ground by the rear surface of the third housing (113), the second electronic device (101-2) can identify the gravity applied in the -z direction based on the IMU (e.g., the IMU (234) of FIG. 2). Within the state (702) of FIG. 7b, portions (721, 722) of the flexible display (150) of the second electronic device (101-2) can be positioned facing different directions. The posture and / or shape of the second electronic device (101-2) illustrated in FIG. 7b may be referred to as a tent posture.

[0122] Within the state (702) of FIG. 7b, the second electronic device (101-2) can display a plurality of videos through portions (721, 722) of the flexible display (150) facing different directions. For example, the second electronic device (101-2) can display a plurality of videos on each of the portions (721, 722) of the flexible display (150) that are separated along the first hinge assembly (121) that is folded at an angle exceeding a horizontal angle. Within the state (702) of FIG. 7b, the second electronic device (101-2) can control the first speaker (161) and the third speaker (163) disposed in the first housing (111) based on audio channels associated with the first video displayed on the portion (721) of the flexible display (150) corresponding to the first housing (111). For example, the second electronic device (101-2) can control the first speaker (161) based on the left channel among the audio channels, and can control the third speaker (163) based on the right channel among the audio channels. In the state (702) of FIG. 7B, the second electronic device (101-2) can control the second speaker (162) and the fourth speaker (164) arranged in the third housing (113) based on audio channels corresponding to the second video displayed through the portion (722). For example, the second electronic device (101-2) can control the second speaker (162) based on the right channel among the audio channels of the second video, and can control the fourth speaker (164) based on the left channel among the audio channels of the second video.

[0123] Referring to FIG. 7B, according to one embodiment, the second electronic device (101-2) may provide audio corresponding to any one of the videos displayed through portions (721, 722) to the external electronic device (242) based on identifying the external electronic device (242) for outputting an audio channel, based on the direction of the external electronic device (242) with respect to the second electronic device (101-2). The direction of the external electronic device (242) with respect to the second electronic device (101-2) may be identified based on a wireless signal associated with UWB.

[0124] For example, a second electronic device (101-2) that identifies an external electronic device (242) positioned in a direction toward which a portion (721) is facing can transmit at least one of the audio channels corresponding to the first video displayed through the portion (721) to the external electronic device (242). In the example, the second electronic device (101-2) can at least temporarily stop controlling the first speaker (161) and / or the third speaker (163) based on the audio channels corresponding to the first video. For example, a second electronic device (101-2) that identifies an external electronic device (242) positioned in a direction toward which a portion (722) is facing can transmit at least one of the audio channels corresponding to the second video displayed through the portion (722) to the external electronic device (242). While transmitting at least one of the audio channels corresponding to the second video to the external electronic device (242), the second electronic device (101-2) may refrain from controlling the second speaker (162) and / or the fourth speaker (164) based on the audio channels corresponding to the second video.

[0125] FIG. 8 illustrates an example of the operation of an electronic device (101) that displays visual objects for adjusting volumes corresponding to videos. The electronic device (101) of FIG. 1A, FIG. 1B, and / or FIG. 2 and / or the processor (210) of FIG. 2 may perform the operation described with reference to FIG. 8.

[0126] Referring to FIG. 8, an exemplary state (801) of the first electronic device (101-1) of FIG. 1A is illustrated. Referring to FIG. 8, in a sub-folded state folded along a first hinge assembly (121) folded at a right angle, the electronic device (101) can display a first video on a cover display (152) disposed on one side of the first housing (111), and a second video on a portion (711) of a flexible display (150) disposed on the other side of the first housing (111) opposite to the one side. The state (801) of FIG. 8 may correspond to the state (701) of FIG. 7A.

[0127] Referring to FIG. 8, according to one embodiment, an electronic device (101) may include buttons (810) formed on a side connecting the front and rear sides. The buttons (810) may be referred to as switches and / or physical keys. The electronic device (101) may identify an input for executing at least one of the functions based on the buttons (810) mapped to different functions. Referring to FIG. 8, it is assumed that a first button (811) corresponds to a function of gradually increasing the volumes of speakers (e.g., a first speaker (161) to a fourth speaker (164)) of the electronic device (101), and a second button (812) corresponds to a function of gradually decreasing the volumes.

[0128] In a state (801) of displaying a plurality of videos of FIG. 8, according to an embodiment, the electronic device (101) may change the volumes of the speakers in response to an input of pressing at least one of the buttons (810). In response to the input, the electronic device (101) may display visual objects (821, 822) on the cover display (152) and the flexible display (150), respectively, for adjusting the volumes corresponding to the videos displayed through the cover display (152) and the flexible display (150). In an exemplary state (801) of FIG. 8, the electronic device (101) may display a visual object (821) on the cover display (152) for adjusting the volumes of the audio channels corresponding to the first video displayed through the cover display (152). The electronic device (101) can display a visual object (822) for adjusting the volumes of the audio channels corresponding to the second video displayed through a portion (711) of the flexible display (150) on the flexible display (150). The position, shape and / or size at which each of the visual objects (821, 822) is displayed on the cover display (152) and the flexible display (150) is not limited to the embodiment of FIG. 8.

[0129] Referring to FIG. 8, in a state (801) where visual objects (821, 822) in the form of slide bars are displayed, the electronic device (101) can receive an input for adjusting at least one of the volumes of audio channels associated with videos displayed on the cover display (152) and the flexible display (150). For example, based on an input of pressing at least one of the buttons (810), the electronic device (101) can change the volumes associated with all of the videos. In the example, the electronic device (101) can change the display of the visual objects (821, 822) to visualize the change in the volumes.

[0130] For example, based on a touch input (e.g., a drag input) associated with a visual object (821), the electronic device (101) can change the volume for playback of audio channels of a first video corresponding to the visual object (821). In the example, the electronic device (101) can change the volume of a first speaker (161) and a third speaker (163) among a plurality of speakers. In the example, the electronic device (101) can change the display of a visual object (821) among the visual objects (821, 822) based on the touch input.

[0131] For example, based on a touch input (e.g., a drag input) associated with a visual object (822), the electronic device (101) can change the volume for playback of audio channels of a second video corresponding to the visual object (822). In the example, the electronic device (101) can change the volume of a second speaker (162) and a fourth speaker (164) among a plurality of speakers. In the example, the electronic device (101) can change the display of a visual object (822) among the visual objects (821, 822) based on the touch input.

[0132] As described above, according to one embodiment, the electronic device (101) may, in a state (e.g., state (801)) displaying a plurality of videos, display visual objects (e.g., visual objects (821, 822)) for individually adjusting the volumes of the plurality of videos. Based on the visual objects, the electronic device (101) may receive or identify a touch input for individually adjusting the volumes.

[0133] FIG. 9 illustrates an example of an operation of an electronic device (101) for obtaining information for controlling speakers in each of different states of the electronic device (101) distinguished by deformation along the folding axes. The electronic device (101) of FIG. 1A, FIG. 1B, and / or FIG. 2 and / or the processor (210) of FIG. 2 may perform the operations described with reference to FIG. 9.

[0134] Referring to FIG. 9, according to one embodiment, an electronic device (101) may display a screen for obtaining preset information to be used for controlling speakers in different postures and / or states (e.g., unfolded state and / or sub-folded state) of the electronic device (101). Referring to the exemplary screen of FIG. 9, the electronic device (101) may display a visual object (910) for switching to another screen different from the above screen and / or a navigation bar (920) for navigating screens displayed through the flexible display (150).

[0135] Within the exemplary screen of FIG. 9, the electronic device (101) may display a list of postures of the electronic device (101) corresponding to preset information using visual objects (931, 932, 933, 934) including images. The visual object (931) may include an image representing an unfolded state. The visual object (932) may include an image representing a state in which one of the plurality of folding axes is folded within a sub-fold state. The visual object (933) may include an image representing a sub-fold state in which all of the plurality of folding axes are folded. The visual object (934) may include an image representing a sub-fold state in which the housing of the electronic device (101) folded by the folding axes is erected, such as in a tent state. The posture, shape and / or orientation of the electronic device (101) corresponding to the preset information is not limited to the postures expressed by the images included in the visual objects (931, 932, 933, 934).

[0136] Referring to FIG. 9, based on an input indicating selection of a visual object (932), the electronic device (101) may display visual objects for receiving preset information corresponding to the posture, shape, and / or direction indicated by the visual object (932) in an area (940). Referring to FIG. 9, within the area (940), the electronic device (101) may display visual objects in the form of slider bars for adjusting the volumes of each of the speakers included in the electronic device (101) (e.g., the first speaker (161) to the fourth speaker (164) of FIGS. 1A and 1B). The shapes and / or positions of the visual objects displayed for adjusting the volumes are not limited to the example of FIG. 9. In addition to the slider bar, visual objects such as a progress bar and / or a picker may be displayed for adjusting the volumes of the speakers. Based on the visual objects having the form of the above slider bars, the electronic device (101) can identify a user input for adjusting the volume of each of the speakers. Based on the user input, the electronic device (101) can obtain preset information. The preset information obtained within the exemplary state of FIG. 9 can be used to adjust the volumes of a plurality of speakers while having the posture, shape, and / or direction expressed by the image of the visual object (932).

[0137] In one embodiment, the distance between speakers arranged in the electronic device (101) can be changed by folding at least one of the hinge assemblies. Hereinafter, with reference to FIGS. 10 and 11, one embodiment of an electronic device (101) that adjusts the volumes of the speakers based on a change in the distance between the speakers is described.

[0138] FIG. 10 illustrates an exemplary flowchart of the operation of an electronic device distinguished by software applications. The operation of the electronic device described with reference to FIG. 10 may be performed by the electronic device (101) of FIGS. 1A, 1B, and 2 and / or the processor (210) of FIG. 2.

[0139] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.

[0140] Referring to FIG. 10, the operation of the processor performed based on the execution of the application (250) is described. The operation of FIG. 10 may be performed by the processor executing the application (250) for playing media content including video and / or audio. While displaying the video, the processor may perform at least one of the operations of FIG. 10. At least one of the operations of FIG. 10 may be performed similarly to the operation of the electronic device described with reference to FIG. 3.

[0141] Referring to FIG. 10, in operation (1010), the processor may execute a function for obtaining an angle using hinge sensor drivers (e.g., the first hinge sensor driver (261) and / or the second hinge sensor driver (262)) based on the execution of the application (250). Operation (1010) of FIG. 10 may be performed identically or similarly to operation (310) of FIG. 3.

[0142] Referring to FIG. 10, in operation (1020), the processor may provide angle information identified using each of the hinge sensors based on the execution of the first hinge sensor driver (261) and the second hinge sensor driver (262) for the execution of the application (250). The processor obtaining angle information based on operation (1020) may be performed repeatedly (or periodically) based on the execution of the first hinge sensor driver (261) and the second hinge sensor driver (262). Operation (1020) of FIG. 10 may be performed identically or similarly to operation (320) of FIG. 3.

[0143] Referring to FIG. 10, in operation (1030), the processor may identify a motion of at least one of the folding axes of the electronic device (e.g., the first folding axis (131) and the second folding axis (132) of FIGS. 1A and 1B) using the first angle information identified based on the first hinge sensor driver (261) and / or the second angle information identified based on the second hinge sensor driver (262). The motion may include a motion of folding based on at least one of the hinge assemblies (e.g., the first hinge assembly (121) and the second hinge assembly (122) of FIGS. 1A and 1B) corresponding to each of the folding axes. Operation (1030) of FIG. 10 may be performed identically or similarly to operation (330) of FIG. 3.

[0144] Referring to FIG. 10, in operation (1040), based on identifying the motion of at least one of the folding axes, the processor may execute a function for requesting the orientation of the electronic device to the IMU driver (275). Based on the request, the processor may execute a function for obtaining the orientation of the electronic device using the IMU driver (275). Operation (1040) of FIG. 10 may be performed identically or similarly to operation (340) of FIG. 3. Referring to FIG. 10, in operation (1050), the processor may provide orientation information about the orientation of the electronic device for execution of the application (250) based on the execution of the IMU driver (275). The processor obtaining the orientation information based on operation (1050) may be performed identically or similarly to operation (350) of FIG. 3.

[0145] Referring to FIG. 10, in operation (1060), the processor may identify the volumes of the speakers using at least one of the first angle information, the second angle information, or the direction information. For example, the processor may identify the volumes of the speakers based on the distance between the speakers indicated by the first angle information and the second angle information. The processor may increase or decrease the volumes proportionally to the distance.

[0146] Referring to FIG. 10, in operation (1070), the processor may execute the volume controller (270) based on the volumes of the speakers identified based on operation (1060). While the volume controller (270) is executed, the processor may change the volumes of the plurality of speakers to the volumes identified based on operation (1060) using the speaker driver (280) based on operation (1080).

[0147] Below, with reference to FIG. 11, an exemplary operation of an electronic device that controls speakers according to volumes identified based on the operation (1060) of FIG. 10 is described.

[0148] FIG. 11 illustrates an exemplary graph for explaining the operation of an electronic device (101) that adjusts the volume based on the angles of the folding axes. The electronic device (101) of FIG. 1A, FIG. 1B, and / or FIG. 2 and / or the processor (210) of FIG. 2 may perform the operation described with reference to FIG. 11. The operation of the first electronic device (101-1) described with reference to FIG. 11 may be related to at least one of the operations of FIG. 3 and / or the operations of FIG. 10. Although the operation of the first electronic device (101-1) is described with reference to FIG. 11, the second electronic device (101-2) of FIG. 1B may also perform the operation described with reference to FIG. 11.

[0149] Referring to FIG. 11, an exemplary graph representing the volume of audio output by the first electronic device (101-1) while changing from a sub-folded state (or folded state) to an unfolded state is illustrated. The first electronic device (101-1) can identify a distance between a first speaker (161) of the first housing (111) and a second speaker (162) of the third housing (113) based on a sum of angles identified in the hinge assemblies. The sum of the angles may be substantially 0° when the first electronic device (101-1) is in a folded state. The sum of the angles may increase from 0° to 360° as the first electronic device (101-1) changes from the folded state to the unfolded state. In a time interval (1110) for outputting audio based on a first volume (V1), the first volume (V1) may correspond to a distance between a first speaker (161) and a second speaker (162) identified based on hinge assemblies folded less than a flat angle. In a time interval (1110), the first volume (V1) may correspond to a size of a portion of a flexible display (150) on which a video is displayed (e.g., a portion of the flexible display (150) disposed on a second housing (112).

[0150] Referring to FIG. 11, within a time interval (1120) after a time interval (1110), the angle between the first housing (111) and the second housing (112) may be substantially equal to a flat angle, and the angle between the second housing (112) and the third housing (113) may be folded to be less than a flat angle. Within the time interval (1120), since the distance between the first speaker (161) and the second speaker (162) increases based on the angles, the first electronic device (101-1) may change the volume from the first volume (V1) to the second volume (V2) exceeding the first volume (V1). The second volume (V2) of the time section (1120) may correspond to the size of a portion of the flexible display (150) on which the video is displayed (e.g., a portion of the flexible display (150) disposed on the first housing (111) and the second housing (112).

[0151] Referring to FIG. 11, within a time interval (1130) following a time interval (1120), the first electronic device (101-1) may assume a posture corresponding to an unfolded state. Within the time interval (1130), the distance between the first speaker (161) and the second speaker (162) may be maximized. Based on the maximized distance, the first electronic device (101-1) may change the volume of the audio to a third volume (V3) exceeding the second volume (V2). The third volume (V3) of the time interval (1130) may correspond to a size of the video within the flexible display (150) (e.g., the entire active area and / or display area of ​​the flexible display (150).

[0152] As described above, according to one embodiment, the electronic device (101) can change the volume of audio and / or audio channels based on the distance between speakers. For example, the volume can be increased or decreased in proportion to the distance. The embodiment is not limited thereto, and functions such as trigonometric functions and / or step functions can be used to calculate the volume from the distance. The distance between speakers can be identified based on the angles of the folding axes included in the electronic device (101).

[0153] FIG. 12 illustrates an example of a flowchart of an electronic device according to one embodiment. The electronic device (101) of FIG. 1A, FIG. 1B, and / or FIG. 2 and / or the processor (210) of FIG. 2 may perform the operations described with reference to FIG. 12.

[0154] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.

[0155] Referring to FIG. 12, in operation (1210), according to one embodiment, a processor of an electronic device may identify a first angle at which the first housing and the second housing are folded relative to the first hinge assembly and a second angle at which the second housing and the third housing are folded relative to the second hinge assembly. The first angle of operation (1210) may include the first angle (141) of FIGS. 1A and 1B . The second angle of operation (1210) may include the second angle (142) of FIGS. 1A and 1B . The processor may identify the first angle and / or the second angle of operation (1210) based on sensor data of sensors corresponding to each of the first hinge assembly and the second hinge assembly. The processor may perform at least one of the operations of FIG. 12 based on execution of an application for outputting audio.

[0156] Referring to FIG. 12, in operation (1220), according to an embodiment, a processor of an electronic device may identify a mapping between audio channels associated with a video and a plurality of speakers disposed in a first housing and a third housing based on at least one of a first angle or a second angle. The plurality of speakers of operation (1220) may include the first speaker (161) to the fourth speaker (164) of FIGS. 1A to 1B. For example, the processor may identify a mapping between the audio channels and the plurality of speakers based on the operations described with reference to FIGS. 1A to 11. The mapping may include information representing at least one speaker corresponding to each of the audio channels or at least one of volumes of the plurality of speakers. At operation (1220), the processor may identify a mapping between audio channels and multiple speakers based on the orientation of the electronic device identified using the IMU (e.g., IMU (234) of FIG. 2), as well as the first angle and / or the second angle.

[0157] Referring to FIG. 12, in operation (1230), according to one embodiment, a processor of an electronic device may control at least one of a plurality of speakers based on the identified mapping. The processor may individually activate or deactivate the plurality of speakers by controlling switches for supplying power signals to each of the plurality of speakers. Using the mapping identified based on operation (1220), the processor may individually control each of the plurality of speakers. Using the mapping identified based on operation (1220), the processor may individually change the volumes of the plurality of speakers.

[0158] FIG. 13 illustrates an example of a flowchart of an electronic device according to one embodiment. The electronic device (101) of FIG. 1A, FIG. 1B, and / or FIG. 2 and / or the processor (210) of FIG. 2 may perform the operations described with reference to FIG. 13. At least one of the operations of FIG. 13 may be related to at least one of the operations of FIG. 12.

[0159] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.

[0160] Referring to FIG. 13, in operation (1310), according to one embodiment, a processor of an electronic device may display a video on a flexible display. Operation (1310) may be performed based on an application executed by the processor (e.g., application (250) of FIG. 2).

[0161] Referring to FIG. 13, within operation (1320), a processor of an electronic device according to an embodiment may identify a motion in which at least one of the hinge assemblies is folded. The hinge assemblies of operation (1320) may include the first hinge assembly (121) and / or the second hinge assembly (122) of FIGS. 1A and 1B. Operation (1320) of FIG. 13 may be performed identically or similarly to operation (1210) of FIG. 12. Before identifying the motion of operation (1320) (1320-No), the processor may continue displaying the video based on operation (1310). Within a state in which the motion of operation (1320) is identified (1320-Yes), the processor may perform operation (1330).

[0162] Referring to FIG. 13, in operation (1330), according to one embodiment, a processor of an electronic device may display a video on any one of the flat portions of a flexible display separated by a hinge assembly folded by the motion. By the hinge assembly folded by the motion of operation (1320), the flexible display may be separated into a plurality of flat portions. Parts of the operation (1330) may include parts (421, 422) of FIG. 4, parts (521, 522, 531, 532, 533) of FIG. 5, parts (611, 612) of FIG. 6A, parts (631, 632, 633) of FIG. 6B, parts (711, 712) of FIG. 7A, parts (721, 722, 723) of FIG. 7B, and / or parts (711, 712) of FIG. 8. Within the state of displaying the video based on the operation (1330), the processor may display icons and / or buttons for moving the video in the parts, such as the visual objects (615, 634, 635, 641, 651) of FIG. 6A and FIG. 6B.

[0163] Referring to FIG. 13, in operation 1340, a processor of an electronic device according to an embodiment may control at least one of a plurality of speakers based on a portion of a flexible display on which a video is displayed. In operation 1340, the processor may identify, among the speakers of the electronic device, at least one speaker corresponding to the portion of the flexible display on which the video is displayed. Using the identified at least one speaker, the processor may output audio corresponding to the video of operation 1310. While controlling the at least one speaker, the processor may refrain from controlling other speakers among the plurality of speakers. When controlling the plurality of speakers based on operation 1340, the processor may assign each of the audio channels corresponding to the video to the plurality of speakers. The processor may assign the audio channels to the plurality of speakers based on the posture, shape, and / or orientation of the electronic device folded by the hinge assemblies.

[0164] FIG. 14 illustrates an example of a flowchart of an electronic device according to one embodiment. The electronic device (101) of FIG. 1A, FIG. 1B, and / or FIG. 2 and / or the processor (210) of FIG. 2 may perform operations described with reference to FIG. 14. At least one of the operations of FIG. 14 may be related to at least one of the operations of FIG. 12 to FIG. 13. At least one of the operations of FIG. 14 may be related to operations of the first electronic device (101-1) to the second electronic device (101-2) described with reference to FIG. 7A to FIG. 7B.

[0165] In the following examples, the operations may be performed sequentially, but are not necessarily sequential. For example, the order of the operations may be changed, and at least two operations may be performed in parallel.

[0166] Referring to FIG. 14, in operation (1410), according to one embodiment, a processor of an electronic device may display videos through flat portions of the electronic device. For example, the processor may independently display videos through a first portion having a cover display (e.g., cover display (152) of FIG. 1A) and a second portion having a flexible display (e.g., flexible display (150) of FIG. 1A).

[0167] Referring to FIG. 14, in operation 1420, a processor of an electronic device according to an embodiment may provide at least one of audio signals of each of the videos to speakers. The speakers of operation 1420 may include the first speaker 161 to the fourth speaker 164 of FIGS. 1A, 1B, and 2. The audio signals of operation 1420 may correspond to respective audio channels corresponding to the videos. The processor may determine a mapping between the speakers and the videos based on locations within the electronic device where the videos are displayed. Based on the mapping, the processor may provide an audio signal corresponding to a first video to a speaker adjacent to a first portion of the electronic device where the first video is displayed, and may provide an audio signal corresponding to a second video to a speaker adjacent to a second portion of the electronic device where the second video is displayed.

[0168] Referring to FIG. 14, in operation (1430), according to one embodiment, a processor of an electronic device may identify an external electronic device including a speaker. The external electronic device of operation (1430) may include the external electronic device (242) of FIG. 2. The processor may identify the external electronic device paired with the electronic device using a communication circuit (e.g., the communication circuit (240) of FIG. 2). In a state where an external electronic device, such as a wireless earphone for providing audio, is identified (1430 - Yes), the processor may perform operation (1440). Prior to identifying the external electronic device (1430 - No), the processor may output audio signals corresponding to videos using the speakers based on operations (1410, 1420).

[0169] Referring to FIG. 14, in operation 1440, a processor of an electronic device according to one embodiment may identify a location of an external electronic device with respect to the electronic device. The processor may identify the location of the external electronic device using a radio signal based on UWB. For example, the processor may receive a radio signal for identifying a location of the external electronic device via spaced apart UWB antennas. Using a phase difference identified by the UWB antennas receiving the radio signal, the processor may identify the location of operation 1440. The location of operation 1440 may include a relative location and / or orientation of the external electronic device with respect to the electronic device.

[0170] Referring to FIG. 14, in operation (1450), according to one embodiment, a processor of an electronic device may provide an audio signal corresponding to one of the videos to an external electronic device based on a location of the external electronic device. For example, the electronic device may transmit an audio signal corresponding to a video displayed in a portion adjacent to the external electronic device among the portions of operation (1410) to the external electronic device. While transmitting the audio signal to the external electronic device, the processor may stop controlling a speaker using the audio signal transmitted to the external electronic device.

[0171] As described above, according to one embodiment, the electronic device can adjust the relationship between audio channels and speakers based on the folding of the folding axes. Based on the relationship, the electronic device can adjust the audio to be output through each speaker based on the positional relationship between the speakers that change between different postures and the position of the video within the flexible display, as the electronic device includes a plurality of folding axes.

[0172] FIG. 15 is a block diagram of an electronic device (1501) within a network environment (1500) according to various embodiments. Referring to FIG. 15 , in the network environment (1500), the electronic device (1501) may communicate with the electronic device (1502) via a first network (1598) (e.g., a short-range wireless communication network), or may communicate with at least one of the electronic device (1504) or the server (1508) via a second network (1599) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (1501) may communicate with the electronic device (1504) via the server (1508). According to one embodiment, the electronic device (1501) may include a processor (1520), a memory (1530), an input module (1550), an audio output module (1555), a display module (1560), an audio module (1570), a sensor module (1576), an interface (1577), a connection terminal (1578), a haptic module (1579), a camera module (1580), a power management module (1588), a battery (1589), a communication module (1590), a subscriber identification module (1596), or an antenna module (1597). In some embodiments, the electronic device (1501) may omit at least one of these components (e.g., the connection terminal (1578)), or may have one or more other components added. In some embodiments, some of these components (e.g., sensor module (1576), camera module (1580), or antenna module (1597)) may be integrated into a single component (e.g., display module (1560)).

[0173] The processor (1520) may, for example, execute software (e.g., a program (1540)) to control at least one other component (e.g., a hardware or software component) of the electronic device (1501) connected to the processor (1520) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (1520) may store commands or data received from other components (e.g., a sensor module (1576) or a communication module (1590)) in a volatile memory (1532), process the commands or data stored in the volatile memory (1532), and store result data in a non-volatile memory (1534). According to one embodiment, the processor (1520) may include a main processor (1521) (e.g., a central processing unit or an application processor) or an auxiliary processor (1523) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (1521). For example, when the electronic device (1501) includes the main processor (1521) and the auxiliary processor (1523), the auxiliary processor (1523) may be configured to use less power than the main processor (1521) or to be specialized for a given function. The auxiliary processor (1523) may be implemented separately from the main processor (1521) or as a part thereof.

[0174] The auxiliary processor (1523) may control at least a portion of functions or states associated with at least one component (e.g., the display module (1560), the sensor module (1576), or the communication module (1590)) of the electronic device (1501), for example, on behalf of the main processor (1521) while the main processor (1521) is in an inactive (e.g., sleep) state, or together with the main processor (1521) while the main processor (1521) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (1523) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (1580) or a communication module (1590)). In one embodiment, the auxiliary processor (1523) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (1501) where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (1508)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.

[0175] The memory (1530) can store various data used by at least one component (e.g., the processor (1520) or the sensor module (1576)) of the electronic device (1501). The data can include, for example, software (e.g., the program (1540)) and input data or output data for commands related thereto. The memory (1530) can include volatile memory (1532) or non-volatile memory (1534).

[0176] The program (1540) may be stored as software in memory (1530) and may include, for example, an operating system (1542), middleware (1544), or an application (1546).

[0177] The input module (1550) can receive commands or data to be used in a component of the electronic device (1501) (e.g., a processor (1520)) from an external source (e.g., a user) of the electronic device (1501). The input module (1550) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

[0178] The audio output module (1555) can output audio signals to the outside of the electronic device (1501). The audio output module (1555) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.

[0179] The display module (1560) can visually provide information to an external party (e.g., a user) of the electronic device (1501). The display module (1560) may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling the device. In one embodiment, the display module (1560) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.

[0180] The audio module (1570) can convert sound into an electrical signal, or vice versa. According to one embodiment, the audio module (1570) can acquire sound through the input module (1550), output sound through the sound output module (1555), or an external electronic device (e.g., electronic device (1502)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (1501).

[0181] The sensor module (1576) can detect the operating status (e.g., power or temperature) of the electronic device (1501) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (1576) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0182] The interface (1577) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (1501) with an external electronic device (e.g., the electronic device (1502)). In one embodiment, the interface (1577) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

[0183] The connection terminal (1578) may include a connector through which the electronic device (1501) may be physically connected to an external electronic device (e.g., the electronic device (1502)). In one embodiment, the connection terminal (1578) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0184] The haptic module (1579) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. In one embodiment, the haptic module (1579) may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

[0185] The camera module (1580) can capture still images and videos. In one embodiment, the camera module (1580) may include one or more lenses, image sensors, image signal processors, or flashes.

[0186] The power management module (1588) can manage the power supplied to the electronic device (1501). According to one embodiment, the power management module (1588) can be implemented as at least a part of, for example, a power management integrated circuit (PMIC).

[0187] A battery (1589) may power at least one component of the electronic device (1501). In one embodiment, the battery (1589) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0188] The communication module (1590) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (1501) and an external electronic device (e.g., electronic device (1502), electronic device (1504), or server (1508)), and the performance of communication through the established communication channel. The communication module (1590) may operate independently from the processor (1520) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (1590) may include a wireless communication module (1592) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (1594) (e.g., a local area network (LAN) communication module, or a power line communication module). Any of these communication modules may communicate with an external electronic device (1504) via a first network (1598) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (1599) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a local area network or a wide area network)). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (1592) may use subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (1596) to verify or authenticate the electronic device (1501) within a communication network such as the first network (1598) or the second network (1599).

[0189] The wireless communication module (1592) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimizing terminal power and connecting multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency communications (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (1592) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (1592) may support various technologies for securing performance in high-frequency bands, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (1592) may support various requirements specified in the electronic device (1501), an external electronic device (e.g., the electronic device (1504)), or a network system (e.g., the second network (1599)). According to one embodiment, the wireless communication module (1592) may support a peak data rate (e.g., 20 Gbps or more) for eMBB implementation, a loss coverage (e.g., 164 dB or less) for mMTC implementation, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC implementation.

[0190] The antenna module (1597) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (1597) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (1597) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (1598) or the second network (1599), may be selected from the plurality of antennas by, for example, the communication module (1590). A signal or power may be transmitted or received between the communication module (1590) and the external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (1597).

[0191] According to various embodiments, the antenna module (1597) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band.

[0192] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).

[0193] According to one embodiment, commands or data may be transmitted or received between the electronic device (1501) and an external electronic device (1504) via a server (1508) connected to a second network (1599). Each of the external electronic devices (1502 or 1504) may be the same or a different type of device as the electronic device (1501). According to one embodiment, all or part of the operations executed in the electronic device (1501) may be executed in one or more of the external electronic devices (1502, 1504, or 1508). For example, when the electronic device (1501) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (1501) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (1501). The electronic device (1501) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (1501) may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device (1504) may include an Internet of Things (IoT) device. The server (1508) may be an intelligent server utilizing machine learning and / or a neural network.According to one embodiment, an external electronic device (1504) or server (1508) may be included within the second network (1599). The electronic device (1501) may be applied to intelligent services (e.g., smart homes, smart cities, smart cars, or healthcare) based on 5G communication technology and IoT-related technology.

[0194] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.

[0195] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.

[0196] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

[0197] Various embodiments of the present document may be implemented as software (e.g., a program (1540)) including one or more instructions stored in a storage medium (e.g., an internal memory (1536) or an external memory (1538)) readable by a machine (e.g., an electronic device (1501)). For example, a processor (e.g., a processor (1520)) of the machine (e.g., an electronic device (1501)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.

[0198] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as included in a computer program product. The computer program product may be traded as a commodity between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

[0199] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and arranged in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

[0200] In one embodiment, a method may be required to change the audio channels output through speakers based on the posture of the electronic device and / or the flexible display. According to one embodiment of the present invention, an electronic device (e.g., an electronic device (101) of FIGS. 1A to 9) as described above comprises a first housing (e.g., a first housing (111) of FIGS. 1A to 11), a first speaker (e.g., a first speaker (161) of FIGS. 1A to 11) disposed in the first housing, a second housing (e.g., a second housing (112) of FIGS. 1A to 11), a first hinge assembly (e.g., a first hinge assembly (121) of FIGS. 1A to 8) for rotatably coupling the first housing and the second housing, a third housing (e.g., a third housing (113) of FIGS. 1A to 11), a second speaker (e.g., a second speaker (162) of FIGS. 1A to 11) disposed in the third housing, and a second housing and a third housing for rotatably coupling the second housing and the third housing. It may include a second hinge assembly for coupling (e.g., the second hinge assembly (122) of FIGS. 1A to 8), a flexible display (e.g., the flexible display (150) of FIGS. 1A to 11) arranged from the first housing across the first hinge assembly, the second housing and the second hinge assembly to the third housing, one or more sensors (e.g., the sensor (230) of FIG. 2) and a memory storing executable instructions (e.g., the memory (215) of FIG. 2), and at least one processor (e.g., the processor (210) of FIG. 2) for accessing the memory and executing the instructions.The at least one processor may be configured to, while displaying a video on the flexible display, use the one or more sensors to identify a first angle at which the first housing and the second housing are folded relative to the first hinge assembly (e.g., the first angle (141) of FIGS. 1A to 6B) and a second angle at which the second housing and the third housing are folded relative to the second hinge assembly (e.g., the second angle (142) of FIGS. 1A to 6B). The at least one processor may be configured to control the first speaker to output the audio channel corresponding to the first speaker and to control the second speaker to output the audio channel corresponding to the second speaker based on at least one of the identified first angle or the identified second angle.

[0201] For example, the at least one processor may be configured to identify speakers corresponding to each of the audio channels associated with the video, among the first speaker and the second speaker, based on at least one of the first angle or the second angle.

[0202] For example, the at least one processor may be configured to control the speaker to output the audio channel corresponding to the first speaker based on identifying an audio channel corresponding to the first speaker among the audio channels.

[0203] For example, the at least one processor may be configured to control the second speaker to output the audio channel corresponding to the second speaker based on identifying an audio channel corresponding to the second speaker among the audio channels.

[0204] According to one embodiment of the present invention, an electronic device (e.g., an electronic device (101) of FIGS. 1A to 9) as described above comprises a first housing (e.g., a first housing (111) of FIGS. 1A to 11), a first speaker (e.g., a first speaker (161) of FIGS. 1A to 11) disposed in the first housing, a second housing (e.g., a second housing (112) of FIGS. 1A to 11), a first hinge assembly (e.g., a first hinge assembly (121) of FIGS. 1A to 8) for rotatably coupling the first housing and the second housing, a third housing (e.g., a third housing (113) of FIGS. 1A to 11), a second speaker (e.g., a second speaker (162) of FIGS. 1A to 11) disposed in the third housing, and a second housing and a third housing for rotatably coupling the second housing and the third housing. A second hinge assembly for coupling (e.g., the second hinge assembly (122) of FIGS. 1A to 8), a flexible display (e.g., the flexible display (150) of FIGS. 1A to 11) arranged from the first housing across the first hinge assembly, the second housing, and the second hinge assembly to the third housing, may be included, one or more sensors (e.g., the sensor (230) of FIG. 2) and a processor (e.g., the processor (210) of FIG. 2). The processor may be configured to, within a state of displaying a video on the flexible display, use the one or more sensors to identify a first angle at which the first housing and the second housing are folded relative to the first hinge assembly (e.g., a first angle (141) of FIGS. 1A to 6B) and a second angle at which the second housing and the third housing are folded relative to the second hinge assembly (e.g., a second angle (142) of FIGS. 1A to 6B).The processor may be configured to identify speakers corresponding to each of the audio channels associated with the video, among the first speaker and the second speaker, based on at least one of the first angle or the second angle. The processor may be configured to control the first speaker to output the audio channel corresponding to the first speaker based on identifying the audio channel corresponding to the first speaker among the audio channels. The processor may be configured to control the second speaker to output the audio channel corresponding to the second speaker based on identifying the audio channel corresponding to the second speaker among the audio channels. In one embodiment, the electronic device may adjust the relationship between audio channels and speakers based on an angle between housings.

[0205] For example, the processor may be configured to identify a speaker corresponding to each of the audio channels, among the first speaker or the second speaker, by comparing a specified angular range corresponding to a state in which a flat surface is formed by housings connected through a hinge assembly with the first angle or the second angle.

[0206] For example, the processor may be configured to assign one of the audio channels for stereo to the first speaker and another of the audio channels to the second speaker based on an orientation of the video displayed within the flexible display, based on identifying the first angle and the second angle within the specified angular range.

[0207] For example, the processor may be configured to refrain from controlling the second speaker using at least one of the audio channels based on identifying the first angle within the specified angular range and the second angle less than the specified angular range.

[0208] For example, the processor may be configured to display the video on a portion of the flexible display disposed on the first housing and the second housing, among portions of the flexible display separated by the second hinge assembly that are folded less than the specified angular range.

[0209] For example, the processor may be configured to display a visual object (e.g., a visual object (615)) for moving the video from a first portion of the flexible display (e.g., the first portion (611) of FIG. 6A) on which the video is displayed to a second portion of the flexible display (e.g., the second portion (612) of FIG. 6A) separated by the second hinge assembly. The processor may be configured to change a location within the flexible display on which the video is displayed from the first portion to the second portion in response to an input indicating selection of the visual object. The processor may be configured to control the second speaker by interfacing an audio channel output through the first speaker among the audio channels with the second speaker among the first speaker or the second speaker.

[0210] For example, the processor may be configured to control the first speaker and the second speaker using a volume less than a specified volume based on identifying the first angle and the second angle less than the specified angular range.

[0211] For example, the electronic device may include a cover display (e.g., the cover display 152 of FIG. 1A) disposed on a second side of the first housing, opposite the first side of the first housing on which a portion of the flexible display is disposed. The processor may be configured to display the first video on a portion corresponding to the first housing among portions of the flexible display separated by the first hinge assembly folded by the first angle, based on identifying the first angle that decreases below the specified angle range while displaying a first video on the flexible display and a second video on the cover display. The processor may be configured to control the first speaker to output at least one of audio channels corresponding to the second video. The processor may be configured to control the second speaker to output at least one of audio channels corresponding to the first video.

[0212] For example, the electronic device may include a third speaker (e.g., a third speaker (163) of FIGS. 1A to 11) disposed at a second edge of the first housing opposite a first edge of the first housing where the first speaker is disposed, and a fourth speaker (e.g., a fourth speaker (164) of FIGS. 1A to 11) disposed at a fourth edge of the third housing opposite a third edge of the third housing where the second speaker is disposed. The processor may be configured to control the first speaker and the third speaker by interlocking each of the audio channels corresponding to the first video with the first speaker and the third speaker. The processor may be configured to control the second speaker and the fourth speaker by interlocking each of the audio channels corresponding to the second video with the second speaker and the fourth speaker.

[0213] For example, the electronic device may include a communication circuit (e.g., the communication circuit 240 of FIG. 2). The processor may be configured to identify a location of an external electronic device (e.g., the external electronic device 242 of FIG. 2) with respect to the electronic device, using a first wireless signal associated with an ultra-wide band (UWB), based on identifying an external electronic device for outputting an audio channel. The processor may be configured to transmit, using the communication circuit, a second wireless signal for transmitting at least one of the audio channels corresponding to the second video to the external electronic device, based on identifying a location of the external electronic device adjacent to the cover display among the cover display and the flexible display. The processor may be configured to refrain from controlling the first speaker while the second wireless signal is being transmitted.

[0214] For example, the processor may be configured to, in response to an input associated with a designated button (e.g., buttons (810) of FIG. 8), display a first visual object for adjusting the volume of the audio channels corresponding to the first video on the flexible display, and display a second visual object for adjusting the volume of the audio channels corresponding to the second video on the cover display.

[0215] According to one embodiment, a method of an electronic device as described above may include, while a video is displayed on a flexible display of the electronic device, an operation (e.g., operation 1210 of FIG. 12 ) of using one or more sensors of the electronic device to identify a first angle at which a first housing and a second housing of the electronic device are folded with respect to a first hinge assembly and a second angle at which the second housing and a third housing of the electronic device are folded with respect to a second hinge assembly. The method may include an operation (e.g., operation 1220 of FIG. 12 ) of identifying speakers corresponding to each of audio channels associated with the video, from among a first speaker disposed in the first housing or a second speaker disposed in the third housing, based on at least one of the first angle or the second angle. The method may include an operation of controlling the first speaker to output the audio channel corresponding to the first speaker based on identifying an audio channel corresponding to the first speaker from among the audio channels. The method may include an operation of controlling the second speaker to output the audio channel corresponding to the second speaker based on identifying an audio channel corresponding to the second speaker among the audio channels.

[0216] For example, the act of identifying speakers corresponding to each of the audio channels may include comparing a specified angular range associated with a flat state of a portion of the flexible display disposed on two housings connected via a hinge assembly with the first angle or the second angle, and identifying the speaker corresponding to each of the audio channels, among the first speaker or the second speaker.

[0217] For example, the act of identifying speakers corresponding to each of the audio channels may include an act of assigning one of the audio channels for stereo to the first speaker and another of the audio channels to the second speaker, based on an orientation of the video displayed within the flexible display, based on identifying the first angle and the second angle included in the specified angular range.

[0218] For example, the method may include an action of refraining from controlling the second speaker using at least one of the audio channels based on identifying the first angle within the specified angular range and the second angle less than the specified angular range.

[0219] For example, the above-described folding motion may include an action of displaying the video on a portion of the flexible display disposed on the first housing and the second housing, among portions of the flexible display separated by the second hinge assembly that are folded less than the specified angular range.

[0220] For example, the act of refraining may include an act of displaying a visual object for moving the video from a first portion of the flexible display where the video is displayed to a second portion of the flexible display where the video is separated by the second hinge assembly. The method may include an act of changing a location within the flexible display where the video is displayed from the first portion to the second portion in response to an input indicating selection of the visual object. The method may include an act of controlling the second speaker by linking an audio channel output through the first speaker among the audio channels with the second speaker among the first speaker or the second speaker.

[0221] For example, the method may include an operation of controlling the first speaker and the second speaker using a volume less than a specified volume based on identifying the first angle and the second angle less than the specified angular range.

[0222] For example, the method may include displaying a first video on the flexible display and displaying a second video on a cover display disposed on a second side of the first housing, opposite the first side of the first housing on which the flexible display is disposed. The method may include displaying the first video on a portion corresponding to the first housing among portions of the flexible display separated by the first hinge assembly folded by the first angle, based on identifying the first angle that decreases below the specified angle range within a state of displaying the first video and the second video. The method may include controlling the first speaker to output at least one of audio channels corresponding to the second video. The method may further include controlling the second speaker to output at least one of audio channels corresponding to the first video.

[0223] According to one embodiment of the present invention, an electronic device (e.g., an electronic device (101) of FIGS. 1A to 9) as described above comprises a first housing (e.g., a first housing (111) of FIGS. 1A to 11), a first speaker (e.g., a first speaker (161) of FIGS. 1A to 11) disposed in the first housing, a second housing (e.g., a second housing (112) of FIGS. 1A to 11), a first hinge assembly (e.g., a first hinge assembly (121) of FIGS. 1A to 8) for rotatably coupling the first housing and the second housing, a third housing (e.g., a third housing (113) of FIGS. 1A to 11), a second speaker (e.g., a second speaker (162) of FIGS. 1A to 11) disposed in the third housing, and a second housing and a third housing for rotatably coupling the second housing and the third housing. A flexible display (e.g., a flexible display (150) of FIGS. 1A to 11) arranged from the first housing across the first hinge assembly, the second housing, and the second hinge assembly to the third housing may include a second hinge assembly for coupling (e.g., a second hinge assembly (122) of FIGS. 1A to 8), one or more sensors (e.g., a sensor (230) of FIG. 2) and a processor (e.g., a processor (210) of FIG. 2). The processor may be configured to identify, based on the one or more sensors, a motion in which the flexible display folds relative to either the first hinge assembly or the second hinge assembly, within a state in which a video is displayed on the flexible display. The processor may be configured to display the video on a second portion, which is larger than the first portion, among the flat portions of the flexible display separated by the hinge assembly folded by the motion, based on the motion.The processor may be configured to control either the first speaker or the second speaker to output audio related to the video through a speaker included in a housing corresponding to the second portion of the first housing or the third housing in which the video is displayed.

[0224] For example, the processor may be configured to display the video on a flat portion of the flexible display formed on the first housing, the second housing, and the third housing prior to identifying the motion. The processor may be configured to control the first speaker and the second speaker by interfacing each of the audio channels of the audio with the first speaker and the second speaker to reproduce the audio based on stereo.

[0225] For example, the processor may be configured to identify, based on the one or more sensors, a second motion in which the flexible display folds relative to a hinge assembly different from the hinge assembly corresponding to the first motion while displaying the video on the second portion based on the first motion. The processor may be configured to display, based on the second motion, the video on a portion of the flexible display corresponding to the second housing and control both the first speaker and the second speaker to a volume below a designated volume.

[0226] For example, the processor may be configured to identify directions of gravity applied to the second portion of the flexible display based on the one or more sensors. The processor may be configured to display the video on the first portion of the portions based on identifying that a direction toward which the second portion of the flexible display faces corresponds to a direction of gravity applied to the second portion.

[0227] For example, the processor may be configured to reduce the volume of the audio output through at least one of the first speaker or the second speaker based on identifying that the size of the flexible display on which the video is displayed has been reduced by the motion.

[0228] According to one embodiment of the present invention, a method of an electronic device as described above may include an operation (e.g., operation 1320 of FIG. 13 ) of identifying, based on one or more sensors of the electronic device, a motion in which the flexible display folds relative to one of a plurality of hinge assemblies of the electronic device while the flexible display is in a state of displaying a video on the flexible display of the electronic device. The method may include an operation (e.g., operation 1330 of FIG. 13 ) of displaying, based on the motion, the video on a second portion of the flexible display, which is larger than a first portion, among flat portions of the flexible display defined by the hinge assembly folded by the motion. The method may include an operation (e.g., operation 1340 of FIG. 13 ) of controlling one of the first speaker or the second speaker to output audio related to the video through a speaker included in a housing corresponding to the second portion of the first housing or the third housing on which the video is displayed.

[0229] For example, the identifying action may include, prior to identifying the motion, displaying the video on a flat portion of the flexible display formed on the first housing, the second housing, and the third housing of the electronic device. The plurality of hinge assemblies may include a first hinge assembly rotatably connecting the first housing and the second housing, and a second hinge assembly rotatably connecting the second housing and the third housing. The identifying action may include an action of controlling the first speaker and the second speaker by linking each of the audio channels of the audio with the first speaker and the second speaker to reproduce the audio based on stereo.

[0230] For example, the method may include an operation of identifying, based on the one or more sensors, a second motion in which the flexible display folds relative to a hinge assembly different from a hinge assembly corresponding to the first motion while displaying the video on the second portion based on the first motion. The method may include an operation of displaying, based on the second motion, the video on a portion of the flexible display corresponding to the second housing, and controlling both the first speaker and the second speaker to a volume below a specified volume.

[0231] For example, the method may include an operation of identifying directions of gravity applied to the second portion of the flexible display based on the one or more sensors. The method may further include an operation of displaying the video on the first portion among the portions based on identifying that a direction in which the second portion of the flexible display faces corresponds to a direction of the gravity applied to the second portion.

[0232] For example, the controlling action may include an action of reducing the volume of the audio output through at least one of the first speaker or the second speaker based on identifying that the size of the flexible display on which the video is displayed has been reduced by the motion.

[0233] The devices described above may be implemented as hardware components, software components, and / or a combination of hardware components and software components. For example, the devices and components described in the embodiments may be implemented using one or more general-purpose computers or special-purpose computers, such as a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), a programmable logic unit (PLU), a microprocessor, or any other device capable of executing instructions and responding to them. The processing device may execute an operating system (OS) and one or more software applications running on the operating system. The processing device may also access, store, manipulate, process, and generate data in response to the execution of the software. For ease of understanding, the processing device is sometimes described as being used alone; however, one of ordinary skill in the art will recognize that the processing device may include multiple processing elements and / or multiple types of processing elements. For example, a processing unit may include multiple processors, or a processor and a controller. Other processing configurations, such as parallel processors, are also possible.

[0234] Software may include a computer program, code, instructions, or a combination of one or more of these, which may configure a processing device to perform a desired operation or may independently or collectively command the processing device. The software and / or data may be embodied in any type of machine, component, physical device, computer storage medium, or device for interpretation by the processing device or for providing instructions or data to the processing device. The software may also be distributed over networked computer systems and stored or executed in a distributed manner. The software and data may be stored on one or more computer-readable recording media.

[0235] The method according to the embodiment may be implemented in the form of program commands that can be executed through various computer means and recorded on a computer-readable medium. In this case, the medium may be one that continuously stores a computer-executable program or one that temporarily stores it for execution or download. In addition, the medium may be various recording means or storage means in the form of a single or multiple hardware combinations, and is not limited to a medium directly connected to a computer system, but may also be distributed over a network. Examples of the medium may include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical recording media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and those configured to store program commands, including ROM, RAM, and flash memory. In addition, examples of other media may include recording media or storage media managed by app stores that distribute applications, sites that supply or distribute various software, servers, etc.

[0236] Although the embodiments described above have been described by way of limited examples and drawings, those skilled in the art will appreciate that various modifications and variations can be made based on the above teachings. For example, appropriate results can still be achieved even if the described techniques are performed in a different order than described, and / or components of the described systems, structures, devices, circuits, etc. are combined or combined in a different manner than described, or are replaced or substituted with other components or equivalents.

[0237] Therefore, other implementations, other embodiments, and equivalents to the claims also fall within the scope of the claims described below.

Claims

1. In an electronic device (101), First housing (111); A first speaker (161) arranged in the first housing; Second housing (112); A first hinge assembly (121) for rotatably connecting the first housing and the second housing; Third Housing (113); A second speaker (162) placed in the third housing; A second hinge assembly (122) for rotatably connecting the second housing and the third housing; A flexible display (150) arranged from the first housing across the first hinge assembly, the second housing and the second hinge assembly to the third housing; one or more sensors (230); and A memory comprising one or more storage media for storing instructions; At least one processor (210) including a processing circuit, wherein the instructions, when individually and / or collectively executed by the at least one processor, the electronic device, Within a state of displaying a video on the flexible display, using the one or more sensors, the first angle (141) at which the first housing and the second housing are folded relative to the first hinge assembly and the second angle (142) at which the second housing and the third housing are folded relative to the second hinge assembly are identified; Controlling the first speaker to output the audio channel corresponding to the first speaker, and controlling the second speaker to output the audio channel corresponding to the second speaker, based on at least one of the identified first angle or the second angle. Electronic devices.

2. In claim 1, the instructions, when individually and / or collectively executed by the at least one processor, cause the electronic device to: A specified angular range corresponding to a state in which a flat surface is formed by housings connected through a hinge assembly is compared with the first angle or the second angle, thereby causing a speaker corresponding to each of the audio channels to be identified among the first speaker or the second speaker. Electronic devices.

3. In any one of claims 1 to 2, the instructions, when individually and / or collectively executed by the at least one processor, cause the electronic device to: Based on identifying the first angle and the second angle included in the specified angular range, causing one of the audio channels for stereo to be assigned to the first speaker and another of the audio channels to the second speaker, based on the direction of the video displayed within the flexible display. Electronic devices.

4. In any one of claims 1 to 3, the instructions, when individually and / or collectively executed by the at least one processor, cause the electronic device to: Refrain from controlling the second speaker using at least one of the audio channels based on identifying the first angle included in the specified angular range and the second angle less than the specified angular range. Electronic devices.

5. In any one of claims 1 to 4, the instructions, when individually and / or collectively executed by the at least one processor, cause the electronic device to: Causing the video to be displayed on the portion of the flexible display, which is separated by the second hinge assembly, among the portions of the flexible display that are folded less than the specified angle range, and which are disposed on the first housing and the second housing. Electronic devices.

6. In any one of claims 1 to 5, the instructions, when individually and / or collectively executed by the at least one processor, cause the electronic device to: Displaying a visual object (615) for moving the video to a second part (612) of the flexible display separated by the second hinge assembly on the first part (611) of the flexible display on which the video is displayed; In response to an input indicating selection of said visual object, changing the location within said flexible display where said video is displayed from said first portion to said second portion; and Causing an audio channel output through the first speaker among the above audio channels to be linked with the second speaker among the first speaker or the second speaker, thereby controlling the second speaker. Electronic devices.

7. In any one of claims 1 to 6, the instructions, when individually and / or collectively executed by the at least one processor, cause the electronic device to: Based on identifying the first angle and the second angle less than the specified angle range, causing the first speaker and the second speaker to be controlled using a volume less than the specified volume. Electronic devices.

8. In any one of claims 1 to 7, Further comprising a cover display (152) disposed on a second side of the first housing, opposite to the first side of the first housing on which a part of the flexible display is disposed, The above instructions, when individually and / or collectively executed by the at least one processor, cause the electronic device to: In a state of displaying a first video on the flexible display and displaying a second video on the cover display, based on identifying the first angle that decreases below the specified angle range, displaying the first video on a portion corresponding to the first housing among portions of the flexible display separated by the first hinge assembly folded by the first angle; Controlling the first speaker to output at least one of the audio channels corresponding to the second video; and causing said second speaker to be controlled to output at least one of the audio channels corresponding to said first video; Electronic devices.

9. In any one of claims 1 to 8, A third speaker (163) arranged on a second edge of the first housing opposite to the first edge of the first housing where the first speaker is arranged; and Further comprising a fourth speaker (164) arranged on a fourth edge of the third housing opposite to the third edge of the third housing where the second speaker is arranged, The above instructions, when individually and / or collectively executed by the at least one processor, cause the electronic device to: Controlling the first speaker and the third speaker by linking each of the audio channels corresponding to the first video with the first speaker and the third speaker; and Causing each of the audio channels corresponding to the second video to be linked to the second speaker and the fourth speaker, thereby controlling the second speaker and the fourth speaker. Electronic devices.

10. In any one of claims 1 to 9, further comprising a communication circuit (240), The above instructions, when individually and / or collectively executed by the at least one processor, cause the electronic device to: Identifying an external electronic device (242) for outputting an audio channel, using a first wireless signal related to ultra-wide band (UWB), identifying a location of the external electronic device with respect to the electronic device; A second wireless signal for transmitting at least one of the audio channels corresponding to the second video to the external electronic device is transmitted using the communication circuit based on identifying a location of the external electronic device adjacent to the cover display among the cover display and the flexible display; To cause, while the second wireless signal is being transmitted, to refrain from controlling the first speaker; Electronic devices.

11. In any one of claims 1 to 10, the instructions, when individually and / or collectively executed by the at least one processor, cause the electronic device to: In response to an input associated with a designated button (810), causing a first visual object for adjusting the volume of the audio channels corresponding to the first video to be displayed on the flexible display, and a second visual object for adjusting the volume of the audio channels corresponding to the second video to be displayed on the cover display. Electronic devices.

12. In any one of claims 1 to 11, the instructions, when individually and / or collectively executed by the at least one processor, cause the electronic device to: Identifying speakers corresponding to each of the audio channels associated with the video among the first speaker and the second speaker, based on at least one of the first angle and the second angle; Controlling the speaker to output the audio channel corresponding to the first speaker based on identifying the audio channel corresponding to the first speaker among the audio channels, and Based on identifying an audio channel corresponding to the second speaker among the above audio channels, causing the second speaker to be controlled to output the audio channel corresponding to the second speaker. Electronic devices.

13. In the method of an electronic device, An operation (1210) of identifying, by using one or more sensors of the electronic device, a first angle at which the first housing and the second housing of the electronic device are folded relative to the first hinge assembly and a second angle at which the second housing and the third housing of the electronic device are folded relative to the second hinge assembly, within a state of displaying a video on the flexible display of the electronic device; An operation (1220) of identifying speakers corresponding to each of the audio channels associated with the video, based on at least one of the first angle or the second angle, among the first speaker disposed in the first housing or the second speaker disposed in the third housing; An operation of controlling the first speaker to output the audio channel corresponding to the first speaker based on identifying an audio channel corresponding to the first speaker among the audio channels; and An operation of controlling the second speaker to output the audio channel corresponding to the second speaker based on identifying an audio channel corresponding to the second speaker among the audio channels, method.

14. In claim 13, the operation of identifying speakers corresponding to each of the audio channels comprises: An operation of identifying a speaker corresponding to each of the audio channels, among the first speaker or the second speaker, by comparing a specified angular range related to a flat state of a portion of the flexible display disposed on two housings connected through a hinge assembly with the first angle or the second angle. method.

15. In any one of claims 13 to 14, the operation of identifying speakers corresponding to each of the audio channels comprises: An operation of assigning one of the audio channels for stereo to the first speaker and another of the audio channels to the second speaker, based on an orientation of the video displayed within the flexible display, based on identifying the first angle and the second angle included in the specified angular range. method.

Citation Information

Patent Citations

  • System for detection of abnormalities in switchboard using odor sensors

    KR1020200130671A

  • Radar device

    KR1020230105399A

  • Sludge dewatering system using screw press pressure

    KR1020240002597A

  • Display apparatus and operation method thereof

    US20220187871A1

  • KR20210086267A