Write a matlab program to analyze a speech file

Assignment Help Other Subject
Reference no: EM131081115

1. Which of the following functions cannot be a valid autocorrelation function? Explain your reason for all.
(a) Rx(τ ) = 2e-τ2, -∞ < τ < ∞
(b) Rx(τ ) = |τ |e-|τ|, -∞ < τ < ∞
(c) Rx(τ ) = ( sin(πτ)πτ)2, -∞ < τ < ∞
(d) Rx(τ ) = (0.2cos(3πτ ))3, -∞ < τ < ∞

2. Write a MATLAB program to analyze a speech file and simultaneously, on one page, plot the following measurements.
1. The entire speech waveform (x-axis in seconds)
2. The short-time energy, Enˆ
3. The short-time magnitude, Mnˆ
4. The short-time zero-crossing, Znˆ

Use the speech waveform in file timit samples/mdab0/sx229.wav to test your program. Choose appropriate frame size (L), frame shift (R), and window type (Hamming, rectangular) for the analysis. Explain your choice of these parameters. Provide your MATLAB program in an ".m" file as your answer.

3. Write a MATLAB program to compute the two variants of the short-time autocorrelation as we defined in Lecture 7, namely: short-time autocorrelation and modified short-time autocorrelation.

(a) For this exercise you will have to specify the frame length, L, and the maximum number of autocorrelation points, K. Compare the short-time autocorrelation estimates from the two variants for several voiced regions. Which short-time autocorrelation estimate would be
better for pitch period detection, and why?

(b) Try to estimate a suitable threshold for selecting the peak autocorrelation in voiced regions, which would be appropriate for pitch detection. By processing speech file (you may use sx229.wav) on a frame-by-frame basis, determine the pitch contour of the speech file based on detecting peak of the autocorrelation function. You may decide a voiced speech if the peak is over the threshold, or an unvoiced speech if the peak is under the threshold.

You may plot detected pitch values for voiced frames. Which variant of the autocorrelation function works better?

Reference no: EM131081115

Questions Cloud

Behavior of an accounting firm : Name the grand strategy you believe to most fit the behavior of an accounting firm (consult text and research for definition of terms). Explain your answer. Is this strategy choice effective? Why or why not?
Approach ethical dilemmas differently moving forward : Upload a clear and succinct two-page assessment/critique of the book. Make sure that the majority of your writing focuses on what you particularly learned from the book and how you will or will not approach ethical dilemmas differently moving forw..
Series and parallel inductive reactive circuits : Repeat the operations from Week 3 and Week 5 Labs.  Capture a screenshot of the output of the analysis to confirm your calculations in complex form.  Create a table of expected and measured results.
Address for steven bickel plumbing and heating : Give the address for Steven Bickel Plumbing and Heating. Is this business accredited by the BBB?  If not, what are some of the possible reasons this business has yet to seek accreditation?
Write a matlab program to analyze a speech file : Use the speech waveform in file timit samples/mdab0/sx229.wav to test your program. Choose appropriate frame size (L), frame shift (R), and window type (Hamming, rectangular) for the analysis. Explain your choice of these parameters. Provide your ..
Determine the average time customer spends in the system : Suppose we know that the average number of customers present in a queuing system is 10 and the average number of customers waiting in line is 4. Given that the average number of arrivals entering the system per hour is 20, determine the average time ..
Prove that f is monotonic : Let f be a real-valued continuous function. Recall that for any subset S ⊆ R, then f(S) is defined as {f(x) : x ∈ S}. Suppose that f(I) is open for any open interval I. Prove that f is monotonic
Find the eigenvector corresponding to the eigenvalue : Find the eigenvector corresponding to the eigenvalue
Explain how the words karma and reincarnation are connected : Explain how the words, "karma," "reincarnation," and "samsara" are connected in meaning. Do not simply define the three words, but demonstrate how their meanings intersect. (Write about 50-100 words in length).

Reviews

Write a Review

 

Other Subject Questions & Answers

  Investigate individual who are prominent within organization

The Global Climate Coalition, for example, ran a multi-million dollar ad campaign in the late 1990s arguing that the Kyoto Protocol would severely undermine the U.S. economy. Find out what you can about the now-disbanded Global Climate Coalition.

  Compare and contrast the main problems with coal petroleum

compare and contrast the main problems with coal petroleum and natural gas and discuss ho we try to solve those

  How does the appeal to abraham work

(1) How does the appeal to Abraham work? (2) What type of argument is this and if there is any logic to this argument, how does it proceed? (3) How does this appeal if there is one fit into the immediate context or even into the large context of the ..

  HR person for midwest aviation

You are the HR person for Midwest Aviation, a company that provides private charter flights and maintenance services for private planes. The safety guidelines and regulations require that pilots and maintenance people wear belts, harnasses, and other..

  Both morphine and codeine are analgesics

Both morphine and codeine are analgesics,

  Why do you think mozart never succeeded in obtaining

Why do you think Mozart never succeeded in obtaining a permanent position in a musical establishment?

  Explain the flow of cost in a process costing system

Explain the flow of cost in a process costing system. What do we mean by Equivalent units of production? What do we mean by the term “Contribution Margin?”. Why is it important for a manager to know the location of a break even point?

  What does the statement in a democracy

What does the statement "in a democracy, without the force of law behind them, women are civilly dead to men" mean?

  How nucleotide excision repair is used to correct extensive

Explain how Nucleotide excision repair is used to correct more extensive types of damages?

  How qualitative method use together with quantitative method

Discuss how qualitative methods can be used together with quantitative methods by discussing the logic of mixed methods (in Caracelli& Greene), addressing issues such as ontology and epistemology.

  Write a script and record a tv or radio commercial

For this assignment, demonstrate your understanding of Ren and other key concepts of Confucian ethics by choosing from any of the following options: Write a Poem and Write a script and/or record a TV or Radio Commercial.

  Is the world temporary or eternal good or evil

What is the nature of the world? Is it orderly or chaotic, intelligible or absurd, good or evil (or something else), eternal or finite? What is the nature of human beings? Are we good or evil or amoral?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd