Computer Science 9608 (Notes) Chapter: 1.1 Information representation

Topic: 1.1.5 Compression techniques Lossy and Lossless Compression 35T

We have seen the various ways that you can reduce the size of files, we have also seen that humans have a limit to the frequencies that they can perceive, so what sampling rate would be needed to only store the samples that humans can perceive. The full range of human hearing is between 20 Hz and 20 kHz. As you can see we have some serious issues with the size of sound files. Take a look at the size of a 3 minute pop song recorded at a sample rate of 44kHz and a sample resolution of 16 bits. 44,000 * 16 * 180 = 126 720 000 bits (roughly 15 MB) As you are probably aware an mp3 of the same length would be roughly 3Mb, a fifth of the size. So what gives? It is easy to see that the raw file sizes for sounds are just too big to store and transmit easily, what is needed it a way to compress them. 31TU

U0T31

0T

Lossless Lossless compression - compression doesn't lose any accuracy and can be decompressed into an identical copy of the original audio data 0T

0T

WAV files don't involve any compression at all and will be the size of files that you have calculated already. There are lossless compressed file formats out there such as FLAC which compress the WAV file into data generally 50% the original size. To do this it uses run length encoding (RLE), which looks for repeated patterns in the sound file, and instead of recording each pattern separately, it stores information on how many times the pattern occurs in a row. Let us take a hypothetical set of sample points: 31TU

U0T31

0T

0T

0T

0T31U

0T31U

U0T31

0T

U31T

0000000000000000000001234543210000000000000000000123456787656789876 As you can see the silent area takes up a large part of the file, instead of recording these individually we can set data to state how many silent samples there are in a row, massively reducing the file size: (21-0)123454321(17-0)123456787656789876 Another technique used by FLAC files is Linear prediction. 0T

0T31U

U31T

Lossy FLAC files are still very large, what is needed is a format that allows you to create much smaller file sizes that can be easily stored on your computer and portable music device, and easily transmitted across the internet. Lossy compression - compression loses file accuracy, generally smaller than lossless compression 0T

0T

As we have already seen, to make smaller audio files we can decrease the sampling rate and the sampling resolution, but we have also seen the dreadful effect this can have on the final sound. There are other Page 1 of 2

Computer Science 9608 (Notes) Chapter: 1.1 Information representation

Topic: 1.1.5 Compression techniques clever methods of compressing sounds, these methods won't let us get the exact audio back that we started with, but will be close. This is lossy compression. There are many lossy compressed audio formats out there including: MP3, AAC and OGG (which is open source). The compression works by reducing accuracy of certain parts of sound that are considered to be beyond the auditory resolution ability of most people. This method is commonly referred to as perceptual coding. It uses psychoacoustic models to discard or reduce precision of components less audible to human hearing, and then records the remaining information in an efficient manner. Because the accuracy of certain frequencies are lost you can often tell the difference between the original and the lossy versions, being able to hear the loss of high and low pitch tones. 0T

0T31U

U31T

0T

0T31U

U0T31

0T

0T

0T31U

U0T31

0T

0T

0T31U

U31T

Example: Calculating file size for different colour depths All the images above are of the same resolution: 300*225 = 67500 pixels If the first image uses 1 bit to store the color for each pixel, then the image size would be: Number of Pixels x Color Depth = Image Size 67500 * 1 bit = 67,500 bits For the second image uses 2 bits to store the color for each pixel, then the image size would be: Number of Pixels x Color Depth = Image Size 67500 * 2 bit = 135,000 bits

Page 2 of 2

1.1.5 Compression Techniques.pdf

As you can see we have some serious issues with the size of sound files. ... that can be easily stored on your computer and portable music device, and easily ...

312KB Sizes 10 Downloads 246 Views

Recommend Documents

Data Compression
Data Compression. Page 2. Huffman Example. ASCII. A 01000001. B 01000010. C 01000011. D 01000100. E 01000101. A 01. B 0000. C 0001. D 001. E 1 ...

115.pdf
B. z = 3i . C. z = −2 + 3i . D. z = √3 + i . Câu 4. Trong không gian với hệ tọa độ .... 3 . D. R = a . Trang 3/6 - Mã đề thi 115. Page 3 of 6. 115.pdf. 115.pdf. Open.

Oscillatory chest compression device
Jan 14, 2002 - (Commued). 602/ 13. See application ?le for complete search history. ..... F. Ohnsorg, “A Cost Analysis of HighiFrequency Chesti ..... mucous and other secretions to build up in a person's lungs. .... mobile unit shoWn in FIG.

Oscillatory chest compression device
Jan 14, 2002 - (63) Continuation of application No. 08/661,931 ... See application ?le for complete search history. Primary ..... Product Brochure, “Percussionaire® Corporation Presents .... Generator 3 may be con?gured as a mobile unit.

Oscillatory chest compression device
Jan 14, 2002 - N. Gavriely et al., “Gas Exchange During Combined High and LoW Frequency Tidal Volume Ventilation in Dogs,” in. Progress in Respiration ...

ARKIVOC 2016 (ii) 98-115
1. H and. 13. C NMR and analytical data (see Supporting Information). (6R)-4-Oxo-6-phenyltetrahydropyran-2,2-dicarboxylic acid diethyl ester (6a). Purified by.

Lipar_50.103-115.pdf
ком медијуму, него у неком другом који није флуидан“ (Павловић 1964: 265). Зоран Мишић је доживео те слике, иако наизглед неразумљиве,.

115 Employee Compensation.pdf
Page 1 of 2. Appalachian District Health Department. Policy and Procedure. Policy Name. Personnel Policies. Section 100 Approved Date: 1-89. Policy Topic.

115. Ima tutu.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. 115. Ima tutu.pdf.

Protection of compression drivers
maintaining a good degree of protection. 2. Somewhat smaller capacitor values may be required for additional protection in high—pa war sound reinforcement.

Compression
processing sequence in which the dimensional state of the system can be seen to become ..... Bang: when the universe collapses back onto itself. This is a ...

Compression Talk
Retransmission. Extra energy cost. Easier to amortize original energy cost of ... mobile sensors ... But too long => high retransmit cost when packets dropped.

DP 115 Abstract.pdf
not aligned to the school curriculum. Also, revealed from the Nairobi survey is poor record keeping. that resulted in seven percent of the money not reaching the ...

Compression Progress, Pseudorandomness ... - Semantic Scholar
perbolic discounting of future rewards, humans have an additional preference for rewards ... The unifying theme in all of these activities, it is argued, is the active ...

Fractal Image Compression
published by Microsoft Corporation, includes on one ... an iterated function system (IFS), [1]. Use this IFS .... from the fractal file is shown in Figure 3. In Fig-.

Compression only CPR
Mar 31, 2008 - Bystanders who witness the sudden collapse of an adult should activate the emergency medical services (EMS) system and provide ...

Fast k-best Sentence Compression
Oct 28, 2015 - in Eq. 5, or it can be obtained by increasing a ki from a non-zero value ..... down approach on the test data (TOP-DOWN + NSS is the extended ...

115 - Larry Ordu.pdf
Page 2 of 22. Page 3 of 22. 115 - Larry Ordu.pdf. 115 - Larry Ordu.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying 115 - Larry Ordu.pdf. Page 1 of ...

Multimedia Compression Technologies
Feb 1, 2008 - Body. Standard Bit-rate. Application. ITU-T H.261. 192Kbps. ISDN-Phone. ISO. MPEG-1. 1.5Mbps. CD-ROM. ISO. MPEG-2. 4-8Mbps. SDTV ...

1.1.5 Compression Techniques.pdf
Page 1 of 2. Page 1 of 2. Computer Science 9608 (Notes). Chapter: 1.1 Information representation. Topic: 1.1.5 Compression techniques. 35TLossy and Lossless Compression. We have seen the various ways that you can reduce the size of files, we have als

Delibera n. 115 CA 23-4-2015_richiesta_paternich_esperti_eserni.pdf ...
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Delibera n.

man-22\dragon-naturallyspeaking-115-premium-download.pdf ...
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item.