Search

CN-121996196-A - Audio output mode switching system, method, computer device and storage medium

CN121996196ACN 121996196 ACN121996196 ACN 121996196ACN-121996196-A

Abstract

The embodiment of the application belongs to the technical field of audio management and relates to an audio output mode switching system, an audio output mode switching method, computer equipment and a storage medium. The application can conveniently and flexibly switch between different audio output modes according to the requirements of users or use scenes, and can effectively process and transmit audio signals so as to meet diversified audio playing requirements.

Inventors

  • LU JUN
  • YI WEI
  • YANG WENTAO

Assignees

  • 深圳艾尔吉通信有限公司

Dates

Publication Date
20260508
Application Date
20260123

Claims (10)

  1. 1. An audio output mode switching system, the system comprising: change over switch, input port, output port, left and right channel audio channel, extension channel audio channel and audio processor, wherein: The input port is used for acquiring an external sound source; The left and right channel audio channels are used for converting the external sound source into a first audio signal; The extended channel audio channel is used for converting the external sound source into a second audio signal; The audio processor is used for confirming an audio configuration mode according to the state of the change-over switch, wherein the audio configuration mode comprises a first configuration mode and a second configuration mode; The audio processor is further configured to transmit the first audio signal and the second audio signal to the output port through the left and right channel audio channels and the extended channel audio channel, respectively, if the audio configuration mode is a first configuration mode; And the audio processor is further configured to, if the audio configuration mode is a second configuration mode, perform mixing processing on the first audio signal and the second audio signal to obtain a mixed audio signal, set the extended channel audio channel to be mute, and transmit the mixed audio signal to the output port through the left and right channel audio channels.
  2. 2. The audio output mode switching system of claim 1, wherein the number of extended channel audio channels is greater than or equal to two.
  3. 3. The audio output mode switching system of claim 1, wherein the input port is an analog input interface, a bi-directional OTG, or a USB-C interface.
  4. 4. The audio output mode switching system according to claim 1, wherein the left and right channel audio channels are configured to sample and quantize the external audio source under a uniform sampling clock according to a multi-channel ADC to obtain the first audio signal.
  5. 5. The audio output mode switching system according to claim 1, wherein the audio processor is further configured to perform high-pass filtering processing on the first audio signal and the second audio signal according to a high-pass filter, respectively, to obtain a first high-pass filtered digital signal and a second high-pass filtered digital signal; The audio processor is further configured to perform fine adjustment processing on the first high-pass filtered digital signal and the second high-pass filtered digital signal according to a preset level, so as to obtain a first fine adjustment digital signal and a second fine adjustment digital signal; The audio processor is further configured to perform phase correction processing on the first fine tuning digital signal and the second fine tuning digital signal, so as to obtain a first corrected digital signal and a second corrected digital signal; The audio processor is further configured to transmit the first rectified digital signal and the second rectified digital signal to the output port.
  6. 6. The method according to claim 1, wherein the audio processor is further configured to input the first audio signal and the second audio signal to a mixing matrix for signal combining processing, so as to obtain a mixed digital signal; The audio processor is further used for performing post-processing on the mixed digital signal to obtain a post-processed digital signal; The audio processor is further configured to convert the post-processed digital signal into a stereo signal, to obtain the mixed audio signal.
  7. 7. The audio output mode switching method of claim 6, wherein the mixed digital signal is represented as: ; Wherein, the 、 、...、 Respectively representing the first audio signal and the second audio signal, 、 、... Respectively representing preset merging ratios.
  8. 8. A method for switching audio output modes, the method comprising the steps of: Acquiring an external sound source; Converting the external sound source into a first audio signal according to left and right channel audio channels; converting the external sound source into a second audio signal according to an extended channel audio channel; confirming an audio configuration mode according to the state of the change-over switch, wherein the audio configuration mode comprises a first configuration mode and a second configuration mode; if the audio configuration mode is a first configuration mode, transmitting the first audio signal and the second audio signal to an output port through a left channel audio channel, a right channel audio channel and an extended channel audio channel respectively; And if the audio configuration mode is a second configuration mode, mixing the first audio signal and the second audio signal to obtain a mixed audio signal, setting the audio channels of the extended channels to be mute, and transmitting the mixed audio signal to the output port through the audio channels of the left and right channels.
  9. 9. A computer device comprising a memory and a processor, wherein the memory has stored therein computer readable instructions which when executed by the processor implement the steps of the audio output mode switching method of claim 8.
  10. 10. A computer readable storage medium having stored thereon computer readable instructions which when executed by a processor implement the steps of the audio output mode switching method of claim 8.

Description

Audio output mode switching system, method, computer device and storage medium Technical Field The present application relates to the field of audio management technologies, and in particular, to an audio output mode switching system, an audio output mode switching method, a computer device, and a storage medium. Background In the field of audio processing, along with the continuous enrichment of audio application scenes, such as recording, live broadcasting and the like, the requirements on audio output modes are increasingly diversified. Different application scenes require different audio processing, for example, a recording scene generally needs to preserve original audio information as much as possible, while a live scene may require mixing of multiple audio sources to obtain better audio effects. At present, the existing audio processing system only outputs multichannel data frames, the mixed data frames are processed by software such as a live broadcast platform, an AU (access unit), a live broadcast partner and the like, on one hand, the terminal load is increased, the live broadcast effect (stability) is affected, on the other hand, the software mixing level is realized by terminal hardware, and compared with professional sound card mixing hardware, the audio processing system has the advantages that the mixing effect is strong, and the defects are large. As can be seen, the conventional audio processing system has a problem of low switching efficiency when switching the audio output mode. Disclosure of Invention The embodiment of the application aims to provide an audio output mode switching system, an audio output mode switching method, computer equipment and a storage medium, so as to solve the problem that the conventional audio processing system has low switching efficiency when switching audio output modes. In order to solve the above technical problems, an embodiment of the present application provides an audio output mode switching system, which adopts the following technical scheme: change over switch, input port, output port, left and right channel audio channel, extension channel audio channel and audio processor, wherein: The input port is used for acquiring an external sound source; The left and right channel audio channels are used for converting the external sound source into a first audio signal; The extended channel audio channel is used for converting the external sound source into a second audio signal; The audio processor is used for confirming an audio configuration mode according to the state of the change-over switch, wherein the audio configuration mode comprises a first configuration mode and a second configuration mode; The audio processor is further configured to transmit the first audio signal and the second audio signal to the output port through the left and right channel audio channels and the extended channel audio channel, respectively, if the audio configuration mode is a first configuration mode; And the audio processor is further configured to, if the audio configuration mode is a second configuration mode, perform mixing processing on the first audio signal and the second audio signal to obtain a mixed audio signal, set the extended channel audio channel to be mute, and transmit the mixed audio signal to the output port through the left and right channel audio channels. In order to solve the above technical problems, the embodiment of the present application further provides an audio output mode switching method, which adopts the following technical scheme: Acquiring an external sound source; Converting the external sound source into a first audio signal according to left and right channel audio channels; converting the external sound source into a second audio signal according to an extended channel audio channel; confirming an audio configuration mode according to the state of the change-over switch, wherein the audio configuration mode comprises a first configuration mode and a second configuration mode; if the audio configuration mode is a first configuration mode, transmitting the first audio signal and the second audio signal to an output port through a left channel audio channel, a right channel audio channel and an extended channel audio channel respectively; And if the audio configuration mode is a second configuration mode, mixing the first audio signal and the second audio signal to obtain a mixed audio signal, setting the audio channels of the extended channels to be mute, and transmitting the mixed audio signal to the output port through the audio channels of the left and right channels. In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical schemes: Comprising a memory having stored therein computer readable instructions which when executed by a processor implement the steps of the audio output mode switching method as described above. In ord