In this project, Simulink is used. Audio Device block to get signal from microphone. MATLAB Function block to convert signal into freq-domain. Deep Learning Network is used to recognise command. Function-call subsystem blocks are generated from Python and will control keyboard to press "N" and "P", which means PageUp and PageDown for PPT.
Please note, the Deep Learning Network is from MATLAB shipping demo, and it supports 10 different voice commands. Only two of them are used in this project.
How to use
1.install python. I am using version 3.11. Other supported version should work
2.install pyautogui
3.in MATLAB (r2024a or later), double click .mlproj file to extract the Simulink project
4.open test_model.slx and run it
5.open PPT and play slides
6.say "left" for pre-page and "right" for next-page
引用格式
halleyhit (2024). PPT PageUp and PageDown based on voice command (https://www.mathworks.com/matlabcentral/fileexchange/168476-ppt-pageup-and-pagedown-based-on-voice-command), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2024a
与 R2019a 及更高版本兼容
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!common/library
common/script
pyscr_myN/sysobj
pyscr_myP/sysobj
common/library
pyscr_myN/library
pyscr_myP/library
common/doc
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |