CN112669862A - Real-time listening processing method suitable for audio data stream with any sampling rate - Google Patents
Real-time listening processing method suitable for audio data stream with any sampling rate Download PDFInfo
- Publication number
- CN112669862A CN112669862A CN202011397265.1A CN202011397265A CN112669862A CN 112669862 A CN112669862 A CN 112669862A CN 202011397265 A CN202011397265 A CN 202011397265A CN 112669862 A CN112669862 A CN 112669862A
- Authority
- CN
- China
- Prior art keywords
- sampling rate
- audio
- data stream
- audio data
- sonar
- 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.)
- Pending
Links
- 238000005070 sampling Methods 0.000 title claims abstract description 56
- 238000003672 processing method Methods 0.000 title claims abstract description 11
- 238000000034 method Methods 0.000 claims abstract description 9
- 238000010586 diagram Methods 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
Abstract
The invention firstly provides a real-time listening processing method suitable for any sampling rate audio data stream in China, and the method is firstly realized in a surface ship sonar system. The sampling rate selectable by a general universal sound card is a set of fixed frequencies. The digital audio sampling rate of each sonar in the sonar system is different, and particularly, the sonar with the earlier model does not adopt the standard frequency. Therefore, the general sound card is difficult to be directly applied to audio listening of a sonar system. The method carries out variable sampling processing on sonar digital audios with different sampling rates to generate digital audios with the same sampling rate, and then a universal audio processor converts and outputs listening signals to realize real-time listening of the digital audios with any sampling rate within 192 kHz. The method has better application prospect in the aspect of sonar audio listening processing.
Description
Technical Field
The invention relates to the field of audio processing, in particular to a real-time listening processing method suitable for audio data streams with any sampling rate.
Background
In the sonar system, the target radiation and the reflected signals are listened to, and the primary identification of the target can be realized. Therefore, the listening audio processing of the sonar is very important. In a modern sonar system, a computer system is generally arranged as a display and control console to realize information display, audio listening and operation control of the whole sonar system. When the computer is used for audio processing, only one set of audio signals with standard sampling rate can be processed. The sample rates supported by computer sound cards are typically 8kHz, 11.025kHz, 12kHz, 16kHz, 22.05kHz, 32kHz, 44.1kHz, 48kHz, 88.2kHz, 96kHz, 176.4kHz and 192kHz, except for which the sample rate computer sound card cannot handle correctly. The sonar systems have different samples of audio signals, and particularly, the sonar of the earlier model does not adopt standard frequency for audio sampling. Therefore, the computer sound card is difficult to be directly applied to audio listening of a sonar system.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a real-time listening processing method suitable for audio data streams with any sampling rate.
The object of the present invention is achieved by the following technical means. A real-time listening processing method suitable for audio data stream with any sampling rate is a variable sampling processing method, and is a new method relative to audio processing of a computer sound card. The requirement of various sonars in a sonar system on audio listening is met. The method comprises the following steps:
(1) receiving an audio data stream with any sampling rate in real time;
(2) carrying out variable sampling processing on the audio data stream according to the specified sampling rate in the data stream;
(3) sending the audio data stream after variable sampling to a general audio processor to generate digital audio with the same sampling rate;
(4) an audio listening signal is output by the general purpose audio processor.
And (2) receiving the audio data stream with any sampling frequency in real time through a standard interface in the step (1).
In the step (2), the audio data stream is subjected to variable sampling processing according to the specified sampling rate in the audio data stream: and (3) performing interpolation by adopting an N-order sinc function to realize variable sampling and generate digital audio with the same sampling rate.
The invention has the beneficial effects that: the method carries out variable sampling on the real-time audio data streams with various sampling rates to generate audio data with the same sampling rate, and then outputs listening signals through the audio processor, thereby realizing real-time listening of digital audio with any sampling rate within 192 kHz. The requirement that each sonar in the sonar system listens to the audio frequency is met by the display and control console.
(1) The audio data with the same sampling rate is generated after variable sampling, so that the requirement of various sonar audio listening in a sonar system can be met;
(2) compared with the audio processing of the computer sound card, the method can widen the application range of the computer sound card.
Drawings
Fig. 1 is a schematic diagram of the present invention.
FIG. 2 is a process flow diagram of the present invention.
Detailed Description
The invention will be described in detail below with reference to the following drawings:
the invention discloses a real-time listening processing method suitable for an audio data stream with any sampling rate, which is firstly realized in a surface ship sonar system. The sampling rate selectable by a general universal sound card is a set of fixed frequencies. The digital audio sampling rate of each sonar in the sonar system is different, and particularly, the sonar with the earlier model does not adopt the standard frequency. Therefore, the general sound card is difficult to be directly applied to audio listening of a sonar system. The real-time audio data streams with various sampling rates are subjected to variable sampling to generate audio data with the same sampling rate, and then a listening signal is output through an audio processor, so that the real-time listening of digital audio with any sampling rate within 192kHz can be realized.
(1) Receiving audio data stream with any sampling frequency in real time through a standard interface (such as Ethernet, PCI bus and the like);
(2) carrying out variable sampling processing on the audio data stream according to the specified sampling rate in the audio data stream: the variable sampling is realized by interpolation by adopting an N-order sinc function, wherein N can be 128 generally, and a proper order can be selected in practice by combining the calculation capability of hardware and the required precision, wherein the higher the order is, the more calculation is required, and the more accurate the result is. y ═ sum (x (i) × sinc (t-i)), i ═ -M/2, -M/2+1, … M/2;
(3) sending the audio data stream after variable sampling to a general audio processor;
(4) an audio listening signal is output by the general purpose audio processor.
It should be understood that equivalent substitutions and changes to the technical solution and the inventive concept of the present invention should be made by those skilled in the art to the protection scope of the appended claims.
Claims (3)
1. A real-time listening processing method adapting to audio data stream with any sampling rate is characterized in that: the method comprises the following steps:
(1) receiving an audio data stream with any sampling rate in real time;
(2) carrying out variable sampling processing on the audio data stream according to the specified sampling rate in the data stream;
(3) sending the audio data stream after variable sampling to a general audio processor to generate digital audio with the same sampling rate;
(4) an audio listening signal is output by the general purpose audio processor.
2. A real-time listening processing method adapted to an audio data stream at an arbitrary sampling rate as recited in claim 1, further comprising: and (2) receiving the audio data stream with any sampling frequency in real time through a standard interface in the step (1).
3. A real-time listening processing method adapted to an audio data stream at an arbitrary sampling rate as recited in claim 1, further comprising: in the step (2), the audio data stream is subjected to variable sampling processing according to the specified sampling rate in the audio data stream: and (3) performing interpolation by adopting an N-order sinc function to realize variable sampling and generate digital audio with the same sampling rate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011397265.1A CN112669862A (en) | 2020-12-03 | 2020-12-03 | Real-time listening processing method suitable for audio data stream with any sampling rate |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011397265.1A CN112669862A (en) | 2020-12-03 | 2020-12-03 | Real-time listening processing method suitable for audio data stream with any sampling rate |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112669862A true CN112669862A (en) | 2021-04-16 |
Family
ID=75401473
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011397265.1A Pending CN112669862A (en) | 2020-12-03 | 2020-12-03 | Real-time listening processing method suitable for audio data stream with any sampling rate |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112669862A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101645273A (en) * | 2009-07-10 | 2010-02-10 | 中国科学院声学研究所 | System for estimating and correcting difference in sampling rates and processing method thereof |
CN103560793A (en) * | 2013-10-30 | 2014-02-05 | 无锡思泰迪半导体有限公司 | Preprocessing method for images before digital-to-analogue conversion and structure thereof |
-
2020
- 2020-12-03 CN CN202011397265.1A patent/CN112669862A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101645273A (en) * | 2009-07-10 | 2010-02-10 | 中国科学院声学研究所 | System for estimating and correcting difference in sampling rates and processing method thereof |
CN103560793A (en) * | 2013-10-30 | 2014-02-05 | 无锡思泰迪半导体有限公司 | Preprocessing method for images before digital-to-analogue conversion and structure thereof |
Non-Patent Citations (2)
Title |
---|
何健标: "任意采样频率转换滤波器的设计与实现", 《计算机与数字工程》 * |
瞿军武等: "高性能异步任意速率采样率转换器", 《中国集成电路》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6508491B2 (en) | Signal processing apparatus for enhancing speech components in multi-channel audio signals | |
CN110089134B (en) | Method, system and computer readable medium for reproducing spatially distributed sound | |
Peterson | Simulating the response of multiple microphones to a single acoustic source in a reverberant room | |
US20230100071A1 (en) | Rendering reverberation | |
CN101202087B (en) | Device and method for testing audio sound-recording | |
CN105261365A (en) | Audio output method and device | |
AU1443901A (en) | Method to determine whether an acoustic source is near or far from a pair of microphones | |
CN101751918A (en) | Novel silencer and noise reduction method | |
CN101192182B (en) | Audio- playback test device and method | |
EP3015996B1 (en) | Filter coefficient group computation device and filter coefficient group computation method | |
Wang et al. | Localization based sequential grouping for continuous speech separation | |
CN112669862A (en) | Real-time listening processing method suitable for audio data stream with any sampling rate | |
KR20070085193A (en) | Noise cancellation apparatus and method thereof | |
JPH0237600B2 (en) | ||
CN111596261B (en) | Sound source positioning method and device | |
CN117242796A (en) | Rendering reverberation | |
EP4284030A3 (en) | Audio signal processing method, audio signal processing apparatus and audio signal processing program | |
Disch | Decorrelation for immersive audio applications and sound effects | |
CN111624554A (en) | Sound source positioning method and device | |
Gaydecki | A versatile real-time deconvolution DSP system implemented using a time domain inverse filter | |
US20230298612A1 (en) | Microphone Array Configuration Invariant, Streaming, Multichannel Neural Enhancement Frontend for Automatic Speech Recognition | |
US8442825B1 (en) | Biomimetic voice identifier | |
Urbanietz et al. | A Physically Motivated Approach for Binaural Simulation of Moving Sound Sources and Receivers | |
ZHANG et al. | Fast echo cancellation algorithm in smart speaker | |
EP4385011A1 (en) | Stft-based echo muter |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210416 |
|
RJ01 | Rejection of invention patent application after publication |