Data Audio Compression Lossless FLAC Format to Lossy Audio MP3 format with Huffman Shift Coding Algorithm

Size: px
Start display at page:

Download "Data Audio Compression Lossless FLAC Format to Lossy Audio MP3 format with Huffman Shift Coding Algorithm"

Transcription

1 206 Fourth International Conference on Information and Communication Technologies (ICoICT) Data Audio Compression Lossless FLAC Format to Lossy Audio MP3 format with Huffman Shift Coding Algorithm Luthfi Firmansah and Erwin Budi Setiawan 2 Computational Science Department Telkom University Bandung, Indonesia ituphie@gmail.com, 2 setiawanerwinbudi@gmail.com Abstract Nowadays, music has become a necessity. Technology in the field of music itself has been growing rapidly. It can be attested by the improvement of the quality of audio from generation to generation. As well as images and video data, audio data also require compression for storage and for the purposes of accessing the issues in real time. In the audio compression itself is almost similar to image compression, there are two kinds of audio data compression technique, which are lossy and lossless. For daily usage, lossy compression techniques are more widely used because the compression ratio is much larger compared to its original data, and any decline in the quality of audio data cannot be captured by the limitations of the human ear. One algorithm that can be used is Huffman, with the development of its algorithm is called Huffman Shift Coding. Huffman Shift Coding able to change any symbol held on audio data either lossy or lossless. Huffman Shift Coding method that has been tested, average compression ratio - 50% above. But the results of the compression of audio data cannot be played back, but the support of compression application itself. In this research, the author tries to make a compression application that can change the nature of lossless audio data into a lossy, where later the output of the compression process will be smaller in order to save storage issues, and also still can be played in various music players that is currently available. Keyword compression, Huffman Coding, audio, lossless audio, lossly audio I. INTRODUCTION Technology has been developing very rapidly, the human need for entertainment has been greatly improved in terms of quality. Including in the field of audio. The audio quality is good, to be one of satisfaction for the audience. There are so many audio formats available today. One fairly popular audio format is FLAC and MP3. In terms of quality, FLAC obviously better than MP3 [2]. However, in reality digital audio connoisseurs still use audio standard MP3 (MPEG- Audio Layer 3). Where this format is quite popular from the 90s until today. Since it is considered good enough quality, so there are many digital audio connoisseurs still use this MP3 format. If we compare with the MP3 format, FLAC format does take a fairly large room. If an Audio CD-quality audio data using a sampling rate of 44. khz, 6 bits per sample, 2 channel (stereo), then the total storage media audio data per second is about bytes so for the duration of 60 seconds ( minute) required Megabyte, If the average duration of the songs in about 4 minutes, then takes place about 40 Megabytes to store the audio data. This is surely a waste of hard disk storage media [6]. It is necessary compression techniques and specific algorithms. To change from the lossless be lossy, used Huffman algorithm that is widely used for other compression. Huffman algorithm works by coding in the form of data bits to represent the characters. This algorithm is less than the maximum if there are many variations of the symbol. To optimize Huffman algorithm for compression can be used Huffman Shift Coding that will divide into several blocks early symbol. So at this final project will be implemented by Huffman Shift Coding algorithm to perform lossless compression of audio files into audio files lossly while still taking into account the quality of the sound so that it remains a good compression results for the hearing. A. Digital Audio II. BASIC THEORY The voice that we hear everyday is an analog waveform. These waves came from an air pressure around us, which we can hear with the help of the eardrum. Like the image, a digital audio can be broken down into numbers that can then be processed [2]. Digitizing an audio data is performed by measuring a voltage at a lot of points in a vulnerable time, menejermahkan each measurement in the form of numbers and then write down the numbers in a file. This process is called sampling. B. Advantages of digital audio ISBN: (c) 206 IEEE

2 The advantages of digital audio is perfect quality sound production. A perfect reproduction quality in question is its ability to reproduce the audio signal repeatedly without decreasing sound quality. Another advantage of digital audio is resistance to noise (unwanted signals). At the time of data transmission and processing of the electrical components, the analog signal is very easily occur in the form of noise disturbances., Hiss on the tape is one of the examples of the noise in the form of interference at high frequencies [7]. C. FLAC format FLAC or Free Lossless Audio Compression is designed specifically for audio compression and also supports audio streaming and data archival. FLAC is the brainchild of Josh Coalson developed in 999, which he started his FLAC project at Sourceforge site of the famous that with the release of the implementation of the FLAC format. Since then, many developers contribute to improve its implementation of this FLAC []. FLAC format utilizing the high correlation between samples in the audio data. FLAC uses linear prediction to convert the sample into a series of numbers and then called residuals. FLAC produce a compression ratio of 50% to 60%. D. Huffman Shift Coding Algorithm On Shift Huffman Coding, the symbol is divided into several blocks of the same size. Usually the block size is symbols, where k is a positive integer. If k =, then the Shift Huffman Coding Huffman same as Shift Coding Standard. The symbol of the first block to be encoded using Huffman Coding exactly standard. When encodes a symbol of the first block, were also coded symbol hypothesis frequency of occurrence equal to the number of frequency of occurrence of the symbols of the other blocks. The only difference between one block to the next block is then the result of the addition of the prefix encoding the hypothesis symbols used to mark each block. With Huffman Shift Coding algorithm, it could increase the use of less time and average - average length of the code more efficient. Broadly speaking, the following compression algorithms Huffman Coding Shift work:. Source Symbol arranged so that the possibilities that arise from the largest to the smallest. 2. The symbol of the first block will be encoded using Huffman Coding Standard. When encodes a symbol of the first block, were also coded symbol hypothesis frequency of occurrence equal to the number of frequency of occurrence of the symbols of the other blocks. The only difference between one block to the next block is the addition of one or more code prefix result of the encoding symbols to mark each block hypothesis. 3. Symbols hypothesis of Huffman coding, we think of as C.The total number of source symbols are divided into several blocks of symbols of the same size. 4. The second symbol of the code block is coupled with the symbol of all I first block of Huffman Coding. There are differences in the formation of the tree Huffman Coding Shift this. As shown in the following figure. Value : A = 0,4 B = 0,3 C = 0,2 D = 0, Fig.. Huffman Shift Coding process E. FFMPEG So that the output of the compression process can be played, it takes a plugin. One is the use FFMPEG. FFMPEG is a computer program that can record, convert and stream digital audio and video in various formats. FFMPEG is a command line application that consists of a collection of free software libraries. The project was started by Fabrice Bellard, and is currently maintained by Michael Niedermayer [0]. In making this application, FFMPEG itself assists in the compression process in which his later output of the compression process is still playable. Each byte and metadata are also changed by the help of this FFMPEG. FFMPEG also supports streams from layer 3 which is like a standard layer which is owned by MP3. III. SYSTEM DESIGN In this part, the performance of system consist of data preprocessing, training, and testing step. In this research, we used KDD Cup 999 data which is extracted by DARPA (Defense Advanced Research Protects Agency). DARPA make corporation with MIT in collecting data which is consist 4 attribute, attribute class, and 2593 number of record data. In dataset KDD Cup 999, there are 3 nominal attribute, 6 binary nominal attribute, and 32 numerical attribute. It also have 5 class, those are Dos, R2L, U2R, Probe, Normal. A. Preprocessing In this step, we will design an application that can perform data compression is also known as an audiodata compression which has the goal of reducing the size of the data so that in addition to saving storage and easy transfer in

3 the network such as the Internet, for example. For the compression process itself, exclusively to audio files of type FLAC (Free Lossless Audio Codec) and specified output is MP3 only supports a maximum number of channels 2 pieces channel (mono and stereo). In general, an audio file is digital data in the form of representation on the bit '0' and ''. Often in a looping file data or redundancy occurs. All methods of compression compacting against the repetitive data. As is known, the type of compression algorithm is divided into lossless compression and lossy compression. In lossly compression no data is lost but not much after the data is compressed. Data compression lossy compression if returned then the results will not exactly match the original data. In contrast to lossy compression, the lossless compression no data is lost after the compression process and data such as the data can be restored to normal. To start the compression process, the user can press a button Mulai Convert to begin the process of compression of each FLAC files one by one. There will be featuring a special form of application for compression. In order that we process the results of compression can be played back without having to decompress, then in this application is supported by FFMPEG plugin stored in the folder "bin" in the project that we create. The plugin is already a form of execute that easily do the execution of the program. The plugin can easily get it from the official website FFMPEG. Here's the view of the form to do the compression. In the application there is also a feature to analyze a FLAC file. Where the file will display some information and can be played for later analysis. This feature is made in a form different from the main menu, and can be run when we click Analisa File. When the form appears, the main menu can not be used and will look like the picture below. a. System Implementation To make this system, we use Visual Studio 203 applications that run on the Windows operating system. Visual Studio itself until now developed by Microsoft. To run the program, they need to run their media. Both the hardware and software. b. How to Use To run the program, we using Visual Studio 203 that is installed on your computer or on a program AudioConverter.exe located at our destination to save the final result of the source code are made. Here's the view of the application interface Fig. 3. Compression Process form IV. TESTING AND ANALYSIS To find out the results of testing this audio file compression program with Shift Huffman coding algorithms that have been implemented, with the testing for multiple audio file formats FLAC. FLAC is tested having varying sizes and had to be checked against the FLAC file with a high degree of originality. It is expected that output's product still to play well. Checks are carried out by Spectro application that has the look spectrogram and is able to read how much an original audio data with the results of his original recordings. Fig. 2. Main Display

4 Fig. 4. FLAC analysis form The results of testing and training with the depth of the tree to the model can be seen in the Table, Table 2 and Table 3. TABLE I. No IDENTITY DATA AUDIO FLAC FORMAT File Audio Name Originali ty(%) Size (megabyte) Acclaim.flac 72 38,22 2 Almost Easy.flac 73 28,99 3 Scream.flac 74 36,00 4 Dear God.flac 7 46, Shake It Off - Taylor Swift.flac Jealous - Nick Jonas.flac Centuries - Fall Out Boy.flac Animals - Maroon 5.flac Time Of Our Lives Pitbull.flac Ghost - Ella Henderson.flac Elastic Heart Sia.flac Heroes (We Could Be) Alesso.flac I Lived OneRepublic.flac Prayer in C - Lilly Wood.flac She Knows - Ne- Yo.flac TABLE II , , , , , ,68 7 3, ,5 7 28, , ,34 THE COMPRESSION RESULT No File Audio Name Size (megabyte) Compress ion Time (second) Acclaim.mp3 2, Almost Easy.mp3, Scream.mp3 2,9 4 Dear God.mp3 2, Shake It Off - Taylor Swift.mp3, Jealous - Nick Jonas.mp3,68 9 I Centuries - Fall Out Boy.mp3 Animals - Maroon 5.mp3 Time Of Our Lives - Pitbull.mp3 Ghost - Ella Henderson.mp3 Elastic Heart - Sia.mp3 Heroes (We Could Be) - Alesso.mp3 I Lived - OneRepublic.mp3 Prayer in C - Lilly Wood.mp3 She Knows - Ne- Yo.mp3 TABLE III. Audio Name,73 9,74 9,74 0,94 8,96,59 8,78 9,43 7,67 9 COMPARISON COMPRESSION PROCESS After Compression Size (byte) 2 3 Acclaim.flac 2,5,339 2,5,339 2,5,33 Animals - Maroon 5.flac Elastic Heart - Sia.flac,827,558,827,558,827,55 2,060,52 2,060,52 2,060,5 V. CONCLUSION Based on research, it can be concluded as follows:. The processing speed depends not only on the number of audio files in the process, but it also depends on the size of the file and also of how many processes are running at the same time the application is run 2. The process of compression of the application is static. Because although used and tested with the same audio file repeatedly, still have the results out of the same size. 3. The output of this application, can be played in the back with the features contained in this application even though third-party applications because it has a standard audio formats like MP3 stream in general. 4. Range change of audio files tested, have a percentage change of 93.79% and its output becomes 6.2% of the initial size FLAC audio file being tested. REFRENCES [] Solomon, D. (202). Data Compression The Complete Reference : Fourth Edition. Northridge, California: David Solomon. [2] Daryanto, T. (2005). Sistem Multimedia dan Aplikasinya. Yogyakarta: Graha Ilmu. [3] Bagus, Galang Prasetyo (203). Kompresi File Audio Wave Menggunakan Algortima Huffman Shift Coding. Universitas Brawijaya, Malang.

5 [4] Yenny. (2004). Kompresi File Wave Dengan Algoritma Huffman. STMIK Mikroskil, Medan. [5] Xiph.Org Foundation. "FLAC Format". [Online]. Available : [Accessed October, 2nd 204] [6] Benjamin, A. (200). Music Compression Algorithms and Why You Should Care. Alexander Benjamin. [7] Angga, Teknik Kompresi Lossless dan Lossy pada Audio, January 23th 203 [Online]. Available : [Accessed 8 Oktober 204] [8] Adhitama, Gagarin. (2009). Perbandingan Algoritma Huffman dengan Algoritma Shannon-Fano. Institut Teknologi Bandung, Bandung. [9] Wilson, R. (2007). Rancang Bangun Perangkat Lunak Komposer Musik Menggunakan MATLAB. Fakultas Teknik Universitas Indonesia, Depok. [0] Rongshan Yu, X. L. (2004). A Scalable Lossy to Lossless Audio Coder For MPEG-4 Lossless Audio Coding. National University of Singapore, Singapore. [] Hacker, S. Inside the MP3 Codec [Online]. Available : [Accessed October, 22th 204]

CHAPTER 10: SOUND AND VIDEO EDITING

CHAPTER 10: SOUND AND VIDEO EDITING CHAPTER 10: SOUND AND VIDEO EDITING What should you know 1. Edit a sound clip to meet the requirements of its intended application and audience a. trim a sound clip to remove unwanted material b. join

More information

FILE CONVERSION AFTERMATH: ANALYSIS OF AUDIO FILE STRUCTURE FORMAT

FILE CONVERSION AFTERMATH: ANALYSIS OF AUDIO FILE STRUCTURE FORMAT FILE CONVERSION AFTERMATH: ANALYSIS OF AUDIO FILE STRUCTURE FORMAT Abstract JENNIFER L. SANTOS 1 JASMIN D. NIGUIDULA Technological innovation has brought a massive leap in data processing. As information

More information

Fundamental of Digital Media Design. Introduction to Audio

Fundamental of Digital Media Design. Introduction to Audio Fundamental of Digital Media Design Introduction to Audio by Noraniza Samat Faculty of Computer Systems & Software Engineering noraniza@ump.edu.my OER Fundamental of Digital Media Design by Noraniza Samat

More information

Lecture #3: Digital Music and Sound

Lecture #3: Digital Music and Sound Lecture #3: Digital Music and Sound CS106E Spring 2018, Young In this lecture we take a look at how computers represent music and sound. One very important concept we ll come across when studying digital

More information

Digital Communication Prof. Bikash Kumar Dey Department of Electrical Engineering Indian Institute of Technology, Bombay

Digital Communication Prof. Bikash Kumar Dey Department of Electrical Engineering Indian Institute of Technology, Bombay Digital Communication Prof. Bikash Kumar Dey Department of Electrical Engineering Indian Institute of Technology, Bombay Lecture - 26 Source Coding (Part 1) Hello everyone, we will start a new module today

More information

CS 074 The Digital World. Digital Audio

CS 074 The Digital World. Digital Audio CS 074 The Digital World Digital Audio 1 Digital Audio Waves Hearing Analog Recording of Waves Pulse Code Modulation and Digital Recording CDs, Wave Files, MP3s Editing Wave Files with BinEd 2 Waves A

More information

Comparison of Text Data Compression Using Run Length Encoding, Arithmetic Encoding, Punctured Elias Code and Goldbach Code

Comparison of Text Data Compression Using Run Length Encoding, Arithmetic Encoding, Punctured Elias Code and Goldbach Code Comparison of Text Data Compression Using Run Length Encoding, Arithmetic Encoding, Punctured Elias Code and Goldbach Code Kenang Eko Prasetyo 1, Tito Waluyo Purboyo 2, Randy Erfa Saputra 3 Computer Engineering,

More information

Lecture 16 Perceptual Audio Coding

Lecture 16 Perceptual Audio Coding EECS 225D Audio Signal Processing in Humans and Machines Lecture 16 Perceptual Audio Coding 2012-3-14 Professor Nelson Morgan today s lecture by John Lazzaro www.icsi.berkeley.edu/eecs225d/spr12/ Hero

More information

So, what is data compression, and why do we need it?

So, what is data compression, and why do we need it? In the last decade we have been witnessing a revolution in the way we communicate 2 The major contributors in this revolution are: Internet; The explosive development of mobile communications; and The

More information

Inserting multimedia objects in Dreamweaver

Inserting multimedia objects in Dreamweaver Inserting multimedia objects in Dreamweaver To insert a multimedia object in a page, do one of the following: Place the insertion point in the Document window where you want to insert the object, then

More information

Compression; Error detection & correction

Compression; Error detection & correction Compression; Error detection & correction compression: squeeze out redundancy to use less memory or use less network bandwidth encode the same information in fewer bits some bits carry no information some

More information

Compressed Audio Demystified by Hendrik Gideonse and Connor Smith. All Rights Reserved.

Compressed Audio Demystified by Hendrik Gideonse and Connor Smith. All Rights Reserved. Compressed Audio Demystified Why Music Producers Need to Care About Compressed Audio Files Download Sales Up CD Sales Down High-Definition hasn t caught on yet Consumers don t seem to care about high fidelity

More information

Application of Huffman Coding in Lossless Video Compression

Application of Huffman Coding in Lossless Video Compression Application of Huffman Coding in Lossless Video Compression Mahessa Ramadhana - 13511077 Program Studi Teknik Informatika Sekolah Teknik Elektro dan Informatika Institut Teknologi Bandung, Jl. Ganesha

More information

Data Compression. Media Signal Processing, Presentation 2. Presented By: Jahanzeb Farooq Michael Osadebey

Data Compression. Media Signal Processing, Presentation 2. Presented By: Jahanzeb Farooq Michael Osadebey Data Compression Media Signal Processing, Presentation 2 Presented By: Jahanzeb Farooq Michael Osadebey What is Data Compression? Definition -Reducing the amount of data required to represent a source

More information

Export Audio Mixdown

Export Audio Mixdown 26 Introduction The function in Cubase Essential allows you to mix down audio from the program to a file on your hard disk. You always mix down an output bus. For example, if you have set up a stereo mix

More information

A Digital Audio Primer

A Digital Audio Primer Conversion of Sound Wave to Analog Signal A Digital Audio Primer Many people don t care about the technology behind their stereo system. As long as it sounds good and they can press a button and listen

More information

Digital Audio Basics

Digital Audio Basics CSC 170 Introduction to Computers and Their Applications Lecture #2 Digital Audio Basics Digital Audio Basics Digital audio is music, speech, and other sounds represented in binary format for use in digital

More information

AET 1380 Digital Audio Formats

AET 1380 Digital Audio Formats AET 1380 Digital Audio Formats Consumer Digital Audio Formats CDs --44.1 khz, 16 bit Television 48 khz, 16bit DVD 96 khz, 24bit How many more measurements does a DVD take? Bit Rate? Sample rate? Is it

More information

COS 116 The Computational Universe Laboratory 4: Digital Sound and Music

COS 116 The Computational Universe Laboratory 4: Digital Sound and Music COS 116 The Computational Universe Laboratory 4: Digital Sound and Music In this lab you will learn about digital representations of sound and music, especially focusing on the role played by frequency

More information

COLOR IMAGE COMPRESSION USING DISCRETE COSINUS TRANSFORM (DCT)

COLOR IMAGE COMPRESSION USING DISCRETE COSINUS TRANSFORM (DCT) COLOR IMAGE COMPRESSION USING DISCRETE COSINUS TRANSFORM (DCT) Adietiya R. Saputra Fakultas Ilmu Komputer dan Teknologi Informasi, Universitas Gunadarma Jl. Margonda Raya no. 100, Depok 16424, Jawa Barat

More information

Compression; Error detection & correction

Compression; Error detection & correction Compression; Error detection & correction compression: squeeze out redundancy to use less memory or use less network bandwidth encode the same information in fewer bits some bits carry no information some

More information

Multimedia Data and Its Encoding

Multimedia Data and Its Encoding Lecture 13 Multimedia Data and Its Encoding M. Adnan Quaium Assistant Professor Department of Electrical and Electronic Engineering Ahsanullah University of Science and Technology Room 4A07 Email adnan.eee@aust.edu

More information

Data Representation. Reminders. Sound What is sound? Interpreting bits to give them meaning. Part 4: Media - Sound, Video, Compression

Data Representation. Reminders. Sound What is sound? Interpreting bits to give them meaning. Part 4: Media - Sound, Video, Compression Data Representation Interpreting bits to give them meaning Part 4: Media -, Video, Compression Notes for CSC 100 - The Beauty and Joy of Computing The University of North Carolina at Greensboro Reminders

More information

5: Music Compression. Music Coding. Mark Handley

5: Music Compression. Music Coding. Mark Handley 5: Music Compression Mark Handley Music Coding LPC-based codecs model the sound source to achieve good compression. Works well for voice. Terrible for music. What if you can t model the source? Model the

More information

UNDERSTANDING MUSIC & VIDEO FORMATS

UNDERSTANDING MUSIC & VIDEO FORMATS ComputerFixed.co.uk Page: 1 Email: info@computerfixed.co.uk UNDERSTANDING MUSIC & VIDEO FORMATS Are you confused with all the different music and video formats available? Do you know the difference between

More information

Perceptual Coding. Lossless vs. lossy compression Perceptual models Selecting info to eliminate Quantization and entropy encoding

Perceptual Coding. Lossless vs. lossy compression Perceptual models Selecting info to eliminate Quantization and entropy encoding Perceptual Coding Lossless vs. lossy compression Perceptual models Selecting info to eliminate Quantization and entropy encoding Part II wrap up 6.082 Fall 2006 Perceptual Coding, Slide 1 Lossless vs.

More information

Lecture Information Multimedia Video Coding & Architectures

Lecture Information Multimedia Video Coding & Architectures Multimedia Video Coding & Architectures (5LSE0), Module 01 Introduction to coding aspects 1 Lecture Information Lecturer Prof.dr.ir. Peter H.N. de With Faculty Electrical Engineering, University Technology

More information

Image and Video Coding I: Fundamentals

Image and Video Coding I: Fundamentals Image and Video Coding I: Fundamentals Thomas Wiegand Technische Universität Berlin T. Wiegand (TU Berlin) Image and Video Coding Organization Vorlesung: Donnerstag 10:15-11:45 Raum EN-368 Material: http://www.ic.tu-berlin.de/menue/studium_und_lehre/

More information

International Journal of Emerging Technology and Advanced Engineering Website: (ISSN , Volume 2, Issue 4, April 2012)

International Journal of Emerging Technology and Advanced Engineering Website:   (ISSN , Volume 2, Issue 4, April 2012) A Technical Analysis Towards Digital Video Compression Rutika Joshi 1, Rajesh Rai 2, Rajesh Nema 3 1 Student, Electronics and Communication Department, NIIST College, Bhopal, 2,3 Prof., Electronics and

More information

Skill Area 214: Use a Multimedia Software. Software Application (SWA)

Skill Area 214: Use a Multimedia Software. Software Application (SWA) Skill Area 214: Use a Multimedia Application (SWA) Skill Area 214: Use a Multimedia 214.4 Produce Audio Files What is digital audio? Audio is another meaning for sound. Digital audio refers to a digital

More information

08 Sound. Multimedia Systems. Nature of Sound, Store Audio, Sound Editing, MIDI

08 Sound. Multimedia Systems. Nature of Sound, Store Audio, Sound Editing, MIDI Multimedia Systems 08 Sound Nature of Sound, Store Audio, Sound Editing, MIDI Imran Ihsan Assistant Professor, Department of Computer Science Air University, Islamabad, Pakistan www.imranihsan.com Lectures

More information

ITNP80: Multimedia! Sound-II!

ITNP80: Multimedia! Sound-II! Sound compression (I) Compression of sound data requires different techniques from those for graphical data Requirements are less stringent than for video data rate for CD-quality audio is much less than

More information

COS 116 The Computational Universe Laboratory 4: Digital Sound and Music

COS 116 The Computational Universe Laboratory 4: Digital Sound and Music COS 116 The Computational Universe Laboratory 4: Digital Sound and Music In this lab you will learn about digital representations of sound and music, especially focusing on the role played by frequency

More information

Digital Audio. Amplitude Analogue signal

Digital Audio. Amplitude Analogue signal Digital Audio The sounds that we hear are air molecules vibrating in a wave pattern. These sound waves are measured by our ear drums and processed in our brain. As computers are digital machines, sound

More information

The following bit rates are recommended for broadcast contribution employing the most commonly used audio coding schemes:

The following bit rates are recommended for broadcast contribution employing the most commonly used audio coding schemes: Page 1 of 8 1. SCOPE This Operational Practice sets out guidelines for minimising the various artefacts that may distort audio signals when low bit-rate coding schemes are employed to convey contribution

More information

OneClick Video Converter Free Version

OneClick Video Converter Free Version Document No.: OneClickSoftware OneClick Video Converter Free Version OneClick Software Inc. http://www.oneclicksoftware.com Page 1 Pages Order Introduction...Pages 3 Button Preview...Pages 4 How to...pages

More information

Computing in the Modern World

Computing in the Modern World Computing in the Modern World BCS-CMW-7: Data Representation Wayne Summers Marion County October 25, 2011 There are 10 kinds of people in the world: those who understand binary and those who don t. Pre-exercises

More information

15 Data Compression 2014/9/21. Objectives After studying this chapter, the student should be able to: 15-1 LOSSLESS COMPRESSION

15 Data Compression 2014/9/21. Objectives After studying this chapter, the student should be able to: 15-1 LOSSLESS COMPRESSION 15 Data Compression Data compression implies sending or storing a smaller number of bits. Although many methods are used for this purpose, in general these methods can be divided into two broad categories:

More information

Audio for Everybody. OCPUG/PATACS 21 January Tom Gutnick. Copyright by Tom Gutnick. All rights reserved.

Audio for Everybody. OCPUG/PATACS 21 January Tom Gutnick. Copyright by Tom Gutnick. All rights reserved. Audio for Everybody OCPUG/PATACS 21 January 2017 Copyright 2012-2017 by Tom Gutnick. All rights reserved. Tom Gutnick Session overview Digital audio properties and formats ADC hardware Audacity what it

More information

2.4 Audio Compression

2.4 Audio Compression 2.4 Audio Compression 2.4.1 Pulse Code Modulation Audio signals are analog waves. The acoustic perception is determined by the frequency (pitch) and the amplitude (loudness). For storage, processing and

More information

Elementary Computing CSC 100. M. Cheng, Computer Science

Elementary Computing CSC 100. M. Cheng, Computer Science Elementary Computing CSC 100 1 Graphics & Media Scalable Outline & Bit- mapped Fonts Binary Number Representation & Text Pixels, Colors and Resolution Sound & Digital Audio Film & Digital Video Data Compression

More information

Chapter 1. Data Storage Pearson Addison-Wesley. All rights reserved

Chapter 1. Data Storage Pearson Addison-Wesley. All rights reserved Chapter 1 Data Storage 2007 Pearson Addison-Wesley. All rights reserved Chapter 1: Data Storage 1.1 Bits and Their Storage 1.2 Main Memory 1.3 Mass Storage 1.4 Representing Information as Bit Patterns

More information

Lossy compression. CSCI 470: Web Science Keith Vertanen

Lossy compression. CSCI 470: Web Science Keith Vertanen Lossy compression CSCI 470: Web Science Keith Vertanen Digital audio Overview Sampling rate Quan5za5on MPEG audio layer 3 (MP3) JPEG s5ll images Color space conversion, downsampling Discrete Cosine Transform

More information

Audio Fundamentals, Compression Techniques & Standards. Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011

Audio Fundamentals, Compression Techniques & Standards. Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011 Audio Fundamentals, Compression Techniques & Standards Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011 Outlines Audio Fundamentals Sampling, digitization, quantization μ-law

More information

Digital Media. Daniel Fuller ITEC 2110

Digital Media. Daniel Fuller ITEC 2110 Digital Media Daniel Fuller ITEC 2110 Daily Question: Digital Audio What values contribute to the file size of a digital audio file? Email answer to DFullerDailyQuestion@gmail.com Subject Line: ITEC2110-09

More information

Bits and Bit Patterns

Bits and Bit Patterns Bits and Bit Patterns Bit: Binary Digit (0 or 1) Bit Patterns are used to represent information. Numbers Text characters Images Sound And others 0-1 Boolean Operations Boolean Operation: An operation that

More information

Lossless Compression Algorithms

Lossless Compression Algorithms Multimedia Data Compression Part I Chapter 7 Lossless Compression Algorithms 1 Chapter 7 Lossless Compression Algorithms 1. Introduction 2. Basics of Information Theory 3. Lossless Compression Algorithms

More information

CS 335 Graphics and Multimedia. Image Compression

CS 335 Graphics and Multimedia. Image Compression CS 335 Graphics and Multimedia Image Compression CCITT Image Storage and Compression Group 3: Huffman-type encoding for binary (bilevel) data: FAX Group 4: Entropy encoding without error checks of group

More information

Introduction to LAN/WAN. Application Layer 4

Introduction to LAN/WAN. Application Layer 4 Introduction to LAN/WAN Application Layer 4 Multimedia Multimedia: Audio + video Human ear: 20Hz 20kHz, Dogs hear higher freqs DAC converts audio waves to digital E.g PCM uses 8-bit samples 8000 times

More information

3.01C Multimedia Elements and Guidelines Explore multimedia systems, elements and presentations.

3.01C Multimedia Elements and Guidelines Explore multimedia systems, elements and presentations. 3.01C Multimedia Elements and Guidelines 3.01 Explore multimedia systems, elements and presentations. Multimedia Fair Use Guidelines Guidelines for using copyrighted multimedia elements include: Text Motion

More information

Transporting audio-video. over the Internet

Transporting audio-video. over the Internet Transporting audio-video over the Internet Key requirements Bit rate requirements Audio requirements Video requirements Delay requirements Jitter Inter-media synchronization On compression... TCP, UDP

More information

Lecture Information. Mod 01 Part 1: The Need for Compression. Why Digital Signal Coding? (1)

Lecture Information. Mod 01 Part 1: The Need for Compression. Why Digital Signal Coding? (1) Multimedia Video Coding & Architectures (5LSE0), Module 01 Introduction to coding aspects 1 Lecture Information Lecturer Prof.dr.ir. Peter H.N. de With Faculty Electrical Engineering, University Technology

More information

NUMBERS AND DATA REPRESENTATION. Introduction to Computer Engineering 2015 Spring by Euiseong Seo

NUMBERS AND DATA REPRESENTATION. Introduction to Computer Engineering 2015 Spring by Euiseong Seo NUMBERS AND DATA REPRESENTATION Introduction to Computer Engineering 2015 Spring by Euiseong Seo Chapter Goals Distinguish among categories of numbers Describe positional notation Convert numbers in other

More information

A New Compression Method Strictly for English Textual Data

A New Compression Method Strictly for English Textual Data A New Compression Method Strictly for English Textual Data Sabina Priyadarshini Department of Computer Science and Engineering Birla Institute of Technology Abstract - Data compression is a requirement

More information

Mobile Application of Video Watermarking using Discrete Cosine Transform on Android Platform

Mobile Application of Video Watermarking using Discrete Cosine Transform on Android Platform Mobile Application of Video Watermarking using Discrete Cosine Transform on Android Platform Moch Ginanjar Busiri School of Electrical Engineering and Informatics Institut Teknologi Bandung Bandung, Indonesia

More information

WIFI VS BLUETOOTH Bluetooth. Wi-Fi.

WIFI VS BLUETOOTH   Bluetooth. Wi-Fi. TECHNICAL WRITING WIFI VS BLUETOOTH http://www.bfrx.com/wifi-vs-bluetooth/ Bluetooth. Developed in 1994 by telecommunications vendor, Ericsson, Bluetooth has a transmission range of about 30 feet, so it

More information

Keywords Data compression, Lossless data compression technique, Huffman Coding, Arithmetic coding etc.

Keywords Data compression, Lossless data compression technique, Huffman Coding, Arithmetic coding etc. Volume 6, Issue 2, February 2016 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com A Comparative

More information

Linked Structures Songs, Games, Movies Part IV. Fall 2013 Carola Wenk

Linked Structures Songs, Games, Movies Part IV. Fall 2013 Carola Wenk Linked Structures Songs, Games, Movies Part IV Fall 23 Carola Wenk Storing Text We ve been focusing on numbers. What about text? Animal, Bird, Cat, Car, Chase, Camp, Canal We can compare the lexicographic

More information

OCR J276 GCSE Computer Science

OCR J276 GCSE Computer Science Name: Class Teacher: Date: OCR J276 GCSE Computer Science REVISION BOOKLET 2.6 DATA REPRESENTATION Content in J276 GCSE Computer Science: 1.1 Systems Architecture 1.2 Memory 1.3 Storage 1.4 Wireless and

More information

University of Mustansiriyah, Baghdad, Iraq

University of Mustansiriyah, Baghdad, Iraq Volume 5, Issue 9, September 2015 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Audio Compression

More information

Lossy compression CSCI 470: Web Science Keith Vertanen Copyright 2013

Lossy compression CSCI 470: Web Science Keith Vertanen Copyright 2013 Lossy compression CSCI 470: Web Science Keith Vertanen Copyright 2013 Digital audio Overview Sampling rate Quan5za5on MPEG audio layer 3 (MP3) JPEG s5ll images Color space conversion, downsampling Discrete

More information

Multimedia Networking ECE 599

Multimedia Networking ECE 599 Multimedia Networking ECE 599 Prof. Thinh Nguyen School of Electrical Engineering and Computer Science Based on B. Lee s lecture notes. 1 Outline Compression basics Entropy and information theory basics

More information

Engineering Mathematics II Lecture 16 Compression

Engineering Mathematics II Lecture 16 Compression 010.141 Engineering Mathematics II Lecture 16 Compression Bob McKay School of Computer Science and Engineering College of Engineering Seoul National University 1 Lossless Compression Outline Huffman &

More information

DigiPoints Volume 1. Student Workbook. Module 8 Digital Compression

DigiPoints Volume 1. Student Workbook. Module 8 Digital Compression Digital Compression Page 8.1 DigiPoints Volume 1 Module 8 Digital Compression Summary This module describes the techniques by which digital signals are compressed in order to make it possible to carry

More information

DIY Audio Rosanne Hutton, MindCross Training

DIY Audio Rosanne Hutton, MindCross Training www.elearningguild.com DIY Audio Rosanne Hutton, MindCross Training 402 MindCross Training & Consulting DIY Audio Rosanne Hutton MindCross Training 1 Goals and Objectives The goals and objectives of this

More information

2.1 Transcoding audio files

2.1 Transcoding audio files 2.1 Transcoding audio files 2.1.1 Introduction to Transcoding One of the basic tasks you can perform on an audio track is to convert it into another format. This process known as Transcoding, is the direct

More information

Computer Audio Setup Guide

Computer Audio Setup Guide Computer Audio Setup Guide This guide is intended to be used as a quick reference tool for those embarking on their journey into the world of Computer Audio. While there is always more to discuss and discover,

More information

General Computing Concepts. Coding and Representation. General Computing Concepts. Computing Concepts: Review

General Computing Concepts. Coding and Representation. General Computing Concepts. Computing Concepts: Review Computing Concepts: Review Coding and Representation Computers represent all information in terms of numbers ASCII code: Decimal number 65 represents A RGB: (255,0,0) represents the intense red Computers

More information

A Comparative Study of Entropy Encoding Techniques for Lossless Text Data Compression

A Comparative Study of Entropy Encoding Techniques for Lossless Text Data Compression A Comparative Study of Entropy Encoding Techniques for Lossless Text Data Compression P. RATNA TEJASWI 1 P. DEEPTHI 2 V.PALLAVI 3 D. GOLDIE VAL DIVYA 4 Abstract: Data compression is the art of reducing

More information

Lossless Compression of Speech and Audio Signals, and Its Application ( 音声 音響信号の可逆符号化とその応用に関する研究 )

Lossless Compression of Speech and Audio Signals, and Its Application ( 音声 音響信号の可逆符号化とその応用に関する研究 ) Lossless Compression of Speech and Audio Signals, and Its Application ( 音声 音響信号の可逆符号化とその応用に関する研究 ) システム情報工学研究科コンピュータサイエンス専攻 原田登 2017 年 3 月 Abstract Speech and audio coding technologies have broad application,

More information

CS/COE 1501

CS/COE 1501 CS/COE 1501 www.cs.pitt.edu/~lipschultz/cs1501/ Compression What is compression? Represent the same data using less storage space Can get more use out a disk of a given size Can get more use out of memory

More information

Aud-X 5.1 Help.

Aud-X 5.1 Help. Aud-X 5.1 Help www.aud-x.com Overview Aud-X has been engineered as 5.1 channel surround sound CODEC, and is dedicated for the use with Xvid/Divx based movies. It is of course also possible to compress

More information

计算原理导论. Introduction to Computing Principles 智能与计算学部刘志磊

计算原理导论. Introduction to Computing Principles 智能与计算学部刘志磊 计算原理导论 Introduction to Computing Principles 天津大学 智能与计算学部刘志磊 Analog The world is basically analog What does that mean? "Signal" is a varying wave over time e.g. sound as a running example here How Does

More information

VISUAL QUICKSTART GUIDE QUICKTIME PRO 4. Judith Stern Robert Lettieri. Peachpit Press

VISUAL QUICKSTART GUIDE QUICKTIME PRO 4. Judith Stern Robert Lettieri. Peachpit Press VISUAL QUICKSTART GUIDE QUICKTIME PRO 4 Judith Stern Robert Lettieri Peachpit Press Visual QuickStart Guide QuickTime Pro 4 Judith Stern Robert Lettieri Peachpit Press 1249 Eighth Street Berkeley, CA 94710

More information

Binary representation and data

Binary representation and data Binary representation and data Loriano Storchi loriano@storchi.org http:://www.storchi.org/ Binary representation of numbers In a positional numbering system given the base this directly defines the number

More information

Principles of Audio Coding

Principles of Audio Coding Principles of Audio Coding Topics today Introduction VOCODERS Psychoacoustics Equal-Loudness Curve Frequency Masking Temporal Masking (CSIT 410) 2 Introduction Speech compression algorithm focuses on exploiting

More information

IMAGE PROCESSING (RRY025) LECTURE 13 IMAGE COMPRESSION - I

IMAGE PROCESSING (RRY025) LECTURE 13 IMAGE COMPRESSION - I IMAGE PROCESSING (RRY025) LECTURE 13 IMAGE COMPRESSION - I 1 Need For Compression 2D data sets are much larger than 1D. TV and movie data sets are effectively 3D (2-space, 1-time). Need Compression for

More information

Analysis of Parallelization Effects on Textual Data Compression

Analysis of Parallelization Effects on Textual Data Compression Analysis of Parallelization Effects on Textual Data GORAN MARTINOVIC, CASLAV LIVADA, DRAGO ZAGAR Faculty of Electrical Engineering Josip Juraj Strossmayer University of Osijek Kneza Trpimira 2b, 31000

More information

Audio-coding standards

Audio-coding standards Audio-coding standards The goal is to provide CD-quality audio over telecommunications networks. Almost all CD audio coders are based on the so-called psychoacoustic model of the human auditory system.

More information

For Mac and iphone. James McCartney Core Audio Engineer. Eric Allamanche Core Audio Engineer

For Mac and iphone. James McCartney Core Audio Engineer. Eric Allamanche Core Audio Engineer For Mac and iphone James McCartney Core Audio Engineer Eric Allamanche Core Audio Engineer 2 3 James McCartney Core Audio Engineer 4 Topics About audio representation formats Converting audio Processing

More information

Digital Music. You can download this file from Dig Music May

Digital Music. You can download this file from   Dig Music May -1- Digital Music We will cover: Music is sound, but what is sound?? How to make a computer (and some hand-held portable devices) play music. How to get music into a suitable format (e.g. get music off

More information

A Image Comparative Study using DCT, Fast Fourier, Wavelet Transforms and Huffman Algorithm

A Image Comparative Study using DCT, Fast Fourier, Wavelet Transforms and Huffman Algorithm International Journal of Engineering Research and General Science Volume 3, Issue 4, July-August, 15 ISSN 91-2730 A Image Comparative Study using DCT, Fast Fourier, Wavelet Transforms and Huffman Algorithm

More information

Data Representation. Types of data: Numbers Text Audio Images & Graphics Video

Data Representation. Types of data: Numbers Text Audio Images & Graphics Video Data Representation Data Representation Types of data: Numbers Text Audio Images & Graphics Video Analog vs Digital data How is data represented? What is a signal? Transmission of data Analog vs Digital

More information

Networking Applications

Networking Applications Networking Dr. Ayman A. Abdel-Hamid College of Computing and Information Technology Arab Academy for Science & Technology and Maritime Transport Multimedia Multimedia 1 Outline Audio and Video Services

More information

Perceptual coding. A psychoacoustic model is used to identify those signals that are influenced by both these effects.

Perceptual coding. A psychoacoustic model is used to identify those signals that are influenced by both these effects. Perceptual coding Both LPC and CELP are used primarily for telephony applications and hence the compression of a speech signal. Perceptual encoders, however, have been designed for the compression of general

More information

Video Compression An Introduction

Video Compression An Introduction Video Compression An Introduction The increasing demand to incorporate video data into telecommunications services, the corporate environment, the entertainment industry, and even at home has made digital

More information

Volume 2, Issue 9, September 2014 ISSN

Volume 2, Issue 9, September 2014 ISSN Fingerprint Verification of the Digital Images by Using the Discrete Cosine Transformation, Run length Encoding, Fourier transformation and Correlation. Palvee Sharma 1, Dr. Rajeev Mahajan 2 1M.Tech Student

More information

Sound 5 11/21/2016. Use MIDI and understand its attributes, especially relative to digitized audio.

Sound 5 11/21/2016. Use MIDI and understand its attributes, especially relative to digitized audio. Chapter 5 Sound Learning Objectives This lesson looks at audio that can be used in multimedia. At the end of the lesson, the students will be able to: Use sound in a multimedia project. Use MIDI and understand

More information

Part 1 of 4. MARCH

Part 1 of 4. MARCH Presented by Brought to You by Part 1 of 4 MARCH 2004 www.securitysales.com A1 Part1of 4 Essentials of DIGITAL VIDEO COMPRESSION By Bob Wimmer Video Security Consultants cctvbob@aol.com AT A GLANCE Compression

More information

Workshop W14 - Audio Gets Smart: Semantic Audio Analysis & Metadata Standards

Workshop W14 - Audio Gets Smart: Semantic Audio Analysis & Metadata Standards Workshop W14 - Audio Gets Smart: Semantic Audio Analysis & Metadata Standards Jürgen Herre for Integrated Circuits (FhG-IIS) Erlangen, Germany Jürgen Herre, hrr@iis.fhg.de Page 1 Overview Extracting meaning

More information

Introduction to Computer Science (I1100) Data Storage

Introduction to Computer Science (I1100) Data Storage Data Storage 145 Data types Data comes in different forms Data Numbers Text Audio Images Video 146 Data inside the computer All data types are transformed into a uniform representation when they are stored

More information

GCSE Computing. Revision Pack TWO. Data Representation Questions. Name: /113. Attempt One % Attempt Two % Attempt Three %

GCSE Computing. Revision Pack TWO. Data Representation Questions. Name: /113. Attempt One % Attempt Two % Attempt Three % GCSE Computing Revision Pack TWO Data Representation Questions Name: /113 Attempt One % Attempt Two % Attempt Three % Areas of Strength Areas for Development 1. Explain how ASCII is used to represent text

More information

Optical Storage Technology. MPEG Data Compression

Optical Storage Technology. MPEG Data Compression Optical Storage Technology MPEG Data Compression MPEG-1 1 Audio Standard Moving Pictures Expert Group (MPEG) was formed in 1988 to devise compression techniques for audio and video. It first devised the

More information

Image coding and compression

Image coding and compression Image coding and compression Robin Strand Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University Today Information and Data Redundancy Image Quality Compression Coding

More information

Data Storage. Slides derived from those available on the web site of the book: Computer Science: An Overview, 11 th Edition, by J.

Data Storage. Slides derived from those available on the web site of the book: Computer Science: An Overview, 11 th Edition, by J. Data Storage Slides derived from those available on the web site of the book: Computer Science: An Overview, 11 th Edition, by J. Glenn Brookshear Copyright 2012 Pearson Education, Inc. Data Storage Bits

More information

Image compression. Stefano Ferrari. Università degli Studi di Milano Methods for Image Processing. academic year

Image compression. Stefano Ferrari. Università degli Studi di Milano Methods for Image Processing. academic year Image compression Stefano Ferrari Università degli Studi di Milano stefano.ferrari@unimi.it Methods for Image Processing academic year 2017 2018 Data and information The representation of images in a raw

More information

Both LPC and CELP are used primarily for telephony applications and hence the compression of a speech signal.

Both LPC and CELP are used primarily for telephony applications and hence the compression of a speech signal. Perceptual coding Both LPC and CELP are used primarily for telephony applications and hence the compression of a speech signal. Perceptual encoders, however, have been designed for the compression of general

More information

How Analog and Digital Recording and CDs Work Adapted from by Marshall Brain

How Analog and Digital Recording and CDs Work Adapted from  by Marshall Brain How Analog and Digital Recording and CDs Work Adapted from www.howstuffworks.com by Marshall Brain In the Beginning: Etching Tin Thomas Edison is credited with creating the first device for recording and

More information

Basic Compression Library

Basic Compression Library Basic Compression Library Manual API version 1.2 July 22, 2006 c 2003-2006 Marcus Geelnard Summary This document describes the algorithms used in the Basic Compression Library, and how to use the library

More information

EE482: Digital Signal Processing Applications

EE482: Digital Signal Processing Applications Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu EE482: Digital Signal Processing Applications Spring 2014 TTh 14:30-15:45 CBC C222 Lecture 13 Audio Signal Processing 14/04/01 http://www.ee.unlv.edu/~b1morris/ee482/

More information