{"id":13577202,"url":"https://github.com/respeaker/seeed-voicecard","last_synced_at":"2025-12-27T13:38:04.222Z","repository":{"id":37381897,"uuid":"92007918","full_name":"respeaker/seeed-voicecard","owner":"respeaker","description":"2 Mic Hat, 4 Mic Array, 6-Mic Circular Array Kit, and 4-Mic Linear Array Kit for Raspberry Pi","archived":false,"fork":false,"pushed_at":"2023-04-09T15:35:42.000Z","size":1504,"stargazers_count":504,"open_issues_count":22,"forks_count":306,"subscribers_count":52,"default_branch":"master","last_synced_at":"2025-04-05T11:34:38.559Z","etag":null,"topics":["alexa-voice-service","alsa","google-assistant","raspberry-pi","respeaker"],"latest_commit_sha":null,"homepage":"","language":"C","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/respeaker.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}},"created_at":"2017-05-22T03:33:34.000Z","updated_at":"2025-04-04T03:38:48.000Z","dependencies_parsed_at":"2022-07-08T07:39:55.316Z","dependency_job_id":"83797973-4477-45f2-922b-af98312dbf57","html_url":"https://github.com/respeaker/seeed-voicecard","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/respeaker/seeed-voicecard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/respeaker%2Fseeed-voicecard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/respeaker%2Fseeed-voicecard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/respeaker%2Fseeed-voicecard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/respeaker%2Fseeed-voicecard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/respeaker","download_url":"https://codeload.github.com/respeaker/seeed-voicecard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/respeaker%2Fseeed-voicecard/sbom","scorecard":{"id":771964,"data":{"date":"2025-08-11","repo":{"name":"github.com/respeaker/seeed-voicecard","commit":"c52606626de050bdad85803d7e427a64cb0cf05c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: ac108_plugin/libasound_module_pcm_ac108.so:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/stale.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/respeaker/seeed-voicecard/stale.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T02:27:38.850Z","repository_id":37381897,"created_at":"2025-08-23T02:27:38.851Z","updated_at":"2025-08-23T02:27:38.851Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28079318,"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","status":"online","status_checked_at":"2025-12-27T02:00:05.897Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["alexa-voice-service","alsa","google-assistant","raspberry-pi","respeaker"],"created_at":"2024-08-01T15:01:19.195Z","updated_at":"2025-12-27T13:38:04.205Z","avatar_url":"https://github.com/respeaker.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# seeed-voicecard\r\n\r\nThe drivers for [ReSpeaker Mic Hat](https://www.seeedstudio.com/ReSpeaker-2-Mics-Pi-HAT-p-2874.html), [ReSpeaker 4 Mic Array](https://www.seeedstudio.com/ReSpeaker-4-Mic-Array-for-Raspberry-Pi-p-2941.html), [6-Mics Circular Array Kit](), and [4-Mics Linear Array Kit]() for Raspberry Pi.\r\n\r\n### Install seeed-voicecard\r\nGet the seeed voice card source code and install all linux kernel drivers\r\n```bash\r\ngit clone https://github.com/respeaker/seeed-voicecard\r\ncd seeed-voicecard\r\nsudo ./install.sh\r\nsudo reboot\r\n```\r\n\r\n**Note** If you have 64-bit version of Rasperry Pi OS, use install_arm64.sh script for driver installation. \r\n\r\n## ReSpeaker Documentation\r\n\r\nUp to date documentation for reSpeaker products can be found in [Seeed Studio Wiki](https://wiki.seeedstudio.com/ReSpeaker/)!\r\n![](https://files.seeedstudio.com/wiki/ReSpeakerProductGuide/img/Raspberry_Pi_Mic_Array_Solutions.png)\r\n\r\n\r\n### Coherence\r\n\r\nEstimate the magnitude squared coherence using Welch’s method.\r\n![4-mics-linear-array-kit coherence](https://user-images.githubusercontent.com/3901856/37277486-beb1dd96-261f-11e8-898b-84405bfc7cea.png)  \r\nNote: 'CO 1-2' means the coherence between channel 1 and channel 2.\r\n\r\n```bash\r\n# How to get the coherence of the captured audio(a.wav for example).\r\nsudo apt install python-numpy python-scipy python-matplotlib\r\npython tools/coherence.py a.wav\r\n\r\n# Requirement of the input audio file:\r\n- format: WAV(Microsoft) signed 16-bit PCM\r\n- channels: \u003e=2\r\n```\r\n\r\n### uninstall seeed-voicecard\r\nIf you want to upgrade the driver , you need uninstall the driver first.\r\n\r\n```\r\npi@raspberrypi:~/seeed-voicecard $ sudo ./uninstall.sh \r\n...\r\n------------------------------------------------------\r\nPlease reboot your raspberry pi to apply all settings\r\nThank you!\r\n------------------------------------------------------\r\n```\r\n\r\nEnjoy !\r\n\r\n### Technical support\r\n\r\nFor hardware testing purposes we made a Rasperry Pi OS 5.10.17-v7l+ 32-bit image with reSpeaker drivers pre-installed, which you can download by clicking on [this link](https://files.seeedstudio.com/linux/Raspberry%20Pi%204%20reSpeaker/2021-05-07-raspios-buster-armhf-lite-respeaker.img.xz).\r\n\r\nWe provide official support for using reSpeaker with the following OS:\r\n- 32-bit Raspberry Pi OS\r\n- 64-bit Raspberry Pi OS (experimental support)\r\n\r\nAnd following hardware platforms:\r\n- Raspberry Pi 3 (all models), Raspberry Pi 4 (all models), Raspberry Pi Zero and Zero W\r\n\r\nAnything beyond the scope of official support is considered to be community supported. Support for other OS/hardware platforms can be added, provided MOQ requirements can be met. \r\n\r\nIf you have a technical problem when using reSpeaker with one of the officially supported platforms/OS, feel free to create an issue on Github. For general questions or suggestions, please use [Seeed forum](https://forum.seeedstudio.com/c/products/respeaker/15). \r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frespeaker%2Fseeed-voicecard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frespeaker%2Fseeed-voicecard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frespeaker%2Fseeed-voicecard/lists"}