EssayGhost Assignment代写,Essay代写,网课代修,Quiz代考

EssayGhost-Essay代写,作业代写,网课代修代上,cs代写代考

一站式网课代修,论文代写

高质量的Assignment代写、Paper代写、Report代写服务

EG1hao
网课代修代上,cs代写代考
数据结构代写
您的位置: 主页 > 编程案例 > 数据结构代写 >
代写数据结构:matlab代写Voice Assistant Assignment - Matlab代写, 作业代写, 加拿大代写 - 数据结构代写
发布时间:2021-07-25 11:04:23浏览次数:
100 pointsIn this assignment, you will be designing your own customized voice assistant (“Hey Google”, “Hey Siri” and Now! “Your creative phrase here”). Believe me, it is a very simple implementation. You have all the commands at your disposal to accomplish this task.matlab代写Voice AssistantTraining your voice with Key Phrase [30 points]Script File: run_record_voices.mAt first, begin with the starter code “run_record_voices.m” provided as a part of this assignment. This code is designed in a way that you record five different modulations of the same phrase for instance it could be “Hey Jarvis” and make sure to repeat the same phrase 5 times. Your recording is only for 1.5 seconds; make sure your word does not exceed the duration. Visualize the Key phrase each time you record and observe the plot, re-do the task in case you find any disturbances. Make sure that no disturbances are present in any of those 5 words. Within the loop, written in this code, make sure to apply the function “voice_to_envelopes.m” (provided as a part of this assignment) with input arguments as the trigger_word and100. This function acts like a filter. It converts your voices to envelopes (set the variable name to be training_envelopes). Make sure to store the values of envelope returned by the function in a column of a matrix (training_envelopes). Visualize the envelope for each key phrase. After recording five times, variable training_envelopes would be of size 12000 x 5. Please make sure that your envelope meets these requirements. Now, save the envelopes in a MAT file as shown below.“save training_words training_envelopes”Check the comments in “run_record_voices.m” and Recording Voice Sample.mov (present in resources) for further information.Testing Phase [40 points]Script file: run_test_voices.mCreate a new Script file named “run_test_voices.m”. Make sure to clear workspace before you proceed further. Load the MAT file training_words as mentioned below:“load training_words” This command loads the envelopes you computed in your previous code (training samples). Now, initiate a while loop where you would allow the user to utter phrases for a maximum of three attempts or until he/she says the exact same key phrase [whichever is earlier]. You can copy and paste the code that is present in “run_record_voices.m” to record test words [make sure to assign ‘fs’ as 8000]. Apply voice_to_envelope to each phrase that user utters and save the variable as testing_envelope.testing_envelope=voice_to_envelope(test_audio,100)Compare the similarity by computing the correlation between the testing_envelope with each column of training_envelope. Maximum value of xcorr() provides the similarity measure between 2 envelopes. Input arguments to xcorr() are testing_envelope and training_envelope (one column each time).Hint: You can initiate a ‘for’ loop (for the number of training words) within the ‘while’ loop to compute the similarity between the test envelope and each training envelope.You would have a single similarity value for a given a test phrase from each training word [5 values in total]. If any of those values exceed the threshold (0.9) then you would display to the user that he/she has decoded the password, else you would recommend the user to repeat until he/she meets the maximum number of attempts.Check Test Result Sample #1.mov, Test Result Sample #2.mov and Test Result Sample #3.mov (in resources) for some of the possible results.Report [30 points]Now, write a report about the same. You may include plots you got for your key phrase along with their envelopes. You can include plots of the envelope where the user said something different from the key phrase and when he exactly mentioned the same phrase. You may also study the performance of this algorithm by varying the threshold instead of 0.9 and report the same.Things to be submitted:· run_record_voices.m· run_test_voices.m· training_words.mat· Report最先出自315代写 matlab代写Voice Assistant合作:315代写

所有的编程代写范围:essayghost为美国、加拿大、英国、澳洲的留学生提供C语言代写、代写C语言、C语言代做、代做C语言、数据库代写、代写数据库、数据库代做、代做数据库、Web作业代写、代写Web作业、Web作业代做、代做Web作业、Java代写、代写Java、Java代做、代做Java、Python代写、代写Python、Python代做、代做Python、C/C++代写、代写C/C++、C/C++代做、代做C/C++、数据结构代写、代写数据结构、数据结构代做、代做数据结构等留学生编程作业代写服务。