{"id":22445892,"url":"https://github.com/claudemarais/audiorecording_esp32-c3","last_synced_at":"2026-05-11T02:25:24.240Z","repository":{"id":221065556,"uuid":"752496550","full_name":"ClaudeMarais/AudioRecording_ESP32-C3","owner":"ClaudeMarais","description":"An example of recording audio onto a MicroSD card, using an INMP441 microphone and a XIAO ESP32-C3","archived":false,"fork":false,"pushed_at":"2024-02-06T00:19:35.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T15:35:17.602Z","etag":null,"topics":["arduino","audio","esp32","esp32-c3","i2s","i2s-microphone","inmp441","microphone","microsd","sound","xiao-esp32-c3"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ClaudeMarais.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-02-04T02:19:32.000Z","updated_at":"2024-05-06T23:45:27.000Z","dependencies_parsed_at":"2024-02-06T01:29:43.079Z","dependency_job_id":"8577c185-89f0-447c-9c8d-87fd7d85bb59","html_url":"https://github.com/ClaudeMarais/AudioRecording_ESP32-C3","commit_stats":null,"previous_names":["claudemarais/audiorecording_esp32-c3"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClaudeMarais%2FAudioRecording_ESP32-C3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClaudeMarais%2FAudioRecording_ESP32-C3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClaudeMarais%2FAudioRecording_ESP32-C3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClaudeMarais%2FAudioRecording_ESP32-C3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClaudeMarais","download_url":"https://codeload.github.com/ClaudeMarais/AudioRecording_ESP32-C3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245832686,"owners_count":20679701,"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":["arduino","audio","esp32","esp32-c3","i2s","i2s-microphone","inmp441","microphone","microsd","sound","xiao-esp32-c3"],"created_at":"2024-12-06T03:17:15.883Z","updated_at":"2026-05-11T02:25:24.194Z","avatar_url":"https://github.com/ClaudeMarais.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AudioRecording_ESP32-C3\n An example of recording audio onto a MicroSD card, using an INMP441 microphone and a XIAO ESP32-C3\n\nSince the values for i2s.dma_buf_count and i2s.dma_buf_len can be somewhat of a mystery, in this\nexample they are calculated automatically to use the least amount of DMA memory given your preference for \nlatency and CPU interrupts.\n\nWith a low latency setup, the DMA will interrupt the CPU more frequently, but use less DMA memory.\nWith a high latency setup, the DMA will interrupt the CPU less frequently, but use more DMA memory.\n\nFor example, this code includes test calculations in a fixed for-loop. With a very low latency setup, the\nloop takes 12225 ms to complete, compared to ony 12027 ms on a high latency setup. A very measurable difference.\n\nSee this excellent video: https://youtu.be/ejyt-kWmys8?si=oVVuLGKX63CKpm2t\n\nNote, the I2S pins for the XIAO ESP32-C3 isn't well documented, had to find the info searching through forums\n\nSpecifically for XIAO ESP32-C3\n\nDO = WS / LRC / LCK\n\nD1 = SCK / BCLK / BCK\n\nD2 = SD / DIN / DATA\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaudemarais%2Faudiorecording_esp32-c3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclaudemarais%2Faudiorecording_esp32-c3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaudemarais%2Faudiorecording_esp32-c3/lists"}