Disclosure of Invention
The invention mainly aims to provide an earphone connector, which aims to solve the problem that a user cannot hear own sound at the same time when the user sings through an earphone K.
The earphone connector comprises a shell, an audio input module, an audio switch and a control module, wherein the audio input module is arranged in the shell, the audio switch is arranged on the shell and used for responding to user operation and outputting an audio switching signal, the audio input module and the audio switch are respectively connected with the control module, the control module is used for simultaneously outputting audio data and voice data of the audio equipment to a loudspeaker of the earphone when the audio switching signal is received, and outputting the audio data of the audio equipment to the loudspeaker of the earphone when the audio switching signal is not received.
Preferably, the control module comprises an audio encoding and decoding chip, the audio change-over switch is a first touch key, a first end of the first touch key is grounded, and a second end of the first touch key is connected with a first signal end of the audio encoding and decoding chip.
Preferably, the control module comprises an audio encoding and decoding chip, the earphone connector further comprises an audio selection switch, the audio selection switch is connected with the control module and used for responding to user operation and outputting an audio selection signal to the control module, and the control module is further used for correspondingly adjusting the output audio of the earphone according to the audio selection signal.
Preferably, the sound effect selection switch is a second light touch key, a first end of the second light touch key is grounded, and a second end of the second light touch key is connected with a second signal end of the audio codec chip.
Preferably, the earphone connector further comprises a sound pickup module, wherein the sound pickup module is connected with the control module, and the sound pickup module is used for acquiring singing voice of a user to form the voice data.
Preferably, the pickup module is a microphone, the microphone is provided with a first signal end and a second signal end, the first signal end of the microphone is connected with the third signal end of the audio codec chip, and the second signal end of the microphone is connected with the fourth signal end of the audio codec chip.
Preferably, the earphone connector further comprises a volume adjusting switch, the volume adjusting switch is connected with the control module, when the control module is in the karaoke mode, the volume adjusting switch is used for adjusting the volume of the voice data when the earphone plays, and when the control module is in the non-karaoke mode, the volume adjusting switch is used for adjusting the volume of the audio data when the earphone plays.
Preferably, the signal output terminal comprises an earphone interface.
Preferably, the earphone interface is one of A3.5/2.5 mm earphone jack, A lighting interface, A TYPE-C interface, A MINI-USB interface and A USB-A interface.
Preferably, when the earphone interface is a 3.5/2.5mm earphone jack, the earphone interface comprises a left channel contact end, a right channel contact end, a microphone contact end and a grounding end, the earphone connector comprises an earphone switching module, the earphone switching module can detect the type of an earphone plug inserted into the earphone interface, and the earphone switching module can enable the microphone contact end and the grounding end to be mutually exchanged.
Preferably, the signal output comprises at least two earphone interfaces.
Preferably, the earphone connector further includes a sound changing module, the sound changing module is connected with the control module, and when the sound changing module is in an on state, the sound changing module can receive user voice data in the control module, and send the user voice data back to the control module after performing sound changing processing on the user voice data.
Preferably, the signal input end is one of A TYPE-C connector, A lighting connector, A miniUSB connector and A USB-A connector.
Preferably, a charging interface is arranged on the earphone connector, the charging interface is connected with the signal input end for transmitting current, and the signal input end and the audio equipment can transmit current.
Preferably, the charging interface comprises at least one of A TYPE-C interface, A lighting interface, A miniUSB interface and A USB-A interface.
Preferably, an IC module is disposed on the earphone connector, a PD and QC protocol are disposed in the IC module, the IC module is connected with a circuit of the charging interface, and the IC module is connected with a circuit of the signal input end, so that the earphone connector can transmit current and audio data at the same time.
Preferably, the control module further comprises a first mode, when the control module belongs to the first mode, the control module transmits voice data of a user to the loudspeaker so that the loudspeaker plays the voice data of the user, and the audio frequency change-over switch is used for enabling the control module to switch among the karaoke mode, the non-karaoke mode and the first mode.
The technical scheme includes that the earphone connector is used for connecting audio equipment and an earphone, the earphone connector comprises a shell, an audio input module, an audio change-over switch and a control module, the audio input module and the audio change-over switch are respectively connected with the control module, the control module is used for outputting audio data and voice data of the audio equipment to a loudspeaker of the earphone when receiving the audio change-over signal, and outputting the audio data of the audio equipment to the loudspeaker of the earphone when not receiving the audio change-over signal. After a user operates the audio frequency change-over switch, the control module of the earphone connector receives voice data of the user and audio data of the audio frequency equipment simultaneously, the voice data and the voice data are output to the loudspeaker of the earphone after data processing, and the loudspeaker of the earphone plays the audio data and the voice data simultaneously, so that a K song function can be realized, namely, the user can listen to music and own singing voice simultaneously when the user sings, and the problem that the user cannot listen to own voice when using the earphone K song is solved.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the description of "first", "second", etc. in this disclosure is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implying an indication of the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the meaning of "and/or" appearing throughout the text is to include three parallel schemes, taking "a/B" as an example, including a scheme, or B scheme, or a scheme that is satisfied by both a and B, and further, the technical schemes between the embodiments may be combined with each other, but it must be based on the fact that those skilled in the art can realize that when the combination of the technical schemes contradicts or cannot be realized, it should be considered that the combination of the technical schemes does not exist, and is not within the scope of protection claimed by the present invention.
The invention provides an earphone connector.
As shown in fig. 1, fig. 1 is a schematic block diagram of an embodiment of the earphone connector 20 according to the present invention, which is connected to an audio device 10 and an earphone 30, wherein the earphone connector 20 has a signal input end and a signal output end, the signal input end is connected to the audio device 10, the signal output end is connected to the earphone 30, the earphone connector 20 includes a housing (not shown), an audio input module 100 disposed in the housing, an audio switch 200 disposed on the housing, and a control module 300 disposed in the housing, wherein the audio input module 100 is configured with the signal input end, the audio switch 200 is configured to respond to a user operation and output an audio switch signal, the audio input module 100 and the audio switch 200 are respectively connected to the control module 300, the control module 300 is configured to output audio data and voice data of the audio device 10 to a speaker of the earphone 30 simultaneously when the audio switch signal is received, and output audio data of the audio device 10 to the speaker of the earphone 30 when the audio switch signal is not received.
It should be noted that, the voice data refers to a sound signal sent by a user, after being collected by the earphone connector 20 or the earphone 30, the sound signal is output to a speaker of the earphone 30, specifically, when the control module 300 receives an audio switching signal, the earphone connector 20 and the earphone 30 enter a K song mode, the voice data refers to a signal formed by collecting a sound of a song by the user through a pickup module on the earphone connector 20 or a pickup module on the earphone 30, and the audio data of the audio device 10 refers to a certain piece of music output by the audio device 10.
In this embodiment, the audio device 10 is configured to send out audio data, the audio device 10 may be a mobile phone, a computer, a television, etc., the audio input module 100 is configured to receive the audio data sent out by the audio device 10, the audio input module 100 may be a connector adapted to a TYPE-C interface or a lighting interface of the mobile phone, and the lighting interface is also referred to as a lightning interface and is configured to be adapted to an apple phone, and correspondingly, the audio device 10 may be a different TYPE of mobile phone or a computer or an electronic device with music playing function such as MP3, ipod, etc., for example, an android mobile phone, an apple mobile phone, etc., where the connector is connected with the audio device 10 in a matching manner, and the specific TYPE is not limited.
It should be noted that, the earphone connector 20 further has an audio output module (not shown), the audio output module is configured with the signal output end, and the signal output end and the earphone 30 may be plugged, or may be wirelessly connected through bluetooth, wiFi, or the like, specifically, in this embodiment, the signal output end is a 3.5mm earphone jack, the earphone 30 is plugged into the signal output end of the earphone connector 20, so that a K song function may be implemented through a common earphone, and in other embodiments, the signal output end may also be a TYPE-C interface or a lightning interface to adapt to more TYPEs of earphones.
It should be emphasized here that, this patent compares with K sings APP (like singing bar, citizen K sings etc.), the advantage lies in that this patent is through hardware construction's optimization, not only saved the step of installing all kinds of APP, and the application scope is wider moreover, for example applicable notebook computer, desktop computer, MP3 etc. can play the music but can't install APP's audio equipment, in addition, because earphone connector 20 can adapt to various earphone 30 on the market, consequently ordinary earphone 30, especially the earphone 30 that does not possess pickup module originally can realize K sings function after being connected with audio equipment 10 through earphone connector 20 that this patent provided, it is very convenient to use.
The audio switch 200 is configured to respond to a user operation and output an audio switch signal to the control module 300, so as to switch between a non-K song mode and a K song mode, where the audio switch 200 may be a toggle switch, a touch switch, or the like, and is not particularly limited herein, in an embodiment, as shown in fig. 1 to 3, the audio switch 200 is a first touch key K1, a first end of the first touch key K1 is grounded, a second end of the first touch key K1 is connected to a first signal end GPIO6 of the audio codec chip U1, after the user touches the audio switch 200, the audio switch 200 outputs the audio switch signal to the control module 300, the control module 300 controls the earphone 30 to switch from the non-K song mode to the K song mode, touches the audio switch 200 again, and the earphone 30 switches from the K song mode back to the non-K song mode, where the non-K song function includes a call function, a song listening function, a broadcasting function, and the like.
The control module 300 is configured to perform data processing such as digital-to-analog conversion, analog-to-digital conversion, and encoding/decoding on the received audio data and voice data, in a specific embodiment, the control module 300 is an audio codec chip U1, as shown in fig. 3, the type of the audio codec chip is not specifically limited, and may be an ALC series chip, a seventh signal end DM of the audio codec chip U1 is connected to a left channel signal end DM of the headset 30, an eighth signal end DP of the audio codec chip U1 is connected to a right channel signal end DP of the headset 30, and the audio data of the audio device 10 is received through the left channel signal end DM and the right channel signal end DP of the headset 30.
When receiving the audio switching signal, the audio codec chip U1 controls the earphone 30 to switch from the non-Karaoke mode to the Karaoke mode, performs data processing on the audio data of the audio device 10 and the voice data of the user, and then outputs the processed audio data and voice data of the user to a loudspeaker of the earphone 30, and the loudspeaker of the earphone 30 plays the audio data of the audio device 10 and the voice data of the user;
When the audio switching signal is not received, the audio codec chip U1 controls the earphone 30 to switch back to the non-Karaoke mode from the Karaoke mode or keep the non-Karaoke mode, audio data of the audio device 10 is output to a loudspeaker of the earphone 30, and the loudspeaker of the earphone 30 plays the audio data of the audio device 10;
For example, when the user wants to enter the K song state from the state of the song "nunchaku" with Zhou Jielun, the user inputs an audio switching signal to the audio codec chip U1, and the audio codec chip U1 controls the earphone 30 to switch from the non-K song mode to the K song mode, at this time, the audio device 10 may process the audio data of the song "nunchaku" and the voice data of the user singing "nunchaku" and output the processed audio data to the speaker of the earphone 30 at the same time, so that the user can clearly hear the voice data of the user singing and the audio data of "nunchaku" from the speaker of the earphone 30 in the K song mode.
It should be noted that, the audio data may or may not include an original singing, and taking the song "nunchaku" as an example, the song "nunchaku" includes voice data and a musical accompaniment of singer Zhou Jielun, the audio data includes the original singing and refers to the voice data and the musical accompaniment of singer Zhou Jielun, the audio data does not include the original singing and refers to the audio data is only the musical accompaniment.
Here, the earphone 30 is a broad concept, and includes an earplug, a general earphone 30, a wire earphone 30, and the like, or further includes an amplifying circuit for power amplification, a filtering circuit for filtering noise, and the like.
Further, in another embodiment of the present application, as shown in fig. 4, the earphone connector 20 further includes an audio selection switch 400, the audio selection switch 400 is connected to the control module 300, the audio selection switch 400 is configured to respond to a user operation and output an audio selection signal to the control module 300, and the control module 300 is further configured to correspondingly adjust an output audio of the earphone 30 according to the audio selection signal. Specifically, the user may also switch the audio effects of the audio data of the audio device 10 by controlling the action of the audio selection switch 400 in the song listening or K song mode, for example, after the user opens the song listening software (such as cool dog music, QQ music, etc.), the user selects the output audio effects of the audio data, such as 3D liyin, overweight bass, pure voice, black glue album, etc., through the audio selection switch 400, thereby improving the experience of the user in listening to the song or K song.
Similarly, the sound effect selecting switch 400 may be a touch button, a knob switch, or the like, and the sound effect is selected by touching or rotating, and the type of the sound effect selecting switch 400 is not particularly limited, in an embodiment, the sound effect selecting switch 400 is a second touch button K2, a first end of the second touch button K2 is grounded, and a second end of the second touch button K2 is connected to a second signal end GPIO7 of the audio codec chip.
Further, in still another embodiment of the present application, as shown in fig. 5, the earphone connector 20 further includes a sound pickup module 500, where the sound pickup module 500 is connected to the control module 300, and the sound pickup module 500 is configured to acquire singing voice of the user to form the voice data.
Specifically, the pickup module 500 is configured to pick up voice data sent by a user, in this embodiment, the pickup module 500 is a microphone MIC, the microphone is provided with a first signal end and a second signal end, the first signal end of the microphone is connected with a third signal end SLEEVE of the audio codec chip, the second signal end of the microphone is connected with a fourth signal end RING2 of the audio codec chip, the voice data sent by the user when making a call or singing a song passes through the microphone MIC, the microphone MIC converts sound into an electrical signal through tympanic membrane vibration, and the electrical signal is output to the audio codec chip U1 through the third signal end SLEEVE of the audio codec chip and the fourth signal end RING2 of the audio codec chip, and the audio codec chip U1 receives the electrical signal of the microphone MIC and performs digital-analog conversion, analog-digital conversion, and encoding and decoding, and then outputs the audio data to a speaker of the earphone 30 or another audio device 10, thereby realizing a K song or non-K song function.
However, the design of the present patent is not limited to this, in other embodiments, the earphone connector 20 may not be provided with the pickup module 500, and the wire earphone 30 is adopted, and the wire earphone 30 is provided with a microphone, so that the function of sound pickup may be also implemented, and at this time, the voice data is the singing voice of the user acquired by the wire earphone 30.
The specific working principle of the earphone connector 20 is as follows:
When a user needs to realize the function of not singing (including singing or making a call) through the earphone connector 20, the earphone 30 and the audio device 10, the user does not touch the touch key K1, in the singing listening mode, audio data output by the audio device 10 is output to the audio codec chip U1, the audio data is output to the loudspeaker of the earphone 30 for playing after audio codec and data processing, in the talking mode, the audio data output by the audio device 10 is output to the loudspeaker of the earphone 30 for playing after audio codec and data processing, meanwhile, voice data sent by the user is output to the audio codec chip U1 through the microphone MIC, and the voice data is output to the audio device 10 after audio codec and data processing, so that the talking function is realized.
When the user needs to realize the K song function through the earphone connector 20, the earphone 30 and the audio device 10, the touch key K1 and the touch key K1 output audio switching signals, the encoding and decoding chip U1 obtains the voice data of the user picked up by the microphone MIC and outputs the voice data to the loudspeaker of the earphone 30 after encoding and decoding and data processing, meanwhile, the audio data output by the audio device 10 is output to the loudspeaker of the earphone 30 after being processed by the audio encoding and decoding chip U1, the user can hear the audio data output by the audio device 10 and the voice sent by the user at the same time, the K song function is realized, the K song experience is improved, and the problem that the user cannot hear own voice when the user sings through the earphone 30K song is solved.
Further, in an embodiment of the present disclosure, the earphone connector further includes a volume adjustment switch 600, where the volume adjustment switch 600 is connected to the control module, when the control module is in the K song mode, the volume adjustment switch 600 is used to adjust the volume of the voice data when the earphone is played, and when the control module is in the non-K song mode, the volume adjustment switch 600 is used to adjust the volume of the audio data when the earphone is played, so that in the non-K song mode, the volume adjustment switch 600 can be used to adjust the volume of the music played by the audio device, and in the K song mode, the volume adjustment switch 600 can be used to adjust the volume of the singing voice of the user, thereby meeting the needs of different hearing users and enabling different users to hear own singing voice.
The patent also provides a K song suit, which comprises an earphone 30 and an earphone connector 20, wherein the signal input end of the earphone connector 20 is used for being connected with the audio device 10, and the signal output end of the earphone connector 20 is used for being connected with the earphone 30, and the K song suit provided by the patent adopts all the technical schemes of the above embodiment of the earphone connector 20, so that all the beneficial effects of the schemes are provided, and are not repeated here.
It should be noted that, in this embodiment, the ear phone 30 and the ear phone connector 20 are configured as separate structures, so that the same ear phone connector 20 can be used with other ear phones 30, and in other embodiments, the ear phone connector 20 and the ear phone 30 can be configured as an integral structure.
Further, in order to improve the listening or talking effect, the earphone 30 includes a first speaker HP1 and a second speaker HP2, in an embodiment, the first speaker HP1 is a left ear receiver, the second speaker HP2 is a right ear receiver, a signal end of the first speaker HP1 is connected to the fifth signal end HPOUT-L of the audio codec chip U1, a signal end of the second speaker HP2 is connected to the sixth signal end HPOUT-R of the audio codec chip U1, the audio codec chip further includes a plurality of test pins SPI, a ground pin AGND, a power pin D3V3, a data pin SDA, a clock pin SCL, and so on, and each pin can be connected and set with specific functions according to specific requirements, which is not limited herein.
Further, the connection manner of the earphone 30 and the signal output end of the earphone connector 20 will be described, in this embodiment, the earphone interface may be A3.5/2.5 mm earphone jack, A TYPE-C interface, A lighting interface, or A USB-A interface, so that the earphone 30 with different connectors may be connected in A pluggable manner, and in other embodiments, the earphone 30 may be connected with the earphone connector 20 wirelessly. Similarly, in this embodiment, the signal input end of the earphone connector 20 is plugged into the audio device 10, for example, plugged into the TYPE-C interface of the mobile phone, and in other embodiments, the earphone connector 20 may be wirelessly connected to the audio device 10 by bluetooth or the like.
As shown in fig. 7, wherein the signal output comprises an earphone interface. The earphone interface is for connection with the earphone 30, and a plug of the earphone 30 is inserted into the earphone interface, so that the earphone 30 is connected with the audio device 10 through the earphone connector 20 of the present application.
When the earphone 30 interface is a 3.5/2.5mm earphone jack, the earphone interface comprises a left channel contact end, a right channel contact end, a microphone contact end and a grounding end, the earphone connector 20 comprises an earphone switching module 600, the earphone switching module 600 can detect the type of an earphone plug inserted into the earphone interface, and the earphone switching module 600 can enable the microphone contact end and the grounding end in the earphone interface to be mutually exchanged. In the headset 30 for daily use, the plug of the headset 30 includes the American standard and the national standard. The grounding end and the microphone contact end in the American standard earphone plug are just opposite to the grounding end and the microphone contact end in the national standard earphone plug. In the application, the earphone interface also comprises a left sound channel contact end, a right sound channel contact end, a microphone contact end and a grounding end, which are in one-to-one corresponding butt joint with the left sound channel contact end, the right sound channel contact end, the microphone contact end and the grounding end of the plug of the earphone 30. When the plug of the earphone 30 is inserted into the earphone interface, the earphone switching module 600 detects the type of the earphone, and correspondingly adjusts the microphone contact terminal and the ground terminal in the earphone interface according to the type of the earphone so as to be matched with the earphone 30. The circuit diagram shown in fig. 8 is a circuit diagram of an embodiment of the earphone interface.
The signal output end comprises at least two earphone interfaces. I.e. it means that the headset connector 20 can be connected to at least two of the headphones 30 simultaneously, so that two users can listen to music of the audio device 10 simultaneously, which is more entertaining.
The earphone connector 20 further includes a sound changing module 700, where the sound changing module 700 is connected to the control module 300, and when the sound changing module 700 is in an on state, the sound changing module 700 can receive user voice data in the control module 300, and send the user voice data back to the control module 300 after performing sound changing processing on the user voice data. It should be appreciated that the speech module 700 processes voice data of the user. Thus, when the control module 300 is in the karaoke mode, the voice-changing module 700 can perform voice-changing processing on the voice data of the user, and the processed voice data of the user is transmitted to the speaker of the earphone 30 through the control module 300. Even a sound-changing light touch switch can be arranged on the earphone connector 20, and the state of the sound-changing module 700 can be changed through the switch, for example, the sound-changing module is started, and the sound-changing mode of the sound-changing module 700 can be changed, for example, the mode of changing the user sound into the human sound, the robot sound, the male sound, the female sound, and the like can be changed.
The signal input end is one of A TYPE-C connector, A lighting connector, A miniUSB connector and A USB-A connector. The earphone connector 20 is provided with a charging interface 800, and the charging interface 800 is connected with a signal input end for transmitting current, and the signal input end and the audio device 10 can transmit current. In this way, when the signal input end of the earphone connector 20 is connected to the audio 10 device, the charging interface 800 on the earphone connector 20 can be connected to the charger at the same time. Thus, when the audio device 10 is a mobile phone, the earphone connector 20 can not only listen to music, but also charge the mobile phone, which is more practical. The charging interface 800 includes at least one of A TYPE-C interface, A lighting interface, A miniUSB interface, and A USB-A interface.
The earphone connector 20 is provided with an IC module, in which PD and QC protocols are provided, the IC module is connected with a circuit of the charging interface, and the IC module is connected with a circuit of the signal input terminal 10, so that the earphone connector 20 can transmit current and audio data at the same time. The above-described IC module enables the earphone connector to charge the type audio device 10 such as a mobile phone while listening to music or K songs.
The control module 300 further includes a first mode, when the control module 300 is in the first mode, the control module 300 transmits voice data of the user to the speaker to enable the speaker to play the voice data of the user, and the audio switch 200 is used for switching the control module 300 among the karaoke mode, the non-karaoke mode and the first mode. Thus, when the control module 300 is in the first mode, only the sound of the user can be heard in the loudspeaker, so that the user can avoid interference of other sounds when singing, and the user can evaluate the singing voice more easily.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the invention, and all equivalent structural changes made by the description of the present invention and the accompanying drawings or direct/indirect application in other related technical fields are included in the scope of the invention.