WO2018171579A1 - Method for merging external audio signal and hdmi signal and hdmi connector - Google Patents

Method for merging external audio signal and hdmi signal and hdmi connector Download PDF

Info

Publication number
WO2018171579A1
WO2018171579A1 PCT/CN2018/079585 CN2018079585W WO2018171579A1 WO 2018171579 A1 WO2018171579 A1 WO 2018171579A1 CN 2018079585 W CN2018079585 W CN 2018079585W WO 2018171579 A1 WO2018171579 A1 WO 2018171579A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
audio signal
digital
hdmi
analog
Prior art date
Application number
PCT/CN2018/079585
Other languages
French (fr)
Chinese (zh)
Inventor
王群
Original Assignee
北京君林科技股份有限公司
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 北京君林科技股份有限公司 filed Critical 北京君林科技股份有限公司
Publication of WO2018171579A1 publication Critical patent/WO2018171579A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43632Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wired protocol, e.g. IEEE 1394
    • H04N21/43635HDMI

Definitions

  • Embodiments of the present invention relate to the field of HDMI technologies, and in particular, to a method for merging an external audio signal and an HDMI signal, and to an HDMI connector.
  • VCD/DVD Traditional home multimedia devices include VCD/DVD and televisions, and the combination of these devices enables home karaoke entertainment.
  • VCD/DVD has gradually faded out of people's lives, and the TV as the protagonist of home entertainment has been transformed into cable digital TV.
  • Cable digital TV can receive digital TV programs through digital TV set-top boxes and cable TV networks.
  • the number of channels provided by cable digital TV has been greatly increased, and it can be as high as four or five hundred channels, and the sound quality and picture quality are greatly improved.
  • the digital digital signal transmission is performed between the set top box and the cable digital television through HDMI (High Definition Multimedia Interface). HDMI connectors are widely used in home appliances such as set-top boxes, DVDs, personal computers, digital audio and televisions.
  • VCD/DVD Since VCD/DVD has gradually faded out of people's lives, in addition to the need for a TV set for home karaoke entertainment, it is usually necessary to additionally configure a family karaoke jukebox, but the family karaoke jukebox takes up more space for family life, and The cost is relatively high.
  • Embodiments of the present invention provide a method for merging external audio signals and HDMI signals and an HDMI connector to implement home karaoke entertainment conveniently and at low cost.
  • an embodiment of the present invention provides a method for merging an external audio signal and an HDMI signal, where the method includes:
  • the step of separating the first audio signal and the video signal in the first HDMI signal comprises:
  • the first HDMI signal is converted into a first HDMI signal in the form of an analog signal, and the first audio signal in the form of an analog signal and the video signal in the form of an analog signal are separated.
  • the step of superimposing the external audio signal and the first audio signal to obtain a second audio signal includes:
  • the step of superimposing the external audio signal and the first audio signal to obtain a second audio signal further includes:
  • volume-adjusted external audio signal and the volume-adjusted first audio signal are superimposed to obtain a second audio signal.
  • the step of acquiring the first HDMI signal includes:
  • an embodiment of the present invention provides an HDMI connector, including a signal input port, a pickup, a separation unit, a superimposing unit, a combining unit, and a signal output port:
  • the signal input port is connected to the separation unit, the separation unit and the pickup are connected to the superposition unit, the separation unit and the superposition unit are connected to the combination unit, and the combination unit is connected to the signal output port ;
  • the signal input port is configured to acquire a first HDMI signal
  • the pickup for acquiring an external audio signal
  • the separating unit is configured to separate the first audio signal and the video signal in the first HDMI signal
  • the superimposing unit is configured to superimpose the external audio signal and the first audio signal to obtain a second audio signal
  • the combining unit is configured to combine the second audio signal and the video signal into a second HDMI signal
  • the signal output port is configured to output the second HDMI signal.
  • a knob for adjusting a volume of the first audio signal and the external audio signal the knob connecting an MCU chip for detecting a rotation angle of the knob, the MCU chip connection for adjusting a superimposing unit of the first audio signal and the volume level of the external audio signal.
  • the superimposing unit includes a first digital to analog converter, a second digital to analog converter, an operational amplifier, and an analog to digital converter;
  • the separating unit is connected to the first digital-to-analog converter, the pickup is connected to the second digital-to-analog converter, and the first digital-to-analog converter and the second digital-to-analog converter are connected to the operational amplifier,
  • the operational amplifier is coupled to the analog to digital converter, and the digital to analog converter is coupled to the combination unit.
  • the separating unit includes a first digital-to-analog converter
  • the superimposing unit includes a second digital-to-analog converter and an operational amplifier
  • the combining unit includes an analog-to-digital converter
  • the signal input port is connected to a first digital-to-analog converter
  • the pickup is connected to the second digital-to-analog converter
  • the second digital-to-analog converter are connected to an operational amplifier
  • the operational amplifier and the video output end of the first digital-to-analog converter are connected to an analog-to-digital converter, and the analog-to-digital converter is connected to the signal output port.
  • a first volume controller is connected between the audio output end of the first digital-to-analog converter and the operational amplifier, and a second volume is connected between the second digital-to-analog converter and the operational amplifier.
  • the controller, the first volume controller and the second volume controller are coupled to a knob for adjusting the volume of the first audio signal and the volume of the external audio signal.
  • the external audio signal is superimposed on the audio signal in the HDMI signal, and then the superimposed audio signal and the video signal in the HDMI signal are converted into a new HDMI signal, and finally transmitted to the multimedia device receiving the new HDMI signal. Playback, during the playback of the new HDMI signal, its quality is not affected by the superimposed signal, and the home karaoke can be realized conveniently and at low cost.
  • FIG. 1 is a flowchart of an embodiment of a method for merging an external audio signal and an HDMI signal according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another embodiment of a method for merging an external audio signal and an HDMI signal according to an embodiment of the present invention
  • FIG. 3 is a flowchart of still another embodiment of a method for merging an external audio signal and an HDMI signal according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram of an embodiment of an HDMI connector according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of another embodiment of an HDMI connector according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of an embodiment of a superimposing unit according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram of another embodiment of a superimposing unit according to an embodiment of the present invention.
  • FIG. 8 is a structural block diagram of still another embodiment of an HDMI connector according to an embodiment of the present invention.
  • FIG. 9 is a structural block diagram of still another embodiment of an HDMI connector according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of an embodiment of a method for merging an external audio signal and an HDMI signal according to an embodiment of the present invention.
  • the embodiment of the present invention is described from the HDMI connector side.
  • the method may specifically include the following steps:
  • Step 101 Acquire a first HDMI signal and an external audio signal
  • two multimedia devices may be connected through an HDMI cable or an HDMI connector, such as a set top box and a television (including a cable digital TV and a smart TV). Connect between the HDMI connectors.
  • the first multimedia device eg, a set top box
  • the first HDMI signal is an HDMI signal sent by the first multimedia device to the HDMI connector.
  • the first HDMI signal is a digital signal, including an audio signal and a video signal.
  • embodiments of the present invention are applicable not only to set top boxes and television sets, but also to other multimedia devices, such as between a computer and a television, between a computer and an audio, between a television and an audio, and the like.
  • the first multimedia device may also be a mobile terminal, such as a mobile phone, a notebook, etc.
  • the audio and video signal sent by the mobile terminal to the HDMI connector may be a Mobile High-Definition Link (MHL) signal of the mobile terminal.
  • MHL Mobile High-Definition Link
  • the HDMI connector converts the MHL signal into an HDMI signal after acquiring the MHL signal.
  • the mobile terminal can send the MHL signal to the HDMI connector through the type-c interface or the USB Type C interface.
  • the second multimedia device may be any device that can play multimedia, such as a television, a projector, or an audio device.
  • the process of acquiring an external audio signal may include: receiving the external audio signal through a wireless data transmission channel; or receiving the external audio signal through a wired data transmission channel. Therefore, the external audio signal can be a wireless audio signal or a wired audio signal.
  • the external audio signal can be a digital signal or an analog signal.
  • an external audio signal can be sent to the HDMI connector through the pickup.
  • the pickup can be a microphone.
  • Step 102 separating the first audio signal and the video signal in the first HDMI signal.
  • the first HDMI signal received by the HDMI connector may be a digital signal, and the separated first audio signal and video signal may both be digital signals.
  • the first HDMI signal in the form of a digital signal may also be converted into an analog signal, and then the first HDMI signal in the form of an analog signal is separated into a first audio signal in the form of an analog signal and a video in the form of an analog signal. signal.
  • the first audio signal in the form of a digital signal is converted into a first audio signal in the form of an analog signal.
  • Step 103 superimposing the external audio signal and the first audio signal to obtain a second audio signal.
  • the external audio signal in the form of a digital signal and the first audio signal in the form of a digital signal may be superimposed to obtain a second audio signal in the form of a digital signal. It is also possible to superimpose an external audio signal in the form of an analog signal with a first audio signal in the form of an analog signal, thereby obtaining a second audio signal in the form of an analog signal.
  • the volume of the first audio signal and the external audio signal may be adjusted by adjusting the knob, where the first volume adjustment signal of the first audio signal and the external audio signal are obtained. a volume adjustment signal; adjusting a volume of the first volume adjustment signal according to the first volume adjustment signal, and adjusting a volume of the external audio signal according to the second volume adjustment signal; and superimposing the volume-adjusted external audio signal And the first audio signal after the volume adjustment, the second audio signal is obtained.
  • the adjustable design of the volume level of the first audio signal and the external audio signal can prevent a volume of the first audio signal and the external audio signal from being higher or lower, thereby improving the audible effect.
  • Step 104 combining the second audio signal and the video signal into a second HDMI signal.
  • the second audio signal in the form of a digital signal can be combined with the digital signal form video signal into a second HDMI signal.
  • the second audio signal in the form of an analog signal and the video signal in the form of an analog signal may be converted into a second audio signal in the form of a digital signal and a video signal in the form of a digital signal, respectively, and a second audio signal in the form of a digital signal and a digital signal.
  • the video signals in the form of signals are combined into a second HDMI signal.
  • the extraction of the audio signal, the superposition of the audio signal, and the superposition of the audio signal and the video signal can be performed at a high speed to avoid affecting the playback quality of the video and audio.
  • the song file may be stored in the first multimedia device, or the song software may be installed.
  • the song file may be stored in the song software, and the song file may be an audio format or an audio and video format.
  • the karaoke software is used to extract the specified song from the song library for playback.
  • the first multimedia device transmits the first HDMI signal including the background music to the HDMI connector, and the HDMI connector can receive the external audio signal including the human voice through the pickup, and then the first one containing the background music.
  • the HDMI signal is superimposed with the external audio signal including the human voice, and finally the superimposed second HDMI signal is played through the second multimedia device, so that the home karaoke can be realized conveniently and at low cost.
  • the audio signal in the second HDMI signal is an audio signal in which the background music and the human voice are superimposed, the audible effect can be improved.
  • the home karaoke can also be implemented by the following process: the first audio signal outputted by the first multimedia device and the external audio signal are acquired; And the second audio signal is obtained by the external audio signal and the first audio signal; and the second audio signal is sent to the second multimedia device.
  • the first multimedia device may be a computer or a television or the like, and the second multimedia device may be an audio.
  • the first multimedia device may be connected to the HDMI connector.
  • the audio signal containing the background music is output, and the HDMI connector superimposes the audio signal including the human voice with the audio signal containing the background music, and finally plays through the second multimedia device, thereby conveniently implementing the family karaoke.
  • FIG. 2 is a flowchart of another embodiment of a method for merging an external audio signal and an HDMI signal according to an embodiment of the present invention.
  • the method may specifically include the following steps:
  • Step 201 Acquire a first HDMI signal and an external audio signal.
  • Step 202 Extract a first audio signal in the form of a digital signal from the first HDMI signal to separate a first audio signal digital signal in the form of a digital signal in the first HDMI signal and a video signal in the form of a digital signal.
  • the first audio signal in the form of an extracted digital signal may include 1 to 8 audio channels. In an embodiment of the invention, the first audio signal in the form of an extracted digital signal comprises eight audio channels.
  • the video signal in the form of the digital signal remaining after the first audio signal is extracted is still transmitted according to the original channel, and the embodiment of the present invention does not change the transmission mode or the transmission channel of the video signal in the first HDMI signal. To ensure the normal playback of the final video signal.
  • Step 203 superimposing an external audio signal in the form of a digital signal and a first audio signal in the form of the digital signal to obtain a second audio signal in the form of a digital signal.
  • External audio signals can be transmitted on one or two audio channels.
  • the external audio signal is transmitted on one audio channel
  • the superimposition processing is performed, the one external audio signal is superimposed on each audio channel of the first audio signal, and the second audio signal including eight channels is still obtained.
  • the superimposition processing method does not destroy the original first audio signal, so the playback of the final multimedia signal is not affected.
  • the two external audio signals are respectively superimposed on any two audio channels of the first audio signal, and then the two external audio signals are performed. Mixing, superimposing into the remaining six audio channels in the first audio signal, also obtaining a second audio signal comprising eight channels.
  • the embodiment of the invention realizes that the external audio signal is superimposed with the HDMI signal transmitted in the HDMI connector to form a new HDMI signal, and finally sent to the second multimedia device for playing, in the process of playing the new HDMI signal,
  • the quality is not affected by the superimposed signals, and the home karaoke can be realized conveniently and at low cost.
  • the step 203 may specifically include: converting the first audio signal in the form of a digital signal into a first audio signal in the form of an analog signal; and superimposing the first audio signal and the analog signal in the form of an analog signal. Forming an external audio signal, resulting in a second audio signal in the form of an analog signal; converting the second audio signal in the form of the analog signal to a second audio signal in the form of a digital signal.
  • Step 204 combining the second audio signal in the form of a digital signal with the video signal in the form of a digital signal into a second HDMI signal.
  • FIG. 3 is a flowchart of still another embodiment of a method for merging an external audio signal and an HDMI signal according to an embodiment of the present invention.
  • the method may specifically include the following steps:
  • Step 301 Acquire a first HDMI signal and an external audio signal.
  • Step 302 Convert the first HDMI signal into a first HDMI signal in the form of an analog signal, and separate the first audio signal in the form of an analog signal and the video signal in the form of an analog signal.
  • the first HDMI signal can be converted into an analog signal and output 1 to 8 channels.
  • the output first audio signal comprises a left channel and a right channel.
  • Step 303 superimposing the first audio signal in the form of an analog signal and the external audio signal in the form of an analog signal to obtain a second audio signal in the form of an analog signal.
  • the external audio signal in the form of an analog signal may include 1 to 2 channels.
  • an external audio signal including one channel may be superimposed to each sound of the first audio signal in the process of superimposing the external audio signal into the first audio signal in the form of an analog signal.
  • a second audio signal in the form of an analog signal containing two channels is obtained.
  • the external audio signal in the form of an analog signal also includes two channels of the left and right channels
  • the external audio signal may be left and right in the process of superimposing the external audio signal into the first audio signal in the form of an analog signal in the form of an analog signal.
  • the channels are respectively superimposed into the left and right channels of the first audio signal, and a second audio signal in the form of an analog signal containing two channels is also obtained.
  • Step 304 Combine the second audio signal in the form of the analog signal with the video signal in the form of the analog signal into a second HDMI signal.
  • the second audio signal in the form of an analog signal and the video signal in the analog signal form may be converted into a second audio signal in the form of a digital signal and a video signal in the form of a digital signal, and then a second form in the form of a digital signal.
  • the audio signal is combined with the video signal in the form of a digital signal into a second HDMI signal.
  • the embodiment of the invention realizes that the external audio signal is superimposed with the HDMI signal transmitted in the HDMI connector to form a new HDMI signal, and finally sent to the second multimedia device for playing, in the process of playing the new HDMI signal,
  • the quality is not affected by the superimposed signals, and the home karaoke can be realized conveniently and at low cost.
  • the HDMI connector may specifically include: a signal input port 1, a pickup 2, a separation unit 3, a superimposing unit 4, a combining unit 5, and Signal output port 6.
  • the signal input port 1 is connected to the separation unit 3, the separation unit 3 and the pickup 2 are connected to the superposition unit 4, the separation unit 3 and the superposition unit 4 are connected to the combination unit 5, The combining unit 5 is connected to the signal output port 6.
  • the signal input port 1 is configured to acquire a first HDMI signal.
  • the pickup 2 is configured to acquire an external audio signal.
  • the separating unit 3 is configured to separate the first audio signal and the video signal in the first HDMI signal.
  • the superimposing unit 4 is configured to superimpose the external audio signal and the first audio signal to obtain a second audio signal.
  • the combining unit 5 is configured to combine the second audio signal and the video signal into a second HDMI signal.
  • the signal output port 6 is configured to output the second HDMI signal.
  • the signal input port 1 is further configured to acquire an MHL signal and convert the MHL signal into an HDMI signal to obtain a first HDMI signal.
  • the separation unit 3 may be configured to extract a first audio signal in the form of a digital signal from the first HDMI signal to separate a first audio signal in the form of a digital signal in the first HDMI signal Video signals in the form of digital signals and digital signals.
  • the pickup 2 can acquire an external audio signal in the form of a digital signal or an external audio signal in the form of an analog signal, and convert the external audio signal in the form of an analog signal into an external audio signal in the form of a digital signal.
  • the superimposing unit 4 can be used to superimpose a video signal in the form of a digital signal and an external audio signal in the form of a digital signal to obtain a second audio signal in the form of a digital signal.
  • the combining unit 5 is configured to combine the second audio signal in the form of a digital signal and the video signal in the form of a digital signal into a second HDMI signal, and then transmit the second HDMI signal to the multimedia device for playing through the signal output port 6.
  • the HDMI connector further includes a knob 7 for adjusting the volume of the first audio signal and the external audio signal, and the knob 7 is connected for detecting A Microcontroller Unit (MCU) chip 8 for rotating the knob 7, the MCU chip 8 is connected with a superimposing unit for adjusting the volume of the first audio signal and the volume of the external audio signal.
  • the HDMI connector can include a knob or two knobs 7. When a knob is included, the knob is used to adjust the ratio of the volume of the first audio signal and the volume of the external audio signal. When two knobs are included, the two knobs can respectively control the volume of the first audio signal and the external audio signal.
  • the MCU chip 8 acquires a first volume adjustment signal of the first audio signal and a second volume adjustment signal of the external audio signal by detecting a rotation angle of the knob 7.
  • the superimposing unit 4 is specifically configured to adjust a volume of the first volume adjustment signal according to the first volume adjustment signal, and adjust a volume of the external audio signal according to the second volume adjustment signal, and superimpose the volume adjusted The external audio signal and the volume-adjusted first audio signal obtain a second audio signal.
  • the superimposing unit 4 can use a DSP (Digital Signal Processing) chip, a single chip microcomputer or a codec.
  • the superimposing unit adopted in the embodiment of the invention can ensure that the superimposition process of the first audio signal and the external audio signal is completed within 15 ms, thereby ensuring that the entire processing process does not exceed 25 ms, which is far less than the minimum resolution time of the human ear (75 ms), so Does not affect the playback quality of audio and video.
  • the superimposing unit 4 is further limited to obtain a second embodiment.
  • the superimposing unit 4 may include a first digital-to-analog converter 9, a second digital-to-analog converter 10, an operational amplifier 11, and an analog-to-digital converter 12.
  • the separating unit 3 is connected to the first digital-to-analog converter 9, and the pickup 2 is connected to the second digital-to-analog converter 10, the first digital-to-analog converter 9 and the second digital-to-analog converter 10.
  • the operational amplifier 11 is connected, and the operational amplifier 11 is connected to the analog-to-digital converter 12, and the analog-to-digital converter 12 is connected to the combining unit 5.
  • the first digital-to-analog converter 9 is configured to convert the first audio signal in the form of a digital signal into a first audio signal in the form of an analog signal.
  • the second digital-to-analog converter 10 is configured to convert an external audio signal in the form of a digital signal into an external audio signal in the form of an analog signal.
  • the second digital-to-analog converter 10 may not be included.
  • the pickup 2 can be directly connected to the operational amplifier 11.
  • the operational amplifier 11 is configured to superimpose the first audio signal in the form of an analog signal and the external audio signal in the form of an analog signal to obtain a second audio signal in the form of an analog signal.
  • the analog to digital converter 12 is configured to convert the second audio signal in the form of the analog signal into a second audio signal in the form of a digital signal.
  • a first volume controller 13 is connected between the audio output end of the first digital-to-analog converter 9 and the operational amplifier 11, and the second digital mode
  • a second volume controller 14 is connected between the converter 10 and the operational amplifier 11, and the first volume controller 13 and the second volume controller 14 are connected for adjusting the first audio signal and the Knob 7 for the volume of the external audio signal.
  • the first volume controller 13 and the second volume controller 14 can be connected to the same knob, which can adjust the ratio of the volume of the first audio signal and the volume of the external audio signal.
  • the first volume controller 13 and the second volume controller 14 may also be respectively connected with a knob, and the two knobs respectively adjust the volume of the first audio signal and the external audio signal.
  • the separation unit 3 comprises a first digital-to-analog converter 9, which comprises a second digital-to-analog converter 10 and an operational amplifier 11, the combining unit 5 comprising an analog-to-digital converter 12.
  • the signal input port 1 is connected to a first digital-to-analog converter 9, the pickup 2 is connected to the second digital-to-analog converter 10, an audio output end of the first digital-to-analog converter 9 and the second digital-to-analog
  • the converter 10 is connected to an operational amplifier 11, and the operational amplifier 11 and the video output of the first digital-to-analog converter 9 are connected to an analog-to-digital converter 12, which is connected to the signal output port 6.
  • the first digital-to-analog converter 9 is configured to convert the first HDMI signal into a first HDMI signal in the form of an analog signal, and separate the first audio signal in the form of an analog signal and the video signal in the form of an analog signal.
  • the second digital-to-analog converter 10 is configured to convert an external audio signal in the form of a digital signal into an external audio signal in the form of an analog signal.
  • the external audio signal acquired by the pickup 2 is an external audio signal in the form of an analog signal
  • the second digital-to-analog converter 10 may not be included.
  • the pickup 2 can be directly connected to the operational amplifier 11.
  • the operational amplifier 11 is configured to superimpose the first audio signal in the form of an analog signal and the external audio signal in the form of an analog signal to obtain a second audio signal in the form of an analog signal.
  • the analog to digital converter 12 is configured to combine the second audio signal in the form of the analog signal with the video signal in the form of the analog signal into a second HDMI signal.
  • the audio output end of the first digital-to-analog converter 9 includes a left channel end and a right channel end, and the left channel end and the right channel end may be respectively connected to an operational amplifier 11.
  • the left channel end of the first digital to analog converter 9 and the left channel end of the second digital to analog converter 10 may be connected to the same operational amplifier 11 for superimposing the first audio signal and the left channel signal of the external audio signal.
  • the right channel end of the first digital to analog converter 9 and the right channel end of the second digital to analog converter 10 may be connected to another identical operational amplifier 11 for superimposing the first audio signal and the right channel of the external audio signal. signal.
  • the first digital-to-analog converter 9 can include three video output terminals: a video output terminal a, a video output terminal b, and a video output terminal c.
  • the video signal output by the first digital-to-analog converter 9 is directly transmitted to the analog-to-digital converter 12, and then converted together with the second audio signal, the HDMI signal is recovered, and finally transmitted to the multimedia device receiving the HDMI signal. Used for playback.
  • the embodiment of the invention realizes that the external audio signal is superimposed with the HDMI signal transmitted in the HDMI connector to form a new HDMI signal, and finally sent to the multimedia device receiving the HDMI signal for playing, in the process of playing the new HDMI signal,
  • the quality is not affected by the superimposed signals, and the home karaoke can be realized conveniently and at low cost.
  • a first volume controller 13 is connected between the audio output end of the first digital-to-analog converter 9 and the operational amplifier 11, the second digital-to-analog converter 10 and the operational amplifier.
  • a second volume controller 14 is connected between the first volume controller 13 and the second volume controller 14 for connecting a knob 7 for adjusting the volume of the first audio signal and the volume of the external audio signal.
  • the first volume controller 13 and the second volume controller 14 can be connected to the same knob, which can adjust the ratio of the volume of the first audio signal and the volume of the external audio signal.
  • the first volume controller 13 and the second volume controller 14 may also be respectively connected with a knob, and the two knobs respectively adjust the volume of the first audio signal and the external audio signal.
  • the embodiment of the present invention can be applied not only to the scene of the home karaoke entertainment, but also to other scenarios. For example, in a multimedia classroom or a multimedia conference, connecting a computer and an audio through the above HDMI connector can be explained while playing a video. Therefore, the embodiment of the present invention does not specifically limit the scenario of the application.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Embodiments of the present invention disclose a method for merging an external audio signal and an HDMI signal and an HDMI connector. The method comprises: acquiring a first HDMI signal and an external audio signal; separating a first audio signal and a video signal in the first HDMI signal; superimposing the external audio signal and the first audio signal to obtain a second audio signal; and combining the second audio signal and the video signal into a second HDMI signal. In the embodiments of the present invention, an external audio signal is superimposed on an audio signal in an HDMI signal, then the superimposed audio signal and the video signal in the HDMI signal are converted into a new HDMI signal, and finally the new HDMI signal is sent to a multimedia device so as to receive the new HDMI signal for playback. During playback of the new HDMI signal, the quality of the new HDMI signal is not affected by the superimposed signal, and home karaoke can be realized conveniently with low costs.

Description

一种外部音频信号与HDMI信号的合并方法及HDMI连接器Method for merging external audio signal and HDMI signal and HDMI connector
本申请要求于2017年3月23日提交中国专利局、申请号为201710176765.4、发明名称为“一种外部音频信号与HDMI信号的合并方法及HDMI连接器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application, filed on March 23, 2017, the Chinese Patent Office, Application No. 201710176765.4, entitled "A Method for Combining External Audio Signals with HDMI Signals and HDMI Connectors", all of which The content is incorporated herein by reference.
技术领域Technical field
本发明实施例涉及HDMI技术领域,尤其涉及一种外部音频信号与HDMI信号的合并方法及涉及一种HDMI连接器。Embodiments of the present invention relate to the field of HDMI technologies, and in particular, to a method for merging an external audio signal and an HDMI signal, and to an HDMI connector.
背景技术Background technique
传统的家用多媒体设备包括VCD/DVD以及电视机,这些设备的组合能够实现家庭卡拉OK娱乐。但是,VCD/DVD已经逐渐淡出了人们的生活中,而作为家庭娱乐主角的电视机已经转变为有线数字电视。Traditional home multimedia devices include VCD/DVD and televisions, and the combination of these devices enables home karaoke entertainment. However, VCD/DVD has gradually faded out of people's lives, and the TV as the protagonist of home entertainment has been transformed into cable digital TV.
有线数字电视可以通过数字电视机顶盒和有线电视网络接收数字电视节目。有线数字电视提供的频道量大大增加,可以高达四五百个频道,而且音质和画质也得到大大提高。机顶盒与有线数字电视之间通过HDMI(High Definition Multimedia Interface,高清晰度多媒体接口)进行多媒体数字信号的传输。HDMI连接器广泛应用于机顶盒、DVD、个人电脑、数子音响与电视机等家电设备中。Cable digital TV can receive digital TV programs through digital TV set-top boxes and cable TV networks. The number of channels provided by cable digital TV has been greatly increased, and it can be as high as four or five hundred channels, and the sound quality and picture quality are greatly improved. The digital digital signal transmission is performed between the set top box and the cable digital television through HDMI (High Definition Multimedia Interface). HDMI connectors are widely used in home appliances such as set-top boxes, DVDs, personal computers, digital audio and televisions.
由于VCD/DVD已经逐渐淡出了人们的生活中,为实现家庭卡拉OK娱乐除需要电视机之外,通常还需要额外配置家庭卡拉OK点唱机,但是家庭卡拉OK点唱机比较占用家庭生活空间,而且成本比较高。Since VCD/DVD has gradually faded out of people's lives, in addition to the need for a TV set for home karaoke entertainment, it is usually necessary to additionally configure a family karaoke jukebox, but the family karaoke jukebox takes up more space for family life, and The cost is relatively high.
发明内容Summary of the invention
本发明实施例提供了一种外部音频信号与HDMI信号的合并方法及一种HDMI连接器,以方便地、较低成本地实现家庭卡拉OK娱乐。Embodiments of the present invention provide a method for merging external audio signals and HDMI signals and an HDMI connector to implement home karaoke entertainment conveniently and at low cost.
第一方面,本发明实施例提供了一种外部音频信号与HDMI信号的合并方法,该方法包括:In a first aspect, an embodiment of the present invention provides a method for merging an external audio signal and an HDMI signal, where the method includes:
获取第一HDMI信号以及外部音频信号;Acquiring the first HDMI signal and the external audio signal;
分离所述第一HDMI信号中的第一音频信号和视频信号;Separating the first audio signal and the video signal in the first HDMI signal;
叠加所述外部音频信号与所述第一音频信号,得到第二音频信号;Superimposing the external audio signal and the first audio signal to obtain a second audio signal;
将所述第二音频信号与所述视频信号组合为第二HDMI信号。Combining the second audio signal with the video signal into a second HDMI signal.
进一步地,分离所述第一HDMI信号中的第一音频信号和视频信号的步骤,包括:Further, the step of separating the first audio signal and the video signal in the first HDMI signal comprises:
从所述第一HDMI信号中提取数字信号形式的第一音频信号,以分离所述第一HDMI信号中的数字信号形式的第一音频信号数字信号和数字信号形式的视频信号;或者,Extracting a first audio signal in the form of a digital signal from the first HDMI signal to separate a first audio signal digital signal in the form of a digital signal in the first HDMI signal and a video signal in the form of a digital signal; or
将所述第一HDMI信号转换为模拟信号形式的第一HDMI信号,并分离出模拟信号形式的第一音频信号及模拟信号形式的视频信号。The first HDMI signal is converted into a first HDMI signal in the form of an analog signal, and the first audio signal in the form of an analog signal and the video signal in the form of an analog signal are separated.
进一步地,叠加所述外部音频信号与所述第一音频信号,得到第二音频信号的步骤,包括:Further, the step of superimposing the external audio signal and the first audio signal to obtain a second audio signal includes:
叠加数字信号形式的外部音频信号与所述数字信号形式的第一音频信号,得到数字信号形式的第二音频信号;或者还包括:Superimposing an external audio signal in the form of a digital signal and a first audio signal in the form of the digital signal to obtain a second audio signal in the form of a digital signal; or
将数字信号形式的第一音频信号转换为模拟信号形式的第一音频信号;Converting the first audio signal in the form of a digital signal to a first audio signal in the form of an analog signal;
叠加模拟信号形式的第一音频信号与模拟信号形式的外部音频信号,得到模拟信号形式的第二音频信号;Superimposing the first audio signal in the form of an analog signal and the external audio signal in the form of an analog signal to obtain a second audio signal in the form of an analog signal;
将所述模拟信号形式的第二音频信号转换为数字信号形式的第二音频信号。Converting the second audio signal in the form of the analog signal to a second audio signal in the form of a digital signal.
进一步地,叠加所述外部音频信号与所述第一音频信号,得到第二音频信号的步骤,还包括:Further, the step of superimposing the external audio signal and the first audio signal to obtain a second audio signal further includes:
获取所述第一音频信号的第一音量调节信号以及所述外部音频信号的第二音量调节信号;Obtaining a first volume adjustment signal of the first audio signal and a second volume adjustment signal of the external audio signal;
根据所述第一音量调节信号调节所述第一音量调节信号的音量,以及根据所述第二音量调节信号调节所述外部音频信号的音量;Adjusting a volume of the first volume adjustment signal according to the first volume adjustment signal, and adjusting a volume of the external audio signal according to the second volume adjustment signal;
叠加音量调节后的外部音频信号与音量调节后的第一音频信号,得到第二音频信号。The volume-adjusted external audio signal and the volume-adjusted first audio signal are superimposed to obtain a second audio signal.
进一步地,所述获取第一HDMI信号的步骤,包括:Further, the step of acquiring the first HDMI signal includes:
获取MHL信号;Obtain the MHL signal;
将所述MHL信号转换为第一HDMI信号。Converting the MHL signal to a first HDMI signal.
第二方面,本发明实施例提供了一种HDMI连接器,包括信号输入端口、拾音器、分离单元、叠加单元、组合单元以及信号输出端口:In a second aspect, an embodiment of the present invention provides an HDMI connector, including a signal input port, a pickup, a separation unit, a superimposing unit, a combining unit, and a signal output port:
所述信号输入端口连接所述分离单元,所述分离单元以及所述拾音器连接所述叠加单元,所述分离单元以及所述叠加单元连接所述组合单元,所述组合单元连接所述信号输出端口;The signal input port is connected to the separation unit, the separation unit and the pickup are connected to the superposition unit, the separation unit and the superposition unit are connected to the combination unit, and the combination unit is connected to the signal output port ;
所述信号输入端口,用于获取第一HDMI信号;The signal input port is configured to acquire a first HDMI signal;
所述拾音器,用于获取外部音频信号;The pickup for acquiring an external audio signal;
所述分离单元,用于分离第一HDMI信号中的第一音频信号和视频信号;The separating unit is configured to separate the first audio signal and the video signal in the first HDMI signal;
所述叠加单元,用于叠加所述外部音频信号与所述第一音频信号,得到第二音频信号;The superimposing unit is configured to superimpose the external audio signal and the first audio signal to obtain a second audio signal;
所述组合单元,用于将所述第二音频信号与所述视频信号组合为第二HDMI信号;The combining unit is configured to combine the second audio signal and the video signal into a second HDMI signal;
所述信号输出端口,用于输出所述第二HDMI信号。The signal output port is configured to output the second HDMI signal.
进一步地,还包括用于调节所述第一音频信号以及所述外部音频信号音量大小的旋钮,所述旋钮连接用于检测所述旋钮的旋转角度的MCU芯片,所述MCU芯片连接用于调整所述第一音频信号以及外部音频信号音量大小的叠加单元。Further, a knob for adjusting a volume of the first audio signal and the external audio signal, the knob connecting an MCU chip for detecting a rotation angle of the knob, the MCU chip connection for adjusting a superimposing unit of the first audio signal and the volume level of the external audio signal.
进一步地,所述叠加单元包括第一数模转换器、第二数模转换器、运算放大器以及模数转换器;Further, the superimposing unit includes a first digital to analog converter, a second digital to analog converter, an operational amplifier, and an analog to digital converter;
所述分离单元连接所述第一数模转换器,所述拾音器连接所述第二数模转换器,所述第一数模转换器以及所述第二数模转换器连接所述运算放大器,所述运算放大器连接所述模数转换器,所述数模转换器连接所述组合单元。The separating unit is connected to the first digital-to-analog converter, the pickup is connected to the second digital-to-analog converter, and the first digital-to-analog converter and the second digital-to-analog converter are connected to the operational amplifier, The operational amplifier is coupled to the analog to digital converter, and the digital to analog converter is coupled to the combination unit.
进一步地,所述分离单元包括第一数模转换器,所述叠加单元包括第二数模转换器以及运算放大器,所述组合单元包括模数转换器;Further, the separating unit includes a first digital-to-analog converter, the superimposing unit includes a second digital-to-analog converter and an operational amplifier, and the combining unit includes an analog-to-digital converter;
所述信号输入端口连接第一数模转换器,所述拾音器连接所述第二数模转换器,所述第一数模转换器的音频输出端以及所述第二数模转换器连接运算放大器,所述运算放大器以及所述第一数模转换器的视频输出端连接模数转换器,所述模数转换器连接所述信号输出端口。The signal input port is connected to a first digital-to-analog converter, the pickup is connected to the second digital-to-analog converter, an audio output end of the first digital-to-analog converter, and the second digital-to-analog converter are connected to an operational amplifier And the operational amplifier and the video output end of the first digital-to-analog converter are connected to an analog-to-digital converter, and the analog-to-digital converter is connected to the signal output port.
进一步地,所述第一数模转换器的音频输出端与所述运算放大器之间连接有第一音量控制器,所述第二数模转换器与所述运算放大器之间连接有第二音量控制器,所述第一音量控制器以及所述第二音量控制器连接用于调节所述第一音频信号以及所述外部音频信号音量大小的旋钮。Further, a first volume controller is connected between the audio output end of the first digital-to-analog converter and the operational amplifier, and a second volume is connected between the second digital-to-analog converter and the operational amplifier. The controller, the first volume controller and the second volume controller are coupled to a knob for adjusting the volume of the first audio signal and the volume of the external audio signal.
本发明实施例通过将外部音频信号叠加到HDMI信号中的音频信号中,再将叠加后的音频信号与HDMI信号中的视频信号转换为新的HDMI信号,最后发送给接收新HDMI信号的多媒体设备进行播放,在新的HDMI信号播放过程中,其质量不受叠加信号的影响,并且能够方便地、低成本地实现家庭卡拉OK。In the embodiment of the present invention, the external audio signal is superimposed on the audio signal in the HDMI signal, and then the superimposed audio signal and the video signal in the HDMI signal are converted into a new HDMI signal, and finally transmitted to the multimedia device receiving the new HDMI signal. Playback, during the playback of the new HDMI signal, its quality is not affected by the superimposed signal, and the home karaoke can be realized conveniently and at low cost.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。The above general description and the following detailed description are intended to be illustrative and not restrictive.
附图说明DRAWINGS
图1为本发明实施例一种外部音频信号与HDMI信号的合并方法的一个实施例的流程图;1 is a flowchart of an embodiment of a method for merging an external audio signal and an HDMI signal according to an embodiment of the present invention;
图2为本发明实施例一种外部音频信号与HDMI信号的合并方法的另一个实施例的流程图;2 is a flowchart of another embodiment of a method for merging an external audio signal and an HDMI signal according to an embodiment of the present invention;
图3为本发明实施例一种外部音频信号与HDMI信号的合并方法的再一个实施例的流程图;3 is a flowchart of still another embodiment of a method for merging an external audio signal and an HDMI signal according to an embodiment of the present invention;
图4为本发明实施例一种HDMI连接器的一个实施例的结构框图;4 is a structural block diagram of an embodiment of an HDMI connector according to an embodiment of the present invention;
图5为本发明实施例一种HDMI连接器的另一个实施例的结构框图;FIG. 5 is a structural block diagram of another embodiment of an HDMI connector according to an embodiment of the present invention; FIG.
图6为本发明实施例一种叠加单元的一个实施例的结构框图;FIG. 6 is a structural block diagram of an embodiment of a superimposing unit according to an embodiment of the present invention; FIG.
图7为本发明实施例一种叠加单元的另一个实施例的结构框图;FIG. 7 is a structural block diagram of another embodiment of a superimposing unit according to an embodiment of the present invention; FIG.
图8为本发明实施例一种HDMI连接器的再一个实施例的结构框图;FIG. 8 is a structural block diagram of still another embodiment of an HDMI connector according to an embodiment of the present invention; FIG.
图9为本发明实施例一种HDMI连接器的再一个实施例的结构框图。FIG. 9 is a structural block diagram of still another embodiment of an HDMI connector according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。The present invention will be further described in detail with reference to the accompanying drawings and specific embodiments.
参见图1,为本发明实施例一种外部音频信号与HDMI信号的合并方法的一个实施例的流程图,本发明实施例从HDMI连接器一侧进行说明,该方法具体可以包括如下步骤:1 is a flowchart of an embodiment of a method for merging an external audio signal and an HDMI signal according to an embodiment of the present invention. The embodiment of the present invention is described from the HDMI connector side. The method may specifically include the following steps:
步骤101,获取第一HDMI信号以及外部音频信号;Step 101: Acquire a first HDMI signal and an external audio signal;
在具体实现中,两个多媒体设备,即第一多媒体设备以及第二多媒体设备可以通过HDMI线或HDMI连接器进行连接,例如机顶盒和电视机(包括有线数字电视和智能 电视)之间通过HDMI连接器进行连接。第一多媒体设备(例如机顶盒)将HDMI信号发送给HDMI连接器,HDMI连接器再将HDMI信号传输给第二多媒体设备(例如电视机)进行播放。该第一HDMI信号为第一多媒体设备发送给HDMI连接器的HDMI信号。该第一HDMI信号为数字信号,包括音频信号和视频信号。In a specific implementation, two multimedia devices, that is, the first multimedia device and the second multimedia device, may be connected through an HDMI cable or an HDMI connector, such as a set top box and a television (including a cable digital TV and a smart TV). Connect between the HDMI connectors. The first multimedia device (eg, a set top box) transmits an HDMI signal to the HDMI connector, which in turn transmits the HDMI signal to a second multimedia device (eg, a television) for playback. The first HDMI signal is an HDMI signal sent by the first multimedia device to the HDMI connector. The first HDMI signal is a digital signal, including an audio signal and a video signal.
应该说明的是,本发明实施例不仅适用于机顶盒和电视机,还适用于其他的多媒体设备,例如计算机与电视之间、计算机与音响之间、电视与音响之间等等。It should be noted that the embodiments of the present invention are applicable not only to set top boxes and television sets, but also to other multimedia devices, such as between a computer and a television, between a computer and an audio, between a television and an audio, and the like.
所述第一多媒体设备还可以为移动终端,例如手机、笔记本等,移动终端向HDMI连接器发送的音视频信号可以为移动终端高清影音标准接口(Mobile High-Definition Link,MHL)信号。HDMI连接器获取到MHL信号后将所述MHL信号转换为HDMI信号。在具体实现中,移动终端可以通过type-c接口或USB Type C接口向HDMI连接器发送MHL信号。当第一多媒体设备为移动终端时,第二多媒体设备可以为任意可以播放多媒体的设备,例如电视机、投影仪或音响等。The first multimedia device may also be a mobile terminal, such as a mobile phone, a notebook, etc., and the audio and video signal sent by the mobile terminal to the HDMI connector may be a Mobile High-Definition Link (MHL) signal of the mobile terminal. The HDMI connector converts the MHL signal into an HDMI signal after acquiring the MHL signal. In a specific implementation, the mobile terminal can send the MHL signal to the HDMI connector through the type-c interface or the USB Type C interface. When the first multimedia device is a mobile terminal, the second multimedia device may be any device that can play multimedia, such as a television, a projector, or an audio device.
在具体实现中,获取外部音频信号的过程可以包括:通过无线数据传输通道接收所述外部音频信号;或者通过有线数据传输通道接收所述外部音频信号。所以,该外部音频信号可以为无线音频信号或有线音频信号。该外部音频信号可以为数字信号,也可以为模拟信号。In a specific implementation, the process of acquiring an external audio signal may include: receiving the external audio signal through a wireless data transmission channel; or receiving the external audio signal through a wired data transmission channel. Therefore, the external audio signal can be a wireless audio signal or a wired audio signal. The external audio signal can be a digital signal or an analog signal.
在具体实现中,可以通过拾音器向HDMI连接器发送外部音频信号。该拾音器可以为麦克风。In a specific implementation, an external audio signal can be sent to the HDMI connector through the pickup. The pickup can be a microphone.
步骤102,分离第一HDMI信号中的第一音频信号和视频信号。 Step 102, separating the first audio signal and the video signal in the first HDMI signal.
HDMI连接器接收到的第一HDMI信号可以为数字信号,分离出的第一音频信号和视频信号可以均为数字信号。在分离第一HDMI信号之前,也可以将数字信号形式的第一HDMI信号转换为模拟信号,再将模拟信号形式的第一HDMI信号分离为模拟信号形式的第一音频信号和模拟信号形式的视频信号。或者,在从第一HDMI信号中分离出数字信号形式的第一音频信号之后,将数字信号形式的第一音频信号转换为模拟信号形式的第一音频信号。The first HDMI signal received by the HDMI connector may be a digital signal, and the separated first audio signal and video signal may both be digital signals. Before separating the first HDMI signal, the first HDMI signal in the form of a digital signal may also be converted into an analog signal, and then the first HDMI signal in the form of an analog signal is separated into a first audio signal in the form of an analog signal and a video in the form of an analog signal. signal. Alternatively, after the first audio signal in the form of a digital signal is separated from the first HDMI signal, the first audio signal in the form of a digital signal is converted into a first audio signal in the form of an analog signal.
步骤103,叠加所述外部音频信号与所述第一音频信号,得到第二音频信号。 Step 103, superimposing the external audio signal and the first audio signal to obtain a second audio signal.
在叠加外部音频信号与第一音频信号时,可以叠加数字信号形式的外部音频信号与数字信号形式的第一音频信号,从而得到数字信号形式的第二音频信号。也可以叠加模拟信号形式的外部音频信号与模拟信号形式的第一音频信号,从而得到模拟信号形式的第二音频信号。When the external audio signal and the first audio signal are superimposed, the external audio signal in the form of a digital signal and the first audio signal in the form of a digital signal may be superimposed to obtain a second audio signal in the form of a digital signal. It is also possible to superimpose an external audio signal in the form of an analog signal with a first audio signal in the form of an analog signal, thereby obtaining a second audio signal in the form of an analog signal.
在本发明实施例中,还可以通过调节旋钮调节第一音频信号与外部音频信号的音量大小,具体过程为:获取所述第一音频信号的第一音量调节信号以及所述外部音频信号的第二音量调节信号;根据所述第一音量调节信号调节所述第一音量调节信号的音量,以及根据所述第二音量调节信号调节所述外部音频信号的音量;叠加音量调节后的外部音频信号与音量调节后的第一音频信号,得到第二音频信号。第一音频信号与外部音频信号的音量大小的可调节设计,可以防止第一音频信号与外部音频信号中的一个音量较高或较低,从而提升听觉效果。In the embodiment of the present invention, the volume of the first audio signal and the external audio signal may be adjusted by adjusting the knob, where the first volume adjustment signal of the first audio signal and the external audio signal are obtained. a volume adjustment signal; adjusting a volume of the first volume adjustment signal according to the first volume adjustment signal, and adjusting a volume of the external audio signal according to the second volume adjustment signal; and superimposing the volume-adjusted external audio signal And the first audio signal after the volume adjustment, the second audio signal is obtained. The adjustable design of the volume level of the first audio signal and the external audio signal can prevent a volume of the first audio signal and the external audio signal from being higher or lower, thereby improving the audible effect.
步骤104,将所述第二音频信号与所述视频信号组合为第二HDMI信号。 Step 104, combining the second audio signal and the video signal into a second HDMI signal.
在具体实现中,可以将数字信号形式的第二音频信号与数字信号形式视频信号组 合为第二HDMI信号。或者,可以将模拟信号形式的第二音频信号与模拟信号形式的视频信号分别转换为数字信号形式的第二音频信号与数字信号形式的视频信号,再将数字信号形式的第二音频信号与数字信号形式的视频信号组合为第二HDMI信号。In a specific implementation, the second audio signal in the form of a digital signal can be combined with the digital signal form video signal into a second HDMI signal. Alternatively, the second audio signal in the form of an analog signal and the video signal in the form of an analog signal may be converted into a second audio signal in the form of a digital signal and a video signal in the form of a digital signal, respectively, and a second audio signal in the form of a digital signal and a digital signal. The video signals in the form of signals are combined into a second HDMI signal.
在本发明实施例中,能够对音频信号的提取、音频信号的叠加,以及音频信号和视频信号的叠加进行高速处理,以避免影响视频和音频的播放质量。In the embodiment of the present invention, the extraction of the audio signal, the superposition of the audio signal, and the superposition of the audio signal and the video signal can be performed at a high speed to avoid affecting the playback quality of the video and audio.
在具体实现中,为实现家庭卡拉OK,可以在第一多媒体设备存储歌曲文件,或者安装点歌软件,点歌软件中可以存储有歌曲文件,歌曲文件可以为音频格式或音视频格式。点歌软件用于从歌曲库中提取指定的歌曲进行播放。根据上述方法,第一多媒体设备向HDMI连接器发送包含有背景音乐的第一HDMI信号,同时HDMI连接器可以通过拾音器接收包含有人声的外部音频信号,再将包含有背景音乐的第一HDMI信号与包含有人声的外部音频信号进行叠加,最后将叠加后的第二HDMI信号通过第二多媒体设备进行播放,从而能够方便地、低成本地实现家庭卡拉OK。并且由于第二HDMI信号中的音频信号是将背景音乐与人声进行叠加后的音频信号,所以能够提高听觉效果。In a specific implementation, in order to implement the family karaoke, the song file may be stored in the first multimedia device, or the song software may be installed. The song file may be stored in the song software, and the song file may be an audio format or an audio and video format. The karaoke software is used to extract the specified song from the song library for playback. According to the above method, the first multimedia device transmits the first HDMI signal including the background music to the HDMI connector, and the HDMI connector can receive the external audio signal including the human voice through the pickup, and then the first one containing the background music. The HDMI signal is superimposed with the external audio signal including the human voice, and finally the superimposed second HDMI signal is played through the second multimedia device, so that the home karaoke can be realized conveniently and at low cost. And since the audio signal in the second HDMI signal is an audio signal in which the background music and the human voice are superimposed, the audible effect can be improved.
当第一多媒体设备输出的信号只包含音频信号时,也可以通过下述过程实现家庭卡拉OK,具体过程如下:获取第一多媒体设备输出的第一音频信号以及外部音频信号;叠加外部音频信号与第一音频信号,得到第二音频信号;向第二多媒体设备发送所述第二音频信号。When the signal output by the first multimedia device only includes the audio signal, the home karaoke can also be implemented by the following process: the first audio signal outputted by the first multimedia device and the external audio signal are acquired; And the second audio signal is obtained by the external audio signal and the first audio signal; and the second audio signal is sent to the second multimedia device.
该第一多媒体设备可以为计算机或电视机等,该第二多媒体设备可以为音响,当第一多媒体设备中存储有歌曲时,第一多媒体设备可以向HDMI连接器输出包含背景音乐的音频信号,HDMI连接器再将包括人声的音频信号与包含背景音乐的音频信号进行叠加,最后通过第二多媒体设备进行播放,从而方便地实现家庭卡拉OK。The first multimedia device may be a computer or a television or the like, and the second multimedia device may be an audio. When the song is stored in the first multimedia device, the first multimedia device may be connected to the HDMI connector. The audio signal containing the background music is output, and the HDMI connector superimposes the audio signal including the human voice with the audio signal containing the background music, and finally plays through the second multimedia device, thereby conveniently implementing the family karaoke.
参见图2,为本发明实施例一种外部音频信号与HDMI信号的合并方法的另一个实施例的流程图,该方法具体可以包括如下步骤:FIG. 2 is a flowchart of another embodiment of a method for merging an external audio signal and an HDMI signal according to an embodiment of the present invention. The method may specifically include the following steps:
步骤201,获取第一HDMI信号以及外部音频信号。Step 201: Acquire a first HDMI signal and an external audio signal.
步骤202,从所述第一HDMI信号中提取数字信号形式的第一音频信号,以分离所述第一HDMI信号中的数字信号形式的第一音频信号数字信号和数字信号形式的视频信号。Step 202: Extract a first audio signal in the form of a digital signal from the first HDMI signal to separate a first audio signal digital signal in the form of a digital signal in the first HDMI signal and a video signal in the form of a digital signal.
提取出的数字信号形式的第一音频信号可以包括1~8条音频信道。在本发明实施例中,提取出的数字信号形式的第一音频信号包括8条音频信道。The first audio signal in the form of an extracted digital signal may include 1 to 8 audio channels. In an embodiment of the invention, the first audio signal in the form of an extracted digital signal comprises eight audio channels.
在本发明实施例中,提取第一音频信号后剩余的数字信号形式的视频信号依旧按其原有的信道进行传输,本发明实施例不改变第一HDMI信号中视频信号的传输方式或传输信道,以保证最后视频信号的正常播放。In the embodiment of the present invention, the video signal in the form of the digital signal remaining after the first audio signal is extracted is still transmitted according to the original channel, and the embodiment of the present invention does not change the transmission mode or the transmission channel of the video signal in the first HDMI signal. To ensure the normal playback of the final video signal.
步骤203,叠加数字信号形式的外部音频信号与所述数字信号形式的第一音频信号,得到数字信号形式的第二音频信号。 Step 203, superimposing an external audio signal in the form of a digital signal and a first audio signal in the form of the digital signal to obtain a second audio signal in the form of a digital signal.
外部音频信号可以以一条或两条音频信道进行传输。当外部音频信号以一条音频信道进行传输时,在进行叠加处理时,将该一路外部音频信号叠加到第一音频信号的每条音频信道中,依旧得到包括8条信道的第二音频信号。该叠加处理方式,不会破坏原有的第一音频信号,所以不影响最终多媒体信号的播放。External audio signals can be transmitted on one or two audio channels. When the external audio signal is transmitted on one audio channel, when the superimposition processing is performed, the one external audio signal is superimposed on each audio channel of the first audio signal, and the second audio signal including eight channels is still obtained. The superimposition processing method does not destroy the original first audio signal, so the playback of the final multimedia signal is not affected.
当外部音频信号以两路音频信道进行传输时,在进行叠加处理时,将该两路外部 音频信号分别叠加到第一音频信号的任两路音频信道中,然后将该两路外部音频信号进行混合,叠加到第一音频信号中剩余的六路音频信道中,也得到了包括8条信道的第二音频信号。When the external audio signal is transmitted on two audio channels, when performing the superimposition processing, the two external audio signals are respectively superimposed on any two audio channels of the first audio signal, and then the two external audio signals are performed. Mixing, superimposing into the remaining six audio channels in the first audio signal, also obtaining a second audio signal comprising eight channels.
本发明实施例实现了外部音频信号与在HDMI连接器中传输的HDMI信号进行叠加,形成新的HDMI信号,最后发送给第二多媒体设备进行播放,在新的HDMI信号播放过程中,其质量不受叠加信号的影响,并且能够方便地、低成本地实现家庭卡拉OK。The embodiment of the invention realizes that the external audio signal is superimposed with the HDMI signal transmitted in the HDMI connector to form a new HDMI signal, and finally sent to the second multimedia device for playing, in the process of playing the new HDMI signal, The quality is not affected by the superimposed signals, and the home karaoke can be realized conveniently and at low cost.
在本发明实施例的一种优选示例中,步骤203具体可以包括:将数字信号形式的第一音频信号转换为模拟信号形式的第一音频信号;叠加模拟信号形式的第一音频信号与模拟信号形式的外部音频信号,得到模拟信号形式的第二音频信号;将所述模拟信号形式的第二音频信号转换为数字信号形式的第二音频信号。In a preferred example of the embodiment of the present invention, the step 203 may specifically include: converting the first audio signal in the form of a digital signal into a first audio signal in the form of an analog signal; and superimposing the first audio signal and the analog signal in the form of an analog signal. Forming an external audio signal, resulting in a second audio signal in the form of an analog signal; converting the second audio signal in the form of the analog signal to a second audio signal in the form of a digital signal.
步骤204,将数字信号形式的第二音频信号与数字信号形式的视频信号组合为第二HDMI信号。 Step 204, combining the second audio signal in the form of a digital signal with the video signal in the form of a digital signal into a second HDMI signal.
参见图3,为本发明实施例一种外部音频信号与HDMI信号的合并方法的再一个实施例的流程图,该方法具体可以包括如下步骤:FIG. 3 is a flowchart of still another embodiment of a method for merging an external audio signal and an HDMI signal according to an embodiment of the present invention. The method may specifically include the following steps:
步骤301,获取第一HDMI信号以及外部音频信号;Step 301: Acquire a first HDMI signal and an external audio signal.
步骤302,将所述第一HDMI信号转换为模拟信号形式的第一HDMI信号,并分离出模拟信号形式的第一音频信号及模拟信号形式的视频信号。Step 302: Convert the first HDMI signal into a first HDMI signal in the form of an analog signal, and separate the first audio signal in the form of an analog signal and the video signal in the form of an analog signal.
在具体实现中,第一HDMI信号转换为模拟信号后可以输出1~8条声道。在本发明实施例中,输出的第一音频信号包括左声道和右声道。In a specific implementation, the first HDMI signal can be converted into an analog signal and output 1 to 8 channels. In an embodiment of the invention, the output first audio signal comprises a left channel and a right channel.
步骤303,叠加模拟信号形式的第一音频信号与模拟信号形式的外部音频信号,得到模拟信号形式的第二音频信号。 Step 303, superimposing the first audio signal in the form of an analog signal and the external audio signal in the form of an analog signal to obtain a second audio signal in the form of an analog signal.
在本发明实施例中,模拟信号形式的外部音频信号可以包括1~2条声道。当外部音频信号包括一条声道时,在将外部音频信号叠加到模拟信号形式的第一音频信号中的过程中,可以将包括一条声道的外部音频信号叠加到第一音频信号的每个声道中,得到包含两条声道的模拟信号形式的第二音频信号。In the embodiment of the present invention, the external audio signal in the form of an analog signal may include 1 to 2 channels. When the external audio signal includes one channel, an external audio signal including one channel may be superimposed to each sound of the first audio signal in the process of superimposing the external audio signal into the first audio signal in the form of an analog signal. In the middle, a second audio signal in the form of an analog signal containing two channels is obtained.
当模拟信号形式的外部音频信号也包括左右声道两条声道时,在将外部音频信号叠加到模拟信号形式的模拟信号形式的第一音频信号中的过程中,可以将外部音频信号的左右声道分别叠加到第一音频信号的左右声道中,也得到包含两条声道的模拟信号形式的第二音频信号。When the external audio signal in the form of an analog signal also includes two channels of the left and right channels, the external audio signal may be left and right in the process of superimposing the external audio signal into the first audio signal in the form of an analog signal in the form of an analog signal. The channels are respectively superimposed into the left and right channels of the first audio signal, and a second audio signal in the form of an analog signal containing two channels is also obtained.
步骤304,将所述模拟信号形式的第二音频信号与所述模拟信号形式的视频信号组合为第二HDMI信号。Step 304: Combine the second audio signal in the form of the analog signal with the video signal in the form of the analog signal into a second HDMI signal.
在具体实现中,可以将模拟信号形式的第二音频信号与所述模拟信号形式的视频信号转换为数字信号形式的第二音频信号与数字信号形式的视频信号,再将数字信号形式的第二音频信号与数字信号形式的视频信号组合为第二HDMI信号。In a specific implementation, the second audio signal in the form of an analog signal and the video signal in the analog signal form may be converted into a second audio signal in the form of a digital signal and a video signal in the form of a digital signal, and then a second form in the form of a digital signal. The audio signal is combined with the video signal in the form of a digital signal into a second HDMI signal.
本发明实施例实现了外部音频信号与在HDMI连接器中传输的HDMI信号进行叠加,形成新的HDMI信号,最后发送给第二多媒体设备进行播放,在新的HDMI信号播放过程中,其质量不受叠加信号的影响,并且能够方便地、低成本地实现家庭卡拉OK。The embodiment of the invention realizes that the external audio signal is superimposed with the HDMI signal transmitted in the HDMI connector to form a new HDMI signal, and finally sent to the second multimedia device for playing, in the process of playing the new HDMI signal, The quality is not affected by the superimposed signals, and the home karaoke can be realized conveniently and at low cost.
参见图4,为本发明实施例一种HDMI连接器的一个实施例的结构示意图,该HDMI连接器具体可以包括:信号输入端口1、拾音器2、分离单元3、叠加单元4、组合单 元5以及信号输出端口6。4 is a schematic structural diagram of an embodiment of an HDMI connector according to an embodiment of the present invention. The HDMI connector may specifically include: a signal input port 1, a pickup 2, a separation unit 3, a superimposing unit 4, a combining unit 5, and Signal output port 6.
所述信号输入端口1连接所述分离单元3,所述分离单元3以及所述拾音器2连接所述叠加单元4,所述分离单元3以及所述叠加单元4连接所述组合单元5,所述组合单元5连接所述信号输出端口6。The signal input port 1 is connected to the separation unit 3, the separation unit 3 and the pickup 2 are connected to the superposition unit 4, the separation unit 3 and the superposition unit 4 are connected to the combination unit 5, The combining unit 5 is connected to the signal output port 6.
所述信号输入端口1,用于获取第一HDMI信号。The signal input port 1 is configured to acquire a first HDMI signal.
所述拾音器2,用于获取外部音频信号。The pickup 2 is configured to acquire an external audio signal.
所述分离单元3,用于分离第一HDMI信号中的第一音频信号和视频信号。The separating unit 3 is configured to separate the first audio signal and the video signal in the first HDMI signal.
所述叠加单元4,用于叠加所述外部音频信号与所述第一音频信号,得到第二音频信号。The superimposing unit 4 is configured to superimpose the external audio signal and the first audio signal to obtain a second audio signal.
所述组合单元5,用于将所述第二音频信号与所述视频信号组合为第二HDMI信号。The combining unit 5 is configured to combine the second audio signal and the video signal into a second HDMI signal.
所述信号输出端口6,用于输出所述第二HDMI信号。The signal output port 6 is configured to output the second HDMI signal.
优选地,信号输入端口1,还用于获取MHL信号,并将所述MHL信号转换为HDMI信号,得到第一HDMI信号。Preferably, the signal input port 1 is further configured to acquire an MHL signal and convert the MHL signal into an HDMI signal to obtain a first HDMI signal.
在本发明实施例中,提供了三种方式的HDMI连接器。In the embodiment of the present invention, three modes of HDMI connectors are provided.
实施方式一 Embodiment 1
在第一种实施方式中,分离单元3可以用于从所述第一HDMI信号中提取数字信号形式的第一音频信号,以分离所述第一HDMI信号中的数字信号形式的第一音频信号数字信号和数字信号形式的视频信号。拾音器2可以获取数字信号形式的外部音频信号或者获取模拟信号形式的外部音频信号后,将模拟信号形式的外部音频信号转换为数字信号形式的外部音频信号。叠加单元4可以用于叠加数字信号形式的视频信号以及数字信号形式的外部音频信号,得到数字信号形式的第二音频信号。组合单元5用于将数字信号形式的第二音频信号与数字信号形式的视频信号组合为第二HDMI信号,然后通过信号输出端口6将第二HDMI信号发送给多媒体设备进行播放。In a first embodiment, the separation unit 3 may be configured to extract a first audio signal in the form of a digital signal from the first HDMI signal to separate a first audio signal in the form of a digital signal in the first HDMI signal Video signals in the form of digital signals and digital signals. The pickup 2 can acquire an external audio signal in the form of a digital signal or an external audio signal in the form of an analog signal, and convert the external audio signal in the form of an analog signal into an external audio signal in the form of a digital signal. The superimposing unit 4 can be used to superimpose a video signal in the form of a digital signal and an external audio signal in the form of a digital signal to obtain a second audio signal in the form of a digital signal. The combining unit 5 is configured to combine the second audio signal in the form of a digital signal and the video signal in the form of a digital signal into a second HDMI signal, and then transmit the second HDMI signal to the multimedia device for playing through the signal output port 6.
如图5所示,在第一种实施方式中,该HDMI连接器还包括用于调节所述第一音频信号以及所述外部音频信号音量大小的旋钮7,所述旋钮7连接用于检测所述旋钮7的旋转角度的微控制单元(Microcontroller Unit,MCU)芯片8,所述MCU芯片8连接用于调整所述第一音频信号以及外部音频信号音量大小的叠加单元。该HDMI连接器可以包括一个旋钮或两个旋钮7。当包括一个旋钮时,该旋钮用于调节第一音频信号以及外部音频信号的音量大小的比例。当包括两个旋钮时,两个旋钮可以分别控制第一音频信号以及外部音频信号的音量大小。MCU芯片8通过检测所述旋钮7的旋转角度,获取所述第一音频信号的第一音量调节信号以及所述外部音频信号的第二音量调节信号。叠加单元4具体可以用于根据所述第一音量调节信号调节所述第一音量调节信号的音量,以及根据所述第二音量调节信号调节所述外部音频信号的音量,并且叠加音量调节后的外部音频信号与音量调节后的第一音频信号,得到第二音频信号。As shown in FIG. 5, in the first embodiment, the HDMI connector further includes a knob 7 for adjusting the volume of the first audio signal and the external audio signal, and the knob 7 is connected for detecting A Microcontroller Unit (MCU) chip 8 for rotating the knob 7, the MCU chip 8 is connected with a superimposing unit for adjusting the volume of the first audio signal and the volume of the external audio signal. The HDMI connector can include a knob or two knobs 7. When a knob is included, the knob is used to adjust the ratio of the volume of the first audio signal and the volume of the external audio signal. When two knobs are included, the two knobs can respectively control the volume of the first audio signal and the external audio signal. The MCU chip 8 acquires a first volume adjustment signal of the first audio signal and a second volume adjustment signal of the external audio signal by detecting a rotation angle of the knob 7. The superimposing unit 4 is specifically configured to adjust a volume of the first volume adjustment signal according to the first volume adjustment signal, and adjust a volume of the external audio signal according to the second volume adjustment signal, and superimpose the volume adjusted The external audio signal and the volume-adjusted first audio signal obtain a second audio signal.
叠加单元4可以采用DSP(Digital Signal Processing,数字信号处理)芯片、单片机或编译码器(codec)。本发明实施例采用的叠加单元能够保证第一音频信号和外部音频信号的叠加过程在15ms内完成,从而保证整个处理过程不超过25ms,其远远小于人耳的最低分辨时间(75ms),所以不会影响音视频的播放质量。The superimposing unit 4 can use a DSP (Digital Signal Processing) chip, a single chip microcomputer or a codec. The superimposing unit adopted in the embodiment of the invention can ensure that the superimposition process of the first audio signal and the external audio signal is completed within 15 ms, thereby ensuring that the entire processing process does not exceed 25 ms, which is far less than the minimum resolution time of the human ear (75 ms), so Does not affect the playback quality of audio and video.
实施方式二 Embodiment 2
如图6所示,在第一种实施方式的基础上,对叠加单元4进行进一步限定,得到第二种实施方式。在第二种实施方式中,叠加单元4可以包括第一数模转换器9、第二数模转换器10、运算放大器11以及模数转换器12。所述分离单元3连接所述第一数模转换器9,所述拾音器2连接所述第二数模转换器10,所述第一数模转换器9以及所述第二数模转换器10连接所述运算放大器11,所述运算放大器11连接所述模数转换器12,所述模数转换器12连接所述组合单元5。As shown in FIG. 6, on the basis of the first embodiment, the superimposing unit 4 is further limited to obtain a second embodiment. In the second embodiment, the superimposing unit 4 may include a first digital-to-analog converter 9, a second digital-to-analog converter 10, an operational amplifier 11, and an analog-to-digital converter 12. The separating unit 3 is connected to the first digital-to-analog converter 9, and the pickup 2 is connected to the second digital-to-analog converter 10, the first digital-to-analog converter 9 and the second digital-to-analog converter 10. The operational amplifier 11 is connected, and the operational amplifier 11 is connected to the analog-to-digital converter 12, and the analog-to-digital converter 12 is connected to the combining unit 5.
第一数模转换器9,用于将数字信号形式的第一音频信号转换为模拟信号形式的第一音频信号。第二数模转换器10,用于将数字信号形式的外部音频信号转换为模拟信号形式的外部音频信号。当拾音器2获取的外部音频信号为模拟信号形式的外部音频信号时,则可以不包括第二数模转换器10。拾音器2可以直接连接运算放大器11。运算放大器11,用于叠加模拟信号形式的第一音频信号与模拟信号形式的外部音频信号,得到模拟信号形式的第二音频信号。模数转换器12,用于将所述模拟信号形式的第二音频信号转换为数字信号形式的第二音频信号。The first digital-to-analog converter 9 is configured to convert the first audio signal in the form of a digital signal into a first audio signal in the form of an analog signal. The second digital-to-analog converter 10 is configured to convert an external audio signal in the form of a digital signal into an external audio signal in the form of an analog signal. When the external audio signal acquired by the pickup 2 is an external audio signal in the form of an analog signal, the second digital-to-analog converter 10 may not be included. The pickup 2 can be directly connected to the operational amplifier 11. The operational amplifier 11 is configured to superimpose the first audio signal in the form of an analog signal and the external audio signal in the form of an analog signal to obtain a second audio signal in the form of an analog signal. The analog to digital converter 12 is configured to convert the second audio signal in the form of the analog signal into a second audio signal in the form of a digital signal.
如图7所示,在第二种实施方式中,所述第一数模转换器9的音频输出端与所述运算放大器11之间连接有第一音量控制器13,所述第二数模转换器10与所述运算放大器11之间连接有第二音量控制器14,所述第一音量控制器13以及所述第二音量控制器14连接用于调节所述第一音频信号以及所述外部音频信号音量大小的旋钮7。第一音量控制器13以及第二音量控制器14可以连接同一个旋钮,该旋钮可以调节第一音频信号以及外部音频信号的音量大小的比例。第一音量控制器13以及第二音量控制器14也可以分别连接一个旋钮,两个旋钮分别调节第一音频信号以及外部音频信号的音量大小。As shown in FIG. 7, in the second embodiment, a first volume controller 13 is connected between the audio output end of the first digital-to-analog converter 9 and the operational amplifier 11, and the second digital mode A second volume controller 14 is connected between the converter 10 and the operational amplifier 11, and the first volume controller 13 and the second volume controller 14 are connected for adjusting the first audio signal and the Knob 7 for the volume of the external audio signal. The first volume controller 13 and the second volume controller 14 can be connected to the same knob, which can adjust the ratio of the volume of the first audio signal and the volume of the external audio signal. The first volume controller 13 and the second volume controller 14 may also be respectively connected with a knob, and the two knobs respectively adjust the volume of the first audio signal and the external audio signal.
实施方式三 Embodiment 3
如图8所示,所述分离单元3包括第一数模转换器9,所述叠加单元4包括第二数模转换器10以及运算放大器11,所述组合单元5包括模数转换器12。As shown in FIG. 8, the separation unit 3 comprises a first digital-to-analog converter 9, which comprises a second digital-to-analog converter 10 and an operational amplifier 11, the combining unit 5 comprising an analog-to-digital converter 12.
所述信号输入端口1连接第一数模转换器9,所述拾音器2连接所述第二数模转换器10,所述第一数模转换器9的音频输出端以及所述第二数模转换器10连接运算放大器11,所述运算放大器11以及所述第一数模转换器9的视频输出端连接模数转换器12,所述模数转换器12连接所述信号输出端口6。The signal input port 1 is connected to a first digital-to-analog converter 9, the pickup 2 is connected to the second digital-to-analog converter 10, an audio output end of the first digital-to-analog converter 9 and the second digital-to-analog The converter 10 is connected to an operational amplifier 11, and the operational amplifier 11 and the video output of the first digital-to-analog converter 9 are connected to an analog-to-digital converter 12, which is connected to the signal output port 6.
第一数模转换器9,用于将所述第一HDMI信号转换为模拟信号形式的第一HDMI信号,并分离出模拟信号形式的第一音频信号及模拟信号形式的视频信号。第二数模转换器10,用于将数字信号形式的外部音频信号转换为模拟信号形式的外部音频信号。当拾音器2获取的外部音频信号为模拟信号形式的外部音频信号时,则可以不包括第二数模转换器10。拾音器2可以直接连接运算放大器11。运算放大器11,用于叠加模拟信号形式的第一音频信号与模拟信号形式的外部音频信号,得到模拟信号形式的第二音频信号。模数转换器12,用于将所述模拟信号形式的第二音频信号与所述模拟信号形式的视频信号组合为第二HDMI信号。The first digital-to-analog converter 9 is configured to convert the first HDMI signal into a first HDMI signal in the form of an analog signal, and separate the first audio signal in the form of an analog signal and the video signal in the form of an analog signal. The second digital-to-analog converter 10 is configured to convert an external audio signal in the form of a digital signal into an external audio signal in the form of an analog signal. When the external audio signal acquired by the pickup 2 is an external audio signal in the form of an analog signal, the second digital-to-analog converter 10 may not be included. The pickup 2 can be directly connected to the operational amplifier 11. The operational amplifier 11 is configured to superimpose the first audio signal in the form of an analog signal and the external audio signal in the form of an analog signal to obtain a second audio signal in the form of an analog signal. The analog to digital converter 12 is configured to combine the second audio signal in the form of the analog signal with the video signal in the form of the analog signal into a second HDMI signal.
在具体实现中,第一数模转换器9的音频输出端包括左声道端以及右声道端,左声道端以及右声道端可以分别连接一个运算放大器11。第一数模转换器9的左声道端与第二数模转换器10的左声道端可以连接同一个运算放大器11,用于叠加第一音频 信号以及外部音频信号的左声道信号。第一数模转换器9的右声道端与第二数模转换器10的右声道端可以连接另一个相同的运算放大器11,用于叠加第一音频信号以及外部音频信号的右声道信号。第一数模转换器9可以包括三个视频输出端,分别为:视频输出端a、视频输出端b和视频输出端c。In a specific implementation, the audio output end of the first digital-to-analog converter 9 includes a left channel end and a right channel end, and the left channel end and the right channel end may be respectively connected to an operational amplifier 11. The left channel end of the first digital to analog converter 9 and the left channel end of the second digital to analog converter 10 may be connected to the same operational amplifier 11 for superimposing the first audio signal and the left channel signal of the external audio signal. The right channel end of the first digital to analog converter 9 and the right channel end of the second digital to analog converter 10 may be connected to another identical operational amplifier 11 for superimposing the first audio signal and the right channel of the external audio signal. signal. The first digital-to-analog converter 9 can include three video output terminals: a video output terminal a, a video output terminal b, and a video output terminal c.
在该实施方式中,第一数模转换器9输出的视频信号直接传输给模数转换器12,然后与第二音频信号共同进行转换,重新得到HDMI信号,最后发送给接收HDMI信号的多媒体设备用于播放。In this embodiment, the video signal output by the first digital-to-analog converter 9 is directly transmitted to the analog-to-digital converter 12, and then converted together with the second audio signal, the HDMI signal is recovered, and finally transmitted to the multimedia device receiving the HDMI signal. Used for playback.
本发明实施例实现了外部音频信号与在HDMI连接器中传输的HDMI信号进行叠加,形成新的HDMI信号,最后发送给接收HDMI信号的多媒体设备进行播放,在新的HDMI信号播放过程中,其质量不受叠加信号的影响,并且能够方便地、低成本地实现家庭卡拉OK。The embodiment of the invention realizes that the external audio signal is superimposed with the HDMI signal transmitted in the HDMI connector to form a new HDMI signal, and finally sent to the multimedia device receiving the HDMI signal for playing, in the process of playing the new HDMI signal, The quality is not affected by the superimposed signals, and the home karaoke can be realized conveniently and at low cost.
如图9所示,所述第一数模转换器9的音频输出端与所述运算放大器11之间连接有第一音量控制器13,所述第二数模转换器10与所述运算放大器11之间连接有第二音量控制器14,所述第一音量控制器13以及所述第二音量控制器14连接用于调节所述第一音频信号以及所述外部音频信号音量大小的旋钮7。第一音量控制器13以及第二音量控制器14可以连接同一个旋钮,该旋钮可以调节第一音频信号以及外部音频信号的音量大小的比例。第一音量控制器13以及第二音量控制器14也可以分别连接一个旋钮,两个旋钮分别调节第一音频信号以及外部音频信号的音量大小。As shown in FIG. 9, a first volume controller 13 is connected between the audio output end of the first digital-to-analog converter 9 and the operational amplifier 11, the second digital-to-analog converter 10 and the operational amplifier. A second volume controller 14 is connected between the first volume controller 13 and the second volume controller 14 for connecting a knob 7 for adjusting the volume of the first audio signal and the volume of the external audio signal. . The first volume controller 13 and the second volume controller 14 can be connected to the same knob, which can adjust the ratio of the volume of the first audio signal and the volume of the external audio signal. The first volume controller 13 and the second volume controller 14 may also be respectively connected with a knob, and the two knobs respectively adjust the volume of the first audio signal and the external audio signal.
需要说明的是,本发明实施例不仅可以应用于家庭卡拉OK娱乐的场景,还可以用于其他场景。例如在多媒体教室或多媒体会议中,将计算机与音响通过上述HDMI连接器进行连接,可以实现一边播放视频一边进行讲解。所以,本发明实施例不对应用的场景进行具体限定。It should be noted that the embodiment of the present invention can be applied not only to the scene of the home karaoke entertainment, but also to other scenarios. For example, in a multimedia classroom or a multimedia conference, connecting a computer and an audio through the above HDMI connector can be explained while playing a video. Therefore, the embodiment of the present invention does not specifically limit the scenario of the application.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
尽管已描述了本发明实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明实施例范围的所有变更和修改。While a preferred embodiment of the present invention has been described, it will be apparent that those skilled in the art can make further changes and modifications to the embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should also be noted that in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities. There is any such actual relationship or order between operations. Furthermore, the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, or terminal device that includes a plurality of elements includes not only those elements but also Other elements that are included, or include elements inherent to such a process, method, article, or terminal device. An element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that comprises the element, without further limitation.
以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The embodiments of the present invention have been described in detail above, and the principles and implementations of the present invention are described in detail herein. The description of the above embodiments is only for helping to understand the method of the present invention and its core ideas; It should be understood by those skilled in the art that the present invention is not limited by the scope of the present invention.

Claims (10)

  1. 一种外部音频信号与HDMI信号的合并方法,其特征在于,所述方法包括:A method for merging an external audio signal with an HDMI signal, the method comprising:
    获取第一HDMI信号以及外部音频信号;Acquiring the first HDMI signal and the external audio signal;
    分离所述第一HDMI信号中的第一音频信号和视频信号;Separating the first audio signal and the video signal in the first HDMI signal;
    叠加所述外部音频信号与所述第一音频信号,得到第二音频信号;Superimposing the external audio signal and the first audio signal to obtain a second audio signal;
    将所述第二音频信号与所述视频信号组合为第二HDMI信号。Combining the second audio signal with the video signal into a second HDMI signal.
  2. 如权利要求1所述的方法,其特征在于,分离所述第一HDMI信号中的第一音频信号和视频信号的步骤,包括:The method of claim 1 wherein the step of separating the first audio signal and the video signal of the first HDMI signal comprises:
    从所述第一HDMI信号中提取数字信号形式的第一音频信号,以分离所述第一HDMI信号中的数字信号形式的第一音频信号数字信号和数字信号形式的视频信号;或者,Extracting a first audio signal in the form of a digital signal from the first HDMI signal to separate a first audio signal digital signal in the form of a digital signal in the first HDMI signal and a video signal in the form of a digital signal; or
    将所述第一HDMI信号转换为模拟信号形式的第一HDMI信号,并分离出模拟信号形式的第一音频信号及模拟信号形式的视频信号。The first HDMI signal is converted into a first HDMI signal in the form of an analog signal, and the first audio signal in the form of an analog signal and the video signal in the form of an analog signal are separated.
  3. 如权利要求2所述的方法,其特征在于,叠加所述外部音频信号与所述第一音频信号,得到第二音频信号的步骤,包括:The method of claim 2, wherein the step of superimposing the external audio signal and the first audio signal to obtain a second audio signal comprises:
    叠加数字信号形式的外部音频信号与所述数字信号形式的第一音频信号,得到数字信号形式的第二音频信号;或者还包括:Superimposing an external audio signal in the form of a digital signal and a first audio signal in the form of the digital signal to obtain a second audio signal in the form of a digital signal; or
    将数字信号形式的第一音频信号转换为模拟信号形式的第一音频信号;Converting the first audio signal in the form of a digital signal to a first audio signal in the form of an analog signal;
    叠加模拟信号形式的第一音频信号与模拟信号形式的外部音频信号,得到模拟信号形式的第二音频信号;Superimposing the first audio signal in the form of an analog signal and the external audio signal in the form of an analog signal to obtain a second audio signal in the form of an analog signal;
    将所述模拟信号形式的第二音频信号转换为数字信号形式的第二音频信号。Converting the second audio signal in the form of the analog signal to a second audio signal in the form of a digital signal.
  4. 如权利要求1所述的方法,其特征在于,叠加所述外部音频信号与所述第一音频信号,得到第二音频信号的步骤,还包括:The method of claim 1, wherein the step of superimposing the external audio signal and the first audio signal to obtain a second audio signal further comprises:
    获取所述第一音频信号的第一音量调节信号以及所述外部音频信号的第二音量调节信号;Obtaining a first volume adjustment signal of the first audio signal and a second volume adjustment signal of the external audio signal;
    根据所述第一音量调节信号调节所述第一音量调节信号的音量,以及根据所述第二音量调节信号调节所述外部音频信号的音量;Adjusting a volume of the first volume adjustment signal according to the first volume adjustment signal, and adjusting a volume of the external audio signal according to the second volume adjustment signal;
    叠加音量调节后的外部音频信号与音量调节后的第一音频信号,得到第二音频信号。The volume-adjusted external audio signal and the volume-adjusted first audio signal are superimposed to obtain a second audio signal.
  5. 如权利要求1所述的方法,其特征在于,所述获取第一HDMI信号的步骤,包括:The method of claim 1, wherein the step of acquiring the first HDMI signal comprises:
    获取MHL信号;Obtain the MHL signal;
    将所述MHL信号转换为第一HDMI信号。Converting the MHL signal to a first HDMI signal.
  6. 一种HDMI连接器,其特征在于,包括信号输入端口、拾音器、分离单元、叠加单元、组合单元以及信号输出端口:An HDMI connector, comprising: a signal input port, a pickup, a separation unit, a superposition unit, a combination unit, and a signal output port:
    所述信号输入端口连接所述分离单元,所述分离单元以及所述拾音器连接所述叠加单元,所述分离单元以及所述叠加单元连接所述组合单元,所述组合单元连接所述 信号输出端口;The signal input port is connected to the separation unit, the separation unit and the pickup are connected to the superposition unit, the separation unit and the superposition unit are connected to the combination unit, and the combination unit is connected to the signal output port ;
    所述信号输入端口,用于获取第一HDMI信号;The signal input port is configured to acquire a first HDMI signal;
    所述拾音器,用于获取外部音频信号;The pickup for acquiring an external audio signal;
    所述分离单元,用于分离第一HDMI信号中的第一音频信号和视频信号;The separating unit is configured to separate the first audio signal and the video signal in the first HDMI signal;
    所述叠加单元,用于叠加所述外部音频信号与所述第一音频信号,得到第二音频信号;The superimposing unit is configured to superimpose the external audio signal and the first audio signal to obtain a second audio signal;
    所述组合单元,用于将所述第二音频信号与所述视频信号组合为第二HDMI信号;The combining unit is configured to combine the second audio signal and the video signal into a second HDMI signal;
    所述信号输出端口,用于输出所述第二HDMI信号。The signal output port is configured to output the second HDMI signal.
  7. 如权利要求6所述的HDMI连接器,其特征在于,还包括用于调节所述第一音频信号以及所述外部音频信号音量大小的旋钮,所述旋钮连接用于检测所述旋钮的旋转角度的MCU芯片,所述MCU芯片连接用于调整所述第一音频信号以及外部音频信号音量大小的叠加单元。The HDMI connector according to claim 6, further comprising a knob for adjusting a volume of said first audio signal and said external audio signal, said knob being coupled for detecting a rotation angle of said knob The MCU chip is connected to a superimposing unit for adjusting the volume of the first audio signal and the volume of the external audio signal.
  8. 如权利要求6所述的HDMI连接器,其特征在于,所述叠加单元包括第一数模转换器、第二数模转换器、运算放大器以及模数转换器;The HDMI connector according to claim 6, wherein said superimposing unit comprises a first digital to analog converter, a second digital to analog converter, an operational amplifier, and an analog to digital converter;
    所述分离单元连接所述第一数模转换器,所述拾音器连接所述第二数模转换器,所述第一数模转换器以及所述第二数模转换器连接所述运算放大器,所述运算放大器连接所述模数转换器,所述数模转换器连接所述组合单元。The separating unit is connected to the first digital-to-analog converter, the pickup is connected to the second digital-to-analog converter, and the first digital-to-analog converter and the second digital-to-analog converter are connected to the operational amplifier, The operational amplifier is coupled to the analog to digital converter, and the digital to analog converter is coupled to the combination unit.
  9. 如权利要求6所述的HDMI连接器,其特征在于,所述分离单元包括第一数模转换器,所述叠加单元包括第二数模转换器以及运算放大器,所述组合单元包括模数转换器;The HDMI connector according to claim 6, wherein said separating unit comprises a first digital-to-analog converter, said superimposing unit comprising a second digital-to-analog converter and an operational amplifier, said combining unit comprising analog-to-digital conversion Device
    所述信号输入端口连接第一数模转换器,所述拾音器连接所述第二数模转换器,所述第一数模转换器的音频输出端以及所述第二数模转换器连接运算放大器,所述运算放大器以及所述第一数模转换器的视频输出端连接模数转换器,所述模数转换器连接所述信号输出端口。The signal input port is connected to a first digital-to-analog converter, the pickup is connected to the second digital-to-analog converter, an audio output end of the first digital-to-analog converter, and the second digital-to-analog converter are connected to an operational amplifier And the operational amplifier and the video output end of the first digital-to-analog converter are connected to an analog-to-digital converter, and the analog-to-digital converter is connected to the signal output port.
  10. 如权利要求8或9所述的HDMI连接器,其特征在于,所述第一数模转换器的音频输出端与所述运算放大器之间连接有第一音量控制器,所述第二数模转换器与所述运算放大器之间连接有第二音量控制器,所述第一音量控制器以及所述第二音量控制器连接用于调节所述第一音频信号以及所述外部音频信号音量大小的旋钮。The HDMI connector according to claim 8 or 9, wherein a first volume controller is connected between the audio output end of the first digital-to-analog converter and the operational amplifier, and the second digital mode A second volume controller is connected between the converter and the operational amplifier, and the first volume controller and the second volume controller are connected for adjusting the volume of the first audio signal and the external audio signal Knob.
PCT/CN2018/079585 2017-03-23 2018-03-20 Method for merging external audio signal and hdmi signal and hdmi connector WO2018171579A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710176765.4 2017-03-23
CN201710176765.4A CN107820035A (en) 2017-03-23 2017-03-23 The merging method and HDMI connector of a kind of external audio signal and HDMI signals

Publications (1)

Publication Number Publication Date
WO2018171579A1 true WO2018171579A1 (en) 2018-09-27

Family

ID=61601537

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/079585 WO2018171579A1 (en) 2017-03-23 2018-03-20 Method for merging external audio signal and hdmi signal and hdmi connector

Country Status (2)

Country Link
CN (1) CN107820035A (en)
WO (1) WO2018171579A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116095564B (en) * 2023-04-10 2023-06-23 深圳市嘉润原新显科技有限公司 Display mixing circuit and display

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070120975A1 (en) * 2005-10-28 2007-05-31 Asustek Computer Inc. Karaoke television device, karaoke television and a method for mixing voices
CN101867691A (en) * 2009-04-16 2010-10-20 鸿富锦精密工业(深圳)有限公司 Set top box
CN105516752A (en) * 2014-09-25 2016-04-20 中兴通讯股份有限公司 Set top box, and switching device and method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686011A (en) * 2013-11-29 2014-03-26 乐视致新电子科技(天津)有限公司 Television signal receiving module and method
CN104766598A (en) * 2014-01-06 2015-07-08 福建海媚数码科技有限公司 Karaoke device based on WiFi audio-video access
CN205961259U (en) * 2016-07-31 2017-02-15 徐文波 USB audio video collecting equipment
CN205961260U (en) * 2016-08-15 2017-02-15 徐文波 Audio video collecting equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070120975A1 (en) * 2005-10-28 2007-05-31 Asustek Computer Inc. Karaoke television device, karaoke television and a method for mixing voices
CN101867691A (en) * 2009-04-16 2010-10-20 鸿富锦精密工业(深圳)有限公司 Set top box
CN105516752A (en) * 2014-09-25 2016-04-20 中兴通讯股份有限公司 Set top box, and switching device and method thereof

Also Published As

Publication number Publication date
CN107820035A (en) 2018-03-20

Similar Documents

Publication Publication Date Title
CN108616800B (en) Audio playing method and device, storage medium and electronic device
US8446533B2 (en) Television apparatus and method for controlling the same
WO2008071110A1 (en) A method and a system for playing multi-channel tv signal simultaneously
US20140259050A1 (en) Mechanism for facilitating synchronization of audio and video between multiple media devices
US8869214B2 (en) Device control apparatus, device control method and computer program
TWI692975B (en) Method for processing multi-media signal, and associated multi-media device
JP2023036775A (en) home cinema system device
TW200830927A (en) Multiple output audio system and control method therefor
JP2006294120A (en) Voice reproduction device
WO2017101360A1 (en) Set-top box apparatus with integrated loudspeaker box
WO2018171579A1 (en) Method for merging external audio signal and hdmi signal and hdmi connector
JP3217358U (en) Set-top box with karaoke function
US20140180459A1 (en) HDMI Signal Processing System and Method
CN201518513U (en) Digital analog integrated machine
CN213586030U (en) Converter for converting HDMI audio frequency into Bluetooth
WO2017101334A1 (en) Method and apparatus for converting special interface into hdmi interface
TWI699122B (en) Multi-channel audio control system
KR20130001829U (en) Converting apparatus of video and audio signal
TWI816071B (en) Audio converting device and method for processing audio
TWM588285U (en) Automatic audio signal recognition device
KR20210011916A (en) Transmission device, transmission method, reception device and reception method
JP2007243460A (en) Relaying apparatus, av reproduction system, and av source apparatus
CN205356615U (en) Live controller of cinema
US11924622B2 (en) Centralized processing of an incoming audio stream
US20230082685A1 (en) Integrated circuitry of speaker

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18771602

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18771602

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10.02.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18771602

Country of ref document: EP

Kind code of ref document: A1