Method for compressing data
First Claim
1. A method for compressing and decompressing analog voice data for storage in a computer memory comprising:
- converting the analog voice data to digital voice data comprising a series of digital numbers;
determining the difference jumps between adjacent numbers in the digital voice data;
assigning a code value to each jump;
grouping the codes into groups of adjacent codes and calculating a single compression number for each group that is unique for any combination of code values in the group;
storing at least the compression numbers as compressed data; and
reading the compressed data and selectively utilizing the stored compression numbers to determine codes of each group.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for compressing and decompressing voice data enables efficient voice storage on small computers. Analog voice data is converted to digital voice data and the difference jumps between adjacent numbers in the digital voice data are measured. In the preferred embodiment, if the value of the jump is within the range +2 to -2, then a code value is assigned to that jump from zero to four where the code value equals the jump value plus two. If the jump value is outside the range, a jump is normally assigned a code value of five. Three adjacent codes are compressed to one code using the formula:
Compression number=6×[6×(code 3)+ code 2] +code 1
and at least this compression number is stored. If one or two of the code values in a group of three code values has a value of five, the actual jump value is stored after the compression number. However, if all jumps in a group of three have an absolute value of greater than two and less than twenty-three, then a second compression option is chosen in which a compression word is generated that will identify the three jump values, and the compression word is stored as part of the compressed data. After the aforementioned compression steps, further compression is performed to eliminate repetitious zeroed jumps. Decompression is accomplished by reading the compressed data, recognizing the compression numbers and compression words and determining the codes and jumps from the compression numbers, the compression words, and the compressed data itself.
-
Citations
8 Claims
-
1. A method for compressing and decompressing analog voice data for storage in a computer memory comprising:
-
converting the analog voice data to digital voice data comprising a series of digital numbers; determining the difference jumps between adjacent numbers in the digital voice data; assigning a code value to each jump; grouping the codes into groups of adjacent codes and calculating a single compression number for each group that is unique for any combination of code values in the group; storing at least the compression numbers as compressed data; and reading the compressed data and selectively utilizing the stored compression numbers to determine codes of each group.
-
-
2. A method for compressing and decompressing analog voice data for storage in a computer memory comprising:
-
converting the analog voice data to digital voice data comprising a series of digital numbers; determining the difference jumps between adjacent numbers in the digital voice data; assigning a code value to each jump where at least some of the code values equal the jump value plus M, M being a selected integer; grouping the codes into groups of three adjacent codes and calculating a single compression number for each group according to the formula;
space="preserve" listing-type="equation">Compression number=N[N(Code
3)+Code 2]+Code 1where N=2 (M+1) and Codes 1, 2 and 3 are three adjacent code values of a group; storing at least the compression numbers as compressed data; and reading the compressed data and selectively utilizing the stored compression numbers to determine codes 1, 2 and 3 of each group. - View Dependent Claims (3, 4, 5, 6, 7, 8)
-
Specification