Supercharge Your Innovation With Domain-Expert AI Agents!

Method for judging format of linear pulse-code modulation data

A technology of pulse code modulation and data format, which is applied in speech analysis, instruments, etc., and can solve problems such as incorrect reading of data content, misoperation, and incorrect interpretation of data format.

Inactive Publication Date: 2014-03-26
MSTAR SOFTWARE R&D (SHENZHEN) LTD +1
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Assuming that the read-in data content is 0x12345678, when writing it into the memory space from 0x0000 to 0x0003, if the processing developed by MIPS Technologies (MIPS Technologies, MIPS for short) using big-endian Write to the device, the data content will be stored in order from low address to high address 0x012, 0x34, 0x56, 0x78, if the data is recorded in the storage device (for example: optical disc) according to this order, but when reading, But use the Intel (Intel) processor for access in little-endian format, which will result in the read-out data sequence being 0x78, 0x56, 0x34, 0x12, resulting in incorrect reading of the data content
[0014] The current commonly used technology often adopts a conventional method for this type of problem. For example, the default storage format of the system is big-endian, so when accessing data, all linear pulse code modulation data is processed in big-endian format. Play, but this way contains the risk of misinterpreting the data format, especially when the network is widely used and its data sources are different, resulting in different data formats. Misoperations are also emerging in an endless stream

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 for judging format of linear pulse-code modulation data
  • Method for judging format of linear pulse-code modulation data
  • Method for judging format of linear pulse-code modulation data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] See figure 2 , which is a flow chart of the data format judging method proposed by the present invention. The present invention is aimed at the data format judgment of linear pulse code modulation data, and the judgment process mainly includes the following steps:

[0028] First read a plurality of bytes in the linear pulse code modulation data (step S21); then perform a preset calculation on the read byte data, and obtain the data of the linear pulse code modulation data through the preset calculation characteristic (step S22 ); and judging whether the data format of the linear pulse code modulation data is big endian or little endian according to the data characteristic obtained from the preset calculation result (step S23 ).

[0029] When the present invention is actually applied, the source used to provide the original audio data may be the files provided by non-volatile storage devices such as optical discs, hard disks or flash memory, or the data received from t...

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 invention relates to a method for judging a data format. The method is applied to linear pulse-code modulation data, and comprises the following steps: reading a plurality of bytes in the linear pulse-code modulation data; performing preset calculation on the bytes to obtain a data feature; judging the format of the linear pulse-code modulation data according to the data feature.

Description

technical field [0001] The present invention relates to a method for judging the data format of the linear pulse code modulation, in particular to a method for judging the data format of the linear pulse code modulation according to the data characteristics of the data content of the linear pulse code modulation. Background technique [0002] Pulse-Code Modulation (PCM) is a way to digitize analog audio signals. PCM data is uncompressed, so the sound quality is higher than that of general digital compressed audio files, such as the common MPEG Audio Layer III, referred to as MP3 better. [0003] Pulse code modulation data can be further divided into linear and nonlinear PCM formats according to different sampling intervals. The former is called Linear Pulse-Code Modulation (LPCM for short), which uses a fixed sampling interval to sample and encode analog sound signals; the latter is called nonlinear pulse-code modulation ( Non-linear Pulse-Code Modulation, referred to as N...

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): G10L19/008
Inventor 连矩锋
Owner MSTAR SOFTWARE R&D (SHENZHEN) LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More