An audio signal output control method and a display device
By binding DRC and volume control functions in the SOC chip, the problem of audio signal output attenuation in the prior art simulated amplifier equipment is solved, and better audio signal output effect and user experience are achieved.
Patent Information
- Application Number
- CN202111041988.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-07
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2041-09-07
AI Technical Summary
The existing DRC technology cannot effectively control the audio signal output of analog amplifier equipment, resulting in transition attenuation of audio signals and affecting the user's auditory experience.
By pre-establishing the mapping association between the DRC module and the volume adjustment module in the SOC chip, the DRC and volume control functions are unified to ensure that the DRC gain and volume gain of the SOC chip are constrained and linked.
It realizes effective protection of analog amplifier equipment, avoids excessive attenuation of audio signals, improves the output effect of audio signals, and provides users with a better auditory experience.
Smart Images

Figure CN113687811B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display devices, and in particular, to an audio signal output control method and a display device. Background Art
[0002] DRC (Dynamic Range Control) is a signal amplitude control function used to dynamically adjust the amplitude and power of audio output. For example, if the output audio signal is too large, it may cause audio distortion and damage the audio player. Therefore, the DRC function compresses the signal amplitude to keep the audio signal at a reasonable intensity to ensure the audio playback effect and protect the sound player.
[0003] Currently, DRC mainly includes two implementation forms. The first is the DRC built into the digital power amplifier, that is, after the audio signal is decoded and processed, it enters the SOC chip. The SOC chip transmits the audio signal to the specified digital power amplifier, and finally the digital power amplifier performs DRC processing on the audio signal. The second is the DRC built into the SOC chip, that is, after the audio signal after decoding and other processing is processed by the SOC chip through DRC, it is then transmitted to the specified power amplifier for audio playback.
[0004] The above first DRC implementation method is only applicable to digital power amplifiers and is not applicable to display devices equipped with analog power amplifiers. Although the above second DRC implementation method can adapt to analog power amplifiers, it cannot control other gain links after the SOC chip. For example, after the audio signal is attenuated due to the amplitude compression of the SOC chip DRC, if the user then reduces the output volume of the analog power amplifier, there will be a problem of excessive attenuation of the audio signal, resulting in the user being unable to clearly hear the audio signal output by the power amplifier. Summary of the Invention
[0005] To solve the technical problems raised in the above background art, the present invention provides an audio signal output control method and a display device, which can not only protect the power amplifier device from being damaged due to excessive output power, but also improve the output effect of the audio signal and provide a better listening experience for users.
[0006] The first aspect of the present application provides a display device, including:
[0007] At least one audio player for outputting an audio signal;
[0008] A controller for performing:
[0009] After the decoded audio signal is input to the SOC chip, if it is detected that the currently enabled target audio player belongs to an analog power amplifier, the function of the first DRC module built into the SOC chip is enabled;
[0010] Match a target gain value according to a preset association relationship between the first DRC module and a volume adjustment module in the target audio player, and a target volume input by a user;
[0011] Control the first DRC module to perform DRC processing on an audio signal according to the target gain value, and send the processed audio signal to the target audio player, so that the target audio player outputs an audio signal matching the target gain value and the target volume.
[0012] After being decoded and processed, the audio signal enters the SOC chip. After the first DRC module in the SOC chip performs DRC processing on the audio signal, the audio signal enters the audio player. If the audio player is an analog power amplifier, it does not support the DRC function. If the user adjusts the volume at this time, the volume of the DRC-processed audio signal still needs to be adjusted by the volume adjustment module, resulting in excessive attenuation of the audio signal. In view of this, in the technical solution provided in the first aspect of this application, a mapping association between the first DRC module in the SOC chip and the volume adjustment module is established in advance, which is equivalent to unifying and binding the two control functions of DRC and volume of the audio signal at the software level. After the binding, there is no other gain link affecting the signal output, and the audio player only needs to directly output the audio signal. Through the preset association relationship between the first DRC module and the volume adjustment module, the DRC of the SOC chip and the volume gain adjustment can be mutually restricted and linked. For example, if the user turns up the volume, the SOC chip appropriately compresses the amplitude of the audio signal through the DRC function; if the user turns down the volume, the SOC chip can reduce the DRC attenuation amplitude of the audio signal or not attenuate it, realizing the complementarity between the DRC gain and the volume gain of the SOC chip, which can not only protect the power amplifier device from being damaged due to excessive output power / volume, but also appropriately increase the signal amplitude when the volume is low, improve the output effect of the audio signal, and provide a better listening experience for the user.
[0013] In the first exemplary implementation manner of the first aspect, the controller matches the target gain value in the following manner: obtain a gain threshold specified by the preset association relationship; calculate a difference between the gain threshold and the target volume, and use the difference as the target gain value. In this embodiment, specific threshold constraints are provided between the DRC of the SOC chip and the volume gain adjustment. A gain threshold is specified in the preset association relationship corresponding to each analog power amplifier, so that the sum of the volume and the DRC gain is always equal to the gain threshold, thereby realizing the adaptive matching of the DRC gain of the SOC chip according to the target volume and the gain threshold.
[0014] In the second exemplary implementation manner of the first aspect, the gain threshold is less than or equal to a preset gain upper limit value; wherein, the gain upper limit value = volume max+DRC gain max ,volume max represents the maximum volume that the target audio player can output, and DRC gain max is the gain value obtained by the first DRC module and matched with volume max . In this embodiment, the gain threshold is further defined. The gain threshold is less than or equal to the gain upper limit value. For example, during the debugging stage of the display device, when the audio player outputs the maximum volume, considering that the audio player will not burn out and the audio signal output effect, a better gain value adapted to volume max is obtained as DRC gain max . Then, the sum of volume max and DRC gain max is the gain upper limit value. As long as the gain threshold does not exceed this upper limit value, the risk of the power amplifier device burning out can be ensured, thus taking into account the use safety of the audio player and the signal playback effect.
[0015] In the third exemplary implementation manner of the first aspect, the controller is further configured to execute:
[0016] If it is detected that the target audio player belongs to a digital power amplifier, the function of the second DRC module built in the target audio player is turned on, and the function of the first DRC module is kept turned off; wherein, both the volume adjustment module and the second DRC module are located in the output channel of the target audio player, and the second DRC module is located at the end of the output channel; the SOC chip is controlled to send the audio signal to the target audio player; the target audio player is controlled to perform volume and DRC processing on the audio signal in sequence and output the processed audio signal. The third embodiment corresponds to the scenario where the target audio player for the currently output audio is digital. Digital power amplifiers generally support the DRC function. Therefore, the DRC function is executed at the end of the power amplifier, and the DRC function of the SOC chip is kept turned off. At this time, the SOC chip only functions to transmit the audio signal to the target audio player.
[0017] In the fourth exemplary implementation of the first aspect, the controller is further configured to perform: if the number of target audio players detected is greater than 1, then control each target audio player to output an audio signal according to the power amplifier type to which each target audio player belongs; wherein, the power amplifier type includes an analog power amplifier and a digital power amplifier. Referring to the foregoing embodiments, since the power amplifier types are different, the audio signal output modes are also different. If it is an analog power amplifier, Mode 1 of the first aspect is adopted, and if it is a digital power amplifier, Mode 2 shown in the above third exemplary implementation is adopted. When the number of target audio players is multiple, for example, including a digital audio and an analog headphone, that is, a multi-power amplifier hybrid type, the digital audio outputs the audio signal according to Mode 2, and the analog headphone outputs the audio signal according to Mode 1, so as to adaptively match the audio signal output mode according to the power amplifier type.
[0018] The second aspect of the present application provides an audio signal output control method, including:
[0019] After the decoded audio signal is input to the SOC chip, if it is detected that the currently enabled target audio player belongs to an analog power amplifier, the function of the first DRC module built in the SOC chip is enabled;
[0020] According to the preset association relationship between the first DRC module and the volume adjustment module in the target audio player, and the target volume input by the user, a target gain value is matched;
[0021] Control the first DRC module to perform DRC processing on the audio signal according to the target gain value, and send the processed audio signal to the target audio player, so that the target audio player outputs an audio signal matching the target gain value and the target volume.
[0022] In the first exemplary implementation of the second aspect, the matching of the target gain value used by the first DRC module to process the audio signal includes:
[0023] Obtain the gain threshold specified by the preset association relationship;
[0024] Calculate the difference between the gain threshold and the target volume, and use the difference as the target gain value.
[0025] In the second exemplary implementation of the second aspect, the gain threshold is less than or equal to a preset gain upper limit value; wherein, the gain upper limit value = volume max + DRCgain max ,volume max represents the maximum volume that the target audio player can output, DRCgain maxThe gain value obtained for the first DRC module and volume max matched.
[0026] In a third exemplary implementation of the second aspect, the method further includes:
[0027] If it is detected that the target audio player belongs to a digital power amplifier, the function of the second DRC module built into the target audio player is turned on, and the function of the first DRC module is kept off; wherein, the volume adjustment module and the second DRC module are both located in the output channel of the target audio player, and the second DRC module is located at the end of the output channel;
[0028] Control the SOC chip to send the audio signal to the target audio player;
[0029] Control the target audio player to perform volume and DRC processing on the audio signal in sequence, and output the processed audio signal.
[0030] In a fourth exemplary implementation of the second aspect, the method further includes:
[0031] If it is detected that the number of target audio players is greater than 1, control each target audio player to output an audio signal according to the type of power amplifier to which each target audio player belongs; wherein, the types of power amplifiers include analog power amplifiers and digital power amplifiers.
[0032] For the beneficial technical effects of the second aspect and its various exemplary implementations, reference may be made to the description of the foregoing first aspect, and details are not repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or in the prior art, the following will briefly introduce the drawings required for access in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0034] Figure 1 Exemplarily shows the usage scenario of a display device according to some embodiments;
[0035] Figure 2 Exemplarily shows the hardware configuration block diagram of a control device 100 according to some embodiments;
[0036] Figure 3 Exemplarily shows the hardware configuration block diagram of a display device 200 according to some embodiments;
[0037] Figure 4Exemplarily shown is a software configuration diagram in a display device 200 according to some embodiments;
[0038] Figure 5 Exemplarily shown is a schematic diagram of an audio signal processing logic architecture I;
[0039] Figure 6 Exemplarily shown is a schematic diagram of an improved audio signal processing logic architecture II;
[0040] Figure 7 Exemplarily shown is a flowchart of an audio signal output control method. Detailed implementation manners
[0041] To make the objectives and implementation manners of the present application clearer, the following will clearly and completely describe the exemplary implementation manners of the present application in conjunction with the accompanying drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only a part of the embodiments of the present application, rather than all of the embodiments.
[0042] It should be noted that the brief description of the terms in the present application is only for facilitating the understanding of the subsequent described implementation manners, rather than intending to limit the implementation manners of the present application. Unless otherwise specified, these terms should be understood in their ordinary and general meanings.
[0043] The terms "first", "second", "third", etc. in the description, claims and the above accompanying drawings of the present application are used to distinguish similar or homogeneous objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that such terms can be interchanged under appropriate circumstances.
[0044] The terms "comprising" and "having" and any variations thereof are intended to cover but not exclusively include. For example, a product or device comprising a series of components does not necessarily have to be limited to all the clearly listed components, but may include other components not clearly listed or inherent to these products or devices.
[0045] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or a combination of hardware or / and software code that can perform functions related to the element.
[0046] Figure 1 Schematic diagram of the usage scenario of the display device according to the embodiment. As Figure 1 shown, the display device 200 also conducts data communication with the server 400, and the user can operate the display device 200 through the smart device 300 or the control device 100.
[0047] In some embodiments, the control device 100 may be a remote control. The communication between the remote control and the display device includes at least one of infrared protocol communication, Bluetooth protocol communication, and other short-range communication methods, and controls the display device 200 in a wireless or wired manner. The user can input user instructions through at least one of the buttons on the remote control, voice input, control panel input, etc. to control the display device 200.
[0048] In some embodiments, the intelligent device 300 may include any one of a mobile terminal, a tablet computer, a computer, a laptop, an AR / VR device, etc.
[0049] In some embodiments, the intelligent device 300 may also be used to control the display device 200. For example, an application program running on the intelligent device is used to control the display device 200.
[0050] In some embodiments, the intelligent device 300 may also be used to communicate data with the display device.
[0051] In some embodiments, the display device 200 may also be controlled in a manner other than the control device 100 and the intelligent device 300. For example, it can directly receive the user's voice command through a module for obtaining voice commands configured inside the display device 200, or receive the user's voice command through a voice control device externally provided for the display device 200.
[0052] In some embodiments, the display device 200 also communicates data with the server 400. The display device 200 is allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 can provide various contents and interactions to the display device 200. The server 400 can be a cluster or multiple clusters, and can include one or more types of servers.
[0053] In some embodiments, the software steps executed by one step execution entity can be migrated to another step execution entity that communicates data with it as required. Exemplarily, the software steps executed by the server can be migrated to the display device that communicates data with it as required, and vice versa.
[0054] Figure 2 An exemplary configuration block diagram of the control device 100 according to an exemplary embodiment is shown. As Figure 2 shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive the user's input operation instructions, convert the operation instructions into instructions recognizable and responsive by the display device 200, and act as an interaction intermediary between the user and the display device 200.
[0055] In some embodiments, the communication interface 130 is used for external communication and includes at least one of a WIFI chip, a Bluetooth module, an NFC, or an alternative module.
[0056] In some embodiments, the user input / output interface 140 includes at least one of a microphone, a touchpad, a sensor, a button, or an alternative module.
[0057] Figure 3 A hardware configuration block diagram of the display device 200 according to an exemplary embodiment is shown.
[0058] In some embodiments, the display device 200 includes at least one of a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.
[0059] In some embodiments, the controller includes a central processing unit, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and first to nth interfaces for input / output.
[0060] In some embodiments, the display 260 includes a display screen component for presenting a picture, and a driving component for driving image display, a component for receiving an image signal output from the controller to display video content, image content, and a menu control interface, and a user control UI interface, etc.
[0061] In some embodiments, the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
[0062] In some embodiments, the tuner demodulator 210 receives a broadcast television signal by wired or wireless reception, and demodulates an audio / video signal from a plurality of wireless or wired broadcast television signals, such as an EPG data signal.
[0063] In some embodiments, the communicator 220 is a component for communicating with an external device or a server according to various communication protocol types. For example: the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module, other network communication protocol chips or near-field communication protocol chips, and an infrared receiver. The display device 200 may establish the sending and receiving of control signals and data signals with the control device 100 or the server 400 through the communicator 220.
[0064] In some embodiments, the detector 230 is used to collect signals of the external environment or for external interactions. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light; alternatively, the detector 230 includes an image collector, such as a camera, which can be used to collect external environmental scenes, user attributes, or user interaction gestures. Or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.
[0065] In some embodiments, the external device interface 240 may include, but is not limited to, the following: any one or more of a High-Definition Multimedia Interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface (USB), an RGB port, etc. It may also be a composite input / output interface formed by the above multiple interfaces.
[0066] In some embodiments, the controller 250 and the tuner demodulator 210 may be located in different split devices, that is, the tuner demodulator 210 may also be in an external device of the main device where the controller 250 is located, such as an external set-top box, etc.
[0067] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 can perform operations related to the object selected by the user command.
[0068] In some embodiments, the object may be any one of the selectable objects, such as a hyperlink, an icon, or other operable controls. Operations related to the selected object include: operations such as displaying a page, document, image, etc. connected to the hyperlink, or performing an operation corresponding to the program of the icon.
[0069] In some embodiments, the controller includes at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphics Processing Unit (GPU), a Random Access Memory (RAM), a Read-Only Memory (ROM), a first interface to an nth interface for input / output, a communication bus (Bus), etc.
[0070] The CPU processor is used to execute the operating system and application program instructions stored in the memory, and execute various application programs, data, and content according to various interaction instructions received from external inputs, so as to finally display and play various audio and video contents. The CPU processor may include multiple processors. For example, it includes a main processor and one or more sub-processors.
[0071] In some embodiments, the graphics processor is used to generate various graphic objects, such as at least one of icons, operation menus, and graphic displays of user input instructions, etc. The graphics processor includes an arithmetic unit that performs arithmetic operations by receiving various interaction instructions input by the user and displays various objects according to display attributes; it also includes a renderer that renders various objects obtained based on the arithmetic unit, and the above-rendered objects are used to be displayed on the display.
[0072] In some embodiments, the video processor is used to receive an external video signal and perform at least one of video processing operations such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to the standard codec protocol of the input signal, and a signal that can be directly displayed or played on the display device 200 can be obtained.
[0073] In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, a display formatting module, etc. Among them, the demultiplexing module is used to perform demultiplexing processing on the input audio and video data stream. The video decoding module is used to process the demultiplexed video signal, including decoding and scaling processing, etc. The image synthesis module, such as an image synthesizer, is used to superimpose and mix the GUI signal generated by the graphics generator according to user input or generated by itself with the video image after scaling processing to generate an image signal for display. The frame rate conversion module is used to convert the input video frame rate. The display formatting module is used to change the received video output signal after frame rate conversion to a signal that conforms to the display format, such as outputting an RGB data signal.
[0074] In some embodiments, the audio processor is used to receive an external audio signal and perform at least one of decompression, decoding, noise reduction, digital-to-analog conversion, and amplification processing, etc. according to the standard codec protocol of the input signal to obtain a sound signal that can be played on the speaker.
[0075] In some embodiments, the user can input a user command through the graphical user interface (GUI) displayed on the display 260, and then the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user can input a user command by inputting a specific sound or gesture, and then the user input interface receives the user input command by recognizing the sound or gesture through a sensor.
[0076] In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or an operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The common manifestation form of the user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be an interface element such as an icon, a window, a control, etc. displayed on the display screen of an electronic device, where the control can include at least one of visible interface elements such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
[0077] In some embodiments, the user interface 280 is an interface that can be used to receive control inputs (such as: physical buttons on the display device body, or others, etc.).
[0078] In some embodiments, the system of the display device may include a Kernel, a shell, a file system, and applications. The Kernel, the shell, and the file system together constitute the basic operating system structure, which allows users to manage files, run programs, and use the system. After power-on, the Kernel starts, activates the Kernel space, abstracts the hardware, initializes the hardware parameters, etc., and runs and maintains virtual memory, a scheduler, signals, and inter-process communication (IPC). After the Kernel starts, the Shell and user applications are loaded. The application is compiled into machine code after startup to form a process.
[0079] Such as Figure 4 As shown, the system of the display device is divided into three layers, from top to bottom are the application layer, the middleware layer, and the hardware layer.
[0080] The application layer mainly includes common applications on the TV and an application framework (Application Framework). Among them, the common applications are mainly applications developed based on the browser Browser, such as: HTML5 APPs; and native applications (Native APPs);
[0081] The application framework (Application Framework) is a complete program model, which has all the basic functions required by standard application software, such as: file access, data exchange..., and the usage interfaces of these functions (toolbars, status bars, menus, dialog boxes).
[0082] Native applications (Native APPs) can support online or offline, message push, or local resource access.
[0083] The middleware layer includes middleware such as various TV protocols, multimedia protocols, and system components. The middleware can use the basic services (functions) provided by the system software to connect various parts of the application system on the network or different applications, and can achieve the purpose of resource sharing and function sharing.
[0084] The hardware layer mainly includes the HAL interface, hardware, and drivers. Among them, the HAL interface is the unified interface for all TV chips to dock, and the specific logic is implemented by each chip. The drivers mainly include: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor drivers (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power supply driver, etc.
[0085] The above embodiments introduce the hardware / software architecture of the display device and the implementation of functions, etc. In an exemplary implementation manner, Figure 5 Shows Architecture 1 of the current audio signal processing logic. Architecture 1 includes, but is not limited to, an audio decoder, an SOC chip, and at least one connected and available audio player (i.e., Audio Player 1 to Audio Player n). The audio player can be a built-in speaker of the display device or a power amplifier device connected through a specified interface, such as a sound system, headphones, etc. The interfaces for connecting the audio signal output channels are, for example, the AMP interface, HP interface, and SPDIF interface, or the HDMI interface, etc. After the audio data is decoded by the audio decoder, it is converted into an audio signal in PCM (Pulse Code Modulation) format and input into the SOC chip; the SOC chip queries the currently enabled target audio player and outputs the audio signal to the target audio player, and the target audio player outputs and plays the audio signal through its own channel.
[0086] In an exemplary implementation manner, each audio output channel can be independently controlled, including volume control, sound effect control, mute mode on / off control, and DRC control, etc.
[0087] In an exemplary implementation manner, the SOC chip supports the DRC function. The SOC chip can be built with a DRC module, named the first DRC module for easy distinction, to configure and implement the DRC function of the SOC chip, that is, to adjust the signal gain according to the intensity / amplitude of the current audio signal. For example, if the current signal intensity / amplitude is too large, to avoid the audio player running at high power for a long time and causing failures or even burning out, the intensity / amplitude of the audio signal can be compressed to make the audio signal show a certain degree of attenuation; if the current signal intensity / amplitude is too small, the DRC function can reduce the attenuation amplitude of the audio signal or not attenuate it, to achieve the dynamic range control of the audio signal. The DRC can only attenuate the audio signal or at most not attenuate it, and will not enhance the audio signal in the reverse direction.
[0088] In an exemplary implementation, each audio player includes a volume adjustment module. The volume adjustment module is configured to obtain a volume gain according to a target volume input by a user, and then adjust the output volume of the audio player to the target volume to achieve volume control.
[0089] In an exemplary implementation, each audio player has its own power amplifier type, such as an analog power amplifier or a digital power amplifier. The analog power amplifier does not support the DRC function, while the digital power amplifier has the DRC function. The digital power amplifier also has a DRC module built-in, which is named the second DRC module for easy distinction, and configures and implements the DRC function of the digital power amplifier. The volume adjustment module and the second DRC module are both located in the output channel of the digital power amplifier, and the second DRC module is located at the end of the output channel. After the audio signal traverses other previous links, DRC control is performed by the end link, so that the digital power amplifier finally outputs a suitable audio signal.
[0090] In an exemplary implementation, if the audio player is a digital power amplifier, the DRC function of the audio player itself is preferentially enabled and used, and the DRC function of the SOC chip is kept off. At this time, the SOC chip mainly functions to receive the decoded audio signal and transmit the audio signal to the target audio player; if the audio player is an analog power amplifier, which does not support the DRC function, the DRC function of the SOC chip needs to be enabled and used.
[0091] In an exemplary implementation, the display device is provided with an Audio Output page, on which the currently connected and available audio players are displayed. The user can select at least one of them as the target audio player, and after the target audio player is enabled, it can output and play the audio signal; or without the user's specification, the currently highest-priority audio player can be automatically enabled to output the audio according to a preset priority. It should be noted that when the display device has multiple available audio players, the method of selecting the target audio player is not limited to that described in the embodiments of the present application.
[0092] If the target audio player belongs to an analog power amplifier, the function of the first DRC module in the SOC chip needs to be enabled, and by Figure 5As can be seen from the example, after the first DRC module adjusts the audio signal according to the current volume, since there is still a gain link that affects signal output, namely the volume adjustment module, in the subsequent target audio player, it may cause the finally output audio signal to be inconsistent with the audio signal after DRC adjustment. For example, when the SOC chip performs DRC adjustment and compresses the amplitude of the audio signal, if the user then turns down the volume at this time, the audio signal will be attenuated again, and the excessive attenuation of the audio signal will cause the user to be unable to clearly hear the audio content, resulting in a poor auditory experience for the user.
[0093] To solve the above technical problems, in some exemplary implementation manners, referring to Figure 6 Architecture Two of the audio signal processing logic provided, a mapping association between the first DRC module and the volume adjustment module in the SOC chip is preset. This is equivalent to unifying and binding the output control functions of the DRC and the power amplifier volume of the SOC chip at the software level (without involving hardware transfer). After binding, there is no other gain link that affects signal output, and the target audio player only needs to directly output the audio signal. Through the preset association relationship between the first DRC module and the volume adjustment module, the DRC and the volume gain adjustment of the SOC chip can be mutually restricted and linked. For example, if the user turns up the volume, the SOC chip will appropriately compress the amplitude of the audio signal through the DRC function; if the user turns down the volume, the SOC chip can reduce the DRC attenuation amplitude of the audio signal or even not attenuate it, realizing the complementarity between the DRC gain and the volume gain of the SOC chip. This can not only protect the power amplifier device from being damaged due to excessive output power / volume, but also appropriately increase the signal amplitude when the volume is low, improve the output effect of the audio signal, and provide a better listening experience for the user.
[0094] In some embodiments, assume that the number of currently connected and available audio players of the display device is n, where m of the audio players are analog power amplifiers, and the other n - m audio players are digital power amplifiers, and m is less than or equal to n. The n - m digital power amplifiers support the DRC function, that is, they have a second DRC module, and do not activate the function execution of the first DRC module of the SOC chip when outputting the audio signal. Therefore, there is no need to set a preset association relationship between the first DRC module and the volume adjustment module in the digital power amplifier; the m analog power amplifiers do not support the DRC function and need to activate the first DRC module of the SOC chip. Therefore, preset association relationships are respectively established for the m analog power amplifiers with the first DRC module, that is, m preset association relationships are obtained.
[0095] In an exemplary implementation, if a target audio player has been enabled among n available audio players, after the audio signal is decoded, the power amplifier type of the target audio player is detected. If it is a digital amplifier, the decoded audio signal is transmitted to the target audio player via the SOC chip, and is output after being processed by the volume adjustment module, the second DRC module and other links in the target audio player.
[0096] If it is an analog power amplifier, optionally, according to the device ID of the target audio player, the target preset association relationship corresponding to the device ID is searched from the m preset association relationships, and the target gain value used by the first DRC module when performing DRC processing on the audio signal is matched according to the target preset association relationship and the target volume input by the user, that is, the target gain value is used to characterize the DRC gain made to the audio signal to adapt to the target volume, and the attenuation amplitude of the audio signal by the DRC module is reflected by the gain. Optionally, the unit of the DRC gain can be converted to dB (decibel). Since the DRC module does not enhance the audio signal, but attenuates or does not attenuate, the decibel value of the DRC gain is a non-positive number. For example, if the DRC gain is -5dB, the audio signal can be attenuated by 5dB. After the first DRC module performs DRC processing on the audio signal according to the matched target gain value, the audio signal is sent to the target audio player, and the volume adjustment module in the target audio player adjusts the audio signal to the target volume, so that the target audio player finally outputs an audio signal matching the target gain value and the target volume.
[0097] In an exemplary implementation, if the user selects multiple (more than one) target audio players from n available audio players, such as speakers and headphones, the amplifier types of these target audio players are detected separately, and the signal output mode of each target audio player is determined based on the amplifier type, and the signal output control of each target audio player is independent.
[0098] "DRC" and "volume" are two processing links in the audio signal output process. When the target audio player is an analog power amplifier, these two links are in a related, bound and linked relationship at the software function level. Through this relationship, the DRC gain of the SOC chip can be matched and constrained according to the volume. However, at the actual hardware processing level, the two links are relatively independent. The SOC chip performs DRC processing on the audio signal according to the target gain value, and the target audio player adjusts the volume of the audio signal according to the target volume. That is, the two links use different parameters and processing logic to achieve output control of different indicators of the audio signal. This application uses this kind of "unity of opposites" relationship between the two links of "DRC" and "volume" to ensure the safety of analog power amplifiers and improve the output and playback effects of audio signals, thereby providing users with a better auditory experience.
[0099] In an exemplary implementation, based on Figure 6 Example architecture two, Figure 7 An audio signal output control method is shown. The execution of the method is controlled by a controller 250. The method includes the following program steps:
[0100] Step S10, after the decoded audio signal is input to the SOC chip, detect the power amplifier type of the currently enabled target audio player.
[0101] Step S20, determine whether the power amplifier type is an analog power amplifier. If it is an analog power amplifier, execute Mode 1 described in Steps S30 to S60; if it is a digital power amplifier, execute Mode 2 described in Steps S70 to S90.
[0102] Step S30, enable the function of the first DRC module built in the SOC chip.
[0103] Step S40, according to the preset association relationship between the first DRC module and the volume adjustment module in the target audio player, and the target volume input by the user, match the target gain value.
[0104] In an exemplary implementation of Step S40, obtain the gain threshold specified by the preset association relationship, calculate the difference between the gain threshold and the target volume, and use this difference as the target gain value, that is, target gain value = gain threshold - target volume. In this way, when the user increases the volume (i.e., the target volume increases), the target gain value decreases relatively, that is, the first DRC module appropriately attenuates the audio signal to avoid damage due to excessive output power of the target audio player; if the user decreases the volume (i.e., the target volume decreases), the target gain value increases relatively, that is, the first DRC module reduces the attenuation amplitude of the audio signal or does not attenuate it to avoid the audio signal being too small to be heard clearly.
[0105] This embodiment provides specific threshold constraints between the DRC gain of the SOC chip and the volume gain adjustment. When creating the preset association relationship for each analog power amplifier, the preset association relationship can specify a gain threshold adapted to the analog power amplifier, so that the sum of the volume and the DRC gain is always equal to the gain threshold, thereby realizing the adaptive matching of the DRC gain of the SOC chip according to the target volume and the gain threshold.
[0106] In an exemplary implementation, the gain threshold S is less than or equal to the preset gain upper limit value S max ; where, the gain upper limit value = volume max + DRCgain max , volume maxIndicates the maximum volume that the target audio player can output, DRCgain max The gain value obtained for the first DRC module and volume max Match. In this embodiment, the gain threshold is further defined. The gain threshold is less than or equal to the gain upper limit value. For example, during the debugging stage of the display device, when the audio player outputs the maximum volume, considering that the audio player will not be burned out and the audio signal output effect, obtain the gain value suitable for volume max As DRCgain max , then volume max And DRCgain max The sum of them is the gain upper limit value. As long as the gain threshold does not exceed this upper limit value, the risk of burning out the power amplifier device can be guaranteed, thus taking into account the use safety of the audio player and the signal output effect.
[0107] In an exemplary implementation, after obtaining the gain upper limit value S max , the gain threshold S can be set. Optionally, S = k * S max , where k is an adjustable coefficient, 0 < k ≤ 1, and the gain threshold S is adjusted by setting the adjustable coefficient k. In other alternative solutions, the gain threshold S = the gain upper limit value S can also be default set max , and the gain threshold is a fixed value in this setting method.
[0108] Step S50, control the first DRC module to perform DRC processing on the audio signal according to the target gain value, and send the processed audio signal to the target audio player.
[0109] Step S60, control the target audio player to adjust the audio signal to the target volume and output the audio signal matching the target gain value and the target volume.
[0110] Step S70, turn on the function of the second DRC module built in the target audio player, and keep the function of the first DRC module in the off state.
[0111] Step S80, control the SOC chip to send the audio signal to the target audio player.
[0112] Step S90, control the target audio player to perform volume and DRC processing on the audio signal in sequence, and output the processed audio signal.
[0113] In an exemplary implementation, when the number of target audio players is multiple, such as including a digital audio system and an analog headphone, that is, a multi-power amplifier hybrid scenario, the analog headphone outputs the audio signal according to Mode 1, and the digital audio system outputs the audio signal according to Mode 2, so as to adaptively match the audio signal output mode according to the power amplifier type.
[0114] The above technical solution is applicable to the scenario where the target audio player has sound output. If the user switches the target audio player to silent mode, in some exemplary implementations, for mode one, the operation of the first DRC module is not affected, and the volume adjustment module performs the silent processing, that is, reducing the output power of the analog power amplifier. When the power of the audio signal finally output by the analog power amplifier is lower than a certain level, the playback effect of zero volume (silent) is presented. When the user releases the silent mode of the analog power amplifier, in accordance with the above-mentioned mode one, according to the target volume input by the user (if the user does not adjust the volume, the current volume is taken), the volume and signal amplitude of the audio signal are adaptively adjusted during output to restore the sound output of the audio signal.
[0115] In some exemplary implementations, if the user switches to silent mode in mode two, the operation of the second DRC module at the end is also not affected, and the volume adjustment module performs silent processing. Since the power of the audio signal is reduced to a very small level after the silent processing, it is not enough to trigger the second DRC module to compress the audio signal, that is, the second DRC module no longer needs to attenuate the audio signal, and finally presents a playback effect of zero volume (silent). After the silent mode is released, the audio output of the digital power amplifier is controlled in accordance with the aforementioned mode two to restore the audible output of the audio signal.
[0116] It should be noted that, based on the actual audio output and playback scenario requirements, actual user operations, the type and number of power amplifiers of the audio player, and other factors, the audio signal processing logic architecture and specific implementation methods are modified or expanded on the basis of the audio signal output control logic of the aforementioned embodiments, and are not limited to the embodiments of this application. In addition, this application focuses on the "DRC signal amplitude" and "volume" in the audio signal output indicators, and does not specifically limit other aspects such as sound effects and channels.
[0117] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. In a specific implementation, the present invention also provides a computer storage medium, which can store a program. When the computer storage medium is located in a display device, the program may include the program steps involved in the audio signal output control method in the aforementioned embodiments when the program is executed. Among them, the computer storage medium can be a disk, an optical disk, a read-only memory (English: Read-Only Memory, referred to as ROM) or a random access memory (English: Random Access Memory, referred to as RAM), etc.
[0118] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0119] For the sake of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussions are not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. According to the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, so that those skilled in the art can better use the embodiments and various different modified embodiments suitable for specific use considerations.
Claims
1. A display device, characterized in that, Comprising: At least one audio player for outputting an audio signal; A controller for performing: After the decoded audio signal is input to the SOC chip, if it is detected that the currently enabled target audio player belongs to an analog power amplifier, the function of the first DRC module built in the SOC chip is turned on; Obtain the gain threshold specified by the preset association relationship according to the preset association relationship between the first DRC module and the volume adjustment module in the target audio player; wherein, the gain threshold is determined according to the gain upper limit value, and the gain upper limit value is determined according to the maximum output volume of the target audio player and the DRC gain value obtained by the first DRC module that matches the maximum output volume; the gain upper limit value = volume max + DRCgain max , volume max represents the maximum output volume of the target audio player, DRCgain max is the DRC gain value obtained by the first DRC module that matches volume max ; Calculating the difference between the gain threshold and the target volume input by the user, and determining the difference as the target gain value; the target gain value is used to represent the DRC gain made to the audio signal to adapt to the target volume; Controlling the first DRC module to perform DRC processing on the audio signal according to the target gain value, and sending the processed audio signal to the target audio player, so that the target audio player outputs an audio signal matching the target gain value and the target volume.
2. The display device according to claim 1, wherein After the decoded audio signal is input to the SOC chip, the controller is further used for performing: If it is detected that the target audio player belongs to a digital power amplifier, the function of the second DRC module built in the target audio player is turned on, and the function of the first DRC module is kept off; wherein, the volume adjustment module and the second DRC module are both located in the output channel of the target audio player, and the second DRC module is located at the end of the output channel; Controlling the SOC chip to send the audio signal to the target audio player; Controlling the target audio player to perform volume and DRC processing on the audio signal in sequence, and outputting the processed audio signal.
3. The display device according to claim 2, characterized in that, The controller is further used for performing: If it is detected that the number of the target audio players is greater than 1, respectively controlling each target audio player to output an audio signal according to the type of power amplifier to which each target audio player belongs; wherein, the type of power amplifier includes an analog power amplifier and a digital power amplifier.
4. An audio signal output control method, characterized in that, Comprising: After the decoded audio signal is input to the SOC chip, if it is detected that the currently enabled target audio player belongs to an analog power amplifier, the function of the first DRC module built in the SOC chip is turned on; Obtain a gain threshold specified by the preset association relationship according to the preset association relationship between the first DRC module and the volume adjustment module in the target audio player; wherein, the gain threshold is determined according to a gain upper limit value, and the gain upper limit value is determined according to the maximum output volume of the target audio player and the DRC gain value obtained by the first DRC module that matches the maximum output volume; the gain upper limit value = volume max + DRCgain max , volume max represents the maximum output volume of the target audio player, and DRCgain max is the DRC gain value obtained by the first DRC module that matches volume max ; Calculating the difference between the gain threshold and the target volume input by the user, and determining the difference as the target gain value; the target gain value is used to represent the DRC gain made to the audio signal to adapt to the target volume; Controlling the first DRC module to perform DRC processing on the audio signal according to the target gain value, and sending the processed audio signal to the target audio player, so that the target audio player outputs an audio signal matching the target gain value and the target volume.
5. The method according to claim 4, wherein After the decoded audio signal is input to the SOC chip, the method further includes: If it is detected that the target audio player belongs to a digital power amplifier, the function of the second DRC module built in the target audio player is turned on, and the function of the first DRC module is kept off; wherein, the volume adjustment module and the second DRC module are both located in the output channel of the target audio player, and the second DRC module is located at the end of the output channel; Control the SOC chip to send the audio signal to the target audio player; Control the target audio player to perform volume and DRC processing on the audio signal in sequence, and output the processed audio signal.
6. The method according to claim 5, wherein The method further includes: If it is detected that the number of the target audio players is greater than 1, control each target audio player to output an audio signal respectively according to the power amplifier type to which each target audio player belongs; wherein, the power amplifier type includes an analog power amplifier and a digital power amplifier.
Citation Information
Patent Citations
Metadata for loudness and dynamic range control
CN105103222A