Electronic switch circuit and electronic tube sound card based on same
Technical Field
The present invention relates to a switching circuit and a sound card, and more particularly, to an electronic switching circuit and a sound card for an electronic tube based on the same.
Background
In the prior art, the sound equipment is provided with an earphone interface or a built-in loudspeaker, particularly the portable sound equipment, when the portable sound equipment uses the built-in loudspeaker, if the external equipment is inserted into the external interface, the sound equipment can automatically close the built-in loudspeaker, and an audio signal is sent into the earphone from the earphone interface instead. However, in the portable audio equipment of the prior art, the defect that the built-in loudspeaker cannot be effectively muted when the working mode is switched exists, and the problem needs to be solved.
Disclosure of Invention
The invention aims to provide an electronic switch circuit and a valve sound card based on the same, which solve the defects in the prior art.
The invention is realized by adopting the following technical scheme:
an electronic switch circuit comprises a left channel electronic switch and a right channel electronic switch, and is characterized in that the left channel electronic switch and the right channel electronic switch are respectively connected with an audio signal source and a loudspeaker interface end, the electronic switch circuit further comprises a control circuit, the control circuit is used for switching on or off the left channel electronic switch and the right channel electronic switch, a mute circuit is arranged in the loudspeaker interface end, the mute circuit is provided with an interface detection module, an earphone socket and a detection unit are arranged in the interface detection module, the interface detection module is used for detecting whether an external audio device exists or not, the interface detection module is connected with a main controller used for outputting an audio device connection effective signal, the main controller is respectively connected with the control unit and an audio and video processor, and the main controller is used for receiving the audio device connection effective signal, and controlling the on or off of the built-in loudspeaker.
Further, the main controller is an MCU microcontroller or a single chip microcomputer.
A sound card of an electron tube is characterized in that an electronic switch circuit is arranged in the sound card of the electron tube.
The invention has the beneficial technical effects that: the sound equipment is seamlessly switched under different working modes by setting a loudspeaker mute switching function for the sound equipment, and the sound equipment and the sound card can effectively mute and control the built-in loudspeaker according to the working modes by realizing the mute control of the built-in loudspeaker in the multimedia interface mode through the audio and video processor.
Drawings
Fig. 1 is a schematic block diagram of the circuit of the present invention.
Fig. 2 is a schematic block circuit diagram of a speaker interface side muting circuit.
Detailed Description
The invention will be better understood by the following description of embodiments thereof, but the applicant's specific embodiments are not intended to limit the invention to the particular embodiments shown, and any changes in the definition of parts or features and/or in the overall structure, not essential changes, are intended to define the scope of the invention.
Such as the electronic switching circuit and the valve sound card shown in fig. 1 and 2, an electronic switching circuit is provided in the valve sound card. The electronic switch circuit comprises a left channel electronic switch and a right channel electronic switch, the left channel electronic switch and the right channel electronic switch are respectively connected with an audio signal source and a loudspeaker interface end, the electronic switch circuit also comprises a control circuit, the control circuit is used for controlling the closing or the closing of the left channel electronic switch and the right channel electronic switch, a mute circuit is arranged in the loudspeaker interface end, the mute circuit is provided with an interface detection module, an earphone socket and a detection unit are arranged in the interface detection module, the interface detection module is used for detecting whether an external audio device exists or not, the interface detection module is connected with a main controller used for outputting effective control signals for connecting the audio device, in the embodiment, the main controller is an MCU microcontroller or a single chip microcomputer, the main controller is respectively connected with the control unit and an audio and video processor, and the audio and video processor is used for establishing data interaction with a memory according to the corresponding relation of the main controller and a shared memory created by the electronic tube sound card, and/or audio and video data are sent to the main controller through data interaction, and the main controller is used for receiving effective signals of audio equipment connection and controlling the on or off of the built-in loudspeaker. The invention can switch the mute function of the loudspeaker when the sound equipment is played, synchronously play and mute in real time without delay, realize mute control of the built-in sound field device in a multimedia interface mode through the audio and video processor, increase user experience, simultaneously can set audio information for simultaneously collecting left and right sounds under the action of the main controller, synchronously play audio on a plurality of screens by utilizing the electronic switch, and can switch the built-in loudspeaker to be switched on or off at any time.
The present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof, and it is therefore intended that all such changes and modifications as fall within the true spirit and scope of the invention be considered as within the following claims.