Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
>>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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started