CN107333171B - Method and device for synchronizing sound of television broadcast and terminal equipment - Google Patents
Method and device for synchronizing sound of television broadcast and terminal equipment Download PDFInfo
- Publication number
- CN107333171B CN107333171B CN201710511384.7A CN201710511384A CN107333171B CN 107333171 B CN107333171 B CN 107333171B CN 201710511384 A CN201710511384 A CN 201710511384A CN 107333171 B CN107333171 B CN 107333171B
- Authority
- CN
- China
- Prior art keywords
- sound
- intensity value
- signal source
- sound intensity
- broadcast
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000004590 computer program Methods 0.000 claims description 10
- 238000012937 correction Methods 0.000 claims description 8
- 238000012986 modification Methods 0.000 claims description 6
- 230000004048 modification Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 12
- 230000000694 effects Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 230000009286 beneficial effect Effects 0.000 description 3
- 206010063385 Intellectualisation Diseases 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000012805 post-processing Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
- H04N21/4394—Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
- H04N21/4383—Accessing a communication channel
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention provides a method for synchronizing sound of television broadcast under different signal source channels, which comprises the following steps: identifying a signal source channel where a television broadcast newspaper to be played is located currently; correcting the sound intensity value of the broadcast sound according to the reference signal sound intensity value of the signal source channel, so that the sound intensity value of the broadcast sound is the same as the reference signal sound intensity value of the signal source channel; and in the signal source channel, carrying out volume gain compensation according to the corrected sound intensity value of the broadcast sound and then outputting the compensated sound intensity value so as to avoid the problem that the sizes of the broadcast sounds are different due to different gain values set under different sound channels.
Description
Technical Field
The embodiment of the invention relates to the technical field of audio playing, in particular to a method, a device and terminal equipment for sound synchronization of television broadcast sound under different signal sources.
Background
With the rapid development of multimedia television technology, intelligent terminals such as television devices are generally capable of receiving and playing different types of signals through multiple channels. The current more common channels mainly include: ATV (analog television), DTV (digital television), HDMI (high definition multimedia interface), and the like.
In the prior art, because the channels in the television set have differences in encoding format, transmission mode and input signal type, for example, the ATV channel is an analog signal, the HDMI is a digital signal, and the like, the signal source sound intensity of each channel cannot be kept consistent, so that, in order to avoid the phenomenon that the sound is suddenly large and suddenly small during the channel switching process of a user, the sound volumes of the signal sources in different channels are kept consistent, the television set generally has an AVC (automatic volume control) function. In practical applications, the smart terminal performs pre-gain (PreGain) processing on an input sound source signal by using a gain value preset for a current audio channel.
For example, as shown in fig. 1, in order to ensure that the sound volume heard by the user is consistent when switching between the three channels ATV \ DTV \ HDMI, the sound volume gain is processed such that S1 × G1 is S2 × G2 is S3 × G3 is S0; the design achieves the effect that the volume sizes under different signal sources are consistent, but the sound intensities under different signal sources are not the same, namely S1 is not equal to S2 is not equal to S3, so that the volume gains corresponding to all channels are also different, namely G1 is not equal to G2 is not equal to G3.
However, with the popularization of television intellectualization, more and more televisions are equipped with functions such as a reminding function or a voice assistant, and the like, and an audio file is configured in advance for the functions, for example, the voice assistant can often broadcast some broadcast sounds of "what i have can help you", and some push information of the television itself, in order to prompt a user, some music and the like are often played, and the broadcast sounds of the type are usually preset in a storage space of the television and called by a program when needed, because the broadcast sounds are possibly used under each channel, and the sound intensity of the broadcast sounds are fixed, if the user switches channels in the using process, the different gain values under each channel can make the sizes of the broadcast sounds different, namely, S4G 1G 4G 2G 4G 3; the volume effect of the broadcast sound heard by the user under each channel is inconsistent, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides a method and a device for sound synchronization of television broadcast sounds in different signal source channels, which are used for avoiding different broadcast sound sizes caused by different gain values set in different sound channels.
In a first aspect, an embodiment of the present invention provides a method for synchronizing sounds of television broadcast sounds in different signal source channels, where the method includes:
identifying a signal source channel where a television broadcast newspaper to be played is located currently;
correcting the sound intensity value of the broadcast sound according to the reference signal intensity value of the signal source channel, so that the sound intensity value of the broadcast sound is the same as the reference signal sound intensity value of the signal source channel;
and in the signal source channel, carrying out volume gain compensation according to the corrected sound intensity value of the broadcast sound and then outputting the sound intensity value.
Further, the identifying of the signal source channel where the television broadcast newspaper to be played is currently located specifically includes:
reading identification information for representing a signal source channel from a preset database;
and determining the signal source channel according to the corresponding relation between the identification information and the signal source channel.
Further, the modifying the sound intensity value of the broadcast sound according to the reference signal intensity value of the signal source channel includes:
reading a reference signal sound intensity value of a signal source channel from a preset sound intensity table containing signal sources of all channels;
and taking the reference signal intensity value as a target value of the broadcast sound, and adjusting the sound intensity value of the broadcast sound according to the target value.
Further, in the signal source channel, performing volume gain compensation according to the modified sound intensity value of the broadcast sound, and then outputting the compensated sound intensity value, the method includes:
acquiring a sound gain value corresponding to the signal source channel;
and writing the sound intensity value of the broadcast sound multiplied by the sound gain value into a Pulse Code Modulation (PCM) audio driver of an Android system for outputting.
In a second aspect, an embodiment of the present invention further provides an apparatus for synchronizing sounds of a television broadcast under different signal sources, where the apparatus includes:
the identification module is used for identifying a signal source channel where the television broadcast newspaper to be played is located currently;
the correction module is used for correcting the sound intensity value of the broadcast sound according to the reference signal sound intensity value of the signal source channel, so that the sound intensity value of the broadcast sound is the same as the reference signal sound intensity value of the signal source channel;
and the gain output module is used for carrying out volume gain compensation on the signal source channel according to the corrected sound intensity value of the broadcast sound and then outputting the sound intensity value.
Further, the identification module specifically includes:
the identification reading submodule is used for reading identification information used for representing a signal source channel from a preset database;
and the determining submodule is used for determining the signal source channel according to the corresponding relation between the identification information and the signal source channel.
Further, the correction module includes:
the reference signal reading submodule is used for reading the reference signal sound intensity value of the signal source channel from a preset sound intensity table containing signal sources of all channels;
and the adjusting submodule is used for taking the reference signal sound intensity value as a target value of the broadcast sound and adjusting the sound intensity value of the broadcast sound according to the target value.
Further, the gain output module includes:
the gain value acquisition module is used for acquiring a sound gain value corresponding to the signal source channel;
and the PCM output module is used for writing the sound intensity value of the broadcast sound multiplied by the sound gain value into a Pulse Code Modulation (PCM) audio driver of the Android system for output.
The beneficial effects of the invention at least comprise that, the application provides a method for synchronizing the sound of the television broadcast under different signal source channels, which comprises the following steps: identifying a signal source channel where a television broadcast newspaper to be played is located currently; correcting the sound intensity value of the broadcast sound according to the reference signal sound intensity value of the signal source channel, so that the sound intensity value of the broadcast sound is the same as the reference signal sound intensity value of the signal source channel; and in the signal source channel, carrying out volume gain compensation according to the corrected sound intensity value of the broadcast sound and then outputting the sound intensity value. Compared with the prior art, after the signal source channel of the broadcast sound is identified, the sound intensity of the broadcast sound is corrected based on the known reference signal sound intensity value of the current channel, and the purpose of correction is to enable the sound intensity value of the broadcast sound to be the same as the reference signal sound intensity value of the signal source channel, so that the effect that the sound of the same broadcast sound under each signal source channel is consistent can be obtained by outputting the corrected sound intensity value of the broadcast sound after volume gain compensation is carried out on the sound intensity value of the broadcast sound, and user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic diagram of volume control provided by each signal source channel according to the prior art;
FIG. 2 is a flowchart of a method for audio synchronization of a television broadcast in different signal source channels according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the volume control of the television broadcast under each signal source channel according to the present invention;
FIG. 4 is a flowchart of another method for audio synchronization of a television broadcast in different channels of a signal source according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an apparatus for audio synchronization of a television broadcast in different signal source channels according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal and an application environment according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "comprises" and "comprising," and any variations thereof, in the description and claims of this invention, are intended to cover non-exclusive inclusions, e.g., a process or an apparatus that comprises a list of steps is not necessarily limited to those structures or steps expressly listed but may include other steps or structures not expressly listed or inherent to such process or apparatus.
Fig. 2 is a flowchart of a method for synchronizing sound of a television broadcast in different signal source channels according to an embodiment of the present invention, where the method may be implemented by a device for synchronizing sound of a television broadcast in different signal source channels, and the device may be embodied as an entity device with a sound control function, such as a smart television, in an actual scene. As shown in fig. 1, the method includes:
step S101, identifying a signal source channel where a television broadcast newspaper to be played is currently located;
in a practical scenario, for example, a voice assistant broadcasting a newspaper by hands with obvious problems is taken as an example, the intellectualization of a television gradually makes a voice assistant become more and more popular as a common function of a user, and the assistance of the voice assistant can help the user to open an application, search some web pages and interact with the user to increase the interest of the television.
For the broadcast voice to be played, a signal source channel where the broadcast voice is currently located needs to be judged first; for example, when a user watches a DTV signal, if the user starts the function of the voice assistant, the source channel where the voice assistant is currently located is the DTV channel; in addition, there are many channels that are common in the home of the user, for example, HDMI channels, AV channels, ATV channels, component channels, and the like.
Specifically, for step S101, namely identifying the signal source channel where the television broadcast sound to be played is currently located, the specific identification steps may be:
step S1011, reading identification information for representing a signal source channel from a preset database;
step S1012, determining the signal source channel according to the corresponding relationship between the identification information and the signal source channel.
Based on an android system architecture, signal source channels of the system are recorded in a database in the using process, for example, an identifier 1 represents an ATV channel; if the user is currently watching a DTV digital television program, the identification information of the signal source channel used by the user is stored in the database, and the system determines that the current signal source channel is a DTV channel according to the relationship between the corresponding identification information and the signal source channel by detecting the identification information of the signal source channel recorded in the database, if the signal source channel recorded in the database is identified as 2, and further, starts a voice assistant under the DTV channel, then the channel where the broadcast sound of the voice assistant is currently located is the DTV channel.
Step S102, correcting the sound intensity value of the broadcast sound according to the reference signal intensity value of the signal source channel, so that the sound intensity value of the broadcast sound is the same as the reference signal sound intensity value of the signal source channel;
since the signal of different signal sources is different, the reference signal sound intensity value of each signal source channel is also different, and therefore, the sound intensity value of the broadcast sound needs to be corrected, so that the sound intensity value of the broadcast sound is consistent with the reference signal sound intensity value of the signal source channel where the broadcast sound is currently located.
Specifically, for step S102, modifying the sound intensity value of the broadcast sound according to the reference signal sound intensity value of the signal source channel includes:
step S1021, reading the reference signal sound intensity value of the signal source channel from a preset sound intensity table containing signal sources of all channels;
the sound intensity of the signal source of each channel can be tested at the previous stage and preset in software, as shown in table 1:
TABLE 1
Signal source channel | Reference signal sound intensity value |
ATV | S1 |
DTV | S2 |
HDMI | S3 |
…… | …… |
In step S1022, the reference signal sound intensity value is used as a target value of the broadcast sound, and the sound intensity value of the broadcast sound is adjusted according to the target value.
In practice, the steps of obtaining the sound intensity value of the broadcast sound and obtaining the reference signal sound intensity value of the current channel do not have strict sequence requirements, and the sound intensity value of the broadcast sound may be obtained first, or the reference signal sound intensity value of the current channel may be obtained first, or two threads may be opened up, and the sound intensity values of the broadcast sound and the reference signal sound intensity value of the current channel may be obtained simultaneously.
Based on the reference signal sound intensity value of the current channel, the sound intensity value of the broadcast sound can be adjusted step by step until the two values are equal, or the sound intensity value of the broadcast sound is assigned according to the reference signal sound intensity value of the current channel, and the method only needs to perform logical conversion on the two values, and both the methods belong to the protection scope of the patent.
And step S103, carrying out volume gain compensation on the signal source channel according to the corrected sound intensity value of the broadcast sound, and then outputting the signal.
Specifically, in the signal source channel, the output after performing the volume gain compensation according to the modified sound intensity value of the broadcast sound includes:
step S1031, obtaining a sound gain value corresponding to the signal source channel;
the sound gain value of each channel is preset, and after the current channel is identified, the sound gain value of each channel is generally not changed.
And step S1032, writing the sound intensity value of the broadcast sound multiplied by the sound gain value into a Pulse Code Modulation (PCM) audio driver of an Android system for outputting.
Referring to fig. 3, in order to achieve the effect of consistent sound of broadcast messages of each channel (i.e., volume sound intensity of S0), sound post-processing of broadcast messages may be performed on the voice assistant broadcast message, i.e., volume gain correction may be performed on the broadcast message, the volume gain correction value is G4, and the corrected broadcast sound intensity value is S4' (S4 "), as two examples:
(1) the broadcast sound intensity value is S4, the signal source sound intensity value is S1, namely the current signal source channel is an ATV channel;
then G4 ═ S1/S4
S4*G4=S4’
S4*G1=S0
(2) The broadcast sound intensity value is S4, the signal source sound intensity value is S3, namely the current signal source channel is an HDMI channel;
then G4 ═ S3/S4
S4*G4=S4”
S4”*G3=S0
Through the above processing procedures, S4', G1 ═ S4 ═ G3 ═ S1 ═ G1 ═ S2 ═ G2 ═ S3 ═ G3 ═ S0 is realized, so that the effect that the sound sizes heard by the users under the respective channels are consistent is achieved.
Referring to fig. 3, an embodiment of the present application further provides another specific practical process implementation method, where the broadcast sound post-processing module in fig. 3 is a newly added module, and this module mainly implements a process of performing sound intensity processing on a voice assistant broadcast sound, and a specific flowchart is shown in fig. 4:
executing step S401 for the input voice assistant broadcast voice to be played, analyzing and acquiring the sound intensity of the current voice broadcast voice;
step S402, judging a current signal source channel and acquiring a sound intensity value of the signal source;
step S403, based on the determined signal source channel, performing logic conversion, and correcting the sound intensity value of the broadcast sound to be S4';
the specific logic scaling process can refer to the two examples described above. And will not be described in detail herein.
And finally, writing the sound intensity value after the broadcast sound is corrected into a Pulse Code Modulation (PCM) audio driver of an Android system for outputting.
The method has the beneficial effects that at least, the method for synchronizing the sound of the television broadcast under different signal source channels comprises the following steps: identifying a signal source channel where a television broadcast newspaper to be played is located currently; correcting the sound intensity value of the broadcast sound according to the reference signal sound intensity value of the signal source channel, so that the sound intensity value of the broadcast sound is the same as the reference signal sound intensity value of the signal source channel; and in the signal source channel, carrying out volume gain compensation according to the corrected sound intensity value of the broadcast sound and then outputting the sound intensity value. Compared with the prior art, after the signal source channel of the broadcast sound is identified, the sound intensity of the broadcast sound is corrected based on the known reference signal sound intensity value of the current channel, and the purpose of correction is to enable the sound intensity value of the broadcast sound to be the same as the reference signal sound intensity value of the signal source channel, so that the effect that the sound of the same broadcast sound under each signal source channel is consistent can be obtained by outputting the corrected sound intensity value of the broadcast sound after volume gain compensation is carried out on the sound intensity value of the broadcast sound, and user experience is improved.
Based on the same inventive concept, an embodiment of the present invention further provides an apparatus for synchronizing sound of a television broadcast under different signal sources, as shown in fig. 5, where the apparatus 500 includes:
the identification module 501 is configured to identify a signal source channel where a television broadcast sound to be played is currently located;
a modification module 502, configured to modify the sound intensity value of the broadcast sound according to the reference signal sound intensity value of the signal source channel, so that the sound intensity value of the broadcast sound is the same as the reference signal sound intensity value of the signal source channel;
and a gain output module 503, configured to perform volume gain compensation on the signal source channel according to the modified sound intensity value of the broadcast sound, and then output the compensated sound intensity value.
Further, the identification module 501 specifically includes:
the identification reading submodule 5011 is configured to read identification information used for representing a signal source channel from a preset database;
the determining submodule 5012 is configured to determine the signal source channel according to the correspondence between the identification information and the signal source channel.
Further, the modification module 502 includes:
the reference signal reading submodule 5021 is used for reading the reference signal sound intensity value of the signal source channel from a preset sound intensity table containing signal sources of all channels;
the adjusting submodule 5022 is configured to use the reference signal sound intensity value as a target value of the broadcast sound, and adjust the sound intensity value of the broadcast sound according to the target value.
Further, the gain output module 503 includes:
a gain value obtaining module 5031, configured to obtain a sound gain value corresponding to the signal source channel;
the PCM output module 5032 is configured to write the sound intensity value of the broadcast sound multiplied by the sound gain value into a PCM audio driver of an Android system for output.
The beneficial effects of the invention at least comprise that, the application provides a method for synchronizing the sound of the television broadcast under different signal source channels, which comprises the following steps: identifying a signal source channel where a television broadcast newspaper to be played is located currently; correcting the sound intensity value of the broadcast sound according to the reference signal sound intensity value of the signal source channel, so that the sound intensity value of the broadcast sound is the same as the reference signal sound intensity value of the signal source channel; and in the signal source channel, carrying out volume gain compensation according to the corrected sound intensity value of the broadcast sound and then outputting the sound intensity value. Compared with the prior art, after the signal source channel of the broadcast sound is identified, the sound intensity of the broadcast sound is corrected based on the known reference signal sound intensity value of the current channel, and the purpose of correction is to enable the sound intensity value of the broadcast sound to be the same as the reference signal sound intensity value of the signal source channel, so that the effect that the sound of the same broadcast sound under each signal source channel is consistent can be obtained by outputting the corrected sound intensity value of the broadcast sound after volume gain compensation is carried out on the sound intensity value of the broadcast sound, and user experience is improved.
Fig. 6 is a schematic structural diagram of an application environment of the terminal according to an embodiment of the present invention. As shown in fig. 6, the present embodiment takes a terminal as a television as an example, and may include: a processor 601, memory 602, and a communication interface 603;
a computer program is stored in the memory 602 and is executable on the processor, and the processor executes the computer program to perform the steps including identifying a signal source channel where a televised sound to be played is currently located; correcting the sound intensity value of the broadcast sound according to the reference signal sound intensity value of the signal source channel, so that the sound intensity value of the broadcast sound is the same as the reference signal sound intensity value of the signal source channel; and in the signal source channel, carrying out volume gain compensation according to the corrected sound intensity value of the broadcast sound and then outputting the sound intensity value.
The memory 602 is used for storing a program for drawing and erasing a drawn line; in particular, the program may include program code comprising computer operating instructions. The memory 502 may include a Random Access Memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
A communication interface 603 for receiving input signals or instructions;
the processor 601 is configured to execute the program stored in the memory 602 according to the signal or the instruction, and is configured to execute the technical solution provided by the method embodiment of the present invention, which has similar implementation principles and technical effects, and reference may be made to the method embodiment shown in fig. 1, which is not described herein again.
The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the Processor may be a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention. The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (9)
1. A method for synchronizing sound of a television broadcast in different channels of a signal source, the method comprising:
identifying a signal source channel where a television broadcast newspaper to be played is located currently;
correcting the sound intensity value of the broadcast sound according to the reference signal sound intensity value of the signal source channel, so that the sound intensity value of the broadcast sound is the same as the reference signal sound intensity value of the signal source channel;
and in the signal source channel, carrying out volume gain compensation according to the corrected sound intensity value of the broadcast sound and then outputting the sound intensity value.
2. The method according to claim 1, wherein the identifying a signal source channel where the tv broadcast sound to be played is currently located specifically includes:
reading identification information for representing a signal source channel from a preset database;
and determining the signal source channel according to the corresponding relation between the identification information and the signal source channel.
3. The method of claim 1, wherein modifying the sound intensity value of the broadcast sound according to the reference signal sound intensity value of the signal source channel comprises:
reading a reference signal sound intensity value of a signal source channel from a preset sound intensity table containing signal sources of all channels;
and taking the reference signal sound intensity value as a target value of the broadcast sound, and adjusting the sound intensity value of the broadcast sound according to the target value.
4. The method of claim 3, wherein outputting the modified broadcast sound after volume gain compensation according to the sound intensity value of the broadcast sound in the signal source channel comprises:
acquiring a sound gain value corresponding to the signal source channel;
and writing the sound intensity value of the broadcast sound multiplied by the sound gain value into a Pulse Code Modulation (PCM) audio driver of an Android system for outputting.
5. An apparatus for audio synchronization of television broadcast signals from different sources, said apparatus comprising:
the identification module is used for identifying a signal source channel where the television broadcast newspaper to be played is located currently;
the correction module is used for correcting the sound intensity value of the broadcast sound according to the reference signal sound intensity value of the signal source channel, so that the sound intensity value of the broadcast sound is the same as the reference signal sound intensity value of the signal source channel;
and the gain output module is used for carrying out volume gain compensation on the signal source channel according to the corrected sound intensity value of the broadcast sound and then outputting the sound intensity value.
6. The apparatus according to claim 5, wherein the identification module specifically comprises:
the identification reading submodule is used for reading identification information used for representing a signal source channel from a preset database;
and the determining submodule is used for determining the signal source channel according to the corresponding relation between the identification information and the signal source channel.
7. The apparatus of claim 5, wherein the modification module comprises:
the reference signal reading submodule is used for reading the reference signal sound intensity value of the signal source channel from a preset sound intensity table containing signal sources of all channels;
and the adjusting submodule is used for taking the reference signal sound intensity value as a target value of the broadcast sound and adjusting the sound intensity value of the broadcast sound according to the target value.
8. The apparatus of claim 7, wherein the gain output module comprises:
the gain value acquisition module is used for acquiring a sound gain value corresponding to the signal source channel;
and the PCM output module is used for writing the sound intensity value of the broadcast sound multiplied by the sound gain value into a Pulse Code Modulation (PCM) audio driver of the Android system for output.
9. A terminal device comprising a memory, a processor and a computer program stored on said memory and operable on said processor, wherein said processor implements the following steps when executing said program, the steps comprising:
identifying a signal source channel where a television broadcast newspaper to be played is located currently;
correcting the sound intensity value of the broadcast sound according to the reference signal sound intensity value of the signal source channel, so that the sound intensity value of the broadcast sound is the same as the reference signal sound intensity value of the signal source channel;
and in the signal source channel, carrying out volume gain compensation according to the corrected sound intensity value of the broadcast sound and then outputting the sound intensity value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710511384.7A CN107333171B (en) | 2017-06-27 | 2017-06-27 | Method and device for synchronizing sound of television broadcast and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710511384.7A CN107333171B (en) | 2017-06-27 | 2017-06-27 | Method and device for synchronizing sound of television broadcast and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107333171A CN107333171A (en) | 2017-11-07 |
CN107333171B true CN107333171B (en) | 2020-05-22 |
Family
ID=60197692
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710511384.7A Active CN107333171B (en) | 2017-06-27 | 2017-06-27 | Method and device for synchronizing sound of television broadcast and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107333171B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109889890A (en) * | 2019-03-15 | 2019-06-14 | 青岛海信电器股份有限公司 | The treating method and apparatus of audio data |
CN113094005B (en) * | 2019-12-23 | 2024-04-09 | 普源精电科技股份有限公司 | Method, system, computer equipment and medium for controlling synchronous output of signal sources |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106162320A (en) * | 2016-07-27 | 2016-11-23 | 青岛海信电器股份有限公司 | Method for regulation of sound volume and device |
CN106792386A (en) * | 2016-12-05 | 2017-05-31 | 青岛海信电器股份有限公司 | A kind of terminal volume adjusting method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7827491B2 (en) * | 2006-05-12 | 2010-11-02 | Tran Bao Q | Systems and methods for video editing |
US20090055005A1 (en) * | 2007-08-23 | 2009-02-26 | Horizon Semiconductors Ltd. | Audio Processor |
-
2017
- 2017-06-27 CN CN201710511384.7A patent/CN107333171B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106162320A (en) * | 2016-07-27 | 2016-11-23 | 青岛海信电器股份有限公司 | Method for regulation of sound volume and device |
CN106792386A (en) * | 2016-12-05 | 2017-05-31 | 青岛海信电器股份有限公司 | A kind of terminal volume adjusting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107333171A (en) | 2017-11-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7001588B2 (en) | Object-based audio signal balancing method | |
CN101808208B (en) | Television and method for setting sound effect mode of same | |
CN104902317A (en) | Audio video synchronization method and device | |
CN104168431A (en) | Volume adjusting method and device and set top box | |
CN108322817A (en) | A kind of audio mode switching method, device and electronic equipment | |
US11205431B2 (en) | Method, apparatus and device for presenting state of voice interaction device, and storage medium | |
US9980071B2 (en) | Audio processor for orientation-dependent processing | |
US9986362B2 (en) | Information processing method and electronic device | |
US20100223059A1 (en) | Method and apparatus for playing dynamic audio and video menus | |
CN107333171B (en) | Method and device for synchronizing sound of television broadcast and terminal equipment | |
US11956497B2 (en) | Audio processing method and electronic device | |
CN101202860A (en) | Sound volume regulating method | |
CN105898538A (en) | Play method and device and mobile terminal equipment based on Android platform | |
CN103905925A (en) | Method and terminal for repeatedly playing program | |
CN104270667A (en) | Program switchover method and device and terminal | |
RU2012131312A (en) | METHOD FOR AUTOMATIC PROGRAMMING OF A RECEIVER ABLE TO RECEIVE RADIO TV AND SIGNALS, AT LEAST, IN TWO DIFFERENT FORMATS, AND THE RELATED RECEIVER | |
CN110620986A (en) | Scheduling method and device of audio processing algorithm, audio processor and storage medium | |
CN106792370B (en) | Volume control method and device | |
CN205943467U (en) | Audio playback device and terminal | |
CN105451134A (en) | Audio transmission method and terminal equipment | |
CN111601157B (en) | Audio output method and display device | |
US20090116667A1 (en) | Method and Apparatus for Volume Adjustment | |
CN109005442A (en) | Set-top box control method, device, equipment and storage medium based on HFC | |
CN108777813A (en) | Switching method, device, terminal and storage medium of scrambled digital television program | |
KR100703522B1 (en) | Method and apparatus for storaging digital multimedia broadcasting audio data in digital multimedia broadcasting terminal |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Applicant after: Hisense Visual Technology Co., Ltd. Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |