Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method, device and system for processing audio data

A technology of audio data and processing method, which is applied in the field of information processing, and can solve problems such as sound leakage, inability to meet real-time audio processing systems, coverage, etc.

Active Publication Date: 2017-04-05
HISENSE VISUAL TECH CO LTD
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the capture and reading of audio data are performed in parallel, when the audio data at the position pointed to by the read pointer has not been read, and new audio data is recaptured at this position, it is easy to cause it not to be read. The problem that the audio data is covered by the newly captured audio data leads to the problem of missing and skipping of the sound, which cannot meet the needs of various real-time audio processing systems

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, device and system for processing audio data
  • Method, device and system for processing audio data
  • Method, device and system for processing audio data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] Embodiments of the present invention provide a method for processing audio data, such as figure 1 As shown, the method specifically includes:

[0053] Step 101, acquire audio data.

[0054]The embodiment of the present invention is applied to the field of television systems as an example. Since the existing television pathways include analog pathways, digital pathways and multimedia pathways, the analog pathways include ATV Demod pathways, AV pathways, component pathways, and VGA (English full name: Video Graphics Array , Chinese: Video Graphics Array) channel, digital channel includes HDMI (English full name: High Definition Multimedia Interface, Chinese: High Definition Multimedia Interface) channel, etc.; multimedia channel includes DMP (English full name: Digital Media Player, Chinese: Digital Media Player ), etc., therefore, the audio data may be pulse code modulation (English full name: Pulse Code Modulation, PCM for short) audio data originating from multiple te...

Embodiment 2

[0073] According to the audio data processing method described in Embodiment 1, when using WDMA to capture audio data, it is necessary to initialize WDMA before obtaining the audio data. In addition, because WDMA captures the audio data of the TV channel where it is located, therefore, in the channel After switching, before capturing audio data, it is necessary to initialize the TV channel where it is located, and start capturing audio data after the initialization is completed. Specifically, such as Image 6 As shown, the processing method of the audio data that the embodiment of the present invention provides comprises:

[0074] Step 201, initialize WDMA.

[0075] like Figure 7 As shown, the initialization of WDMA specifically includes:

[0076] 201a. Set the first address of the ring buffer corresponding to WDMA.

[0077] Among them, the audio data captured by WDMA will be temporarily stored in the memory space of the starting address.

[0078] Step 201b, setting the ...

Embodiment 3

[0109] On the basis of Embodiment 1 or Embodiment 2, the embodiment of the present invention also provides a processing method for audio data, such as Figure 9 shown, including:

[0110] Step 301, acquire audio data.

[0111] Step 302. Store the audio data in a buffer, where the buffer includes a write pointer and a read pointer.

[0112] Step 303, detecting whether the difference between the write pointer and the read pointer in the buffer is greater than or equal to a preset threshold.

[0113] If it is detected that the difference between the write pointer and the read pointer in the buffer is equal to the preset threshold, then perform step 304-step 306; if it is detected that the difference between the write pointer and the read pointer in the buffer is not equal to the preset threshold, then Execute step 307-step 309.

[0114] Step 304, if it is detected that the difference between the write pointer and the read pointer in the buffer is greater than or equal to a pre...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a method, a device and a system for processing audio data, which relate to the technical field of information processing and aim at meeting requirements of various real-time audio processing systems while un-played audio data can be prevented from being covered. The audio data processing method comprises steps: audio data are acquired; the audio data are stored in a buffer area, wherein a writing pointer and a reading pointer are included in the buffer area; whether the difference between the writing pointer and the reading pointer in the buffer area is larger than or equal to a preset threshold is detected; if the difference between the writing pointer and the reading pointer in the buffer area is detected to be larger than or equal to the preset threshold, the threshold is triggered to be interrupted, wherein the preset threshold is smaller than the length of the buffer area; and according to the interrupted threshold, the audio data between the reading pointer and the writing pointer are read, and the reading pointer is updated to the position where the writing pointer is. The method is applied to a television system.

Description

technical field [0001] The present invention relates to the technical field of information processing, in particular to an audio data processing method, device and system. Background technique [0002] With the continuous development of electronic technology, existing TVs, computers, and mobile terminals (such as mobile phones, Pads, etc.) all have the function of playing audio data, and in order to realize real-time playback of audio data, it is necessary to continuously capture audio data and Simultaneous reading and playback. [0003] In the prior art, a ring buffer is used to store the captured audio data, wherein the ring buffer includes a write pointer and a read pointer. Start with the first address and continue to store data. However, since the capture and reading of audio data are performed in parallel, when the audio data at the position pointed to by the read pointer has not been read, and new audio data is recaptured at this position, it is easy to cause it not...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04N21/439
CPCH04N21/439H04N21/4392
Inventor 鲁忠辉王强黄昉
Owner HISENSE VISUAL TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products