This application claims the benefit of Taiwan application Serial No. 112138713, filed Oct. 11, 2023, the disclosure of which is incorporated by reference herein in its entirety.
The present disclosure relates to an electronic device and a control method thereof, and in particular relates to a display device capable of providing audio and an audio control method thereof.
With the progress of electronic technology, various display devices have been widely used in daily life, such as flat-panel displays, smart TVs, etc. Most display devices are provided with built-in speakers, or the display device may be coupled to external speakers or external headphones to provide output audio.
The display device may adjust a volume value of the output audio. The volume adjustment mechanism includes: adjusting an output volume value of the display device itself, and adjusting a system output volume value of the host device which is coupled to the display device. The volume value of the output audio is proportional to a product of the output volume value of the display device itself and the system output volume value.
A User often directly adjusts the output volume value of the display device itself, but less likely adjusts the system output volume value of the host device. In order to improve user's convenience, an improved volume control mechanism is needed such that the user may further adjust the system output volume value of the host device when adjusting the output volume value of the display device itself.
According to an example of the present disclosure, a display device is disclosed. The display device is capable of providing a first audio and coupled to a host device through a first interface. The display device has a first output volume value, and the host device has a second output volume value. The display device comprises the following elements. A main control element, used to adjust the first output volume value according to a first control command, and compare the first output volume value with an upper limit value or a lower limit value to generate a first comparison result. An output element, coupled to the main control element and the host device, and used to generate the first audio according to the first output volume value and the second output volume value. An interface control element, coupled to the main control element and an input element, coupled to the host device through the first interface, and used to selectively generate a second control command according to the first comparison result and the first control command. When the first control command indicates increasing the first output volume value and the first comparison result indicates that the first output volume value is equal to the upper limit value, or when the first control command indicates decreasing the first output volume value and the first comparison result indicates that the first output volume value is equal to the lower limit value, the interface control element generates the second control command and sends the second control command to the host device through the first interface, and the host device adjusts the second output volume value in response to the second control command.
According to another example of the present disclosure, an audio control method is disclosed. The audio control method is for controlling a first audio provided by a display device. The display device is coupled to a host device through a first interface, the display device has a first output volume value, and the host device has a second output volume value. The audio control method comprising the following steps. Adjusting the first output volume value according to a first control command. Generating the first audio according to the first output volume value and the second output volume value. Comparing the first output volume value with an upper limit value or a lower limit value to generate a first comparison result. Selectively generating a second control command according to the first comparison result and the first control command. When the first control command indicates increasing the first output volume value and the first comparison result indicates that the first output volume value is equal to the upper limit value, or when the first control command indicates decreasing the first output volume value and the first comparison result indicates that the first output volume value is equal to the lower limit value, performing the following steps. Generating the second control command. Sending the second control command to the host device through the first interface. Adjusting the second output volume value by the host device in response to the second control command.
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. It will be apparent, however, that one or more embodiments may be practiced without these specific details. In other instances, well-known structures and devices are schematically shown in order to simplify the drawing.
Please refer to
The display device 1000 may provide the first audio AUD0. The first audio AUD0 may be converted into a sound through speakers or headphones and provided to a user. The speaker is, e.g., an external speaker 3010 externally connected to the display device 1000 or a built-in speaker 3020 internally disposed in the display device 1000. The headphone is, e.g., an external headphone 3030 externally connected to the display device 1000.
The display device 1000 has a first output volume value VOL1, and the first output volume value VOL1 indicates a volume value controlled by the display device 1000 itself. Furthermore, the host device 2000 has a second output volume value VOL2, and the second output volume value VOL2 indicates a system volume value of the host device 2000. A volume value VOL0 of the first audio AUD0 is proportional to a product of the first output volume value VOL1 and the second output volume value VOL2. In this embodiment, the volume value VOL0 of the first audio AUD0 is equal to the product of the first output volume value VOL1 and the second output volume value VOL2.
The display device 1000 may adjust the first output volume value VOL1 through the first control command CM1, thereby adjusting the volume value VOL0 of the first audio AUD0. For example, when the first output volume value VOL1 increases, the volume value VOL0 of the first audio AUD0 increases accordingly. When the first output volume value VOL1 increases to an upper limit value VOL1_max and cannot continue to increase, the second output volume value VOL2 may be further increased such that the volume value VOL0 of the first audio AUD0 may continue to increase.
On the other hand, when the first output volume value VOL1 decreases, the volume value VOL0 of the first audio AUD0 also decreases. When the first output volume value VOL1 decreases to the lower limit value VOL1_min and cannot continue to decrease, the second output volume value VOL2 may be further decreased such that the volume value VOL0 of the first audio AUD0 may continue to decrease.
The display device 1000 may send the second control command CM2 to the host device 2000 through the first interface IF1, and control the host device 2000 to adjust the second output volume value VOL2 through the second control command CM2. In this embodiment, only when the first output volume value VOL1 increases to the upper limit value VOL1_max or decreases to the lower limit value VOL1_min, the display device 1000 sends the second control command CM2 to the host device 2000 to adjust the second output volume value VOL2.
On the other hand, the display device 1000 may display another on-screen display menu OSD2 for the user to adjust the second output volume value VOL2. In another example, the second output volume value VOL2 may also be adjusted through a volume adjustment menu (not shown in the figures) in a system configuration window of an operating platform of the host device 2000. The user may drag a graphical lever b3 of the on-screen display menu OSD2 with the mouse cursor to increase or decrease the second output volume value VOL2, and the on-screen display menu OSD2 may correspondingly display a current value of the second output volume value VOL2 (for example, 20%).
In this embodiment, the volume value VOL0 of the first audio AUD0 is equal to the product of the first output volume value VOL1 and the second output volume value VOL2. When the user adjusts the first output volume value VOL1 as 50% and adjusts the second output volume value VOL2 as 20%, the volume value VOL0 of the first audio AUD0 is 10%.
In another example, the user may also adjust the third output volume value VOL3 (not shown in the figures) through an application program executed in the host device 2000. For example, a streaming media playback program executed in the host device 2000 also has a volume adjustment menu to adjust the third output volume value VOL3. In this case, the volume value VOL0 of the first audio AUD0 is equal to a product of the first output volume value VOL1, the second output volume value VOL2 and the third output volume value VOL3.
Next, please refer to the embodiment of
In another embodiment (not shown in
In the above embodiments, when the first output volume value VOL1 has reached the upper limit value VOL1_max (i.e., 100%) or reached the lower limit value VOL1_min (i.e., 0%), the user does not need to actively increase or decrease the second output volume value VOL2 (i.e., the user does not need to actively increase or decrease the second output volume value VOL2 through the graphic lever b3 of the on-screen display menu OSD2), but the display device 1000 automatically transmits the second control command CM2 to cause the host device 2000 to increase or decrease the second output volume value VOL2. Therefore, with the help of the second control command CM2, the user only needs to operate the graphic button b1 or b2 of the on-screen display menu OSD1 to cause the host device 2000 to continuously increase or decrease the second output volume value VOL2, which may simplify the user's operation and greatly improve user's convenience.
Next, please refer to
The input element 100 is associated with the on-screen display menu OSD1, and the user may operate the on-screen display menu OSD1 through the input element 100. Alternatively, the input element 100 may control the on-screen display menu OSD1. The input element 100 cooperates with the on-screen display menu OSD1 to convert the user's operation behavior of increasing or decreasing the first output volume value VOL1 as a specific first control command CM1. In one example, the frame or back plate of the display device 1000 is provided with physical buttons, and the input element 100 is the physical buttons corresponding to the display device 1000.
In another example, the input element 100 is a wired or wireless receiver that is communicatively coupled to the external element 800. The user generates the first control command CM1 through the external element 800, and the input element 100 receives the first control command CM1 from the external element 800. The external element 800 is, for example, an on-screen display menu remote controller, which operates the on-screen display menu OSD1 in a wireless manner. Alternatively, the external element 800 is physical button(s) of the external headphone 3030 in
The main control element 200 is coupled to the input element 100 to receive the first control command CM1, and the main control element 200 generates the first output volume value VOL1 according to the first control command CM1. The main control element 200 includes, e.g., a parser circuit that may parse whether to increase or decrease the first output volume value VOL1 from the first control command CM1, and adjust the first output volume value VOL1 according to the first control command CM1. On the other hand, the main control element 200 may include a comparator circuit for comparing the first output volume value VOL1 with the upper limit value VOL1_max to generate a first comparison result CP1.
The output element 400 is coupled to the main control element 200 to receive the first output volume value VOL1, and coupled to the host device 2000 through the first interface IF1 to receive the second output volume value VOL2. The output element 400 includes, e.g., a multiplier circuit for performing a multiplication operation of the first output volume value VOL1 and the second output volume value VOL2, so as to generate the volume value VOL0 of the first audio AUD0.
Furthermore, the output element 400 is coupled to the external speaker 3010, the built-in speaker 3020 or the external headphone 3030 in
The interface control element 300 is coupled to the main control element 200 to receive the first comparison result CP1 and the first control command CM1, and generate the second control command CM2 according to the first comparison result CP1 and the first control command CM1. The interface control element 300 includes, e.g., a parser circuit for parsing the first comparison result CP1 and the first control command CM1. When the interface control element 300 parses the first comparison result CP1 to indicate that the first output volume value VOL1 has reached the upper limit value VOL1_max (i.e. 100%) and the first control command CM1 indicates that the user wants to continue to increase the first output volume value VOL1, the interface control element 300 generates a second control command CM2 correspondingly, and the second control command CM2 indicates increasing the second output volume value VOL2.
On the other hand, when the interface control element 300 parses the first comparison result CP1 to indicate that the first output volume value VOL1 has reached the lower limit value VOL1_min (i.e., 0%), and the first control command CM1 indicates that the user wants to continue to decrease When the first output volume value VOL1, the interface control element 300 correspondingly generates the second control command CM2. The second control command CM2 indicates to decrease the second output volume value VOL2.
The interface control element 300 is coupled to the host device 2000 through the first interface IF1, so as to transmit the second control command CM2 to the host device 2000. The host device 2000 increases or decreases the second output volume value VOL2 according to the second control command CM2. Furthermore, the host device 2000 transmits the second output volume value VOL2 to the output element 400 of the display device 1000 via the first interface IF1.
As mentioned above, the first interface IF1 is, e.g., an HDMI, a USB interface or a DP interface. When the first interface IF1 is an HDMI, the second control command CM2 is a Consumer Electronics Control (CEC) command specified by the HDMI specification. The CEC command of the HDMI may indicate “increasing the second output volume value VOL2” or “decreasing the second output volume value VOL2”. On the other hand, when the first interface IF1 is a USB interface, the second control command CM2 is a HID volume increase command (e.g., coded as DB “0x09, 0xE9”) or a HID volume decrease command (e.g. encoded as DB “0x09,0xEA”) which is specified by the USB specification.
More specifically, if the first interface IF1 is an HDMI, after the display device 1000 is coupled to the host device 2000, the interface control element 300 establishes a connection between the display device 1000 and the host device 2000. According to the established connection, the display device 1000 and the host device 2000 may cooperate through the first interface IF1, including: transmitting the second control command CM2 and the second output volume value VOL2 through the first interface IF1.
On the other hand, if the first interface IF1 is a USB interface, after the display device 1000 is coupled to the host device 2000, the interface control element 300 firstly executes a device identification mechanism under the USB specification. In the device identification mechanism, the interface control element 300 firstly sends a third control command CM3 to the host device 2000. The third control command CM3 includes a HID device identification code under the USB specification, such as an identification code of USB keyboard device. According to the third control command CM3, the host device 2000 identifies the display device 1000 as a USB keyboard device (i.e., a keyboard device that communicates with the host device 2000 through a USB interface). In one example, the display device 1000 is identified as a USB keyboard device with a volume adjustment function, and the user may adjust the first output volume value VOL1 through physical button(s) of such a keyboard device. After the device identification mechanism under USB specification is executed, the interface control element 300 completes the establishment of the connection between the display device 1000 and the host device 2000.
Then, in step S102, the first control command CM1 is analyzed by the main control element 200, so as to determine whether the user wants to increase or decrease the first output volume value VOL1.
Then, step S106 is executed: the first output volume value VOL1 is compared with the upper limit value VOL1_max or the lower limit value VOL1_min by the main control element 200, so as to generate a first comparison result CP1. For example, when the first control command CM1 is parsed as increasing the first output volume value VOL1, the main control element 200 compares the first output volume value VOL1 with the upper limit value VOL1_max. On the other hand, when the first control command CM1 is parsed as decreasing the first output volume value VOL1, the main control element 200 compares the first output volume value VOL1 with the lower limit value VOL1_min. The first comparison result CP1 may indicate whether the first output volume value VOL1 reaches the upper limit value VOL1_max or the lower limit value VOL1_min.
If the determination result of step S106 is “no”, it means that the first output volume value VOL1 has not reached the upper limit value VOL1_max and has not reached the lower limit value VOL1_min (i.e., the first output volume value VOL1 is between the upper limit value VOL1_max and between the lower limit value VOL1_min), then step S108 is executed: increasing or decreasing the first output volume value VOL1 by the main control element 200, and the output element 400 adjusts (i.e., increases or decreases) the volume value VOLO of the first audio AUD0 based on the first output volume value VOL1.
If the determination result of step S106 is “yes” (i.e., the first output volume value VOL1 has reached the upper limit value VOL1_max, or has reached the lower limit value VOL1_min), then step S110 is executed: the second control command CM2 is generated by the interface control element 300, where the second control command CM2 indicates increasing or decreasing the second output volume value VOL2.
After step S110, step S112 is then executed: the type of the first interface IF1 is analyzed by the interface control element 300, so as to determine whether the first interface IF1 is a USB interface. If the determination result of step S112 is “no” (i.e., the first interface IF1 is not a USB interface), step S114 is executed: the second control command CM2 is sent to the host device 2000. The second control command CM2 is, e.g., a CEC command of the HDMI specification, indicating to increase or decrease the second output volume value VOL2.
Then, in step S122, the host device 2000 receives the second control command CM2 through the first interface IF1. Then, in step S124, the host device 2000 increases or decreases the second output volume value VOL2 according to the second control command CM2, and the output element 400 adjusts the volume value VOL0 of the first audio AUD0 according to the second output volume value VOL2.
If the determination result of step S112 is “yes” (i.e., the first interface IF1 is a USB interface), then step S116 is executed: the interface control element 300 sends a third control command CM3 to the host device 2000. The third control command CM3 Includes a HID device identification code under the USB specification (e.g., a device identification code of a USB keyboard).
After step S116, step S118 is then executed: the host device 2000 identified the display device 1000 as a HID device of the USB specification according to the third control command CM3. Then, step S120 is executed: the interface control element 300 completes the establishment of the connection between the display device 1000 and the host device 2000. Then, returning to step S114: the second control command CM2 is sent to the host device 2000. The second control command CM2 is, e.g., a HID volume increase command under the USB specification (e.g., encoded as DB “0x09, 0xE9”), indicating that the second output volume value VOL2 is increased. Alternatively, the second control command CM2 is a HID volume decrease command (e.g., encoded as DB “0x09, 0xEA”), indicating that the second output volume value VOL2 is decreased.
According to the audio control method illustrated in
It will be apparent to those skilled in the art that various modifications and variations may be made to the disclosed embodiments. It is intended that the specification and examples be considered as exemplars only, with a true scope of the disclosure being indicated by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
112138713 | Oct 2023 | TW | national |