[go: up one dir, main page]

CN115103286B - ASIO low-delay acoustic acquisition method - Google Patents

ASIO low-delay acoustic acquisition method Download PDF

Info

Publication number
CN115103286B
CN115103286B CN202210475768.9A CN202210475768A CN115103286B CN 115103286 B CN115103286 B CN 115103286B CN 202210475768 A CN202210475768 A CN 202210475768A CN 115103286 B CN115103286 B CN 115103286B
Authority
CN
China
Prior art keywords
format data
asio
pcm
transmission unit
sound card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210475768.9A
Other languages
Chinese (zh)
Other versions
CN115103286A (en
Inventor
王绍惇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rstech Ltd
Original Assignee
Rstech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rstech Ltd filed Critical Rstech Ltd
Priority to CN202210475768.9A priority Critical patent/CN115103286B/en
Publication of CN115103286A publication Critical patent/CN115103286A/en
Application granted granted Critical
Publication of CN115103286B publication Critical patent/CN115103286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Analogue/Digital Conversion (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

The invention relates to a ASIO low-delay acoustic detection method, which comprises the following steps: acquiring an acoustic signal of the acoustic equipment to be tested; the analog/digital conversion module converts the analog acoustic signal into a digital signal; the audio processing module converts and arranges the digital signals into PCM format data; the PCM format data is transmitted into a transmission unit and is transmitted in a USB bus by a first type format data packet; the sound card driving software identifies the PCM format data; when the PCM format data is 16-bit format data, the sound card driving software decodes the PCM format data and stores and analyzes the PCM format data; when the PCM format data is 24-bit format data, the sound card driving software drives the first type format data packet of the USB bus to unpack twice, and then the data is stored and analyzed by the 24-bit format data. The invention has the advantages of low transmission delay, high channel expansibility, low cost, high compatibility, simple use and higher performance.

Description

ASIO low-delay acoustic acquisition method
Technical Field
The invention relates to the field of acoustic acquisition, in particular to a ASIO low-delay acoustic detection system.
Background
Typically, the acoustic acquisition instrument is a conventional WDM-based sound card or analog data acquisition instrument.
Conventional WDM sound cards are common sound cards used in the consumer field, acoustic testing requires a relatively high delay, and WDM sound cards have a delay of about 10ms to 30ms, which, although normally detectable, can be time-aligned. After the tested object occurs, the sound wave obtained by the computer end has hysteresis, and for the 20KHz signal with a little high speed, the analysis beat dislocation easily occurs, and the analysis needs to be carried out after time delay. And the WDM sound card channels of Windows are 8 channels at most, and after the number of the WDM sound card channels exceeds 8 channels, additional independent sound card devices are needed for use. The conventional data acquisition instrument usually converts analog data into digital data and then directly moves the digital data into a computer, so that the delay is very small, the delay problem is basically solved, but the data are arranged in an original data format, are not arranged according to a PCM format, conventional test software and general recording analysis software cannot be directly used, and the data must be reorganized and then analyzed.
Disclosure of Invention
According to the problems in the prior art, the invention provides a ASIO low-delay acoustic detection system which is used for solving the problems of delay, low cost and simple use compatible with conventional recording analysis software in the prior art.
The technical scheme of the invention is as follows:
A ASIO low-latency acoustic detection method, comprising:
acquiring an acoustic signal of the acoustic equipment to be tested;
the analog/digital conversion module converts the analog acoustic signal into a digital signal;
the audio processing module converts and arranges the digital signals into PCM format data;
the PCM format data is transmitted into a transmission unit and is transmitted in a USB bus by a first type format data packet;
the sound card driving software identifies PCM format data;
When the PCM format data is 16-bit format data, the sound card driving software decodes the PCM format data and stores and analyzes the PCM format data;
When the PCM format data is 24-bit format data, the sound card driving software drives the first type format data packet of the USB bus to unpack twice, and then the first type format data packet is stored and analyzed by the 24-bit format data.
As a preferred embodiment, the digital signal is 16-bit format data, or 24-bit format data.
As an optimal technical scheme, the audio processing module is a digital audio processor, and the digital audio processor caches the digital signals and then performs data conversion arrangement according to the PCM format.
As a preferred technical solution, the transmission unit is a ASIO protocol USB transmission unit, which is used to transmit PCM format data into the USB bus.
As a preferred technical solution, the first type of format data packet is a 16-bit format data packet.
As a preferred technical solution, the sound card driver is ASIO driver, and ASIO driver can interact with the transmission unit.
As a preferred technical solution, the ASIO driver software includes ASIO channels, and the ASIO channels include a plurality of hardware channels and a plurality of virtual channels.
As a preferred technical scheme, ASIO channels are 60 paths at most.
As a preferred technical solution, the analog-to-digital conversion module is an ADC analog-to-digital conversion module, and the ADC analog-to-digital conversion module can collect a plurality of acoustic signals and convert the acoustic signals into digital signals.
As a preferable technical scheme, the transmission delay from the USB transmission unit to the sound card driving software is 1ms to 5ms.
The technical scheme adopted by the invention has the beneficial effects that: the ASIO-driven low-delay acoustic detection mode has the advantages of low transmission delay, high channel expansibility, low cost and high compatibility; the soft acquisition and analysis method between the conventional WDM sound card and the data acquisition instrument has the advantages of high channel expansibility, simple use and higher performance.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments are briefly described below to form a part of the present invention, and the exemplary embodiments of the present invention and the description thereof illustrate the present invention and do not constitute undue limitations of the present invention. In the drawings:
FIG. 1 is a schematic diagram of a ASIO low-delay acoustic detection method disclosed in embodiment 1 of the present invention;
FIG. 2 is a schematic diagram of a ASIO low-delay acoustic detection method disclosed in embodiment 1 of the present invention;
fig. 3 is a schematic diagram of a ASIO low-delay acoustic detection method disclosed in embodiment 1 of the present invention.
Reference numerals illustrate:
ASIO-driven acoustic acquisition instrument 1; an analog/digital conversion module 10; an audio processing module 20; a transmission unit 30.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to specific embodiments of the present invention and corresponding drawings. In the description of the present invention, it should be noted that the term "or" is generally employed in its sense including "and/or" unless the content clearly dictates otherwise.
In the description of the present invention, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
It will be apparent that the described embodiments 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.
Example 1
ASIO is an abbreviation for professional sound card drive mode. ASIO is collectively Audio Stream Input Output, chinese is an audio stream input-output interface. By adopting ASIO technology, the delay of the system to the audio stream signal can be reduced, the processing capacity of sound card hardware can be enhanced, and meanwhile, ASIO application program can not be interfered by other programs running in the system.
The embodiment provides a ASIO low-delay acoustic detection method, according to fig. 1, including:
acquiring an acoustic signal of the acoustic equipment to be tested;
The analog/digital conversion module 10 converts an analog acoustic signal into a digital signal;
The audio processing module 20 converts and arranges the digital signals into PCM format data;
The PCM format data is transmitted into the transmission unit 30 and is transmitted in the USB bus in a first type format data packet;
the sound card driving software identifies PCM format data;
When the PCM format data is 16-bit format data, the sound card driving software decodes the PCM format data and stores and analyzes the PCM format data;
When the PCM format data is 24-bit format data, the sound card driving software drives the first type format data packet of the USB bus to unpack twice, and then the first type format data packet is stored and analyzed by the 24-bit format data.
Preferably, the digital signal is 16-bit format data, or 24-bit format data.
Preferably, the audio processing module 20 is a digital audio processor, and the digital audio processor buffers the digital signals and performs data conversion arrangement according to PCM format.
The digital audio word processor is a processing unit, and buffers the 16-bit data or 24-bit data collected by the analog/digital conversion module 10, performs data conversion arrangement according to the PCM format, loads the arranged data into a transmission channel, and transmits the data into the transmission unit 30 for 16-bit data transmission. Wherein, pulse code modulation (Pulse Code Modulation), PCM for short. Is a digital signal generated by sampling, quantizing and encoding a continuously varying analog signal; USB, an abbreviation for english Universal Serial Bus (universal serial bus), is an external bus standard for standardizing the connection and communication between a computer and external devices.
Pulse code modulation goes through 3 main processes, namely sampling, quantization and encoding. The sampling process converts the continuous-time analog signal into a discrete-time continuous-amplitude sampling signal, the quantization process converts the sampling signal into a discrete-time discrete-amplitude digital signal, and the encoding process encodes the quantized signal into a binary code set for output.
The quantization is to use a predetermined set of levels to disperse the amplitude of the sampled instantaneous value, and the nearest quantization is to use a binary code set to represent each quantized value having a fixed level.
Preferably, the transmission unit 30 is a ASIO protocol USB transmission unit 30 for transmitting PCM format data into a USB bus.
Preferably, the first type of format data packet is a 16-bit format data packet.
Preferably, the sound card driver is ASIO driver, ASIO driver is capable of interacting with the transmission unit 30.
Preferably, the driver software including ASIO includes ASIO channels, ASIO channels including a plurality of hardware channels and a plurality of virtual channels.
Preferably, the ASIO channels are up to 60 channels.
Preferably, the analog/digital conversion module 10 is an ADC analog/digital conversion module 10, and the ADC analog/digital conversion module 10 is capable of collecting a plurality of acoustic signals and converting the acoustic signals into digital signals.
Preferably, the transmission delay from the USB transmission unit to the sound card driver is between 1ms and 5ms.
According to fig. 2-3, the USB transmission unit 30 of ASIO protocol in the asio driven acoustic acquisition instrument 1 transmits the received data into the USB bus according to 16-bit format, and after the computer end installs ASIO sound card driving software, the data transmitted by the USB bus, that is, the signal data acquired by the analog/digital conversion module 10 can be identified; if the 16-bit data is identified to be transmitted, the PCM is directly decoded for storage and analysis, and if the 24-bit data is identified to be transmitted, the USB bus is unpacked twice and then is restored to be in a 24-bit PCM format for storage and analysis after being unpacked into 2 16-bit format data.
ASIO the driver software is driver software installed at the windows end of the computer, and the driver software can interact with the USB transmitter 30, format and various information, and rearrange the negotiated format into PCM format for storage and analysis. Of course the stored format is fully compliant with the PCM format and can be identified and analyzed by conventional audio analysis software.
The foregoing has described in detail a ASIO low-latency acoustic detection method according to an embodiment of the present application, and specific examples have been applied herein to illustrate the principles and embodiments of the present application, where the foregoing examples are provided to assist in understanding the method of the present application and its core ideas; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (9)

1. A ASIO low-latency acoustic detection method, comprising:
acquiring an acoustic signal of the acoustic equipment to be tested;
the analog/digital conversion module converts the analog acoustic signal into a digital signal;
The audio processing module converts and arranges the digital signals into PCM format data;
The PCM format data is transmitted into a transmission unit and is transmitted in a USB bus by 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 acoustic acquisition instrument driven by ASIO;
The sound card driving software identifies the PCM format data; the sound card driving software is installed at the computer end; the transmission delay from the USB transmission unit to the sound card driving software is 1ms to 5ms;
When the PCM format data is 16-bit format data, the sound card driving software decodes the PCM format data and stores and analyzes the PCM format data;
When the PCM format data is 24-bit format data, the sound card driving software drives the first type format data packet of the USB bus to unpack twice, unpacks the first type format data packet into 2 16-bit format data, then re-stores the second type format data into 24-bit PCM format data, and then stores and analyzes the 24-bit format data.
2. The method of claim 1, wherein the digital signal is 16-bit format data or 24-bit format data.
3. The method of claim 1, wherein the audio processing module is a digital audio processor that buffers the digital signal prior to data conversion according to PCM format.
4. The method of claim 1, wherein the transmission unit is a ASIO protocol USB transmission unit for transmitting the PCM format data into the USB bus.
5. The method of claim 1, wherein the first type of format data packet is a 16-bit format data packet.
6. The method of claim 1, wherein the sound card driver is ASIO driver, the ASIO driver being capable of interacting with the transmission unit.
7. The method of claim 6, comprising ASIO driver software comprising ASIO channels, the ASIO channels comprising a plurality of hardware channels and a plurality of virtual channels.
8. The method of claim 7, wherein the ASIO lanes are up to 60 lanes.
9. The method of any one of claims 1-8, wherein the analog-to-digital conversion module is an ADC analog-to-digital conversion module capable of collecting a plurality of the acoustic signals and converting the acoustic signals to digital signals.
CN202210475768.9A 2022-04-29 2022-04-29 ASIO low-delay acoustic acquisition method Active CN115103286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210475768.9A CN115103286B (en) 2022-04-29 2022-04-29 ASIO low-delay acoustic acquisition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210475768.9A CN115103286B (en) 2022-04-29 2022-04-29 ASIO low-delay acoustic acquisition method

Publications (2)

Publication Number Publication Date
CN115103286A CN115103286A (en) 2022-09-23
CN115103286B true CN115103286B (en) 2024-09-27

Family

ID=83287155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210475768.9A Active CN115103286B (en) 2022-04-29 2022-04-29 ASIO low-delay acoustic acquisition method

Country Status (1)

Country Link
CN (1) CN115103286B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1049998A (en) * 1996-08-05 1998-02-20 Sony Corp Data converting method, recording method, recording device and recording and reproducing device
CN111756764A (en) * 2020-05-11 2020-10-09 深圳市魅鸟科技有限公司 Audio signal interaction method and system based on WiFi

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56149844A (en) * 1980-04-23 1981-11-19 Nippon Television Kogyo Kk Signal encoding transmission equipment
US5956674A (en) * 1995-12-01 1999-09-21 Digital Theater Systems, Inc. Multi-channel predictive subband audio coder using psychoacoustic adaptive bit allocation in frequency, time and over the multiple channels
JP3576007B2 (en) * 1998-10-09 2004-10-13 松下電器産業株式会社 Audio-video editing system
JP4086073B2 (en) * 1999-09-29 2008-05-14 日本ビクター株式会社 Signal processing apparatus and transmission method
US7236836B1 (en) * 1999-09-29 2007-06-26 Victor Company Of Japan, Ltd. System for signal processing and signal transmission
JP2004094815A (en) * 2002-09-03 2004-03-25 Sony Corp Apparatus, method and program for recording and/or reproduction, recording medium, electronic apparatus, control method and program for recording and/or reproducing apparatus
CN1324466C (en) * 2002-12-09 2007-07-04 联想(北京)有限公司 Softwared sound intercepting method based on Windows system
JP2005151473A (en) * 2003-11-19 2005-06-09 Sony Corp Digital audio transmission system and digital audio transmission apparatus and method
JP2004158183A (en) * 2003-12-26 2004-06-03 Victor Co Of Japan Ltd Digital audio disk and reproducing device
CN100507826C (en) * 2007-01-31 2009-07-01 北京中星微电子有限公司 A kind of audio output method and system
US8879895B1 (en) * 2009-03-28 2014-11-04 Matrox Electronic Systems Ltd. System and method for processing ancillary data associated with a video stream
US8989884B2 (en) * 2011-01-11 2015-03-24 Apple Inc. Automatic audio configuration based on an audio output device
KR20140131734A (en) * 2013-05-06 2014-11-14 주식회사 아이리버 Method for reproducing high-quality sound source on PC
TWI631835B (en) * 2014-11-12 2018-08-01 弗勞恩霍夫爾協會 Decoder for decoding a media signal and encoder for encoding secondary media data comprising metadata or control data for primary media data
CN106328165A (en) * 2015-06-30 2017-01-11 芋头科技(杭州)有限公司 Robot autologous sound source elimination system
CN109815510A (en) * 2017-11-21 2019-05-28 长沙闽壹湖电子科技有限责任公司 A kind of audio collection analyzer based on sound card and signal generator design
US11361772B2 (en) * 2019-05-14 2022-06-14 Microsoft Technology Licensing, Llc Adaptive and fixed mapping for compression and decompression of audio data
WO2021049181A1 (en) * 2019-09-10 2021-03-18 ソニー株式会社 Transmission device, transmission method, reception device, and reception method
CN111338596B (en) * 2020-02-21 2023-04-11 北京瑞森新谱科技股份有限公司 High dynamic range sound card analog signal data acquisition system and method
CN112929805B (en) * 2021-01-20 2022-09-30 无锡清耳话声科技有限公司 Real ear analysis system and test method based on digital acquisition

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1049998A (en) * 1996-08-05 1998-02-20 Sony Corp Data converting method, recording method, recording device and recording and reproducing device
CN111756764A (en) * 2020-05-11 2020-10-09 深圳市魅鸟科技有限公司 Audio signal interaction method and system based on WiFi

Also Published As

Publication number Publication date
CN115103286A (en) 2022-09-23

Similar Documents

Publication Publication Date Title
CN203038273U (en) Multifunctional data acquisition card
CN102832968B (en) Method for performing communication between mobile phone and equipment by using audio interface
WO1999046886A3 (en) Off-line broadband network interface
KR100932904B1 (en) Modem performance analysis device and method, and function test method of modem performance analysis device
US20200233632A1 (en) Analogue-Digital Converter
WO2005024641B1 (en) Multi-interface data acquisition system and method for use thereof
EP0273820A3 (en) Data compression apparatus and method for data recorder
CN109215666A (en) Intelligent Supports Made, the transmission method of audio signal, human-computer interaction method and terminal
CN115103286B (en) ASIO low-delay acoustic acquisition method
CN110445676A (en) A kind of data monitoring system, method, apparatus and computer readable storage medium
CN101650946A (en) Audio compression method of audio collection card applied to aeronautical data recorder
CN101697249A (en) Method and device for decoding infrared remote control signals
US20190361664A1 (en) Robot and speech interaction recognition rate improvement circuit and method thereof
CN111107284A (en) Real-time generation system and generation method for video subtitles
CN1422007A (en) Receiving circuit for receiving information signal
US20200387338A1 (en) Detection method and detection device for audio signal
US20030204277A1 (en) 1/8" Stereo jack dual SPDIF
CN103400092A (en) Surface acoustic wave reader receiving link structure based on amplitude code and working method thereof
CN218446657U (en) USB acoustic test compound device
CN216217220U (en) Double-channel video and audio acquisition and recording equipment for sonar system
CA2341000A1 (en) Tdd emulator for a personal computer having a sound card
CN210722454U (en) SOC embedded type integrated digital noise reduction system
CN216673050U (en) Telephone set
US8346984B2 (en) Apparatus and method for intelligent analysis of device compatibility and adaptive processing of multimedia data
KR100349329B1 (en) Method of processing of MPEG-2 AAC algorithm

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant