CN112332792A - Audio adjusting method, device, equipment and computer readable storage medium - Google Patents

Audio adjusting method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112332792A
CN112332792A CN202011184319.6A CN202011184319A CN112332792A CN 112332792 A CN112332792 A CN 112332792A CN 202011184319 A CN202011184319 A CN 202011184319A CN 112332792 A CN112332792 A CN 112332792A
Authority
CN
China
Prior art keywords
audio
adjusting
parameter
target
frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011184319.6A
Other languages
Chinese (zh)
Inventor
杨文�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011184319.6A priority Critical patent/CN112332792A/en
Publication of CN112332792A publication Critical patent/CN112332792A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G9/00Combinations of two or more types of control, e.g. gain control and tone control

Landscapes

  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses an audio adjusting method, an audio adjusting device, audio adjusting equipment and a computer readable storage medium, wherein the audio adjusting method is characterized in that a first audio adjusting parameter is set according to frequency spectrum information of a target audio before the target audio is played, so that the audio adjusting can be matched with the actual frequency spectrum condition of the target audio; further adjusting the first audio adjusting parameters according to the number of the audio playing devices to obtain second audio adjusting parameters, so that the audio adjustment is also adapted to the number of the current audio playing devices; and finally, the target audio is adjusted according to the second audio adjusting parameter when the audio is played, so that the audio parameter to be played is dynamically adjusted in the audio switching process, the negative influence on a user and equipment caused by sudden change of the related audio parameter when the audio is switched is avoided, and the automatic adjusting capability of the intelligent large-screen equipment when the audio is switched is improved.

Description

Audio adjusting method, device, equipment and computer readable storage medium
Technical Field
The invention relates to the technical field of intelligent terminals, in particular to an audio adjusting method, an audio adjusting device, audio adjusting equipment and a computer readable storage medium.
Background
With the development of intelligent terminal technology, various devices with intelligent large screens enter thousands of households due to intelligence and convenience. The display technology of the intelligent large-screen device is still continuously improved at present, higher-quality film watching experience can be provided for users, but the picture display only affects one aspect of the film watching experience of the users, and besides, the sound playing technology of the intelligent large-screen device is also particularly important. The traditional intelligent large-screen equipment often has the condition of sudden change of volume when a user switches a program source, and the noise generated by sudden increase of the volume easily causes the damage of a loudspeaker, so that the technical problem that the adjusting capacity of the traditional intelligent large-screen equipment is poor when audio is switched is caused.
Disclosure of Invention
The invention mainly aims to provide an audio adjusting method, and aims to solve the technical problem that the existing intelligent large-screen equipment is poor in adjusting capacity during audio switching.
To achieve the above object, the present invention provides an audio adjusting method, including:
acquiring frequency spectrum information of a target audio, and setting a first audio adjusting parameter of the target audio according to the frequency spectrum information;
acquiring the number of audio playing devices, and acquiring a second audio adjusting parameter based on the number of the audio playing devices and the first audio adjusting parameter;
and when the target audio is played, adjusting the target audio according to the second audio adjusting parameter.
Optionally, the obtaining of the frequency spectrum information of the target audio and setting the first audio adjusting parameter of the target audio according to the frequency spectrum information include:
starting switching event detection, and determining the switching type of the switching event when the switching event is detected;
acquiring a frequency spectrum file of a target audio pointed by the switching event, and identifying a high-frequency volume ratio from the frequency spectrum file as the frequency spectrum information;
and setting a first audio adjusting parameter of the target audio by combining the switching type and the high-frequency volume ratio.
Optionally, the first adjustment parameter comprises a high frequency gain attenuation ratio,
setting a first audio adjusting parameter of the target audio in combination with the switching type and the high-frequency volume ratio, including:
searching a high-frequency proportion threshold corresponding to the switching type from a preset type threshold comparison rule;
and when the high-frequency volume ratio exceeds the high-frequency ratio threshold, setting the high-frequency gain attenuation ratio of the target audio frequency as a complementary value of the high-frequency ratio threshold.
Optionally, the obtaining the number of the audio playing devices and obtaining a second audio adjusting parameter based on the number of the audio playing devices and the first audio adjusting parameter include:
detecting the actual operating power of externally connected audio playing devices, and acquiring the number of the externally connected audio playing devices of which the actual operating power is greater than a preset minimum power threshold value to serve as the number of the audio playing devices;
judging whether the number of the audio playing devices is more than 1;
and if so, acquiring an adjustment average value of the first audio adjustment parameter evenly distributed to each externally connected sound box, and taking the adjustment average value as the second audio adjustment parameter.
Optionally, after determining whether the number of the audio playing devices is greater than 1, the method further includes:
if not, taking the first audio adjusting parameter as the second audio adjusting parameter when the number of the audio playing devices is 1; or the like, or, alternatively,
and when the number of the audio playing devices is 0, generating and outputting abnormal prompt information.
Optionally, when the target audio is played, adjusting the target audio according to the second audio adjustment parameter includes:
and when the target audio is played, transmitting the second audio adjusting parameter to an audio power amplifier so as to perform smooth transition adjustment on the target audio based on the audio power amplifier.
Optionally, after the adjusting the target audio according to the second audio adjusting parameter while playing the target audio, the method further includes:
and generating and displaying an adjusting control of the audio parameter index corresponding to the second audio adjusting parameter, so that a user can autonomously adjust the audio parameter index based on the adjusting control.
Further, to achieve the above object, the present invention also provides an audio adjusting apparatus, comprising:
the first parameter setting module is used for acquiring frequency spectrum information of a target audio and setting a first audio adjusting parameter of the target audio according to the frequency spectrum information;
the second parameter determining module is used for acquiring the number of audio playing devices and obtaining a second audio adjusting parameter based on the number of the audio playing devices and the first audio adjusting parameter;
and the target audio adjusting module is used for adjusting the target audio according to the second audio adjusting parameter when the target audio is played.
Optionally, the first parameter setting module includes:
the switching type determining unit is used for starting switching event detection and determining the switching type of the switching event when the switching event is detected;
the high-frequency volume ratio identification unit is used for acquiring a frequency spectrum file of a target audio pointed by the switching event and identifying the high-frequency volume ratio from the frequency spectrum file as the frequency spectrum information;
and the first parameter setting unit is used for setting a first audio adjusting parameter of the target audio by combining the switching type and the high-frequency volume ratio.
Optionally, the first adjustment parameter comprises a high frequency gain attenuation ratio,
the first parameter setting unit is further configured to:
searching a high-frequency proportion threshold corresponding to the switching type from a preset type threshold comparison rule;
and when the high-frequency volume ratio exceeds the high-frequency ratio threshold, setting the high-frequency gain attenuation ratio of the target audio frequency as a complementary value of the high-frequency ratio threshold.
Optionally, the second parameter determination module includes:
the actual power detection unit is used for detecting the actual operating power of the externally connected audio playing devices and acquiring the number of the externally connected audio playing devices of which the actual operating power is greater than a preset minimum power threshold value to serve as the number of the audio playing devices;
the device number judging unit is used for judging whether the number of the audio playing devices is more than 1;
and the number first judging unit is used for acquiring an adjusting average value of the first audio adjusting parameter evenly distributed to each externally connected loudspeaker box if the number of the first audio adjusting parameters is positive, so that the adjusting average value is used as the second audio adjusting parameter.
Optionally, the second parameter determination module includes:
the number second judging unit is used for taking the first audio adjusting parameter as the second audio adjusting parameter if the number of the audio playing devices is 1; or the like, or, alternatively,
and when the number of the audio playing devices is 0, generating and outputting abnormal prompt information.
Optionally, the target audio adjustment module comprises:
and the smooth transition adjusting unit is used for transmitting the second audio adjusting parameter to an audio power amplifier when the target audio is played so as to carry out smooth transition adjustment on the target audio based on the audio power amplifier.
Optionally, the audio adjusting apparatus further comprises:
and the adjusting control display module is used for generating and displaying an adjusting control of the audio parameter index corresponding to the second audio adjusting parameter, so that a user can autonomously adjust the audio parameter index based on the adjusting control.
Further, to achieve the above object, the present invention also provides an audio adjusting apparatus including: a memory, a processor and an audio conditioning program stored on the memory and executable on the processor, the audio conditioning program when executed by the processor implementing the steps of the method as described above.
Furthermore, to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon an audio adjusting program, which when executed by a processor, implements the steps of the above method.
The invention provides an audio adjusting method, an audio adjusting device, audio adjusting equipment and a computer readable storage medium. The audio adjusting method comprises the steps that before a target audio is played, first audio adjusting parameters are set according to frequency spectrum information of the target audio, so that the audio adjusting can be matched with the actual frequency spectrum condition of the target audio; further adjusting the first audio adjusting parameters according to the number of the audio playing devices to obtain second audio adjusting parameters, so that the audio adjustment is also adapted to the number of the current audio playing devices; finally, the target audio is adjusted according to the second audio adjusting parameter when the audio is played, dynamic adjustment of the audio parameter to be played in the audio switching process is achieved, negative effects brought to users and equipment due to sudden change of the related audio parameter when the audio is switched are avoided, automatic adjusting capacity of the intelligent large-screen equipment when the audio is switched is improved, and the technical problem that the adjusting capacity of the existing intelligent large-screen equipment is poor when the audio is switched is solved.
Drawings
FIG. 1 is a schematic diagram of an audio conditioning device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of an audio adjusting method according to the present invention;
fig. 3 is a functional block diagram of the audio adjusting apparatus according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an audio conditioning apparatus in a hardware operating environment according to an embodiment of the present invention.
The audio adjusting device in the embodiment of the invention is a terminal with an image capturing device, and is preferably a smart television.
As shown in fig. 1, the audio adjusting apparatus may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The optional user interface 1003 may include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory). The memory 1005 may alternatively be a memory device separate from the processor 1001 described above.
Those skilled in the art will appreciate that the audio conditioning apparatus configuration shown in fig. 1 does not constitute a limitation of the audio conditioning apparatus and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an audio adjustment program.
In the audio conditioning apparatus shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the audio adaptation program stored in the memory 1005 and perform the following operations:
acquiring frequency spectrum information of a target audio, and setting a first audio adjusting parameter of the target audio according to the frequency spectrum information;
acquiring the number of audio playing devices, and acquiring a second audio adjusting parameter based on the number of the audio playing devices and the first audio adjusting parameter;
and when the target audio is played, adjusting the target audio according to the second audio adjusting parameter.
Further, the obtaining of the frequency spectrum information of the target audio and setting the first audio adjusting parameter of the target audio according to the frequency spectrum information include:
starting switching event detection, and determining the switching type of the switching event when the switching event is detected;
acquiring a frequency spectrum file of a target audio pointed by the switching event, and identifying a high-frequency volume ratio from the frequency spectrum file as the frequency spectrum information;
and setting a first audio adjusting parameter of the target audio by combining the switching type and the high-frequency volume ratio.
Further, the first adjustment parameter includes a high frequency gain attenuation ratio,
setting a first audio adjusting parameter of the target audio in combination with the switching type and the high-frequency volume ratio, including:
searching a high-frequency proportion threshold corresponding to the switching type from a preset type threshold comparison rule;
and when the high-frequency volume ratio exceeds the high-frequency ratio threshold, setting the high-frequency gain attenuation ratio of the target audio frequency as a complementary value of the high-frequency ratio threshold.
Further, the acquiring the number of the audio playing devices and obtaining a second audio adjusting parameter based on the number of the audio playing devices and the first audio adjusting parameter include:
detecting the actual operating power of externally connected audio playing devices, and acquiring the number of the externally connected audio playing devices of which the actual operating power is greater than a preset minimum power threshold value to serve as the number of the audio playing devices;
judging whether the number of the audio playing devices is more than 1;
and if so, acquiring an adjustment average value of the first audio adjustment parameter evenly distributed to each externally connected sound box, and taking the adjustment average value as the second audio adjustment parameter.
Further, after determining whether the number of the audio playing devices is greater than 1, the processor 1001 may be configured to call the audio adjusting program stored in the memory 1005, and perform the following operations:
if not, taking the first audio adjusting parameter as the second audio adjusting parameter when the number of the audio playing devices is 1; or the like, or, alternatively,
and when the number of the audio playing devices is 0, generating and outputting abnormal prompt information.
Further, when the target audio is played, adjusting the target audio according to the second audio adjustment parameter includes:
and when the target audio is played, transmitting the second audio adjusting parameter to an audio power amplifier so as to perform smooth transition adjustment on the target audio based on the audio power amplifier.
Further, after the target audio is adjusted according to the second audio adjustment parameter while the target audio is played, the processor 1001 may be configured to call an audio adjustment program stored in the memory 1005, and perform the following operations:
and generating and displaying an adjusting control of the audio parameter index corresponding to the second audio adjusting parameter, so that a user can autonomously adjust the audio parameter index based on the adjusting control.
Based on the above hardware structure, various embodiments of the audio adjusting method of the present invention are proposed.
With the development of intelligent terminal technology, various devices with intelligent large screens enter thousands of households due to intelligence and convenience. The display technology of the intelligent large-screen device is still continuously improved at present, higher-quality film watching experience can be provided for users, but the picture display only affects one aspect of the film watching experience of the users, and besides, the sound playing technology of the intelligent large-screen device is also particularly important. The traditional intelligent large-screen equipment often has the condition of sudden change of volume when a user switches a program source, and the noise generated by sudden increase of the volume easily causes the damage of a loudspeaker, so that the technical problem that the adjusting capacity of the traditional intelligent large-screen equipment is poor when audio is switched is caused.
In order to solve the technical problem, the invention provides an audio adjusting method, namely, before a target audio is played, a first audio adjusting parameter is set according to the frequency spectrum information of the target audio, so that the audio adjusting can be matched with the actual frequency spectrum condition of the target audio; further adjusting the first audio adjusting parameters according to the number of the audio playing devices to obtain second audio adjusting parameters, so that the audio adjustment is also adapted to the number of the current audio playing devices; finally, the target audio is adjusted according to the second audio adjusting parameter when the audio is played, dynamic adjustment of the audio parameter to be played in the audio switching process is achieved, negative effects brought to users and equipment due to sudden change of the related audio parameter when the audio is switched are avoided, automatic adjusting capacity of the intelligent large-screen equipment when the audio is switched is improved, and the technical problem that the adjusting capacity of the existing intelligent large-screen equipment is poor when the audio is switched is solved.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of an audio adjusting method.
A first embodiment of the present invention provides an audio adjusting method, which is applied to a master device, and includes:
step S10, acquiring frequency spectrum information of a target audio frequency, and setting a first audio frequency adjusting parameter of the target audio frequency according to the frequency spectrum information;
in this embodiment, the method is applied to an intelligent terminal having an audio playing function or being externally connected with an audio playing device, such as an intelligent television, a personal computer, a tablet, an intelligent washing machine, and the like. The target audio refers to the audio to be played. It should be noted that, when the intelligent terminal not in the working state is switched to the working state and a certain channel is selected to play, the audio of the program played by the channel is selected, or an audio application is selected to play the audio, or a media video application is selected to play the video, and the audio corresponding to the video is the target audio; and the audio corresponding to the played media file is also the target audio after the switching when the channels, the audio applications and the media video applications are switched at will. The spectrum information may specifically include information related to high and low frequency volume distributions, and the first audio adjustment parameter refers to an audio adjustment parameter derived based on the spectrum information of the target audio, and the audio adjustment parameter may specifically adjust the volume, the high and low frequency volume gains, and the like of the target audio.
Specifically, taking the smart television as an example, if the current user watches programs through the smart television at home, the user clicks to switch channels by using the remote controller, that is, an audio switching instruction is sent to the smart television. The smart television receives the audio switching instruction sent by the user currently, determines the program name of the next channel to be played according to the instruction, and then obtains the frequency spectrum information of the corresponding media file according to the program name so as to calculate the first audio adjusting parameter based on the frequency spectrum information.
Step S20, acquiring the number of audio playing devices, and obtaining a second audio adjusting parameter based on the number of audio playing devices and the first audio adjusting parameter;
in this embodiment, the number of the audio playing devices may specifically refer to the number of devices for playing audio that are built in the intelligent terminal, may also refer to the number of devices for playing audio that are externally connected to the intelligent terminal, or may refer to the number of devices for playing audio that are built in and externally connected to the intelligent terminal. Wherein, when intelligent terminal is intelligent TV, the equipment that is used for playing the audio frequency is the stereo set usually. The second audio adjusting parameter refers to the audio adjusting parameter obtained by adjusting the number of the audio playing devices according to the first audio adjusting parameter.
Specifically, smart electronics is still exemplified. If the smart television detects that the number of the current audio playing devices is 3, the first audio adjusting parameters can be distributed to the 3 audio playing devices in proportion, the specific proportion can be randomly set according to requirements, for example, when the 3 audio playing devices have no obvious difference, the first audio adjusting parameters are uniformly distributed to the audio playing devices in an equal proportion; when one of the 3 audio playing devices is a built-in device and the remaining two are external devices, the method is as follows 4: 3: 3, splitting the first audio adjusting parameter, distributing a plurality of parts to the built-in audio playing equipment, and distributing the rest two parts which are equal to each other to the external audio playing equipment.
And step S30, when the target audio is played, adjusting the target audio according to the second audio adjusting parameter.
In this embodiment, the intelligent terminal already obtains the second audio adjusting parameter before playing the target audio, and when the target audio is played, the intelligent terminal can directly adjust the target audio according to the second audio adjusting parameter, so as to avoid negative effects on a user or equipment due to too large volume or frequency change of the next audio.
Specifically, smart electronics is still exemplified. The user presses a channel switch key on the remote controller with the intention of switching from the current CCTV9 channel to the CCTV1 channel. The intelligent television acquires audio information of a weather forecast program currently played by the CCTV1, sets a first audio adjusting parameter based on the audio information, then acquires that the number of currently-connected audio playing devices is 2, divides the first audio adjusting parameter into half and half, takes half of the first audio adjusting parameter as a second audio adjusting parameter, and sends the second audio adjusting parameter to the connected audio playing devices so that the audio playing devices can adjust the target audio according to the second audio adjusting parameter when playing the target audio.
In the embodiment, by acquiring frequency spectrum information of a target audio, a first audio adjusting parameter of the target audio is set according to the frequency spectrum information; acquiring the number of audio playing devices, and acquiring a second audio adjusting parameter based on the number of the audio playing devices and the first audio adjusting parameter; and when the target audio is played, adjusting the target audio according to the second audio adjusting parameter. Through the mode, the first audio adjusting parameter is set according to the frequency spectrum information of the target audio before the target audio is played, so that the audio adjustment can be matched with the actual frequency spectrum condition of the target audio; further adjusting the first audio adjusting parameters according to the number of the audio playing devices to obtain second audio adjusting parameters, so that the audio adjustment is also adapted to the number of the current audio playing devices; finally, the target audio is adjusted according to the second audio adjusting parameter when the audio is played, dynamic adjustment of the audio parameter to be played in the audio switching process is achieved, negative effects brought to users and equipment due to sudden change of the related audio parameter when the audio is switched are avoided, automatic adjusting capacity of the intelligent large-screen equipment when the audio is switched is improved, and the technical problem that the adjusting capacity of the existing intelligent large-screen equipment is poor when the audio is switched is solved.
Further, a second embodiment of the audio adjusting method of the present invention is proposed based on the above-mentioned first embodiment shown in fig. 2, and in this embodiment, the step S10 includes:
starting switching event detection, and determining the switching type of the switching event when the switching event is detected;
acquiring a frequency spectrum file of a target audio pointed by the switching event, and identifying a high-frequency volume ratio from the frequency spectrum file as the frequency spectrum information;
and setting a first audio adjusting parameter of the target audio by combining the switching type and the high-frequency volume ratio.
In the present embodiment, for convenience of description, the smart phone is taken as an example below. And the intelligent television establishes a thread for detecting a switching event in a normal working state. Wherein the handover event comprises: switching from one program to another; switching from a program to an audio application or vice versa; switching from a program to a media video application or from a media video application to a program; switching from an audio application to a media video application or from a media video application to an audio application. Accordingly, the handover types include: a switch to a type of program, a switch to a type of audio application, and a switch to a type of media video application. The smart television acquires the name of the switched target audio according to the currently detected switching event, and acquires the corresponding frequency spectrum file according to the name. The intelligent television calculates the high-frequency volume ratio, such as 60%, in the spectrum file, and finally, the two factors of the switching type and the high-frequency volume ratio are comprehensively considered to set a first audio adjusting parameter.
Further, the first adjustment parameter includes a high frequency gain attenuation ratio,
setting a first audio adjusting parameter of the target audio in combination with the switching type and the high-frequency volume ratio, including:
searching a high-frequency proportion threshold corresponding to the switching type from a preset type threshold comparison rule;
and when the high-frequency volume ratio exceeds the high-frequency ratio threshold, setting the high-frequency gain attenuation ratio of the target audio frequency as a complementary value of the high-frequency ratio threshold.
In the present embodiment, the high-frequency gain attenuation ratio refers to an attenuation ratio value of the high-frequency volume gain. For example, if the original high-frequency gain is 60% and the attenuation ratio of the high-frequency gain is 50%, the attenuated high-frequency gain is 30%. The preset type threshold comparison rule is the preset corresponding relation between different switching types and high-frequency proportional thresholds. For example, the high frequency proportion threshold corresponding to the switching type of switching to the program is 60%; the high frequency proportion threshold value corresponding to the switching type for switching to the audio application is 50%; the high frequency proportion threshold value corresponding to the switching type for switching to the media video application is 30%. The complementary value of the high frequency scale threshold is a value added to the high frequency scale threshold to 1. For example, if the high frequency scale threshold value i 60%, its complementary value is 40%; if the high frequency ratio threshold is 30%, the complementary value is 70%.
Specifically, if the smart television detects that the current switching type is switching to a program, the high-frequency proportion threshold corresponding to the type is found to be 60% according to the preset type threshold comparison rule. The intelligent television judges whether the high-frequency volume ratio of the audio of the switched program is more than 60%, if so, the intelligent television calculates that the complementary value at the moment is 40%, which means that the high-frequency gain of the target audio is attenuated to the original 40%; if the target audio frequency is not larger than the preset target audio frequency, the intelligent television plays the target audio frequency as usual.
Further, step S20 includes:
detecting the actual operating power of externally connected audio playing devices, and acquiring the number of the externally connected audio playing devices of which the actual operating power is greater than a preset minimum power threshold value to serve as the number of the audio playing devices;
judging whether the number of the audio playing devices is more than 1;
and if so, acquiring an adjustment average value of the first audio adjustment parameter evenly distributed to each externally connected sound box, and taking the adjustment average value as the second audio adjustment parameter.
In this embodiment, the preset minimum power threshold is an operation power value of the audio playing device in a normal operating state. The intelligent television searches externally connected sound boxes and obtains the actual operating power of each sound box. Assuming that 3 external sound boxes exist, the lowest power threshold of the sound boxes is 15W, and the smart television compares the actual operating power of each sound box with 15W to obtain the number of the sound boxes with the actual power larger than 15W. The intelligent television judges whether the number of the sound boxes with the actual power larger than 15W is larger than 1. Assuming that the number of the sound boxes with the actual power larger than 15W is 2, it can be determined that the actual power is larger than 1, and the smart television can halve the high-frequency gain attenuation ratio, that is, the first audio adjustment parameter, for example, if the original high-frequency gain attenuation ratio is 40%, 20% is obtained after halving the high-frequency gain attenuation ratio, and 20% is the second audio adjustment parameter.
Further, after determining whether the number of the audio playing devices is greater than 1, the method further includes:
if not, taking the first audio adjusting parameter as the second audio adjusting parameter when the number of the audio playing devices is 1; or the like, or, alternatively,
and when the number of the audio playing devices is 0, generating and outputting abnormal prompt information.
In this embodiment, if the smart television detects that the number of the sound boxes with the actual power greater than 15W is 1, the first audio adjusting parameter does not need to be processed, and can be directly used as the second audio adjusting parameter; if the intelligent television detects that the number of the sound boxes with the actual power larger than 15W is 01, namely the sound boxes which can play the audio currently do not exist, the intelligent television generates and displays abnormal prompt information to prompt a user that the currently unavailable equipment can play the target audio normally.
In the embodiment, the first audio adjusting parameter is further set by combining the switching type and the high-frequency volume proportion type, so that the setting of the first audio adjusting parameter is more suitable for actual requirements, and the effectiveness of the first audio adjusting parameter is improved; the number of the audio playing devices is classified, and different second audio adjusting parameters are set according to different numbers, so that the difference of audio adjusting requirements under different number conditions is considered, the application range of the audio adjusting device is further expanded, and the effectiveness of the second audio adjusting parameters is improved.
Further, based on the first embodiment shown in fig. 2 described above, a third embodiment of the audio adjusting method of the present invention is proposed. In the present embodiment, step S30 includes:
and when the target audio is played, transmitting the second audio adjusting parameter to an audio power amplifier so as to perform smooth transition adjustment on the target audio based on the audio power amplifier.
In this embodiment, the audio power amplifier and the speaker are internal devices included in the audio equipment. When the intelligent television calculates the second audio adjusting parameter, the second audio adjusting parameter is transmitted to the audio power amplifier of the external sound equipment, so that the audio power method device can attenuate the high-frequency gain of the target audio according to the second audio adjusting parameter and then play the target audio through the sound box, and the switching mode adopted in the switching process is smooth switching so as to improve the user experience.
Further, after step S30, the method further includes:
and generating and displaying an adjusting control of the audio parameter index corresponding to the second audio adjusting parameter, so that a user can autonomously adjust the audio parameter index based on the adjusting control.
In this embodiment, in order to give the user a greater adjustment autonomy to the audio, after the smart television is switched to the next target audio, the audio parameter index corresponding to the second audio adjustment parameter, for example, the adjustment control of the high-frequency gain, the volume, and the like, may also be displayed on the screen, so that the user autonomously adjusts according to his/her own will on the basis of the automatic adjustment of the device. The adjusting control is generally set to be a percentage adjusting progress bar, an increase and decrease adjusting button and the like, and can be optionally set according to actual requirements, and the implementation is not particularly limited.
In this embodiment, smooth transition is further performed when the target audio is switched, so that the switching process is not excessively abrupt, and the audio and video viewing experience of a user is improved; through showing the regulation controlling part that corresponds, provide bigger autonomy for the user, the user can adjust once more on setting up the audio parameter after the automatically regulated according to actual demand or individual preference, has further promoted user experience, has also promoted the intelligence of this application to the audio regulation simultaneously.
The invention also provides an audio adjusting device.
The audio adjusting apparatus includes:
the first parameter setting module 10 is configured to acquire frequency spectrum information of a target audio, and set a first audio adjustment parameter of the target audio according to the frequency spectrum information;
the second parameter determining module 20 is configured to obtain the number of audio playing devices, and obtain a second audio adjusting parameter based on the number of audio playing devices and the first audio adjusting parameter;
and the target audio adjusting module 30 is configured to adjust the target audio according to the second audio adjusting parameter when the target audio is played.
The invention also provides audio adjusting equipment.
The audio conditioning apparatus comprises a processor, a memory, and an audio conditioning program stored on the memory and executable on the processor, wherein the audio conditioning program, when executed by the processor, implements the steps of the audio conditioning method as described above.
The method implemented when the audio adjusting program is executed may refer to various embodiments of the audio adjusting method of the present invention, and details thereof are not repeated herein.
The invention also provides a computer readable storage medium.
The computer-readable storage medium of the present invention has stored thereon an audio adjusting program which, when executed by a processor, implements the steps of the audio adjusting method as described above.
The method implemented when the audio adjusting program is executed may refer to each embodiment of the audio adjusting method of the present invention, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on this understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing an audio adjusting apparatus to execute the methods according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method of audio conditioning, the method comprising:
acquiring frequency spectrum information of a target audio, and setting a first audio adjusting parameter of the target audio according to the frequency spectrum information;
acquiring the number of audio playing devices, and acquiring a second audio adjusting parameter based on the number of the audio playing devices and the first audio adjusting parameter;
and when the target audio is played, adjusting the target audio according to the second audio adjusting parameter.
2. The method of claim 1, wherein the obtaining of the spectral information of the target audio, and the setting of the first audio adjustment parameter of the target audio according to the spectral information, comprises:
starting switching event detection, and determining the switching type of the switching event when the switching event is detected;
acquiring a frequency spectrum file of a target audio pointed by the switching event, and identifying a high-frequency volume ratio from the frequency spectrum file as the frequency spectrum information;
and setting a first audio adjusting parameter of the target audio by combining the switching type and the high-frequency volume ratio.
3. The method of claim 2, wherein the first adjustment parameter comprises a high frequency gain attenuation ratio,
setting a first audio adjusting parameter of the target audio in combination with the switching type and the high-frequency volume ratio, including:
searching a high-frequency proportion threshold corresponding to the switching type from a preset type threshold comparison rule;
and when the high-frequency volume ratio exceeds the high-frequency ratio threshold, setting the high-frequency gain attenuation ratio of the target audio frequency as a complementary value of the high-frequency ratio threshold.
4. The method of claim 1, wherein the obtaining the number of audio playing devices and obtaining the second audio adjusting parameter based on the number of audio playing devices and the first audio adjusting parameter comprises:
detecting the actual operating power of externally connected audio playing devices, and acquiring the number of the externally connected audio playing devices of which the actual operating power is greater than a preset minimum power threshold value to serve as the number of the audio playing devices;
judging whether the number of the audio playing devices is more than 1;
and if so, acquiring an adjustment average value of the first audio adjustment parameter evenly distributed to each externally connected sound box, and taking the adjustment average value as the second audio adjustment parameter.
5. The method as claimed in claim 4, wherein after determining whether the number of audio playing devices is greater than 1, the method further comprises:
if not, taking the first audio adjusting parameter as the second audio adjusting parameter when the number of the audio playing devices is 1; or the like, or, alternatively,
and when the number of the audio playing devices is 0, generating and outputting abnormal prompt information.
6. The method of claim 1, wherein said adjusting the target audio according to the second audio adjustment parameter while playing the target audio comprises:
and when the target audio is played, transmitting the second audio adjusting parameter to an audio power amplifier so as to perform smooth transition adjustment on the target audio based on the audio power amplifier.
7. The method according to any one of claims 1-6, wherein after adjusting the target audio according to the second audio adjustment parameter while playing the target audio, further comprising:
and generating and displaying an adjusting control of the audio parameter index corresponding to the second audio adjusting parameter, so that a user can autonomously adjust the audio parameter index based on the adjusting control.
8. An audio conditioning device, characterized in that the audio conditioning device comprises:
the first parameter setting module is used for acquiring frequency spectrum information of a target audio and setting a first audio adjusting parameter of the target audio according to the frequency spectrum information;
the second parameter determining module is used for acquiring the number of audio playing devices and obtaining a second audio adjusting parameter based on the number of the audio playing devices and the first audio adjusting parameter;
and the target audio adjusting module is used for adjusting the target audio according to the second audio adjusting parameter when the target audio is played.
9. An audio adjusting apparatus, characterized in that the audio adjusting apparatus comprises: memory, a processor and an audio conditioning program stored on the memory and executable on the processor, the audio conditioning program when executed by the processor implementing the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon an audio conditioning program which, when executed by a processor, implements the steps of the method of any one of claims 1 to 7.
CN202011184319.6A 2020-10-29 2020-10-29 Audio adjusting method, device, equipment and computer readable storage medium Pending CN112332792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011184319.6A CN112332792A (en) 2020-10-29 2020-10-29 Audio adjusting method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011184319.6A CN112332792A (en) 2020-10-29 2020-10-29 Audio adjusting method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112332792A true CN112332792A (en) 2021-02-05

Family

ID=74296256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011184319.6A Pending CN112332792A (en) 2020-10-29 2020-10-29 Audio adjusting method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112332792A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117750279A (en) * 2024-02-18 2024-03-22 浙江华创视讯科技有限公司 Audio signal processing method, device, audio output system, equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117750279A (en) * 2024-02-18 2024-03-22 浙江华创视讯科技有限公司 Audio signal processing method, device, audio output system, equipment and medium
CN117750279B (en) * 2024-02-18 2024-05-07 浙江华创视讯科技有限公司 Audio signal processing method, device, audio output system, equipment and medium

Similar Documents

Publication Publication Date Title
EP3373591B1 (en) Adaptive bluetooth volume adjustment method and apparatus
EP3300077A1 (en) Electronic device and control method thereof
US20090016540A1 (en) Auditory perception controlling device and method
CN108419098B (en) Television control method and television
CN109379613B (en) Audio and video synchronization adjustment method, television, computer readable storage medium and system
CA2742858C (en) Audio/video data play control method and apparatus
CN103002378A (en) Audio processing apparatus, audio processing method, and audio output apparatus
CN110121082B (en) Method, device, equipment and readable storage medium for displaying live broadcast room ranking information
EP2437473B1 (en) Control apparatus and control method
KR102531886B1 (en) Electronic apparatus and control method thereof
US20170150287A1 (en) Apparatus and method for reproducing multi-sound channel contents using dlna in mobile terminal
CN112333533B (en) Method, device, equipment and computer readable storage medium for selecting playing equipment
US20230186938A1 (en) Audio signal processing device and operating method therefor
WO2015144243A1 (en) Image display device with automatic sound enhancement function
CN112332792A (en) Audio adjusting method, device, equipment and computer readable storage medium
CN105915729B (en) Method and system for quickly adjusting volume of mobile terminal and mobile terminal
US20080134261A1 (en) Viewing information distribution system, television reception apparatus, and information processing apparatus
US10972849B2 (en) Electronic apparatus, control method thereof and computer program product using the same
US10075140B1 (en) Adaptive user interface configuration
CN111552453B (en) Sound effect scene control method, terminal and storage medium
CN113709629A (en) Frequency response parameter adjusting method, device, equipment and storage medium
CN107483855B (en) Television audio control method, television and computer readable storage medium
CN111263223A (en) Media volume adjusting method and display device
CN111556198A (en) Sound effect control method, terminal equipment and storage medium
CN107704172B (en) Multimedia application switching control method, system and storage device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination