Waveform Coding Techniques For Digital Audio Transmission And Recording

Part A: Implementation of µ-law and A-law Compander

Nonlinear quantizes µ-law and A-law compander in MATLAB

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

A-Low Compander:

This type of non-linear quantization is used in Europe and in which sample bit value is equal to 12 bit. It is defined by an equation which is given below in which A is a compression constant and for Europe value of A is equal to 87.7.

Where x- normalized integer value, and A- compression parameter

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

According to characteristics of this commander when the value of A=1, we investigated that there is no compression in the input waveform [2]. After that A-low has mid-riser at the value origin and it consists of non-zero value. This type of companding is used in the PCM digital audio system and we can use this technique to avoid the problem of aliasing into input data signals.

Figure: A-low compander characteristics

(Source: By Author)

MATLAB code

Data = 2:2:12;

Compressed = compand(data,255,max(data),’mu/compressor’)

Expanded = compand(compressed,255,max(data),’mu/expander’)

Compressed = 1×6

8.1644    9.6394   10.5084   11.1268   11.6071   12.0000

Expanded = 1×6

2.0000    4.0000    6.0000    8.0000   10.0000   12.0000

This type of technique is used by United State and Japan and data bit of this compander is equal to 13 bit. The value μ is given by 255 for US and Japan and it is defined by f(x) which is given below.

According to characteristics of this process at u=0, we detected that the characteristics are linear that shows a uniform quantization. At u= 255, it shows a non- uniform quantization which can be used in the PCM technique. Through this process, we can convert the analog signal into digital signals and we observed that the shape of waveform change according to the value of u.

Figure: Characteristics of Μ-Law Compander

(Source: by author)

Data = 1:5;

Compressed = compand(data,87.6,max(data),’a/compressor’)

Expanded = compand(compressed,87.6,max(data),’a/expander’)

Compressed = 1×5

    3.5296    4.1629    4.5333    4.7961    5.0000

Expanded = 1×5

    1.0000    2.0000    3.0000    4.0000    5.0000

Quantization is a process to convert the analog signal into digital signals and which is used in a digital communication system. The main difference between uniform and non-uniform quantization is that non-uniform quantization has unequal step size. This is an advanced version of uniform quantization which reduced the rate of quantization errors [4]. In any communication system signal or data transfer from a transmitter to a receiver in which input signals are in the form of analog that increases distortion and interference. Therefore, the quantization process is used to convert this signal into digital signals [5].

The first step of this process is to sample the data at given intervals and if the sampling time is Ts than sampling frequency is given by 1/Ts. Next step is that quantization in which signal converts into discrete signals and quantize output depends upon a number of quantization level [5].

Figure: Non-uniform quantization

(Source: Ouyang, Han, Fang and Liu, 2018)

In this process step size change with time which can reduce quantization error and after quantization technique encoding process starts in which signal convert into binary codes [6].

time = linspace(-1,1,1000);

Requirements

Q=4;

Qu = round(time*2^Q)/2^Q;

S =  @(x) sign(x).*sqrt(abs(x));

Sinv =  @(x) sign(x).*(x.^2);

mu = 2^5-1;

S =  @(x) sign(x).*log(1+mu*abs(x))/log(1+mu);

Sinv =  @(x) sign(x).*((1+mu).^abs(x)-1)/mu;

Qnu = sign(time).*Sinv(round(S(abs(time))*2^Q)/2^Q);  

subplot(2,2,1)

plot(time,S(time));

xlabel(‘Sigmoid function’)

subplot(2,2,2)

plot(time,Qu);

xlabel(‘Uniform quantization’)

subplot(2,2,3)

plot(time,Sinv(time));

xlabel(‘Inverse sigmoid function’)

subplot(2,2,4)

plot(time,Qnu);

xlabel(‘Non-uniform quantization’)

(Source: By Author)

Uniform Quantization

Non-Uniform Quantization

Step size is equals

Step sizes are unequal

It is divided into two parts such as mid-tread and mid-rise quantization

Does not categorize

Increase rate of quantization error

Reduce quantization error

(a) Digital Audio Systems

Digital audio is defined as a communication system which is used to communicate with another person through the digital communication system. In which electric signal converts into digital signal where the audio signal is encoded into binary code [6]. Generally, a compact disk is used as a digital audio system in which 16-bit data can be transmitted over 44.1 thousand SPS. In the digital audio system, ADC and DAC both technologies are used and pulse code modulation is a process which is used in digital audio signals. Digital to analog converter is used to convert the digital signal into an analog signal which is in form of the voice signal [6]. DAC is used to reduce distortion and energy losses from input signals and audio power amplifier is a part of the digital system which increases the strength of the input signal.

The bandwidth of speech signal is between 50 Hz and 10 KHz which is very sufficient to transmit the audio signal from transmitter to receiver. In digital communication, any analog signal converts into digital with the help of sampling and quantization process. In digital audio signal first analog signal converted into a digital signal by using analog to digital converter after that encoding process is done and signal transferred from transmitter to receiver [7].

Aliasing is a very big problem in a digital audio system which can be reduced by sampling rate and it is observed that 20 KHz sampling rate is enough to reduce the problem of aliasing into speech signals [7]. In digital audio when an analog signal transmitted from one location to another than many problems can occur like distortion, interference and signal losses and we can avoid this problem by adopting digital communication.

Around 8 bit per sample can be used to achieve voice quality in digital audio because 8-bit data can be easily transmitted in digital communication and bandwidth of speech signal is between 300 Hz and 3.4 KHz. Through which we can avoid many distortion and interferences in speech signals and we can reduce the problem of aliasing in telephone signals [7].

(b) Digital Audio Recording

In digital recording, audio information or data can be received by the transducer and any microphone system and the video signal can be received by camera or another signalling process [8]. In this digital system encoding and decoding processes are used and encoding is used to encode analog signal into digital and decode is used to convert the digital signal into analog.

  • The analog signal transmitted from transmitter to ADC converter
  • ADC system converts the analog signal into digital signal and produces a binary code
  • The sampling rate is used to determine the level of analog signal waveforms
  • After that this binary code transferred from one user to another with the help of the transmitter
  • At the end of receiver digital to analog converter that provides original signal or information [8].

The bandwidth of high-quality audio is between 20 Hz and 20 KHz in this we can produce a high-quality signal and the user can receive more effective data or information [9]. If we use quantization and amplifier process in the digital audio process then we can avoid the problem of aliasing and distortion losses.

The sampling rate of high-quality audio signals is around 44.1 KHz and it is observed that this sampling can be used to reduce the problem of aliasing in digital communication technology [8].

12 bit per sample is enough to produce a high-quality signal and we can use 8 bit per sample for the digital audio signal [9]. 12 bit means we send 12-bit data at a time through which people can increase the overall performance of communication systems.

It is a process which is used to convert one form of the data signal into another form of signal. Analog communication cannot produce an efficient output signal that produces many distortion and interferences [9]. Digital communication is a very popular process which can avoid the problem of analog communication. There are main two methods involve into waveform coding technique such as PCM and DPCM.

PCM is a pulse code modulation which is used to convert the analog waveform into binary code that is 0 and 1 [8]. This technique produces a binary output and it is used in digital communication to avoid the problem of distortion.  

Figure: PCM quantization

(Source: Ouyang, Han, Fang and Liu, 2018)

In this method, the message signal is represented into the form of the analog waveform and in which sampler is used to convert the analog signal into digital waveform after that quantization converts the digital signal into samples.

Figure: PCM process

(Source: Ouyang, Han, Fang and Liu, 2018)

DPCM is a differential pulse code modulation which is an advanced version of PCM and it reduced the problem of aliasing and quantization error.

Figure: DPCM method

(Source: Ouyang, Han, Fang and Liu, 2018)

Figure: DPCM receiver

(Source: Ouyang, Han, Fang and Liu, 2018)

DPCM consist of quantizer and predictor circuit and quantizer is used to divide the digital signal into sample bits. Predictor circuit is used to predict the previous signal that avoids the problem of interference into output signals [10].

References

  1. H. Purnhagen and P., Ekstrand, “Dolby International AB.” Non-uniform parameter quantization for advanced coupling. U.S. Patent Application 15/584,534, 2017.
  2. L., Zhang, X., Pang, O., Ozolins, A., Udalcovs, R., Schatz, U., Westergren, G., Jacobsen, S., Popov, L., Wosinska, S. Xiao and W., Hu, “Digital mobile fronthaul employing differential pulse code modulation with suppressed quantization noise.” Optics Express, 25(25), pp.31921-31936, 2017.
  3. M., Pagan, J. Becker and M., Ortmann, “Evaluation of spike sorting and compression for digitally reconfigurable non-uniform quantization.” In New Circuits and Systems Conference (NEWCAS), 2017 15th IEEE International, 12, pp. 177-180, 2017.
  4. M., Tlili, A., Maalej, M., Ben, M.C., Bali, F., Rivet, D. Dallet and C., Rebai, “Level-crossing ADC modeling for wireless electrocardiogram signal acquisition system.” In the Instrumentation and Measurement Technology Conference Proceedings (I2MTC), 2016 IEEE International, 19, pp. 1-5, 2016.
  5. P.N., Alevizos, X., Fu, N., Sidiropoulos, Y. Yang and A., Bletsas, “Non-uniform directional dictionary-based limited feedback for massive MIMO systems.” In Modeling and Optimization in Mobile, Ad Hoc, and Wireless Networks (WiOpt), 2017 15th International Symposium on, 15, pp. 1-8, 2017
  6. R., Amirtharajan, B.G.P., Reddy, G., Chandramowliswaran, S., Hemamalini, P., Rajalakshmi, G.U. Priyanka and P., Raman, “A novel audio steg for secret communication.” In Communications and Signal Processing (ICCSP), 2014 International Conference on, 12,pp. 251-254, 2014.
  7. S., Ouyang, G., Han, Y. Fang and, W., Liu, “LLR-Distribution-Based Non-Uniform Quantization for RBI-MSD Algorithm in MLC Flash Memory.” IEEE Communications Letters, 22(1), pp.45-48, 2018.
  8. S.S. Joseph and G., Ramu, “Performance evaluation of basic compression methods for different satellite imagery.” Indian Journal of Science and Technology, 8(19), p. 24, 2015.
  9. W.H., Xu, X.H. You and C., Zhang, “Efficient deep convolutional neural networks accelerator without multiplication and retraining.” In Proceedings of IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 18, pp. 1-5, 2018.
  10. X., Ren, H. Feng and K., Shen, “Design of Digital Voice Storage and Playback System.” Current Electronics and Telecommunications, 1(1), pp. 125-167, 2018.

,

What Will You Get?

We provide professional writing services to help you score straight A’s by submitting custom written assignments that mirror your guidelines.

Premium Quality

Get result-oriented writing and never worry about grades anymore. We follow the highest quality standards to make sure that you get perfect assignments.

Experienced Writers

Our writers have experience in dealing with papers of every educational level. You can surely rely on the expertise of our qualified professionals.

On-Time Delivery

Your deadline is our threshold for success and we take it very seriously. We make sure you receive your papers before your predefined time.

24/7 Customer Support

Someone from our customer support team is always here to respond to your questions. So, hit us up if you have got any ambiguity or concern.

Complete Confidentiality

Sit back and relax while we help you out with writing your papers. We have an ultimate policy for keeping your personal and order-related details a secret.

Authentic Sources

We assure you that your document will be thoroughly checked for plagiarism and grammatical errors as we use highly authentic and licit sources.

Moneyback Guarantee

Still reluctant about placing an order? Our 100% Moneyback Guarantee backs you up on rare occasions where you aren’t satisfied with the writing.

Order Tracking

You don’t have to wait for an update for hours; you can track the progress of your order any time you want. We share the status after each step.

image

Areas of Expertise

Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.

Areas of Expertise

Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.

image

Trusted Partner of 9650+ Students for Writing

From brainstorming your paper's outline to perfecting its grammar, we perform every step carefully to make your paper worthy of A grade.

Preferred Writer

Hire your preferred writer anytime. Simply specify if you want your preferred expert to write your paper and we’ll make that happen.

Grammar Check Report

Get an elaborate and authentic grammar check report with your work to have the grammar goodness sealed in your document.

One Page Summary

You can purchase this feature if you want our writers to sum up your paper in the form of a concise and well-articulated summary.

Plagiarism Report

You don’t have to worry about plagiarism anymore. Get a plagiarism report to certify the uniqueness of your work.

Free Features $66FREE

  • Most Qualified Writer $10FREE
  • Plagiarism Scan Report $10FREE
  • Unlimited Revisions $08FREE
  • Paper Formatting $05FREE
  • Cover Page $05FREE
  • Referencing & Bibliography $10FREE
  • Dedicated User Area $08FREE
  • 24/7 Order Tracking $05FREE
  • Periodic Email Alerts $05FREE
image

Services offered

Join us for the best experience while seeking writing assistance in your college life. A good grade is all you need to boost up your academic excellence and we are all about it.

  • On-time Delivery
  • 24/7 Order Tracking
  • Access to Authentic Sources
Academic Writing

We create perfect papers according to the guidelines.

Professional Editing

We seamlessly edit out errors from your papers.

Thorough Proofreading

We thoroughly read your final draft to identify errors.

image

Delegate Your Challenging Writing Tasks to Experienced Professionals

Work with ultimate peace of mind because we ensure that your academic work is our responsibility and your grades are a top concern for us!

Check Out Our Sample Work

Dedication. Quality. Commitment. Punctuality

Categories
All samples
Essay (any type)
Essay (any type)
The Value of a Nursing Degree
Undergrad. (yrs 3-4)
Nursing
2
View this sample

It May Not Be Much, but It’s Honest Work!

Here is what we have achieved so far. These numbers are evidence that we go the extra mile to make your college journey successful.

0+

Happy Clients

0+

Words Written This Week

0+

Ongoing Orders

0%

Customer Satisfaction Rate
image

Process as Fine as Brewed Coffee

We have the most intuitive and minimalistic process so that you can easily place an order. Just follow a few steps to unlock success.

See How We Helped 9000+ Students Achieve Success

image

We Analyze Your Problem and Offer Customized Writing

We understand your guidelines first before delivering any writing service. You can discuss your writing needs and we will have them evaluated by our dedicated team.

  • Clear elicitation of your requirements.
  • Customized writing as per your needs.

We Mirror Your Guidelines to Deliver Quality Services

We write your papers in a standardized way. We complete your work in such a way that it turns out to be a perfect description of your guidelines.

  • Proactive analysis of your writing.
  • Active communication to understand requirements.
image
image

We Handle Your Writing Tasks to Ensure Excellent Grades

We promise you excellent grades and academic excellence that you always longed for. Our writers stay in touch with you via email.

  • Thorough research and analysis for every order.
  • Deliverance of reliable writing service to improve your grades.
Place an Order Start Chat Now
image

Order your essay today and save 30% with the discount code ESSAYHELP