Directional sound production control method and device
By dividing and adjusting the sound zone group in directional sound technology, the sound pressure difference problem of users in non-center positions is solved, and better audio output effect is achieved.
Patent Information
- Application Number
- CN202411102996.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-11-01
AI Technical Summary
When the user is not in the center of the sound panel, the existing directional sound technology cannot effectively control the sound channel, resulting in a large difference in the sound pressure level of the user's left and right ears, affecting the normal listening of the sound.
By determining the target position of the user relative to the sound panel, the first sound zone group and the second sound zone group are divided from multiple sound zones to ensure that the number of sound zones of the two groups is the same, and the audio output of each sound zone is adjusted according to the user's position. to reduce sound pressure difference.
It realizes the clarity of sound during user movement, reduces the sound pressure difference between left and right ears, and improves the audio output effect.
Smart Images

Figure CN118890580A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of control technology, and in particular to a directional sound control method and device. Background Art
[0002] The application of directional sound technology is becoming more and more widespread. Under the premise that the electronic device supports directional sound, the electronic device can control the sound of the corresponding sound channel in the sound panel according to the user's position at the front end of the sound panel to achieve the tracking of the sound playback beam, so that the user can hear the sound normally during the movement. However, when the user is not in the center area of the sound panel, it is currently impossible to reasonably control the sound of the sound channel, resulting in a large difference in the sound pressure level between the user's left and right ears, affecting the user's normal listening to the sound. Summary of the invention
[0003] On the one hand, the present application provides a directional sound control method, which is applied to an electronic device, comprising:
[0004] Determining the user's target position relative to the sound-generating panel;
[0005] Based on the target position, a first sound emission area group and a second sound emission area group are determined from a plurality of sound emission areas of the sound emission panel, the sound emission areas are arranged longitudinally along the sound emission panel, and the plurality of sound emission areas are arranged in parallel in sequence, the first sound emission area group and the second sound emission area group are located on both sides of the target position and are adjacent to the target position, the first sound emission area group and the second sound emission area group each include at least one sound emission area, and the number of sound emission areas in the first sound emission area group and the second sound emission area group is the same, wherein when the target position is different, the number of sound emission areas in the first sound emission area group determined is not completely the same;
[0006] Each sound emission area in the first sound emission area group and the second sound emission area group is controlled to output an audio signal.
[0007] In a possible implementation, determining a first sound emission area group and a second sound emission area group from a plurality of sound emission areas of the sound emission panel based on the target position includes:
[0008] Based on the target position, determining a central sounding area corresponding to the user from a plurality of sounding areas of the sounding panel;
[0009] According to the target number and the number of sound areas on both sides of the central sound area, the first sound area group and the second sound area group located on both sides of the central sound area and adjacent to the central sound area are determined, and the number of sound areas in the first sound area group and the second sound area group does not exceed the target number, and the target number is the maximum number of sound areas in the set sound area group.
[0010] In another possible implementation, determining the first sound emission area group and the second sound emission area group located on both sides of the central sound emission area and adjacent to the central sound emission area according to the target number and the number of sound emission areas on both sides of the central sound emission area respectively includes:
[0011] If there are no less than the target number of other sound emission areas on both sides of the central sound emission area, determine a first sound emission area group and a second sound emission area group located on both sides of the central sound emission area and adjacent to the central sound emission area, wherein the first sound emission area group and the second sound emission area group both include the target number of sound emission areas;
[0012] If the total number of other sound emission areas located on one side of the central sound emission area is not less than 1 but less than the target number, based on the total number, determine the first sound emission area group and the second sound emission area group located on both sides of the central sound emission area and adjacent to the central sound emission area, and the first sound emission area group and the second sound emission area group both have the total number of sound emission areas.
[0013] In another possible implementation, the sound-emitting panel is located on an upper layer of a display unit of the electronic device, and the display unit can rotate around a rotating component;
[0014] Determining the target position of the user relative to the sound-emitting panel includes:
[0015] When the display unit is in a target posture, a target position of a user relative to the display unit is determined, wherein when the display unit is in the target posture, a shorter side of the display unit is parallel to an image presentation direction of an image presented by the display unit.
[0016] In yet another possible implementation, determining a target position of the user relative to the sound-emitting panel includes:
[0017] Determining a target offset direction and a target offset position of a user relative to a longitudinal centerline of the sound-emitting panel;
[0018] The determining, based on the target position, a first sound emission area group and a second sound emission area group from a plurality of sound emission areas of the sound emission panel comprises:
[0019] Based on the target offset direction and the target offset position, a target sound area combination is determined from a sound matrix table corresponding to multiple sound areas of the sound panel, wherein the sound matrix table includes sound area combinations corresponding to different offset directions and offset positions, and the target sound area combination includes a first sound area group and a second sound area group.
[0020] In yet another possible implementation, the plurality of sound emission areas include: a plurality of first sound emission areas and a plurality of second sound emission areas;
[0021] The first sound emission area and the second sound emission area have different widths;
[0022] The first sound emission area group and the second sound emission area group include the same number of first sound emission areas, and the first sound emission area group and the second sound emission area group include the same number of second sound emission areas.
[0023] In another possible implementation, the width of the second sound emission area is a target multiple of the width of the first sound emission area, and the target multiple is a value greater than 1;
[0024] Also includes:
[0025] Obtaining a reference head width of a user of the sound-emitting panel;
[0026] Determining a width of a first sound emission area in the sound emission panel based on the head reference width and the width of the sound emission panel;
[0027] Based on the width of the first sound emission area and the target multiple, a plurality of first sound emission areas and a plurality of second sound emission areas divided in the sound emission panel are determined.
[0028] In yet another possible implementation, the method further includes:
[0029] Determining the width of each sound-generating area based on a reference width of a head of a user of the sound-generating panel;
[0030] Determining the number of sound emission zones to be set based on the width of each sound emission zone and the width of the sound emission panel;
[0031] Based on the set number of the sound emission zones, a plurality of sound emission zones divided in the sound emission panel are determined.
[0032] In another aspect, the present application further provides a directional sound control device, which is applied to an electronic device, comprising:
[0033] A position determination unit, used to determine a target position of a user relative to the sound-emitting panel;
[0034] A sound group determination unit, for determining a first sound area group and a second sound area group from a plurality of sound areas of the sound panel based on the target position, the sound areas being arranged longitudinally along the sound panel, and the plurality of sound areas being arranged in parallel in sequence, the first sound area group and the second sound area group being located on both sides of the target position and adjacent to the target position, the first sound area group and the second sound area group each including at least one sound area, and the number of sound areas in the first sound area group and the second sound area group being the same, wherein when the target position is different, the number of sound areas in the first sound area group determined is not completely the same;
[0035] The directional sound control unit is used to control each sound emission area in the first sound emission area group and the second sound emission area group to output an audio signal.
[0036] In another possible implementation, the multiple sound emission areas of the sound emission panel include: multiple first sound emission areas and multiple second sound emission areas, wherein the widths of the first sound emission areas and the second sound emission areas are different;
[0037] The first sound emission area group and the second sound emission area group determined by the sound emission group determination unit include the same number of first sound emission areas, and the first sound emission area group and the second sound emission area group include the same number of second sound emission areas. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0039] Figure 1 A schematic diagram of a flow chart of a directional sound control method provided in this application;
[0040] Figure 2 An example diagram of the arrangement of the sound-emitting areas in the sound-emitting panel provided in this application;
[0041] Figure 3 A schematic diagram of another flow chart of the directional sound control method provided in the present application;
[0042] Figures 4 to 7 respectively showing example diagrams of two sound emission area groups located on both sides of the user when the user is in different target positions relative to the sound emission panel;
[0043] Figure 8 A schematic diagram of another flow chart of the directional sound control method provided in the present application;
[0044] Fig. 9 A schematic diagram of an implementation process of determining multiple sound emission areas in a sound emission panel provided in the present application;
[0045] Fig.10 This is a distribution diagram of sound emission areas of different widths divided in a display unit with a sound emission panel in the present application;
[0046] Fig.11 The figure shows the widths and arrangement examples of two different widths of sound channels set in the screen when the screen size is 27 inches;
[0047] Figures 12 to 18 They show the relative Fig.11 Example diagrams of sound-generating areas on the screen that need to be turned on and output audio when the screen is in different positions;
[0048] Fig.19 A schematic diagram of another implementation process of determining multiple sound emission areas in a sound emission panel provided by the present application;
[0049] Fig. 20 This is an example diagram of the composition structure of each sound-emitting area in the sound-emitting panel provided on the upper layer of the display unit in the present application;
[0050] Fig.21 A schematic diagram of the structure of a directional sound control device provided in this application;
[0051] Fig. 22 A schematic diagram of the structure of an electronic device provided in this application. DETAILED DESCRIPTION
[0052] The following describes the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation method section of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
[0053] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0054] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, which is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0055] like Figure 1 , shows a flow chart of a directional sound control method provided by the present application, and the method of this embodiment can be applied to an electronic device. The electronic device has a sound panel, and the electronic device realizes directional sound control by controlling different sound areas of the sound panel to emit sound. This embodiment may include the following steps S101 to S103:
[0056] S101, determining a target position of a user relative to a sound emitting panel.
[0057] The target position is the relative position of the user to the sound panel.
[0058] In the present application, there are many possible specific implementations for determining the target position.
[0059] For example, in one possible implementation, an image acquisition device such as a camera may be provided on the side of the sound panel facing the user, and the image acquisition device is used to acquire an image of the user located in front of the sound panel. The electronic device determines the target position of the user relative to the sound panel based on the acquired user image.
[0060] In yet another possible implementation, a radar detection device is further provided on the sound-emitting panel, and the target position of the user relative to the sound-emitting panel is detected based on the radar detection device.
[0061] In the present application, the sound panel is a panel that can transmit audio outward. In order to achieve directional sound, the sound panel has multiple sound areas, where each sound area is a sound channel, and the electronic device can independently control each sound area to output audio or not output audio. For example, the sound area is provided with electrodes and diaphragms, and the electronic device plays audio outward by controlling the electrodes of the sound generator to be energized and drive the diaphragm to vibrate.
[0062] Among them, the sound areas in the sound panel are arranged longitudinally along the sound panel, and multiple sound areas are arranged in parallel in sequence. It can be understood that, under the premise that directional sound control can be achieved based on the sound panel, the sound areas on the sound panel are actually arranged in sequence in the vertical direction, so that when the user stands in front of the sound panel, each sound area is parallel to the user's standing direction, so that the multiple sound areas are arranged on the left and right sides of the user respectively.
[0063] For ease of understanding, Figure 2 As shown in FIG. 1 , an example diagram of each sound emission area arranged in the sound emission panel is shown. Figure 2 It can be seen that a plurality of sound emitting areas 202 are deployed on the sound emitting panel 201, each sound emitting area is arranged along the longitudinal direction of the sound emitting panel, and these plurality of sound emitting areas are arranged in sequence along the transverse direction of the sound emitting panel, and each sound emitting area is independent of each other, so that each sound emitting area can be independently controlled.
[0064] In the present application, the sound-emitting panel may have many possible forms, without limitation.
[0065] In a possible implementation, in order to enable an electronic device to play audio to a user in a directional manner while displaying an image according to the relative position of the user viewing the displayed image, in the present application, the sound panel can be integrated on the display unit of the electronic device, such as a transparent sound panel is covered on the outer layer of the display unit of the electronic device, and the sound panel includes an electrode layer arranged on the outer layer of the display unit, and a diaphragm covered outside the electrode layer. On this basis, the electronic device controls the electrode layer corresponding to each sounding area in the sound panel to vibrate by electrifying, which can drive the diaphragm in the corresponding area of the sounding area to vibrate.
[0066] For example, the display unit of the electronic device can be a sound-gathering screen, and the sound-emitting panel can be a panel of the sound-gathering screen. The sound-gathering screen is an innovative fusion of display and audio technology. It does not require traditional speakers and directly uses the screen itself as a sound-emitting unit to achieve directional sound from the screen.
[0067] S102: Determine a first sound emission area group and a second sound emission area group from a plurality of sound emission areas of a sound emission panel based on a target position.
[0068] The first sounding area group and the second sounding area group are located on both sides of the target position and are close to the target position. The first sounding area group and the second sounding area group each include at least one sounding area, and the number of sounding areas in the first sounding area group and the second sounding area group is the same.
[0069] In the present application, just for the sake of easy distinction, the sound emission area groups located on both sides of the target position of the user relative to the sound emission panel are respectively referred to as the first sound emission area group and the second sound emission area group.
[0070] In the present application, regardless of the target position of the user, the number of sound zones contained in the two groups of sound zones that need to be sounded is determined to be the same. It is understandable that when the user's target position relative to the sounding panel is different, the difference in the total number of sound zones located on both sides of the target position will also be different. Based on this, when the target position is different, the number of sound zones in the first sound zone group determined is not exactly the same. Correspondingly, when the target position is different, the number of sound zones in the second sound zone group determined must be not exactly the same.
[0071] For example, when the target position is in the central area of the sound panel, since the numbers of sound areas on both sides of the target position are relatively large, at this time, the numbers of sound areas in the first sound area group and the second sound area group are determined to be relatively large; and when the user's target position relative to the sound panel is at the edge of the sound panel, it may be that the number of sound areas on one side of the target position is relatively small, and in order to ensure that the first sound area group and the second sound area group have the same number of sound areas, the numbers of sound areas in the first sound area group and the second sound area group will be relatively small.
[0072] S103, controlling each sound emission area in the first sound emission area group and the second sound emission area group to output an audio signal.
[0073] Among them, the specific implementation of controlling each sound emission area in the sound emission area group to output the audio signal can be referred to the previous introduction and will not be repeated here.
[0074] From the above content, it can be seen that in the present application, according to the target position of the user relative to the sound panel, two sound area groups located on both sides of the target position can be determined from the multiple sound areas of the sound panel, and the number of sound areas in these two sound area groups is the same. Therefore, no matter what the target position of the user relative to the sound panel is, the present application will control the same number of sound areas on both sides of the user to play audio signals, thereby reducing the sound pressure difference between the left and right ears of the user, and realizing a more reasonable directional sound control of the sound panel based on the user's position.
[0075] It is understandable that, under the premise of satisfying the user's normal listening needs, the more sound zones for playing audio on the left and right sides of the user, the better. In addition, considering the power consumption, the number of sound zones in the sound zone group can also be reasonably controlled. Based on this, the present application can also pre-set a target number, which is the maximum number of sound zones in the set sound zone group.
[0076] On this basis, in order to reasonably determine the first sound area group and the second sound area group, the present application can determine the central sound area corresponding to the user from the multiple sound areas of the sound panel based on the target position. Then, according to the target number and the number of sound areas on both sides of the central sound area, the first sound area group and the second sound area group located on both sides of the central sound area and adjacent to the central sound area are determined. Among them, the number of sound areas in the first sound area group and the second sound area group does not exceed the target number.
[0077] The central sound area may be the sound area in the sound panel corresponding to the target position. Considering that the user's body has a certain width, the relative position of the user to the sound panel may be a position area. On this basis, the sound area that covers the largest target position may be the central sound area. Of course, there may be other ways to determine the central sound area, which are not limited.
[0078] The specific implementation of determining the first sounding area group and the second sounding area group in combination with the target number and the number of sounding areas on both sides of the central sounding area is not limited. Figure 3 Take one implementation method as an example. Figure 3 , shows another flow chart of the directional sound control method provided by the present application. The method of this embodiment may include:
[0079] S301, determining a target position of a user relative to a sound emitting panel.
[0080] This step can be found in the previous related introduction and will not be repeated here.
[0081] S302: Based on the target position, determine a central sounding area corresponding to the user from a plurality of sounding areas of the sounding panel.
[0082] For example, the central sounding area is the sounding area where the target position is located, or the sounding area that covers the most target positions, and there is no restriction on this.
[0083] S303: If there are no less than the target number of other sound emission areas on both sides of the central sound emission area, determine a first sound emission area group and a second sound emission area group located on both sides of the central sound emission area and adjacent to the central sound emission area.
[0084] The first sound emission area group and the second sound emission area group both include a target number of sound emission areas.
[0085] For example, if the target number is 4, if there are no less than 4 sound areas on both sides of the central sound area, then for each side of the central sound area, the four sound areas closest to the central sound area can be selected as a group of sound area groups. In this way, there will be four sound areas on both sides of the user as the sound areas that need to output audio.
[0086] S304: If the total number of other sound emission areas located on one side of the central sound emission area is not less than 1 but less than the target number, based on the total number, determine a first sound emission area group and a second sound emission area group located on both sides of the central sound emission area and adjacent to the central sound emission area.
[0087] The first sound emission area and the second sound emission area both have the total number of sound emission areas.
[0088] It is understandable that if the total number of other sound emission areas on one side of the central sound emission area is less than the target number, if the sound emission area that needs to output sound is still selected based on the target number, then the number of sound emission areas that can emit sound on the left and right sides of the central sound emission area will be inconsistent, thereby increasing the sound pressure difference between the left and right ears of the user. Based on this, in this application, the side with fewer sound emission areas corresponding to the central sound emission area is actually determined, and the number of sound emission areas on this side is used as the number of sound emission areas that can be in each sound emission area group on both sides of the central sound emission area.
[0089] Combination Figures 4 to 7 Let's take an example:
[0090] exist Figures 4 to 7 2 shows example diagrams of two sound zone groups located on both sides of the user under different conditions of the target position of the user relative to the sound panel.
[0091] exist Figures 4 to 7In the example, the maximum number of vocalization areas in the vocalization area group is 4, that is, the target number is 4. Figures 4 to 7 In the example, a sound panel with 15 sound zones is used for explanation. Figures 4 to 7 In order to facilitate the identification of the various vocalization areas belonging to the vocalization area group, the vocalization areas belonging to the vocalization area group are marked in black.
[0092] exist Figures 4 to 7 The middle sound panel 400 includes a plurality of sound zones, each of which is a vertical bar. It can be seen that each sound zone is arranged longitudinally along the sound panel and the plurality of sound zones are arranged in sequence. For the convenience of distinction, these 15 sound zones are arranged in Figures 4 to 7 The 15 vocalization areas are numbered in sequence, such as Figures 4 to 7 From left to right, multiple sound production areas are numbered 1-15.
[0093] Depend on Figure 4 It can be seen that the user is in the center position area of the sound panel. Here, the user's target position relative to the sound panel is in the middle of the 15 sound areas. Figure 4 As shown, the 8th sound emission area from left to right is the central sound emission area 401 corresponding to the target position. On this basis, since there are no less than 4 (target number) sound emission areas on the left and right of the central sound emission area, the 4 sound emission areas closest to the central sound emission area can be selected from the left and right sides of the central sound emission area to form a sound emission area group, such as the four black sound emission areas marked on the left side of the central sound emission area 401 as one sound emission area group, and the four black sound emission areas marked on the right side of the central sound emission area as another sound emission area group. In this way, there will be 4 sound emission areas on the left and right sides of the user to emit sound outward, and the sound pressure difference between the left and right ears is small.
[0094] Depend on Figure 5 It can be seen that the user is not in the center position area of the sound panel. At this time, the center sound area 501 corresponding to the target position of the user relative to the sound panel is the fourth sound area from left to right. Here, there are more sound areas on the right side of the center sound area 501, and there are only 3 sound areas on the left side of the center sound area. Based on this, in order to reduce the sound pressure difference between the left and right ears of the user, the present application needs to determine the 3 sound areas on the left side of the center sound area 501 as a sound area group, and determine the 3 sound areas on the right side of the center sound area 501 and adjacent to the center sound area 501 as another sound area, so that there are 3 sound areas on the left and right sides of the user to emit audio signals.
[0095] exist Figure 6 In the figure, the user is located closer to the edge of the sound panel. There are only two sound areas on the left side of the central sound area 601. Therefore, a sound area group can be formed by the two sound areas closest to the left and right sides of the central sound area 601.
[0096] Similarly, in Figure 7 In the example, there is only one sound emission area on the left side of the central sound emission area 701 corresponding to the target position of the user, then the nearest sound emission area is selected on the left and right sides of the central sound emission area 701 as the sound emission area for which the audio signal needs to be output.
[0097] It is understandable that if the total number of sound areas for outputting audio in the sound panel is set to a fixed value without considering the user's position relative to the sound panel, then when the user is at the edge of the sound panel, there will be a large difference in the number of sound areas for outputting audio on the left side of the user and the number of sound areas for outputting audio on the right side of the user. This will result in a large difference in sound pressure between the left and right ears of the user, affecting the user's normal listening to audio.
[0098] In this application, the above Figures 4 to 7 It can be clearly seen that no matter what the user's position is relative to the sound panel, the number of sound areas on the left and right sides of the user for outputting sound is the same, which can greatly reduce the problem of large sound pressure difference between the left and right ears of the user due to the inconsistent number of sound areas on the left side of the user for outputting audio, thereby improving the audio output effect.
[0099] S305, controlling each sound emission area in the first sound emission area group and the second sound emission area group to output an audio signal.
[0100] In the present application, in the process of controlling the first sound emission area and the second sound emission area to output audio signals, the central sound emission area may or may not output audio signals. Considering that the sound emitted by the central sound emission area will not only cause the sound waves to rush toward the user's face, but also consume power, and has almost no effect on improving the volume and quality of the audio signal received by the user, therefore, in an optional manner, the present application may control the central sound emission area not to output audio signals.
[0101] It is understandable that in Figure 3 In the embodiment of the sound panel, the sound panel generally only provides audio in a directional manner to the user in front of the sound panel. Based on this, if there are no other sound areas on one side of the central sound area, it can be considered that the user is not suitable for using the sound panel to provide audio signals, so that each sound area in the sound panel can be controlled to stop outputting audio signals.
[0102] Figure 3 An implementation method for determining the first sound emission area group and the second sound emission area group is used as an example for explanation. In practical applications, the present application can also pre-configure sound emission area combinations corresponding to different target positions, each of which includes the first sound emission area group and the second sound emission area group located on both sides of the target position. Figure 8 Provide explanation.
[0103] Figure 8 Another flow chart of the directional sound control method provided in an embodiment of the present application is shown. The method of this embodiment may include:
[0104] S801, determining a target offset direction and a target offset position of a user relative to a longitudinal center line of a sound-emitting panel.
[0105] Among them, the longitudinal center line of the sound panel is parallel to the arrangement direction of a single sound area in the sound panel. When the sound panel is used as a panel that can emit directionally, the longitudinal center line is the center line of the sound panel along the vertical direction.
[0106] In an optional manner, when the number of sound-emitting areas in the sound-emitting panel is an odd number, the sound-emitting area located in the center of the sound-emitting panel can be used as the longitudinal center line.
[0107] The target offset direction is a relative offset direction relative to the longitudinal center line of the sound-emitting panel, for example, the target offset direction is offset to the left or to the right relative to the longitudinal center.
[0108] The target offset position can be characterized by the distance offset from the longitudinal center line or the number of sound emission areas offset from the longitudinal center line, etc., without limitation. For example, the target offset position can be 4 mm offset from the bus center line, or, when the longitudinal center line is the sound emission area at the center of the sound emission panel, the target offset position can be the number of sound emission areas offset from the sound emission area at the center.
[0109] In particular, if the sound emitting panel is disposed on the display unit, then the target offset direction and target offset position of the user relative to the longitudinal center line of the display unit can be determined.
[0110] It is understandable that the specific implementation of determining the target offset direction and the target offset position can be achieved by using an image acquisition device such as a camera, or by using a radar detection device, etc., which is similar to the above determination of the target position and will not be repeated here.
[0111] S802: Based on the target offset direction and the target offset position, determine a target sound emission area combination from a sound emission matrix table corresponding to a plurality of sound emission areas of the sound emission panel.
[0112] The sound matrix table includes sound area combinations corresponding to different offset directions and offset positions. Each sound area combination includes two sound area groups. For each sound area combination corresponding to an offset direction and an offset position, the two sound area groups in the sound area combination are located on both sides of the position corresponding to the offset direction and the offset position in the sound panel. Moreover, the two sound area groups in the sound area combination each include the same number of sound areas.
[0113] For the sake of distinction, the sound emission area combination corresponding to the target offset direction and the target offset position is referred to as the target sound emission area combination. Accordingly, the target sound emission area combination includes a first sound emission area group and a second sound emission area group. As described above, the number of sound emission areas included in the first sound emission area group and the second sound emission area group is the same, and the first sound emission area group and the second sound emission area group are respectively located on both sides of the target position corresponding to the target offset direction and the target offset position in the sound emission panel, and the sound emission areas in the first sound emission area group and the second sound emission area group belong to the sound emission areas located on both sides of the target position and closest to the target position.
[0114] To make it easier to understand, let's take an example:
[0115] Assume that the lateral width of the sound panel is 596mm, and the sound panel has 15 sound zones, and assume that the sound zone group has a maximum of 4 sound zones. On this basis, the longitudinal center of the sound panel is located in the 8th sound zone from left to right, and the user's position moves 4cm to the left or right, then the user enters another sound zone. Based on this, the present application can determine which sound zone the user is currently in front of based on the target offset direction and target offset position of the user relative to the center of the sound panel. This sound zone is actually the central sound zone mentioned above. On this basis, when the user is in front of different sound zones, it is possible to determine the sound zones that need to be opened on the left and right sides of the user, and naturally, it is possible to pre-construct a sound matrix table.
[0116] As shown in Table 1 below, it is an example of a pre-constructed utterance matrix table of this application:
[0117] Table 1
[0118]
[0119] In the above vocalization matrix table, if the vocalization area belongs to the vocalization area in the vocalization area group, then the start instruction mark corresponding to the vocalization area is 1; otherwise, it is 0. At the same time, after the user is offset relative to the longitudinal center line, the start instruction mark 0 corresponding to the vocalization area facing the user (that is, the central vocalization area mentioned above) is bold and thick for easy distinction.
[0120] It can be seen from the above sound matrix table that:
[0121] If the user has no deviation relative to the longitudinal center line of the sound panel, then the user is actually in the 8th sound zone. In this case, the 4 sound zones to the left of the 8th sound zone can be regarded as a sound zone group, that is, the 4 to 7 sound zones can be regarded as a sound zone group; and the 4 sound zones to the right of the 8th sound zone can be regarded as a sound zone group, that is, the 9 to 12 sound groups can be regarded as another sound zone group. Therefore, the sound zone group composed of the 4 to 7 sound zones and the sound zone group composed of the 9 to 12 sound zones are combined into one sound zone combination, which is the same as Figure 4 The same situation.
[0122] If the user is offset to the left relative to the longitudinal center line of the sound panel by 16cm, then the user is actually at the front end of the fourth sound zone, and the user has less than four sound zones on the left, but only three sound zones. Then the first to third sound zones can be determined as one sound zone group, and the fifth to seventh sound zones can be determined as another sound zone group. Other situations are similar and will not be introduced one by one.
[0123] S803, controlling each sound emission area in the first sound emission area group and the second sound emission area group to output an audio signal.
[0124] It is understandable that in the embodiment of the present application, the number of sound zones on the sound panel and the width of the sound zone can be set according to actual conditions. Moreover, the sound zone on the sound panel can be pre-designed before leaving the factory and will not be changed later. Of course, considering the differences in head widths of different users, the present application can also determine the sound zone based on the head reference features of the user currently using the sound panel, so that the number and width of the sound zones on the sound panel at different times may be different.
[0125] The following is an example of an implementation method for determining multiple sound emission areas in a sound emission panel. Fig. 9 , shows a schematic diagram of an implementation process of determining multiple sound emission areas divided in a sound emission panel in an embodiment of the present application. This process may include:
[0126] S901, determining the width of each sound emission area based on a reference width of the head of a user of the sound emission panel.
[0127] The user's head reference width may be the user's facial width, the width of a certain area of the head, or the width between the user's two ears, and there is no limitation on this.
[0128] In one possible scenario, this embodiment may be that after the sound panel leaves the factory, the sound panel determines the sound zone that is suitable for the user who currently uses the sound panel. In this case, the user is the user who is currently using the sound panel. Accordingly, the width of the sound zone can be determined based on the width of the user's face or the width between the two ears. For example, after the sound panel leaves the factory, the user uses the sound panel for the first time, and it is necessary to trigger the sound panel to divide the sound zone, so that the division of the sound zone can be completed through this embodiment. For another example, each time the electronic device is turned on, the electronic device will perform the operations of this process to more reasonably determine the multiple sound zones that are suitable for the sound panel to be divided for the current user.
[0129] Of course, this embodiment can also be used to determine the multiple sound zones that the sound panel needs to be divided into before the sound panel leaves the factory. In this scenario, the user can be a standard user who can represent the reference width of the head of most users. For example, the width between the two ears of most users is obtained and used as the reference width of the user's head.
[0130] The width of each sound emission area may be half or one quarter of the base width of the head, or other possibilities are possible, which are not limited.
[0131] S902: Determine the number of sound emission zones to be set based on the width of each sound emission zone and the width of the sound emission panel.
[0132] Among them, the setting number of sound emission zones is the number of sound emission zones that need to be set.
[0133] For example, the width of the sound panel is divided by the width of the sound area to obtain the number of sound areas. In practical applications, the quotient of the width of the sound area divided by the width of the sound area is not necessarily an integer. If the quotient is not an integer, the integer closest to the quotient can be selected as the number of sound areas, for example, the smallest integer greater than the quotient is selected, or the odd number closest to the quotient is selected as the number of sound areas.
[0134] S903: Determine a plurality of sound emission zones divided in the sound emission panel based on the set number of the sound emission zones.
[0135] It can be understood that, when the set number of sound emission zones is determined, the sound emission panel can be divided into the set number of sound emission zones.
[0136] For example, after determining the number of settings, the width of each sound zone can be re-determined. For example, when the number of settings is not the quotient obtained by dividing the width of the sound panel by the width of the sound zone, the width of the sound zone can be recalculated based on the width of the sound panel and the number of settings of the sound zone, and the recalculated width of the sound zone is used as the final width of each sound zone. Accordingly, in combination with the recalculated width of the sound zone and the number of settings of the sound zone, it can be determined that multiple sound zones are divided sequentially along the lateral direction of the sound panel.
[0137] For ease of understanding, the following explanation is made by taking the width between the two ears of the user as the base width of the user's head. In general, the width between the two ears of the user is generally between 160-190 mm. On this basis, when the width between the two ears of the user is different, taking half or one quarter of the width between the two ears as the width of the sound emission area, there are many possibilities, as shown in Table 2 below, which shows different values that may correspond to the width of the sound emission area being half or one quarter of the width between the two ears under different conditions of the width between the two ears of the user.
[0138] Table 2
[0139]
[0140] As can be seen from Table 2 above, when the width between the two ears of the user is 160 mm, if half of the width between the two ears is used as the width of the sound emission area, then the width of the sound emission area is 80 mm. Other situations are similar and will not be described in detail.
[0141] Based on Table 2, taking the example that the width of the sound zone is one quarter of the width between the two ears, the following Table 3 shows the different numbers of sound zones that can be divided on the sound panel when the lateral width of the sound panel is different.
[0142] Table 3
[0143]
[0144] Table 3 shows the number of sound zones divided in the sound panel under different sound zone widths and panel widths of the sound panel. For example, when the width of the sound zone is 40 mm and the panel width of the sound panel is 480 mm, the number of sound zones that can be divided is 12. If the width of the sound zone initially calculated is 40 mm and the width of the sound panel is 600 mm, the sound panel can be divided into exactly 15 sound zones, and the width of each sound zone is 40 mm.
[0145] If the width of the sound zone initially calculated is 42.5mm and the width of the sound panel is 600mm, then the number of sound zones calculated is 14.1, which is not an integer. In this case, it can be determined that 14 sound zones need to be divided in the sound panel, and the width of each sound zone is recalculated to determine the sound zones in the sound panel. Alternatively, an integer 15 greater than 14.1 can be selected based on 14.1, then 15 sound zones can be set according to the need of the sound panel, and the width of each sound zone can be recalculated to determine the area corresponding to each sound zone in the sound panel.
[0146] It can be understood that in the above embodiments of the present application, the width of each sound emitting area in the sound emitting panel is the same as an example. In actual applications, the width of the sound emitting area in the sound emitting panel may not be exactly the same.
[0147] In a possible implementation, the multiple sound emission areas in the sound emission panel include: multiple first sound emission areas and multiple second sound emission areas. The widths of the first sound emission areas and the second sound emission areas are different. On this basis, the number of first sound emission areas included in the first sound emission area group and the second sound emission area group determined in this application is the same, and the number of second sound emission areas included in the first sound emission area group and the second sound emission area group is the same.
[0148] For example, the first sound emission areas and the second sound emission areas are cross-arranged in the sound emission panel, wherein there is a second sound emission area between any two first sound emission areas.
[0149] For ease of understanding, taking the case where the sound panel is disposed on the display unit (screen) of the electronic device as an example, the screen width of the electronic device is the width of the sound panel, such as Fig.10 , assuming that the total width of the screen of the electronic device is L, we can refer to Fig.10 It can be seen that there are 15 sound emission areas (i.e., sound emission channels) on the screen of the electronic device, and the 15 sound emission areas include two sound emission areas with different widths, namely, sound emission area W and sound emission area W. S and vocal area W L , where the vocal area W S The width is narrow, and the sound area W L The width is relatively wide. Moreover, every two sounding areas W S There is a sound area W between L , so that the two sound areas of different widths are arranged alternately.
[0150] In the case where the sound panel includes two first sound areas and second sound areas of different widths, the specific implementation of determining the first sound area group and the second sound area group based on the target position of the user relative to the sound panel is similar to the above. Since the first sound area and the second sound area in the sound panel are arranged alternately in sequence, the first sound area group and the second sound area determined in the above manner not only have the same number of sound areas, but also have the same number of first sound areas in the first sound area group and the second sound area group, and also have the same number of second sound area groups in the first sound area group and the second sound area group, so that the width of the first sound area group and the width of the second sound area group are always the same.
[0151] Two sound areas of different widths are set in the sound panel. When the user is at the edge of the sound panel, the widths of the first sound area group and the second sound area group can be as large as possible, so that the area in the sound panel that can output audio can be as large as possible, which is conducive to improving user experience.
[0152] For ease of understanding, the following Figures 11 to 18 To explain, Figures 11 to 18 The example in which the sound panel is located on the screen of the electronic device is still used for explanation.
[0153] Fig.11 The screen size L is 27 inches. After conversion to millimeters: L = 596mm. It is assumed that the widths of the two sound zones are: Sound zone W S =32.3mm, sound area W L =48.3mm. Fig.11 The vocal area is called the vocal channel. Fig.11 The width of each sound channel and its width are marked in the figure.
[0154] Figures 12 to 18 is Fig.11 Based on the example, examples of sound areas on the screen that need to be turned on and output audio when the user's head is in different positions relative to the screen are shown. Figures 12 to 18 In the figure, the left side of the user's head is marked as L, and the right side of the user's head is marked as R. The sound area that needs to be turned on is marked with a darker gray, such as Fig.12 The sounding area that needs to be turned on is also marked with ON.
[0155] exist Figures 12 to 18 The target number is still 4 as an example:
[0156] Depend on Fig.12It can be seen that when the user's head is in the 8th sound zone, since there are more than 4 sound zones on the left and right sides of the 8th sound zone, the 4th, 5th, 6th and 7th sound zones on the left side of the 8th sound zone can be determined as the first sound zone group, and the 9th, 10th, 11th and 12th sound zones on the right side of the 8th sound zone can be determined as the second sound zone group. It can be seen that the number of sound zones in the first sound zone group and the second sound zone group is the same. Moreover, combined with Fig.11 and Fig.12 It can be seen that the first sounding area group includes two sounding areas W with relatively wide widths. L and two narrower sounding areas W S Correspondingly, the second sounding area group also includes two sounding areas W L and two vocal areas W S .
[0157] Similarly, when the user's head moves to the front of the seventh sound emission zone, the sixth sound emission zone, or the fifth sound emission zone, the following examples can be used: Fig.13 , Fig.14 and Fig.15 At this time, the implementation method of determining the first sounding area group and the second sounding area group is Fig.12 Similar, no further elaboration.
[0158] The situation before the user's head moves to the fourth sound zone can be seen in Fig.16 At this time, since there are only three sounding areas on the left side of the 4th sounding area, the 1st to 3rd sounding areas on the left side of the 4th sounding area can be determined as the first sounding area group, and the 5th to 7th sounding areas on the right side of the 4th sounding area can be determined as the second sounding area group. Fig.11 and Fig.16 It can be seen that the first sounding area group and the second sounding area group determined at this time both include a sounding area W L and two vocal areas W S , so that the total width of the sound channels on the left and right sides of the user's head remains the same.
[0159] and Fig.16 Similar, in Fig.17 In the example, the user's head is at the front of the third sound zone. At this time, the first and second sound zones on the left side of the user's head need to be turned on, and the fourth and fifth sound zones on the right side of the user's head also need to be turned on. Fig.11 and Fig.17 It can be seen that the number of the two sound zones opened on both sides of the user's head is also the same, so that the total width of the channels on the left and right sides of the user's head remains the same.
[0160] Moreover, by Fig.17 It can be seen that the total width of the sound channels on the left and right sides of the user is 80.6mm. If the width of all sound channels is the same, then Fig.11 For the 27-inch screen shown in the figure, the width of each sound channel should be 39.7mm. At this time, after the two sound channels on the left side of the user's head are opened, the width of the two sound channels is only 79.4. Correspondingly, the total width of the sound channels opened on the right side of the user's head is also 79.4. The total width of the sound channels used for sound will be less than Fig.16 The total width shown in the figure is 80.6mm. Therefore, by adopting the solution of sound channels of different widths, when the user is at the edge, the width of the sound channel can be increased while reducing the sound pressure difference between the left and right ears of the user, thereby improving the audio volume to a certain extent.
[0161] for Fig.18 The situation and Fig.17 Similar, no further elaboration.
[0162] It is understandable that, when two sound emission areas of different widths are set in the sound emission panel, there are also multiple possibilities for the specific implementation of determining the sound emission areas divided in the sound emission panel. An implementation is described below as an example.
[0163] Take the case where the width of the second sound emission area is a target multiple of the width of the first sound emission area, and the target multiple is a value greater than 1 as an example. Fig.19 , shows another implementation process diagram of determining multiple sound emission areas in a sound emission panel in an embodiment of the present application. This process may include:
[0164] S1901, obtaining a reference width of the head of a user of the sound emission panel.
[0165] For this part, please refer to the relevant introduction of the previous embodiment, which will not be repeated here.
[0166] With the front Fig. 9 Similar to the embodiment, this embodiment can also be used in electronic equipment to determine the sound area of the sound panel in real time; it can also be used to determine the sound area of the sound panel before the sound panel leaves the factory, so as to complete the setting of the sound area.
[0167] S1902: Determine the width of the first sound emission area in the sound emission panel based on the reference width of the head and the width of the sound emission panel.
[0168] For example, the width of the first sound emission area may be the width of the sound emission panel divided by the head reference width. Fig.11 To explain, Fig.11 In the example, the first sounding area is the sounding area W. S , and the second sounding area is the sounding area W L ,exist Fig.11 The screen size is 596mm, that is, the width of the sound panel is 596mm. Assuming the head base width is 18.5mm, the sound area WS =596 / 18.5=32.3mm, sound area W L =48.3mm.
[0169] Of course, the width of the sound emitting panel may be divided by half of the base width of the head, which is also applicable as the width of the first sound emitting area. There may also be other ways to determine the width of the first sound emitting area, which are not limited.
[0170] S1903: Determine a plurality of first sound emission areas and a plurality of second sound emission areas divided in the sound emission panel based on the width of the first sound emission area and the target multiple.
[0171] It can be understood that based on the target multiple and the width of the first sound emission zone, the width of the second sound emission zone can be determined. After the widths of the first sound emission zone and the second sound emission zone are determined, the first sound emission zone and the second sound emission zone can be cross-determined in sequence in the sound emission panel.
[0172] It is understandable that the sound panel can be located on the upper layer of the display unit of the electronic device. In this case, if the display unit also rotates around the rotating component, the arrangement direction of the sound area on the sound panel will be perpendicular to the user's standing direction. If the arrangement direction of a single sound area is perpendicular to the user's standing direction, then no sound area is located on one side of the user alone. Therefore, in this case, directional sound can be emitted without the help of the sound panel. Only when each sound area of the sound panel is arranged in a vertical direction, the directional sound control in this case is performed.
[0173] Accordingly, only when the display unit is in the target posture, the user's target position relative to the display unit is determined, and the other operations mentioned above are performed based on the target position to achieve directional sound control. Wherein, when the display unit is in the target posture, the shorter side of the display unit is parallel to the image display direction of the display unit displaying the image. Wherein, the direction in which the display unit displays the image refers to the direction in which the display unit presents the image.
[0174] For ease of understanding, the case where a sound panel is provided on the upper layer of the display unit can be referred to Fig. 20 , showing a schematic diagram of the composition structure of each sound-emitting area in the present application.
[0175] Depend on Fig. 20 It can be seen that an air medium and a diaphragm layer are arranged on the upper layer of the glass substrate of the display unit, an electrode layer is arranged between the air medium and the diaphragm layer, and an electrode layer is also arranged between the glass substrate and the diaphragm layer. When the electrode layer is energized, a magnetic field is generated, which drives the diaphragm layer to vibrate in a direction perpendicular to the glass substrate, thereby generating sound waves.
[0176] A directional sound control method provided in an embodiment of the present application is introduced above, and a device for executing the above directional sound control method will be introduced below.
[0177] See also Fig.21 , Fig.21 A schematic diagram of a directional sound control device provided in an embodiment of the present application. Figure 7 As shown, the directional sound control device comprises:
[0178] A position determination unit 2101 is used to determine a target position of a user relative to a sound emitting panel;
[0179] A sound group determination unit 2102 is used to determine a first sound area group and a second sound area group from a plurality of sound areas of the sound panel based on the target position, the sound areas are arranged longitudinally along the sound panel, and the plurality of sound areas are arranged in parallel in sequence, the first sound area group and the second sound area group are located on both sides of the target position and are adjacent to the target position, the first sound area group and the second sound area group each include at least one sound area, and the number of sound areas in the first sound area group and the second sound area group is the same, wherein when the target position is different, the number of sound areas in the first sound area group determined is not completely the same;
[0180] The directional sound control unit 2103 is used to control each sound emission area in the first sound emission area group and the second sound emission area group to output an audio signal.
[0181] In a possible implementation, the multiple sound emission areas of the sound emission panel include: multiple first sound emission areas and multiple second sound emission areas, wherein the widths of the first sound emission areas and the second sound emission areas are different;
[0182] The first sound emission area group and the second sound emission area group determined by the sound emission group determination unit include the same number of first sound emission areas, and the first sound emission area group and the second sound emission area group include the same number of second sound emission areas.
[0183] In yet another possible implementation, the utterance group determining unit includes:
[0184] A central area determination subunit, configured to determine a central sound emission area corresponding to the user from a plurality of sound emission areas of the sound emission panel based on the target position;
[0185] The sound group determination subunit is used to determine the first sound area group and the second sound area group located on both sides of the central sound area and adjacent to the central sound area according to the target number and the number of sound areas on both sides of the central sound area respectively, the number of sound areas in the first sound area group and the second sound area group shall not exceed the target number, and the target number is the maximum number of sound areas that the set sound area group has.
[0186] In yet another possible implementation, the utterance group determination subunit includes:
[0187] A first group determination subunit is configured to determine a first sound emission area group and a second sound emission area group located on both sides of the central sound emission area and adjacent to the central sound emission area if there are no less than a target number of other sound emission areas on both sides of the central sound emission area, wherein the first sound emission area group and the second sound emission area group both include a target number of sound emission areas;
[0188] The second group determines the sub-unit, which is used to determine the first sound area group and the second sound area group located on both sides of the central sound area and adjacent to the central sound area based on the total number if the total number of other sound areas located on one side of the central sound area is not less than 1 but less than the target number, and the first sound area group and the second sound area group both have the total number of sound areas.
[0189] In yet another possible implementation, the position determination unit includes: a position determination subunit, configured to determine a target offset direction and a target offset position of the user relative to a longitudinal center line of the sound-emitting panel;
[0190] The sound group determination unit includes: a sound group positioning subunit, which is used to determine a target sound area combination from a sound matrix table corresponding to multiple sound areas of the sound panel based on the target offset direction and the target offset position, wherein the sound matrix table includes sound area combinations corresponding to different offset directions and offset positions, and the target sound area combination includes a first sound area group and a second sound area group.
[0191] In another possible implementation, the sound-emitting panel is located on an upper layer of a display unit of the electronic device, and the display unit can rotate around a rotating component;
[0192] The position determination unit is specifically used to determine the user's target position relative to the display unit when the display unit is in a target posture, wherein when the display unit is in the target posture, the shorter side of the display unit is parallel to the image display direction of the image displayed by the display unit.
[0193] In yet another possible implementation, the device further includes:
[0194] a sounding width determination unit, for determining a width of each sounding area based on a reference width of a head of a user of the sounding panel;
[0195] A quantity determination unit, used to determine the number of sound emission zones based on the width of each sound emission zone and the width of the sound emission panel;
[0196] The first partitioning unit is used to determine a plurality of sound emission zones divided in the sound emission panel based on the set number of the sound emission zones.
[0197] In another possible implementation, the width of the second sound emission area is a target multiple of the width of the first sound emission area, and the target multiple is a value greater than 1;
[0198] On this basis, the device may include:
[0199] A width obtaining unit, used to obtain a reference width of a head of a user of the sound-emitting panel;
[0200] A zone width determination unit, configured to determine a width of a first sound emission zone in the sound emission panel based on the head reference width and the width of the sound emission panel;
[0201] The second partitioning unit is used to determine a plurality of first sound emission zones and a plurality of second sound emission zones divided in the sound emission panel based on the width of the first sound emission zone and the target multiple.
[0202] The present application also provides an electronic device. Fig. 22 , which shows a schematic diagram of a composition structure of the electronic device, and the electronic device at least includes a processor 2201 and a memory 2203;
[0203] The processor 2201 is used to execute the directional sound control method described in any one of the above embodiments;
[0204] The memory 2202 is used to store programs required for the processor to perform operations.
[0205] Of course, the electronic device may include a sound emitting panel (not shown).
[0206] In an optional manner, the electronic device may further include a display unit 2203, and the sound emitting panel may be provided on the display unit.
[0207] The electronic device may further include an input unit 2204 .
[0208] Of course, the electronic device may also have Fig. 22 There may be more or fewer components, without limitation.
[0209] An embodiment of the present application also provides a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any directional sound control method provided in the embodiment of the present application.
[0210] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any directional sound control method provided in the embodiment of the present application.
[0211] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
[0212] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0213] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0214] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a training device, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device, or data center. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)), etc.
Claims
1. A directional sound control method, applied to electronic equipment, comprising: Determining the user's target position relative to the sound-generating panel; Based on the target position, a first sound emission area group and a second sound emission area group are determined from a plurality of sound emission areas of the sound emission panel, the sound emission areas are arranged longitudinally along the sound emission panel, and the plurality of sound emission areas are arranged in parallel in sequence, the first sound emission area group and the second sound emission area group are located on both sides of the target position and are adjacent to the target position, the first sound emission area group and the second sound emission area group each include at least one sound emission area, and the number of sound emission areas in the first sound emission area group and the second sound emission area group is the same, wherein when the target position is different, the number of sound emission areas in the first sound emission area group determined is not completely the same; Each sound emission area in the first sound emission area group and the second sound emission area group is controlled to output an audio signal.
2. The directional sound control method according to claim 1, wherein the step of determining a first sound emission area group and a second sound emission area group from a plurality of sound emission areas of the sound emission panel based on the target position comprises: Based on the target position, determining a central sounding area corresponding to the user from a plurality of sounding areas of the sounding panel; According to the target number and the number of sound areas on both sides of the central sound area, the first sound area group and the second sound area group located on both sides of the central sound area and adjacent to the central sound area are determined, and the number of sound areas in the first sound area group and the second sound area group does not exceed the target number, and the target number is the maximum number of sound areas in the set sound area group.
3. The directional sound emission control method according to claim 2, wherein the determining, according to the target number and the number of sound emission areas on both sides of the central sound emission area, a first sound emission area group and a second sound emission area group located on both sides of the central sound emission area and adjacent to the central sound emission area comprises: If there are no less than the target number of other sound emission areas on both sides of the central sound emission area, determine a first sound emission area group and a second sound emission area group located on both sides of the central sound emission area and adjacent to the central sound emission area, wherein the first sound emission area group and the second sound emission area group both include the target number of sound emission areas; If the total number of other sound emission areas located on one side of the central sound emission area is not less than 1 but less than the target number, based on the total number, determine the first sound emission area group and the second sound emission area group located on both sides of the central sound emission area and adjacent to the central sound emission area, and the first sound emission area group and the second sound emission area group both have the total number of sound emission areas.
4. The directional sound control method according to claim 1, wherein the sound panel is located on an upper layer of a display unit of the electronic device, and the display unit can rotate around a rotating component; Determining the target position of the user relative to the sound-emitting panel includes: When the display unit is in a target posture, a target position of a user relative to the display unit is determined, wherein when the display unit is in the target posture, a shorter side of the display unit is parallel to an image presentation direction of an image presented by the display unit.
5. The directional sound control method according to claim 1, wherein determining the target position of the user relative to the sound panel comprises: Determining a target offset direction and a target offset position of a user relative to a longitudinal centerline of the sound-emitting panel; The determining, based on the target position, a first sound emission area group and a second sound emission area group from a plurality of sound emission areas of the sound emission panel comprises: Based on the target offset direction and the target offset position, a target sound area combination is determined from a sound matrix table corresponding to multiple sound areas of the sound panel, wherein the sound matrix table includes sound area combinations corresponding to different offset directions and offset positions, and the target sound area combination includes a first sound area group and a second sound area group.
6. The directional sound emission control method according to claim 1, wherein the plurality of sound emission areas include: a plurality of first sound emission areas and a plurality of second sound emission areas; The first sound emission area and the second sound emission area have different widths; The first sound emission area group and the second sound emission area group include the same number of first sound emission areas, and the first sound emission area group and the second sound emission area group include the same number of second sound emission areas.
7. The directional sound emission control method according to claim 6, wherein the width of the second sound emission area is a target multiple of the width of the first sound emission area, and the target multiple is a value greater than 1; Also includes: Obtaining a reference head width of a user of the sound-emitting panel; Determining a width of a first sound emission area in the sound emission panel based on the head reference width and the width of the sound emission panel; Based on the width of the first sound emission area and the target multiple, a plurality of first sound emission areas and a plurality of second sound emission areas divided in the sound emission panel are determined.
8. The directional sound control method according to claim 1, further comprising: Determining the width of each sound-generating area based on a reference width of a head of a user of the sound-generating panel; Determining the number of sound emission zones to be set based on the width of each sound emission zone and the width of the sound emission panel; Based on the set number of the sound emission zones, a plurality of sound emission zones divided in the sound emission panel are determined.
9. A directional sound control device, applied to electronic equipment, comprising: A position determination unit, used to determine a target position of a user relative to the sound-emitting panel; A sound group determination unit, for determining a first sound area group and a second sound area group from a plurality of sound areas of the sound panel based on the target position, the sound areas being arranged longitudinally along the sound panel, and the plurality of sound areas being arranged in parallel in sequence, the first sound area group and the second sound area group being located on both sides of the target position and adjacent to the target position, the first sound area group and the second sound area group each including at least one sound area, and the number of sound areas in the first sound area group and the second sound area group being the same, wherein when the target position is different, the number of sound areas in the first sound area group determined is not completely the same; The directional sound control unit is used to control each sound emission area in the first sound emission area group and the second sound emission area group to output an audio signal.
10. The directional sound control device according to claim 9, wherein the plurality of sound emission areas of the sound emission panel include: A plurality of first sound emission areas and a plurality of second sound emission areas, wherein the widths of the first sound emission areas and the second sound emission areas are different; The first sound emission area group and the second sound emission area group determined by the sound emission group determination unit include the same number of first sound emission areas, and the first sound emission area group and the second sound emission area group include the same number of second sound emission areas.
