An ASIO low-latency acoustic acquisition method

Through the ASIO low-latency acoustic detection system, the problem of delay and data format incompatibility in the acoustic acquisition system is solved, low-latency, low-cost and high-channel scalability acoustic detection is achieved, simplifying the use process and improving analysis accuracy.

CN115103286BActive Publication Date: 2024-09-27BEIJING RISEN XINPU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210475768.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2024-09-27
Estimated Expiration
2042-04-29

AI Technical Summary

Technical Problem

There is a delay problem in the existing acoustic acquisition system, which leads to easy beat misalignment during high-speed acoustic signal analysis. Moreover, the data format of conventional data acquisition instruments is not compatible with conventional recording analysis software, making it difficult to use it directly.

Method used

The ASIO low-latency acoustic detection system is used to convert the analog acoustic signal into a digital signal through the analog/digital conversion module, and arrange it into PCM format data, which is transmitted through the USB transmission unit of the ASIO protocol, and the sound card driver software decodes and stores it. Supports 16-bit and 24-bit format data to achieve low latency and high channel scalability.

Benefits of technology

It achieves low-latency, low-cost, and high-compatibility acoustic detection, simplifies the use process, and improves the accuracy of analysis and channel scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115103286B
    Figure CN115103286B
Patent Text Reader

Abstract

The present invention relates to an ASIO low-latency acoustic detection method, comprising: obtaining an acoustic signal of an acoustic device under test; an analog / digital conversion module converting the simulated acoustic signal into a digital signal; an audio processing module converting and arranging the digital signal into PCM format data; the PCM format data is transmitted into a transmission unit and transmitted in a USB bus as a first type format data packet; a sound card driver software identifies the PCM format data; when the PCM format data is 16-bit format data, the sound card driver software decodes the PCM format data and stores and analyzes it; when the PCM format data is 24-bit format data, the sound card driver software drives the first type format data packet of the USB bus to unpack twice, and then stores and analyzes it as 24-bit format data. The present invention has the advantages of low transmission latency, high channel scalability, low cost, and high compatibility, and is simple to use and has high performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of acoustic collection, and in particular to an ASIO low-latency acoustic detection system. Background Art

[0002] Usually, the acoustic acquisition instrument uses a conventional WDM-based sound card or an analog data acquisition instrument.

[0003] Conventional WDM sound cards are common sound cards used in the consumer field. Acoustic testing has relatively high requirements for delay. The delay of WDM sound cards is about 10ms to 30ms. Although it can be detected normally, the existence of delay causes time alignment problems in the test. After the object under test occurs, there will be a lag in the sound wave received by the computer. For the higher-speed 20KHz signal, it is easy to have a misaligned analysis beat. When analyzing, it is necessary to add a delay before analyzing. In addition, the number of channels of Windows WDM sound cards is up to 8 channels. If it exceeds 8 channels, a separate sound card device is required. Conventional data acquisition instruments usually directly move data into the computer after analog-to-digital conversion. In this way, the delay is very small, which basically solves the delay problem. However, the data is arranged in the original data format, not in the PCM format. Conventional test software and general recording analysis software cannot be used directly, and the data must be reorganized before analysis. Summary of the invention

[0004] According to the problems existing in the prior art, the present invention provides an ASIO low-latency acoustic detection system, which is used to solve the delay in the prior art, is low-cost and easy to use with compatible conventional recording analysis software.

[0005] The technical solution of the present invention is as follows:

[0006] An ASIO low-latency acoustic detection method, comprising:

[0007] Acquiring acoustic signals of the acoustic device under test;

[0008] The analog / digital conversion module converts the analog sound signal into a digital signal;

[0009] The audio processing module converts and arranges the digital signal into PCM format data;

[0010] The PCM format data is transmitted into the transmission unit and transmitted in the USB bus as a first type format data packet;

[0011] The sound card driver software recognizes PCM format data;

[0012] When the PCM format data is 16-bit format data, the sound card driver software decodes the PCM format data and stores and analyzes it;

[0013] When the PCM format data is 24-bit format data, the sound card driver software drives the first type format data packet of the USB bus to be unpacked twice, and then stored and analyzed as 24-bit format data.

[0014] As a preferred technical solution, the digital signal is 16-bit format data, or 24-bit format data.

[0015] As a preferred technical solution, the audio processing module is a digital audio processor, which buffers the digital signal and then performs data conversion and arrangement according to the PCM format.

[0016] As a preferred technical solution, the transmission unit is a USB transmission unit of the ASIO protocol, which is used to transmit PCM format data into the USB bus.

[0017] As a preferred technical solution, the first type of format data packet is a 16-bit format data packet.

[0018] As a preferred technical solution, the sound card driver software is ASIO driver software, and the ASIO driver software can interact with the transmission unit.

[0019] As a preferred technical solution, the ASIO driver software includes an ASIO channel, and the ASIO channel includes multiple hardware channels and multiple virtual channels.

[0020] As a preferred technical solution, the number of ASIO channels is at most 60.

[0021] As a preferred technical solution, the analog / digital conversion module is an ADC analog / digital conversion module, which can collect multiple acoustic signals and convert the acoustic signals into digital signals.

[0022] As a preferred technical solution, the transmission delay from the USB transmission unit to the sound card driver software is 1ms to 5ms.

[0023] The technical solution adopted by the present invention achieves the following beneficial effects: the ASIO-driven low-latency acoustic detection method has the advantages of low transmission latency, high channel scalability, low cost, and high compatibility; the soft acquisition and analysis method between conventional WDM sound cards and data acquisition instruments has high channel scalability, is easy to use, and has high performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments, which constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions explain the present invention and do not constitute improper limitations on the present invention. In the drawings:

[0025] Figure 1This is a schematic diagram of the ASIO low-latency acoustic detection method disclosed in Example 1 of the present invention;

[0026] Figure 2 This is a schematic diagram of the ASIO low-latency acoustic detection method disclosed in Example 1 of the present invention;

[0027] Figure 3 This is a schematic diagram of the ASIO low-latency acoustic detection method disclosed in Example 1 of the present invention.

[0028] Description of reference numerals:

[0029] ASIO-driven acoustic collection instrument 1; analog / digital conversion module 10; audio processing module 20; transmission unit 30. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. In the description of the present invention, it should be noted that the term "or" is usually used in the sense of including "and / or", unless the content clearly indicates otherwise.

[0031] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0032] Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0033] Example 1

[0034] ASIO is an abbreviation for professional sound card driver mode. The full name of ASIO is Audio Stream Input Output, which means audio stream input and output interface in Chinese. Using ASIO technology can reduce the system's delay in audio stream signals and enhance the processing capabilities of sound card hardware. At the same time, ASIO applications can be free from interference from other programs running in the system.

[0035] This embodiment provides an ASIO low-latency acoustic detection method, according to Figure 1 ,include:

[0036] Acquiring acoustic signals of the acoustic device under test;

[0037] The analog / digital conversion module 10 converts the analog sound signal into a digital signal;

[0038] The audio processing module 20 converts and arranges the digital signal into PCM format data;

[0039] The PCM format data is transmitted into the transmission unit 30 and transmitted in the USB bus as a first type format data packet;

[0040] The sound card driver software recognizes PCM format data;

[0041] When the PCM format data is 16-bit format data, the sound card driver software decodes the PCM format data and stores and analyzes it;

[0042] When the PCM format data is 24-bit format data, the sound card driver software drives the first type format data packet of the USB bus to be unpacked twice, and then stored and analyzed as 24-bit format data.

[0043] Preferably, the digital signal is 16-bit format data, or 24-bit format data.

[0044] Preferably, the audio processing module 20 is a digital audio processor, which buffers the digital signal and then performs data conversion and arrangement according to the PCM format.

[0045] The digital audio word processor is a processing unit, which caches the 16-bit data or 24-bit data collected by the analog / digital conversion module 10 and performs data conversion and arrangement according to the PCM format. After arrangement, it is loaded into the transmission channel and transmitted into the transmission unit 30 for 16-bit data transmission. Among them, Pulse Code Modulation (PCM) is a digital signal generated by sampling, quantizing and encoding a continuously changing analog signal; USB is the abbreviation of Universal Serial Bus in English, which is an external bus standard used to regulate the connection and communication between computers and external devices.

[0046] Pulse code modulation mainly goes through three processes: sampling, quantization and encoding. The sampling process converts the continuous-time analog signal into a discrete-time, continuous-amplitude sampled signal, the quantization process converts the sampled signal into a discrete-time, discrete-amplitude digital signal, and the encoding process encodes the quantized signal into a binary code group output.

[0047] The so-called quantization is to discretize the amplitude of the instantaneous value obtained by sampling, that is, to use a set of specified levels, and the instantaneous sampling value is encoded with the closest so-called encoding, that is, to use a set of binary code groups to represent each quantized value with a fixed level.

[0048] Preferably, the transmission unit 30 is a USB transmission unit 30 of ASIO protocol, which is used to transmit PCM format data into the USB bus.

[0049] Preferably, the first type format data packet is a 16-bit format data packet.

[0050] Preferably, the sound card driver software is ASIO driver software, and the ASIO driver software can interact with the transmission unit 30 .

[0051] Preferably, the ASIO driver software includes an ASIO channel, and the ASIO channel includes a plurality of hardware channels and a plurality of virtual channels.

[0052] Preferably, the number of ASIO channels is at most 60.

[0053] Preferably, the analog / digital conversion module 10 is an ADC analog / digital conversion module 10, and the ADC analog / digital conversion module 10 can collect multiple acoustic signals and convert the acoustic signals into digital signals.

[0054] Preferably, the transmission delay from the USB transmission unit to the sound card driver software is between 1 ms and 5 ms.

[0055] according to Figure 2-Figure 3 The USB transmission unit 30 of the ASIO protocol in the ASIO-driven acoustic collection instrument 1 transmits the received data into the USB bus in 16-bit format. After the ASIO sound card driver software is installed on the computer, the data transmitted by the USB bus can be identified, that is, the signal data collected by the analog / digital conversion module 10 can be identified; if the transmission is identified as 16-bit data, the PCM is directly decoded for storage and analysis; if the transmission is identified as 24-bit data, the USB bus is unpacked twice, split into 2 16-bit format data, and then re-saved into 24-bit PCM format for storage and analysis.

[0056] ASIO driver software is the driver software installed on the Windows side of the computer. The driver software can interact with the USB transmitter 30, format and various information, and re-arrange the negotiated format into PCM format for easy storage and analysis. Of course, the stored format is completely consistent with the PCM format and can be recognized and analyzed by conventional audio analysis software.

[0057] The above is a detailed introduction to an ASIO low-latency acoustic detection method in an embodiment of the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An ASIO low-latency acoustic detection method, characterized in that: include: Acquiring acoustic signals of the acoustic device under test; The analog / digital conversion module converts the analog acoustic signal into a digital signal; The audio processing module converts and arranges the digital signal into PCM format data; The PCM format data is transmitted into the transmission unit and transmitted in the USB bus as a first type format data packet; the transmission unit is a USB transmission unit; the USB transmission unit is a USB transmission unit in an ASIO driven acoustic acquisition instrument; The sound card driver software recognizes the PCM format data; the sound card driver software is installed on the computer; the transmission delay from the USB transmission unit to the sound card driver software is 1ms to 5ms; When the PCM format data is 16-bit format data, the sound card driver software decodes the PCM format data and stores and analyzes it; When the PCM format data is 24-bit format data, the sound card driver software drives the first type format data packet of the USB bus to unpack twice, split it into two 16-bit format data, and then save it again as 24-bit PCM format data, and then store and analyze it as 24-bit format data.

2. The method according to claim 1, characterized in that The digital signal is 16-bit format data or 24-bit format data.

3. The method according to claim 1, characterized in that The audio processing module is a digital audio processor, which buffers the digital signal and then performs data conversion and arrangement according to the PCM format.

4. The method according to claim 1, characterized in that: The transmission unit is a USB transmission unit of ASIO protocol, which is used to transmit the PCM format data into the USB bus.

5. The method according to claim 1, characterized in that The first type format data packet is a 16-bit format data packet.

6. The method according to claim 1, characterized in that The sound card driver software is ASIO driver software, and the ASIO driver software can interact with the transmission unit.

7. The method according to claim 6, characterized in that The ASIO driver software includes an ASIO channel, and the ASIO channel includes a plurality of hardware channels and a plurality of virtual channels.

8. The method according to claim 7, characterized in that The number of ASIO channels is 60 at most.

9. The method according to any one of claims 1 to 8, characterized in that: The analog / digital conversion module is an ADC analog / digital conversion module, and the ADC analog / digital conversion module can collect a plurality of the acoustic signals and convert the acoustic signals into digital signals.