Audio signal processing method, multimedia equipment and readable storage medium
Through audio signal processing methods, including acquisition services, sampling parameter conversion, channel allocation and differential signal transmission, the problem of high-quality and long-distance audio acquisition in complex environments is solved, and efficient and coherent voice communication is achieved.
Patent Information
- Application Number
- CN202411768805.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-03-14
AI Technical Summary
In complex environments, such as large conference rooms, noisy outdoor construction sites, spacious exhibition halls, etc., it is difficult to achieve high-quality and long-distance audio collection. The existing technology cannot effectively reduce distortion and noise interference, and ensure the consistency and integrity of voice communication.
Through an audio signal processing method, it includes starting different types of audio signal acquisition services, judging the audio signal type according to the input interface, obtaining sampling parameters, and converting sampling parameters according to preset sampling parameters, performing channel allocation and encoding, supporting differential signal transmission, and realizing high-quality acquisition and storage of audio signals.
It realizes high-quality, long-distance audio acquisition in complex environments, reduces distortion and noise interference, ensures the consistency and integrity of voice communication, and supports storage in multiple encoding formats.
Smart Images

Figure CN119629546A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of audio signal processing, and in particular to an audio signal processing method, a multimedia device, and a readable storage medium. Background Art
[0002] In the early days of voice communication applications, the market's requirements for voice collection were relatively simple, just being able to hear the sound. However, with the increasing richness and complexity of people's life scenes and the continuous improvement of expectations for voice application functions, the current market's requirements for voice collection have undergone a significant change. Now, in many actual application scenarios, such as large conference rooms, noisy outdoor construction sites, spacious exhibition halls and other complex environments, high-quality, long-distance audio collection has become an urgent need. High quality means that the collected audio needs to have clear sound quality, accurately restore various details of the sound, including timbre, pitch, loudness, etc., and minimize distortion and noise interference; long distance requires that within a certain longer distance range, the sound signal can still be effectively collected to ensure the continuity and integrity of voice communication. Summary of the invention
[0003] In view of this, the embodiments of the present application provide an audio signal processing method, a multimedia device, and a readable storage medium, which can meet the current demand for high-quality and long-distance audio acquisition.
[0004] In a first aspect, an embodiment of the present application provides an audio signal processing method, including:
[0005] Initiate a collection service of different types of audio signals, and determine the type of the audio signal according to an input interface of the audio signal, wherein the audio signal includes a first audio signal and a second audio signal;
[0006] When the audio signal is a first audio signal, acquiring a sampling parameter of the first audio signal;
[0007] If a first preset sampling parameter of the first audio signal is set, performing sampling parameter conversion according to a comparison result between the first preset sampling parameter and the sampling parameter of the first audio signal, so as to collect the first audio signal based on the first preset sampling parameter;
[0008] When the audio signal is a second audio signal, collecting the second audio signal through signal processing and according to a second preset sampling parameter of the second audio signal that is preset;
[0009] The collected first audio signal and the second audio signal are stored respectively.
[0010] In a first possible embodiment of the first aspect, after starting the audio signal collection service, the method further includes:
[0011] receiving the first audio signal in a different audio format, and receiving the second audio signal in a differential signal transmission form;
[0012] The first audio signal and the second audio signal are respectively assigned to channels, so as to assign the audio signals to different audio channels for collection.
[0013] In a second possible embodiment of the first aspect, the performing sampling parameter conversion according to a comparison result between the first preset sampling parameter and the sampling parameter of the first audio signal includes:
[0014] acquiring a sampling parameter of the first audio signal according to the audio format of the first audio signal, and if the first preset sampling parameter is the same as the sampling parameter of the first audio signal, not performing the sampling parameter conversion;
[0015] If the first preset sampling parameter is different from the sampling parameter of the first audio signal, the sampling parameter conversion is performed.
[0016] In a third possible embodiment of the first aspect, the sampling parameter and the preset sampling parameter both include a sampling rate, and the performing sampling parameter conversion according to a comparison result of the first preset sampling parameter and the sampling parameter of the first audio signal further includes:
[0017] When the sampling rate of the first audio signal is lower than a preset sampling rate, inserting a plurality of new sampling points between the sampling points of the first audio signal;
[0018] When a sampling rate of the first audio signal is higher than a preset sampling rate, a plurality of sampling points are deleted between sampling points of the first audio signal, so that when the first preset sampling parameters are different from the sampling parameters of the first audio signal, the sampling parameters of the first audio signal are converted to the first preset sampling parameters.
[0019] In a fourth possible embodiment of the first aspect, the sampling parameters and the preset sampling parameters further include a bit depth, wherein the sampling rate ranges from [44.0 KHz, 2.0 MHz], and the bit depth ranges from [16, 64] bit.
[0020] In a fifth possible embodiment of the first aspect, the collecting the second audio signal through signal processing and according to a second preset sampling parameter of the second audio signal that is preset includes:
[0021] The second audio signal is converted into an audio signal in the form of a digital signal through analog-to-digital conversion, and the converted audio signal is sampled according to the second preset sampling parameter.
[0022] In a sixth possible embodiment of the first aspect, storing the collected first audio signal and the collected second audio signal respectively includes:
[0023] The first audio signal and the second audio signal are respectively encoded using different encoding formats, and the encoded first audio signal and the second audio signal are respectively stored in corresponding designated format files.
[0024] In a seventh possible embodiment of the first aspect, the audio signal processing method further includes:
[0025] When the audio signal is a first audio signal, waiting for connection with an audio device of the first audio signal, so as to collect the first audio signal when connected to the audio device;
[0026] If the first preset sampling parameter is not set, the first audio signal is collected based on the sampling parameter of the first audio signal.
[0027] In a second aspect, an embodiment of the present application provides a multimedia device, the multimedia device comprising a processor and a memory, the memory storing a computer program, and the processor being configured to execute the computer program to implement the above-mentioned audio signal processing method.
[0028] In a third aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which implements the above-mentioned audio signal processing method when executed on a processor.
[0029] The embodiments of the present application have the following beneficial effects:
[0030] An audio signal processing method of this embodiment includes: starting the collection service of different types of audio signals, receiving the first audio signal of different recording formats, and receiving the second audio signal in differential form, judging the type of the audio signal according to the input interface of the audio signal, wherein the audio signal includes the first audio signal and the second audio signal; when the audio signal is the first audio signal, obtaining the sampling parameters of the first audio signal; if the first preset sampling parameters of the first audio signal are set, then according to the comparison result of the first preset sampling parameters and the sampling parameters of the first audio signal, the sampling parameters are converted to collect the first audio signal based on the first preset sampling parameters; when the audio signal is the second audio signal, through signal processing, and according to the second preset sampling parameters of the second audio signal set in advance, the second audio signal is collected; and the collected first audio signal and the second audio signal are stored respectively. The audio signal processing method can sample and store according to the original sampling parameters and preset sampling parameters of the audio signal, ensuring that the stored audio and the input audio data are indistinguishable, and the audio signal processing method can also receive the second audio signal in differential form to realize long-distance audio collection of the audio signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 A schematic diagram of the structure of a multimedia device according to an embodiment of the present application is shown;
[0033] Figure 2 A first flow chart of the audio signal processing method according to an embodiment of the present application is shown;
[0034] Figure 3 A second flow chart of the audio signal processing method according to an embodiment of the present application is shown;
[0035] Figure 4 A third flow chart of the audio signal processing method according to an embodiment of the present application is shown.
[0036] Description of main component symbols:
[0037] 100 - multimedia device; 110 - audio input interface; 120 - processor; 130 - memory. DETAILED DESCRIPTION
[0038] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0039] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0040] Hereinafter, the terms "including", "having" and their cognates that can be used in various embodiments of the present application are intended only to indicate specific features, numbers, steps, operations, elements, components or a combination of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or a combination of the foregoing items or increasing the possibility of one or more features, numbers, steps, operations, elements, components or a combination of the foregoing items. In addition, the terms "first", "second", "third" and the like are only used to distinguish descriptions and cannot be understood as indicating or implying relative importance.
[0041] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present application.
[0042] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0043] Before describing the audio signal processing method, the structure of the multimedia device 100 is first introduced accordingly.
[0044] Figure 1A structural schematic diagram of a multimedia device 100 of an embodiment of the present application is shown. Exemplarily, the multimedia device 100 can be a recording device, a player, an audio amplifier, an audio encoder, etc. The multimedia device 100 is used to receive an external audio signal and convert it into a digital signal for subsequent processing. The multimedia device 100 includes an audio input interface 110, a processor 120, and a memory 130. The audio input interface 110 is used as the front end of the multimedia device 100 to receive signals from other audio sources; the memory 130 is used in the multimedia device 100 to store data and programs. The processor 120 is used to process the audio signal, including operations such as encoding, decoding, compression and decompression; the processor 120 is also used to execute various instructions to control the various components of the multimedia device 100 to work together. For example, when the user presses the play button, the processor 120 will receive the corresponding instruction and instruct the audio or video decoder to start working and read data from the memory 130 for playback. The processor 120 is also used to manage various resources of the multimedia device 100, such as memory, bandwidth, etc., and reasonably allocate resources according to the priorities and resource requirements of different tasks to ensure smooth operation of the system.
[0045] Among them, the audio input interface 110 has multiple types, including: USB (Universal Serial Bus) interface, Bluetooth interface and audio line input interface, wherein the USB interface is used to connect a USB microphone, USB audio interface or other USB audio devices, provide high-quality digital audio transmission, and support plug-and-play, which is convenient for users to use. The Bluetooth interface is used to connect other Bluetooth audio transmitting devices to collect audio signals and audio multimedia information transmitted by other Bluetooth audio transmitting devices. For example, the Bluetooth audio transmitting device can be a Bluetooth audio transmitter such as a mobile phone, a computer, a tablet and an audio player, and the audio multimedia information includes information such as cover, song name, duration and album name. The audio line input interface is used to receive analog audio signals from other audio devices. For example, the audio line input interface transmits the sound signals of a CD player, an MP3 player or other audio devices to a computer or other audio processing device.
[0046] The processor 120 may be an integrated circuit chip with signal processing capability. The processor 120 may be a general-purpose processor, including a central processing unit (CPU), a graphics processing unit (GPU), a network processor (NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or at least one of other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc., and may implement or execute the disclosed methods, steps, and logic block diagrams in the embodiments of the present application.
[0047] The memory 130 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc. The memory 130 is used to store a computer program, and the processor 120 may execute the computer program accordingly after receiving an execution instruction.
[0048] The audio signal processing method is described below in conjunction with some specific embodiments.
[0049] Figure 2 A flow chart of an audio signal processing method according to an embodiment of the present application is shown. Exemplarily, the audio signal processing method comprises the following steps:
[0050] S210, starting a collection service for different types of audio signals, and determining the type of the audio signal according to an input interface of the audio signal, wherein the audio signal includes a first audio signal and a second audio signal.
[0051] The acquisition service refers to the service provided by the device receiving the audio stream in different types of audio transmission, and the acquisition service may include USB decoding service, Bluetooth SNK service (Sink Service) and analog recording service, etc. The input interface of the audio signal may be the audio input interface 110 in the multimedia device 100, and the type of the input audio signal is determined according to the type of the audio input interface 110.
[0052] Exemplarily, the multimedia device 100 may start different audio signal acquisition services according to the user's selection or default settings, and acquire audio signals from the designated input interface.
[0053] In one embodiment, if Figure 3 As shown, after starting the audio signal collection service, the audio signal processing method further includes the following steps:
[0054] S211, receiving a first audio signal having a different audio format, and receiving a second audio signal in a differential signal transmission form.
[0055] Exemplarily, the first audio signal is a digital audio signal, which can be input to the multimedia device 100 through a digital signal interface such as a USB interface and a Bluetooth interface. The second audio signal is an analog audio signal, which is input to the multimedia device 100 through an analog signal interface such as an audio line input interface.
[0056] Optionally, the first audio signal has different recording signal formats, including PCM (Pulse Code Modulation), DOP (Direct Stream Digital over PCM) and DSD (Direct Stream Digital), etc. The present application supports the second audio signal to be input in differential form, and the differential second audio signal is transmitted through two lines, and the signals on the two lines are inverted to each other. At the receiving end, the difference of the differential signal is extracted as a valid signal. This method can effectively suppress common-mode noise, that is, the same noise signal appears on two lines at the same time, and the common-mode noise will be offset in the differential operation. At the same time, the second audio signal in differential form can be transmitted over long distances, reducing the attenuation and distortion of the signal during transmission. For example, in a noisy industrial environment, if a single-ended input is used, the common-mode noise on the line may seriously interfere with the accuracy of the signal; while the differential input can significantly improve the integrity of the signal, so that the second audio signal can be more accurately converted into a digital signal.
[0057] S212: Perform channel allocation on the first audio signal and the second audio signal respectively, so as to allocate the audio signals to different audio channels for collection.
[0058] Exemplarily, during the audio signal acquisition process, channel allocation is used to allocate audio signals to different audio channels, including mono, dual channels and multi-channels. Among them, dual channels are used to allocate audio signals to two independent channels, including left channel (Left Channel) and right channel (Right Channel). In dual-channel recording, the left channel and the right channel carry different audio signals respectively. The left channel mainly transmits the left channel audio signal, and the right channel mainly transmits the right channel audio signal. Through the dual-channel method, different sounds can be produced on both sides of the listener's ears to simulate a stereo effect. For example, when the left channel transmits a sound signal, the left ear will receive the sound more strongly, while the right ear will receive the sound weaker. On the contrary, when the right channel transmits a sound signal, the right ear will receive the sound more strongly, while the left ear will receive the sound weaker. This difference allows the audience to feel the direction and position of the sound.
[0059] S220: When the audio signal is a first audio signal, obtain a sampling parameter of the first audio signal.
[0060] S230: If a first preset sampling parameter of the first audio signal is set, a sampling parameter conversion is performed according to a comparison result between the first preset sampling parameter and the sampling parameter of the first audio signal, so as to collect the first audio signal based on the first preset sampling parameter.
[0061] In one embodiment, if Figure 4 As shown, before step S130, the audio signal processing method further includes the following steps:
[0062] S231: When the audio signal is a first audio signal, wait for connection with an audio device of the first audio signal, so as to collect the first audio signal when connected to the audio device.
[0063] S232: If the first preset sampling parameter is not set, collect the first audio signal based on the sampling parameter of the first audio signal.
[0064] Exemplarily, the input first audio signal can be encoded and stored in the original format of the first audio signal. For example, when the current input digital signal is 384KHz, 32bit, the master control records it in the 384KHz, 32bit format, and then encodes it into a 384KHz, 32bit WAV (Waveform Audio File Format) file. If the input is DOP, the master control can first identify the DOP format, then remove the mark or metadata identifying the DOP package in the audio data, and then store the audio data in a DSD audio file.
[0065] In one embodiment, the audio signal processing method performs sampling parameter conversion based on the comparison result of the first preset sampling parameter and the sampling parameter of the first audio signal, including: obtaining the sampling parameter of the first audio signal according to the audio format of the first audio signal, if the first preset sampling parameter and the sampling parameter of the first audio signal are the same, then no sampling parameter conversion is performed; if the first preset sampling parameter and the sampling parameter of the first audio signal are different, that is, the signal format of the first audio signal is inconsistent with the audio format saved to the file by the user configuration, then the sampling parameter conversion is performed. It can be understood that when the user setting is turned off, the first audio signal is saved to the file according to the audio format of the current recording, otherwise the sampling parameter conversion processing is performed according to the first preset sampling parameter configured by the user, and then the collected first audio signal is saved to the file.
[0066] In one embodiment, the sampling parameter and the preset sampling parameter both include a sampling rate, and the audio signal processing method performs sampling parameter conversion according to a comparison result between the first preset sampling parameter and the sampling parameter of the first audio signal, and further includes:
[0067] When the sampling rate of the first audio signal is lower than the preset sampling rate, multiple new sampling points are inserted between the sampling points of the first audio signal; when the sampling rate of the first audio signal is higher than the preset sampling rate, multiple sampling points are deleted between the sampling points of the first audio signal, so as to convert the sampling parameters of the first audio signal into the first preset sampling parameters when the first preset sampling parameters and the sampling parameters of the first audio signal are different.
[0068] Among them, the interpolation method can be used to estimate and insert the values of these new sampling points, and the interpolation method includes linear interpolation, polynomial interpolation and spline interpolation. The extraction method can be used to select which sampling points to retain, and the extraction method includes maximum extraction, average extraction and bandpass extraction. Before interpolation or extraction, the first audio signal can also be filtered to avoid aliasing. Filtering can be achieved by digital filters, such as low-pass filters, high-pass filters and bandpass filters.
[0069] In one embodiment, the sampling parameters and the preset sampling parameters also include a bit depth, which is the numerical precision of each sampling point, that is, the number of bits used for each sampling value. The higher the bit depth, the larger the dynamic range of the audio, and the more delicate the nuances of the sound can be reproduced, thereby improving the sound quality.
[0070] For example, the sampling rate range is [44.0KHz, 2.0MHz], and the bit depth range is [16, 64]bit. Optionally, the sampling rate can also support 44.1KHz, 48KHz, 88.2KHz, 96KHz, 176.4KHz, 192KHz, 352.8KHz, 384KHz, 705.6KHz, 768KHz, 1.4112MHz and 1.536MHz, etc. Optionally, the bit depth can also support 16bit, 24bit, 32bit and 64bit, etc. For example, when the audio format of the recording is DSD, the sampling rate supports DSD64, DSD128, DSD256, DSD512 and DSD1024.
[0071] S240: When the audio signal is a second audio signal, collect the second audio signal through signal processing and according to a second preset sampling parameter of the second audio signal.
[0072] In one embodiment, the audio signal processing method collects the second audio signal through signal processing and according to the second preset sampling parameters of the second audio signal, including: converting the second audio signal into an audio signal in the form of a digital signal through analog-to-digital conversion (AttackDamage Carry / Core, ADC), and collecting the converted audio signal according to the second preset sampling parameters. Optionally, the audio signal processing method can use a high-precision ADC to accurately collect the voltage value of the analog signal and accurately convert the slight changes of the analog signal into a digital signal. The high-precision ADC can reduce the quantization error by increasing the number of quantization bits (such as 16 bits, 24 bits or even higher), avoid the distortion of the audio signal caused by excessive quantization error, and improve the accuracy of audio signal acquisition.
[0073] It can be understood that when the second audio signal is input in differential form, the integrity of the signal can be significantly improved, so that the analog-to-digital conversion can convert the signal more accurately. The analog-to-digital conversion supports differential input and can meet the requirements for the accuracy, integrity and anti-interference ability of the second audio signal in various complex environments.
[0074] S250: Store the collected first audio signal and second audio signal respectively.
[0075] In one embodiment, the first audio signal and the second audio signal are encoded respectively by different encoding formats, and the encoded first audio signal and the second audio signal are stored in corresponding designated format files respectively. For example, after the first audio signal and the second audio signal are encoded in WAV format, they are stored in a designated WAV format file. The encoding format of the audio signal supports lossless audio encoding format, lossy audio encoding format, and streaming audio format, etc.
[0076] The audio signal processing method of the present application realizes the acquisition, encoding and storage of digital audio signals and analog audio signals. The input digital audio signal can be acquired, encoded and stored in the original format of the digital audio signal; the input digital audio signal can also be acquired, encoded and stored according to the preset sampling parameters set by the user; the input analog audio signal is acquired, encoded and stored through a high-precision ADC that supports differential input. The audio signal processing method can effectively acquire the required audio in a complex environment, perform directional acquisition of lossless audio data, realize multifunctional audio acquisition, reduce the loss of the input audio signal, and support the storage of audio signals in multiple encoding formats.
[0077] The present application also provides a computer-readable storage medium for storing the computer program used in the multimedia device 100. For example, the computer-readable storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0078] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow diagram, and the combination of boxes in the structure diagram and / or the flow diagram, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0079] In addition, the functional modules or units in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0080] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
[0081] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. An audio signal processing method, characterized in that: include: Initiate a collection service of different types of audio signals, and determine the type of the audio signal according to an input interface of the audio signal, wherein the audio signal includes a first audio signal and a second audio signal; When the audio signal is a first audio signal, acquiring a sampling parameter of the first audio signal; If a first preset sampling parameter of the first audio signal is set, performing sampling parameter conversion according to a comparison result between the first preset sampling parameter and the sampling parameter of the first audio signal, so as to collect the first audio signal based on the first preset sampling parameter; When the audio signal is a second audio signal, collecting the second audio signal through signal processing and according to a second preset sampling parameter of the second audio signal that is preset; The collected first audio signal and the second audio signal are stored respectively.
2. The audio signal processing method according to claim 1, characterized in that: After starting the audio signal collection service, the method further includes: receiving the first audio signal in a different audio format, and receiving the second audio signal in a differential signal transmission form; The first audio signal and the second audio signal are respectively assigned to channels, so as to assign the audio signals to different audio channels for collection.
3. The audio signal processing method according to claim 1, characterized in that: The converting of the sampling parameters according to the comparison result between the first preset sampling parameters and the sampling parameters of the first audio signal includes: acquiring a sampling parameter of the first audio signal according to the audio format of the first audio signal, and if the first preset sampling parameter is the same as the sampling parameter of the first audio signal, not performing the sampling parameter conversion; If the first preset sampling parameter is different from the sampling parameter of the first audio signal, the sampling parameter conversion is performed.
4. The audio signal processing method according to claim 1, characterized in that: The sampling parameter and the preset sampling parameter both include a sampling rate, and the converting the sampling parameters according to the comparison result between the first preset sampling parameter and the sampling parameter of the first audio signal further includes: When the sampling rate of the first audio signal is lower than a preset sampling rate, inserting a plurality of new sampling points between the sampling points of the first audio signal; When a sampling rate of the first audio signal is higher than a preset sampling rate, a plurality of sampling points are deleted between sampling points of the first audio signal, so that when the first preset sampling parameters are different from the sampling parameters of the first audio signal, the sampling parameters of the first audio signal are converted to the first preset sampling parameters.
5. The audio signal processing method according to claim 4, characterized in that: The sampling parameters and preset sampling parameters also include bit depth, wherein the sampling rate ranges from [44.0 KHz, 2.0 MHz], and the bit depth ranges from [16, 64] bit.
6. The audio signal processing method according to claim 1, characterized in that: The signal processing and collecting the second audio signal according to a second preset sampling parameter of the second audio signal that is preset include: The second audio signal is converted into an audio signal in the form of a digital signal through analog-to-digital conversion, and the converted audio signal is sampled according to the second preset sampling parameter.
7. The audio signal processing method according to claim 1, characterized in that: The storing the collected first audio signal and the collected second audio signal respectively includes: The first audio signal and the second audio signal are respectively encoded using different encoding formats, and the encoded first audio signal and the second audio signal are respectively stored in corresponding designated format files.
8. The audio signal processing method according to claim 1, characterized in that: Also includes: When the audio signal is a first audio signal, waiting for connection with an audio device of the first audio signal, so as to collect the first audio signal when connected to the audio device; If the first preset sampling parameter is not set, the first audio signal is collected based on the sampling parameter of the first audio signal.
9. A multimedia device, characterized in that: The multimedia device comprises a processor and a memory, wherein the memory stores a computer program, and the processor is configured to execute the computer program to implement the audio signal processing method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: The device stores a computer program, which, when executed on a processor, implements the audio signal processing method according to any one of claims 1 to 8.