Question

In: Computer Science

a. what is digital code b. explain why different types of codes are used to encode...

a. what is digital code

b. explain why different types of codes are used to encode and decode data

c. discuss the reasons why hybrid codecs might be chosen over source codecs in voice over internet protocol communications

Solutions

Expert Solution

a. What is digital code

Digital coding is the process of using binary digits to represent letters, characters and other symbols in a digital format. There are several types of digital codes widely used today, but they use the same principle of combining binary numbers to represent a character.

b. Explain why different types of codes are used to encode and decode data

URL Encoding

URLs can only be sent over the Internet using the ASCII character-set and there are instances when URL contains special characters apart from ASCII characters, it needs to be encoded. URLs do not contain spaces and are replaced with a plus (+) sign or with %20.

ASCII Encoding

The Browser (client side) will encode the input according to the character-set used in the web-page and the default character-set in HTML5 is UTF-8.

In communications and information processing, code is a system of rules to convert information—such as a letter, word, sound, image, or gesture—into another form or representation, sometimes shortened or secret, for communication through a communication channel or storage in a storage medium. An early example is the invention of language, which enabled a person, through speech, to communicate what they saw, heard, felt, or thought to others. But speech limits the range of communication to the distance a voice can carry, and limits the audience to those present when the speech is uttered. The invention of writing, which converted spoken language into visual symbols, extended the range of communication across space and time.

The process of encoding converts information from a source into symbols for communication or storage. Decoding is the reverse process, converting code symbols back into a form that the recipient understands, such as English or/and Spanish.

C. Discuss the reasons why hybrid codecs might be chosen over source codecs in voice over internet protocol communications

Hybrid coding is an intermediate between waveform and source coding. Analysis-by-Synthesis (AbS) coding, which is performed in time domain, is the most famous type of hybrid coding. AbS codecs operate exactly as vocoders (source coding), but instead of using only two-state voiced-unvoiced model to determine the parameters of the linear prediction filter, the excitation signal is chosen by attempting to match the reconstructed speech waveform approximately the same as the original speech waveform. The speech signal is split into 20ms frames. For each frame, parameters are determined for a synthesis filter, and then the excitation to this filter is determined. This is done by finding the excitation signal which when passed into the given synthesis filter minimizes the error between the input speech and the reconstructed speech. Finally, for each frame, the encoder transmits information representing the synthesis filter parameters and the excitation to the decoder, and at the decoder the given excitation is passed through the synthesis filter to give the reconstructed speech. There are several types of AbS codecs. We can cite Multi-Pulse Excited (MPE), Regular-Pulse Excited (RPE), and the Code-Excited Linear Predictive (CELP) codecs. MPE and RPE codecs give good quality at rates of about 10 Kbps. CELP codecs can give the same quality at rates in the range 2.4 and 10 Kbps.


Related Solutions

What is digital evidence? Explain the types of evidence. What is digital evidence? Explain the types...
What is digital evidence? Explain the types of evidence. What is digital evidence? Explain the types of evidence.
Describe the different types of data. Explain what they are, what they are used for, and...
Describe the different types of data. Explain what they are, what they are used for, and how are they used in the Health Information Management department, as well as the healthcare industry.
Describe the different types of data. Explain what they are, what they are used for, and...
Describe the different types of data. Explain what they are, what they are used for, and how are they used in the Health Information Management department, as well as the healthcare industry.
Discuss and describe the different types of data. Explain what they are, what they are used...
Discuss and describe the different types of data. Explain what they are, what they are used for, and how are they used in the Health Information Management department, as well as the healthcare industry.
State why different types of media are used for different microorganisms
State why different types of media are used for different microorganisms
What is code linkage in claim creation? Why is it important to ensure that codes are...
What is code linkage in claim creation? Why is it important to ensure that codes are linked appropriately? What are the consequences of failing to perform code linkage?
a.) What are the two main types of TTT diagrams that are widely used? b.) Why...
a.) What are the two main types of TTT diagrams that are widely used? b.) Why do isothermal TTT diagrams exhibit such a characteristic C- shape for diffusional transformations? c.) Which influence do alloying elements have on the transformation behaviour of steels? d.) Why should TTT diagrams always include the austenitisation parameters?
What are the types of detectors used in the digital radiography? (talk about CR and DR)
What are the types of detectors used in the digital radiography? (talk about CR and DR)
1. What are the different types of factor analysis and what are they used for in...
1. What are the different types of factor analysis and what are they used for in statistics?
Discuss viral vaccines and the advantages and disadvantages of different types. Explain the different strategies used...
Discuss viral vaccines and the advantages and disadvantages of different types. Explain the different strategies used to control viral infections through immunisation. a) Review the different types of viral vaccines and their advantages and disadvantages. Provide examples of the different types. (50%) b) Discuss, using details of named examples, how drugs can be used to treat viral infections (50%)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT