{"id":20382875,"url":"https://github.com/zfb132/humdetection","last_synced_at":"2026-03-08T15:39:07.473Z","repository":{"id":130412508,"uuid":"136455743","full_name":"zfb132/HumDetection","owner":"zfb132","description":"语音信号处理的最终课程项目设计","archived":false,"fork":false,"pushed_at":"2018-06-30T15:47:21.000Z","size":813,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-15T07:57:24.207Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Matlab","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zfb132.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-07T09:41:40.000Z","updated_at":"2024-01-04T17:51:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"59747b76-62fb-42c5-8846-d4d3edcfcdab","html_url":"https://github.com/zfb132/HumDetection","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"210bef10c4538891465fbe3ad87ea8fb4b22b8fc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfb132%2FHumDetection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfb132%2FHumDetection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfb132%2FHumDetection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfb132%2FHumDetection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zfb132","download_url":"https://codeload.github.com/zfb132/HumDetection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241935269,"owners_count":20044826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T02:19:26.318Z","updated_at":"2026-03-08T15:39:07.424Z","avatar_url":"https://github.com/zfb132.png","language":"Matlab","funding_links":[],"categories":[],"sub_categories":[],"readme":"语音哼唱识别及评分系统\n------\n## 1. 功能\n* 识别：对用户输入的一段语音识别得到其频率，经处理后在界面输出旋律，并可以用钢琴来弹奏此旋律\n* 评分：预先设置旋律和节拍，提取处理用户输入的语音文件与设置的旋律及节拍进行对比，根据评分规则输出实际得分\n## 2. 运行环境\nMatlab R2017a、 Windows 10 Professional 1803\n## 3. 使用步骤\n### 3.1 哼唱识别系统\n1. 打开Matlab软件，切换工作目录到`HumDetection`文件夹下\n2. 双击打开文件`HumDetection.m`，在菜单栏中选择`编辑器`，点击`运行`按钮即可正常运行代码（第一次运行时间可能较长，请耐心等待）\n3. 界面加载完毕后，点击`选择文件`按钮，在弹出的窗口中选择`standard1-7.wav`文件，软件会将自动提取到的旋律显示在`识别结果`编辑框里并绘制该语音的时域波形和基频曲线（运行时间可能较长，请耐心等待）\n4. 点击时域波形图后面的`扬声器标志`按钮，你将会听到该语音（**请等待图形的红色指示条移动到最右端再进行其他操作，以下所有播放声音时均要满足此条件**）\n5. 点击`钢琴演奏`按钮，等待系统生成对应的旋律以及基频提取并自动显示在界面上；你可以通过点击此图形后面的扬声器按钮来播放钢琴演奏的声音\n### 3.2 哼唱评分系统\n1. 在上一个实验5的基础上点击`切换评分`按钮（或者打开程序界面后直接点击此按钮）转到评分界面\n2. 首先在`输入旋律`编辑框中输入要指定的旋律 `1 2 3 4`（注意**空格为分隔符**），节奏`1`；点击`选择文件`按钮打开文件`test1234.wav`，等待系统自动显示其时域波形和基频提取；点击右侧扬声器按钮你将听到该语音\n3. 点击`评分对比`按钮，等待系统自动生成理想的钢琴演奏出的旋律以及基频提取显示在图中，且会自动根据内置评分规则弹出提示框显示得分。另外，你可以点击右侧扬声器播放理想钢琴声音\n4. 测试第二个样本，将步骤二中的关键数据改为下面所示，执行步骤2和步骤3  \n    * 旋律\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;`1 1 5 5 6 6 5 4 4 3 3 2 2 1 1 1 5 5 6 6 5 4 4 3 3 2 2 1`\n    * 节奏\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;`11/14`\n    * 文件名\u0026nbsp;`LittleStar.wav`  \n5. 测试第三个样本，对应数据更改为：\n    * 旋律\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;`5 1 5 1`\n    * 节奏\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; `1`\n    * 文件名\u0026nbsp;`test5151.wav`\n### 4. 其他说明\n* 代码整体运行可能较慢，请耐心等待\n* 运行遇到问题可直接在群里私戳我","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzfb132%2Fhumdetection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzfb132%2Fhumdetection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzfb132%2Fhumdetection/lists"}