{"id":22297637,"url":"https://github.com/progfay/voice-recorder","last_synced_at":"2025-03-25T22:44:13.105Z","repository":{"id":99431368,"uuid":"180388306","full_name":"progfay/voice-recorder","owner":"progfay","description":"JavaScript library for recording with microphone using Web Audio API","archived":false,"fork":false,"pushed_at":"2019-07-29T09:46:14.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T20:15:58.748Z","etag":null,"topics":["javascript","recorder","webaudio-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/progfay.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,"publiccode":null,"codemeta":null}},"created_at":"2019-04-09T14:42:38.000Z","updated_at":"2024-03-05T11:18:44.000Z","dependencies_parsed_at":"2023-09-09T12:33:00.760Z","dependency_job_id":null,"html_url":"https://github.com/progfay/voice-recorder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progfay%2Fvoice-recorder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progfay%2Fvoice-recorder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progfay%2Fvoice-recorder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/progfay%2Fvoice-recorder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/progfay","download_url":"https://codeload.github.com/progfay/voice-recorder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245556960,"owners_count":20634889,"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":["javascript","recorder","webaudio-api"],"created_at":"2024-12-03T17:50:43.718Z","updated_at":"2025-03-25T22:44:13.082Z","avatar_url":"https://github.com/progfay.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# voice-recorder\n\nJavaScript dictation library with Web Audio API\n\n## Usage\n\n```js\nconst sleep = (ms) =\u003e new Promise(resolve =\u003e setTimeout(resolve, ms))\n\nnavigator.mediaDevices.getUserMedia({ audio: true })\n    .then(async (stream) =\u003e {\n        const results = []\n        const voiceRecorder = new voiceRecorder(stream)\n        voiceRecorder.addEventListener('dataavailable', ({ data }) =\u003e results.push(data))\n        voiceRecorder.start()\n        await sleep(2000)\n        voiceRecorder.stop()\n        const buffer = Buffer.from(results)\n    })\n    .catch(console.error)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogfay%2Fvoice-recorder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogfay%2Fvoice-recorder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogfay%2Fvoice-recorder/lists"}