Real-time listening processing method suitable for audio data stream with any sampling rate

文档序号:719641 发布日期:2021-04-16 浏览:9次 中文

阅读说明:本技术 一种适应任意采样率音频数据流的实时收听处理方法 (Real-time listening processing method suitable for audio data stream with any sampling rate ) 是由 吴晶晶 彭玲 芮功兵 于 2020-12-03 设计创作,主要内容包括:本发明在国内首次提出了一种适应任意采样率音频数据流的实时收听处理方法,首次在水面舰声纳系统中实现。一般通用声卡可选的采样率为一组固定频率。而声纳系统中各个声纳的数字音频采样率各不相同,尤其是型号较早的声纳更未采用标准频率。因此,通用声卡很难直接应用于声纳系统的音频收听。本方法将不同采样率的声纳数字音频进行变采样处理,生成同一种采样率的数字音频,再由通用音频处理器转换输出收听信号,实现192kHz内任意采样率的数字音频的实时收听。本发明在声纳音频收听处理方面有较好的应用前景。(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.)

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.

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.

5页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于变声能力的人机接力服务方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!