SOUND FIELD CONTROLLING SYSTEM AND METHOD
The sound field controlling method includes: obtaining a user image including a user's head through a camera device, obtaining a head rotation angle and a first distance based on the user image, wherein the first distance is between a center point of first and second speakers and the user's head, calculating sound source distances between the user's left and right ears and each of the first and second speakers based on the head rotation angle, the first distance, a second distance between the first and second speakers, and a radius of the head; obtaining a first weight value corresponding to the first speaker and a second weight value corresponding to the second speaker based on the sound source distances, and controlling a first output volume of the first speaker using the first weight value, and controlling a second output volume of the second speaker using the second weight value.
This non-provisional application claims priority under 35 U.S.C. § 119 (a) on Patent Application No(s). 114119662 filed in Republic of China (Taiwan) on May 26 2025, the entire contents of which are hereby incorporated by reference.
BACKGROUND 1. Technical FieldThis disclosure relates to a sound field controlling system and method.
2. Related ArtIn modern society, people increasingly use computers to watch videos, whether for binge-watching series, viewing movies, or taking online courses, which has become a part of daily life. To enhance the audiovisual experience, many users additionally pair their setups with speakers for audio playback. Clear sound can make video content feel more immersive and also aid in emotional engagement and understanding.
However, in existing technologies, the generated sound field is prone to imbalance due to the user's head rotation, which often causes the user to perceive sound deviation or unevenness when listening from different positions, thereby affecting the overall auditory experience.
SUMMARYAccordingly, the disclosure provides a sound field controlling system and a method for solving the aforementioned problems.
According to one or more embodiment of the disclosure, a sound field controlling method is executed by a processing device, the processing device is connected to a first speaker, a second speaker, and an imaging device, and the method comprises: obtaining a user image including a head of a user through the imaging device; obtaining a head rotation angle and a first distance based on the user image, wherein the first distance is a distance between the head of the user and a center point between a preset position of the first speaker and a preset position of the second speaker; obtaining a plurality of sound source distances between each of the first speaker and the second speaker and a left ear and a right ear of the head of the user based on the head rotation angle, the first distance, a second distance, and a head radius, wherein the second distance is a preset distance between the first speaker and the second speaker; obtaining a first weight value corresponding to the first speaker and a second weight value corresponding to the second speaker based on the plurality of sound source distances; and controlling a first output volume of the first speaker by utilizing the first weight value and controlling a second output volume of the second speaker by utilizing the second weight value.
According to one or more embodiment of the disclosure, a sound field controlling system comprises: a first speaker having a preset position; a second speaker having a preset position; an imaging device configured to obtain a user image including a head of a user; and at least one processing device connected to the first speaker, the second speaker, and the imaging device, the at least one processing device configured to obtain the user image through the imaging device; obtain a head rotation angle and a first distance based on the user image, wherein the first distance is a distance between a center point between the preset position of the first speaker and the preset position of the second speaker and the head of the user; obtain a plurality of sound source distances between each of the first speaker and the second speaker and a left ear and a right ear of the head of the user based on the head rotation angle, the first distance, a second distance, and a head radius, wherein the second distance is a distance between the first speaker and the second speaker; obtain a first weight value corresponding to the first speaker and a second weight value corresponding to the second speaker based on the plurality of sound source distances; and utilize the first weight value to control a first output volume of the first speaker and utilize the second weight value to control a second output volume of the second speaker.
In view of the above description, the sound field controlling system and method according to one or more embodiments of the disclosure adjust the sound field of the speakers based on the user image and the positions of the speakers. This allows the user to perceive a centered sound field without experiencing sound field imbalance, which in turn may provide the user with a better auditory experience.
The present disclosure will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only and thus are not limitative of the present disclosure and wherein:
In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the disclosed embodiments. According to the description, claims and the drawings disclosed in the specification, one skilled in the art may easily understand the concepts and features of the present invention. The following embodiments further illustrate various aspects of the present invention, but are not meant to limit the scope of the present invention.
Please refer to
The processing device 100 is connected to the first speaker 101, the second speaker 102, and the imaging device 103. The processing device 100 may be electrically or communicatively connected to the first speaker 101, the second speaker 102, and the imaging device 103. The processing device 100 may pre-store information regarding preset positions of the first speaker 101 and the second speaker 102. The processing device 100 is configured to determine weight values respectively corresponding to the first speaker 101 and the second speaker 102, and accordingly control the respective output volumes of the first speaker 101 and the second speaker 102. Specific execution details will be described later. The number of the processing device 100 may be one or more. The processing device 100 may include one or more processors, the processor is, for example, a central processing unit (CPU), a graphics processing unit (GPU), a microcontroller, a programmable logic controller (PLC), or other processors with signal processing functions.
The first speaker 101 and the second speaker 102 may have their respective preset positions. For example, the first speaker 101 and the second speaker 102 may be speakers built into a monitor and respectively disposed on two sides of the monitor. Furthermore, the first speaker 101 and the second speaker 102 may be installed on the housing of the monitor. The first speaker 101 and the second speaker 102 may be configured to play audio under the control of the processing device 100. Moreover, based on the control of the processing device 100, the playback volumes of the first speaker 101 and the second speaker 102 may be the same as or different from each other.
The imaging device 103 is configured to capture images of the user of the first speaker 101 and the second speaker 102 to obtain the user image, and the user image includes the image of the head of the user. For example, the imaging device 103 may be disposed at the monitor and face the user of the first speaker 101 and the second speaker 102. The imaging device 103 may include a depth camera. The imaging device 103 outputs the user image to the processing device 100.
Please refer to
In step S101, the processing device 100 obtains a user image from the imaging device 103. In step S103, the processing device 100 obtains a head rotation angle θ and a first distance Dmh based on the user image. For example, the processing device 100 may execute an open-source MediaPipe algorithm on the user image to obtain the head rotation angle θ.
The first distance Dmh is the distance between a center point CENT, which is located between the preset position of the first speaker 101 and the preset position of the second speaker 102, and the user's head A1. Furthermore, the first distance Dmh may be the distance between the center point CENT and the central axis of the neck of the user. As mentioned above, the imaging device 103 may include a depth camera, and the processing device 100 may determine the first distance Dmh according to the capturing results of the imaging device 103.
In step S105, the processing device 100 obtains a plurality of sound source distances based on the head rotation angle, the first distance Dmh, the second distance Dspk, and the head radius r. The second distance Dspk is a preset distance between the first speaker 101 and the second speaker 102, wherein the preset distance is the distance between the preset position of the first speaker 101 and the preset position of the second speaker 102. The plurality of sound source distances may include a first sound source distance between the left ear of the user's head A1 and the first speaker 101, a second sound source distance between the left ear of the user's head A1 and the second speaker 102, a third sound source distance between the right ear of the user's head A1 and the first speaker 101, and a fourth sound source distance between the right ear of the user's head A1 and the second speaker 102.
In step S107 and step S109, the processing device 100 obtains a first weight value corresponding to the first speaker 101 and a second weight value corresponding to the second speaker 102 based on the plurality of sound source distances, and utilizes the first weight value to control a first output volume of the first speaker 101 and the second weight value to control a second output volume of the second speaker 102. The first weight value may be configured to adjust the decibel gain of the first speaker 101, and the second weight value may be configured to adjust the decibel gain of the second speaker 102. Furthermore, the processing device 100 may multiply the voltage root mean square (VRMS) of the output audio of the first speaker 101 by the first weight value to control the first output volume, and multiply the VRMS of the output audio of the second speaker 102 by the second weight value to control the second output volume.
Accordingly, the sound field controlling system and method according to one or more embodiments of the disclosure adjust the sound field of the speakers based on the user image and the positions of the speakers, allowing the user to experience a frontal sound field without a sense of sound field imbalance, which in turn may provide the user with a better auditory experience.
Please refer to
In step S1051, the processing device 100 may obtain the product (r cos θ) of the head radius r and the cosine value of the head rotation angle θ, and obtain a first parameter based on the product of the cosine value and the first distance Dmh.
In step S1053, the processing device 100 may obtain the product (r sin θ) of the head radius r and the sine value of the head rotation angle θ, and obtain a second parameter based on the product of the sine value and the second distance Dspk.
In step S1055, the processing device 100 may use the first parameter and the second parameter to calculate the plurality of sound source distances between each of the first speaker 101 and the second speaker 102 and the left ear and right ear of the user's head A1. Step S1055 may be implemented through the following equation (1) to equation (4).
Assuming the first speaker 101 is located on the left side of the user and the second speaker 102 is located on the right side of the user, in equation (1) to equation (4), dLL is the first sound source distance, dLR is the second sound source distance, dRL is the third sound source distance, and dRR is the fourth sound source distance.
Please refer to
In step S1071, the processing device 100 may calculate the inverse of the square of the first sound source distance, the inverse of the square of the second sound source distance, the inverse of the square of the third sound source distance, and the inverse of the square of the fourth sound source distance, and add the inverses of the first sound source distance to the fourth sound source distance to obtain a sum value.
In step S1073, the processing device 100 may obtain the first weight value based on the inverse of the square of the first sound source distance, the inverse of the square of the second sound source distance, and the sum value. In step S1075, the processing device 100 may obtain the second weight value based on the inverse of the square of the third sound source distance, the inverse of the square of the fourth sound source distance, and the sum value. Step S1073 may be implemented through the following equation (5), and step S1075 may be implemented through the following equation (6).
In equation (5) and equation (6),
is the inverse of the square of the first sound source distance,
is the inverse of the square of the second sound source distance,
is the inverse of the square of the third sound source distance,
is the inverse of the square of the fourth sound source distance,
is the sum value,
is the first weight value, and
is the second weight value.
Please refer to
The monitor 200 includes a connector 203, a second processing device 204, a digital signal processor 205, a first speaker 206, and a second speaker 207. The second processing device 204, the digital signal processor 205, the first speaker 206, and the second speaker 207 may be collectively disposed at the monitor 200. The second processing device 204 and the digital signal processor 205 may be disposed inside the monitor 200, and the first speaker 206 and the second speaker 207 may be disposed on the housing of the monitor 200 and located on the left and right sides of the monitor 200, respectively. The implementation of the first speaker 206 and the second speaker 207 may be the same as the first speaker 101 and the second speaker 102 of
The connector 203 is connected to the first processing device 201 and the second processing device 204, the second processing device 204 is connected to the digital signal processor 205, and the digital signal processor 205 is connected to the first speaker 206 and the second speaker 207. Specifically, the connector 203 may be connected to the first processing device 201 through a Universal Serial Bus (USB) interface, and connected to the second processing device 204 through an inter-integrated circuit (I2C) interface. The second processing device 204 may be connected to the digital signal processor 205 through an inter-integrated circuit interface.
The connector 203 may be configured to transmit data from the first processing device 201 to the second processing device 204, and may be configured to transmit data from the second processing device 204 to the first processing device 201. The connector 203 may include a Universal Serial Bus (USB) hub.
The first processing device 201 may be configured to execute a part of the sound field controlling method of the one or more embodiments described above, and the second processing device 204 may be configured to execute the other part of the sound field controlling method of the one or more embodiments described above. Furthermore, the first processing device 201 may be configured to execute step S101 and step S103 of
Furthermore, step S109 may include the second processing device 204 performing audio channel settings for the first speaker 206 and the second speaker 207 on the digital signal processor 205 based on the first weight value and the second weight value, respectively. The digital signal processor 205 may accordingly control the first output volume of the first speaker 206 and the second output volume of the second speaker 207.
The second processing device 204 may include one or more processors, and the processor is, for example, a central processing unit (CPU), a graphics processing unit (GPU), a microcontroller, a programmable logic controller (PLC), or other processors with signal processing functions.
In the embodiment of
Please refer to
The imaging device 301 is connected to the processing device 302, the processing device 302 is connected to the digital signal processor 303, and the digital signal processor 303 is connected to the first speaker 304 and the second speaker 305. The imaging device 301 may be connected to the processing device 302 through an inter-integrated circuit (I2C) interface, and the processing device 302 may be connected to the digital signal processor 303 through a mobile industry processor interface (MIPI).
The implementations of the imaging device 301, the digital signal processor 303, the first speaker 304, and the second speaker 305 may be the same as the imaging device 202, the digital signal processor 205, the first speaker 206, and the second speaker 207 of
In the embodiment of
In view of the above description, the sound field controlling system and method according to one or more embodiments of the disclosure adjust the sound field of the speakers based on the user's image and the positions of the speakers. This allows the user to experience a centered sound field without a sense of sound field imbalance, thereby providing the user with a better auditory experience. Furthermore, through having a part of the sound field controlling method executed by the first processing device and the other part executed by the second processing device, the computational load and processing time of each processing device may be effectively reduced.
Claims
1. A sound field controlling method, executed by a processing device, the processing device being connected to a first speaker, a second speaker, and an imaging device, the method comprising:
- obtaining a user image including a head of a user through the imaging device;
- obtaining a head rotation angle and a first distance based on the user image, wherein the first distance is a distance between the head of the user and a center point between a preset position of the first speaker and a preset position of the second speaker;
- obtaining a plurality of sound source distances between each of the first speaker and the second speaker and a left ear and a right ear of the head of the user based on the head rotation angle, the first distance, a second distance, and a head radius, wherein the second distance is a preset distance between the first speaker and the second speaker;
- obtaining a first weight value corresponding to the first speaker and a second weight value corresponding to the second speaker based on the plurality of sound source distances; and
- controlling a first output volume of the first speaker by utilizing the first weight value and controlling a second output volume of the second speaker by utilizing the second weight value.
2. The sound field controlling method according to claim 1, wherein obtaining the plurality of sound source distances based on the head rotation angle, the first distance, the second distance, and the head radius comprises:
- obtaining a first parameter based on the first distance and a product of the head radius and a cosine value of the head rotation angle;
- obtaining a second parameter based on the second distance and a product of the head radius and a sine value of the head rotation angle; and
- obtaining the plurality of sound source distances according to the first parameter and the second parameter.
3. The sound field controlling method according to claim 1, wherein the plurality of sound source distances comprise a first sound source distance between the left ear and the first speaker, a second sound source distance between the left ear and the second speaker, a third sound source distance between the right ear and the first speaker, and a fourth sound source distance between the right ear and the second speaker, and obtaining the first weight value corresponding to the first speaker and the second weight value corresponding to the second speaker based on the plurality of sound source distances comprises:
- adding an inverse of a square of the first sound source distance, an inverse of a square of the second sound source distance, an inverse of a square of the third sound source distance, and an inverse of a square of the fourth sound source distance to obtain a sum value;
- obtaining the first weight value based on the inverse of the square of the first sound source distance, the inverse of the square of the second sound source distance, and the sum value; and
- obtaining the second weight value based on the inverse of the square of the third sound source distance, the inverse of the square of the fourth sound source distance, and the sum value.
4. The sound field controlling method according to claim 1, wherein controlling the first output volume of the first speaker by utilizing the first weight value and controlling the second output volume of the second speaker by utilizing the second weight value comprises:
- multiplying an audio voltage corresponding to the first speaker by the first weight value to obtain the first output volume; and
- multiplying an audio voltage corresponding to the second speaker by the second weight value to obtain the second output volume.
5. A sound field controlling system, comprising:
- a first speaker having a preset position;
- a second speaker having a preset position;
- an imaging device configured to obtain a user image including a head of a user; and
- at least one processing device connected to the first speaker, the second speaker, and the imaging device, the at least one processing device configured to obtain the user image through the imaging device; obtain a head rotation angle and a first distance based on the user image, wherein the first distance is a distance between a center point between the preset position of the first speaker and the preset position of the second speaker and the head of the user; obtain a plurality of sound source distances between each of the first speaker and the second speaker and a left ear and a right ear of the head of the user based on the head rotation angle, the first distance, a second distance, and a head radius, wherein the second distance is a distance between the first speaker and the second speaker; obtain a first weight value corresponding to the first speaker and a second weight value corresponding to the second speaker based on the plurality of sound source distances; and utilize the first weight value to control a first output volume of the first speaker and utilize the second weight value to control a second output volume of the second speaker.
6. The sound field controlling system according to claim 5, wherein the at least one processing device is configured to obtain a first parameter based on the first distance and a product of the head radius and a cosine value of the head rotation angle; obtain a second parameter based on the second distance and a product of the head radius and a sine value of the head rotation angle; and obtain the plurality of sound source distances according to the first parameter and the second parameter.
7. The sound field controlling system as described in claim 5, wherein the plurality of sound source distances comprise a first sound source distance between the left ear and the first speaker, a second sound source distance between the left ear and the second speaker, a third sound source distance between the right ear and the first speaker, and a fourth sound source distance between the right ear and the second speaker; the at least one processing device is configured to add an inverse of a square of the first sound source distance, an inverse of a square of the second sound source distance, an inverse of a square of the third sound source distance, and an inverse of a square of the fourth sound source distance to obtain a sum value; obtain the first weight value based on the inverse of the square of the first sound source distance, the inverse of the square of the second sound source distance, and the sum value; and obtain the second weight value based on the inverse of the square of the third sound source distance, the inverse of the square of the fourth sound source distance, and the sum value.
8. The sound field controlling system according to claim 5, wherein the at least one processing device is configured to multiply the first weight value by an audio voltage corresponding to the first speaker to obtain the first output volume; and multiply the second weight value by an audio voltage corresponding to the second speaker to obtain the second output volume.
9. The sound field controlling system according to claim 5, wherein the at least one processing device comprises a first processing device and a second processing device; the first processing device is configured to obtain the user image, and obtain the head rotation angle and the first distance based on the user image;
- the second processing device is configured to obtain the plurality of sound source distances based on the head rotation angle, the first distance, the second distance, and the head radius; and obtain the first weight value corresponding to the first speaker and the second weight value corresponding to the second speaker based on the plurality of sound source distances; and utilize the first weight value to control the first output volume of the first speaker and utilizes the second weight value to control the second output volume of the second speaker.
10. The sound field controlling system according to claim 9, wherein the first processing device is disposed at a computer, the second processing device, the first speaker, and the second speaker are collectively disposed at a monitor.
Type: Application
Filed: Apr 1, 2026
Publication Date: Nov 26, 2026
Applicant: GIGA-BYTE TECHNOLOGY CO., LTD. (New Taipei City)
Inventors: Shu-Cheng WU (New Taipei City), Kuei-Shan CHANG (New Taipei City)
Application Number: 19/636,422