Question: MATLAB. Please show the code as well as period and average pitch period. >>xx getaudiodata (audiobject); For example, connect a microphone to your system and

MATLAB. Please show the code as well as period and average pitch period.
 MATLAB. Please show the code as well as period and average
pitch period. >>xx getaudiodata (audiobject); For example, connect a microphone to your

>>xx getaudiodata (audiobject); For example, connect a microphone to your system and record your voice for 5 seconds. Capture the numeric signal data and create a plot (from Mathworks): % Record your voice for 5 seconds rec0bj = audiorecorder (8000, 16, 1); disp ('Start speaking.') recordblocking(recobj, 5) disp'End of Recording % Play back the recording play (recobj); % Store data in double-precision array myRecording = getaudiodata(recObj); % Plot the samples plot (myRecording) In the above, the array myRecording contains the voice data, which can be processed. The recording (or processed results) can be written into a wav file using the aforementioned audiowrite command. For homework, you should record a vowel sound and measure the pitch period of your voice

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!