{"id":17445946,"url":"https://github.com/jamen/pull-audio-speaker","last_synced_at":"2025-08-23T03:16:45.846Z","repository":{"id":96785002,"uuid":"91281801","full_name":"jamen/pull-audio-speaker","owner":"jamen","description":"Output to speaker as a pull-stream sink","archived":false,"fork":false,"pushed_at":"2017-05-15T01:09:37.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T05:01:51.887Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamen.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":"2017-05-15T01:03:42.000Z","updated_at":"2023-02-19T08:56:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"148aef31-8c8f-44ea-affd-6e9ebef9bdd5","html_url":"https://github.com/jamen/pull-audio-speaker","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"53ae9173183683782baa34ebaf76dae4fc5b80d0"},"previous_names":["audiojs/pull-audio-speaker"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fpull-audio-speaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fpull-audio-speaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fpull-audio-speaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fpull-audio-speaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamen","download_url":"https://codeload.github.com/jamen/pull-audio-speaker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246802594,"owners_count":20836365,"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-10-17T18:18:28.365Z","updated_at":"2025-04-02T10:43:11.976Z","avatar_url":"https://github.com/jamen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# pull-audio-speaker\n\n\u003e Output to speaker as a pull-stream sink\n\n```js\npull(\n  generator(Math.random),\n  speaker()\n)\n```\n\nIt uses [`audio-speaker`](https://github.com/audiojs/audio-speaker) internally\n\n## Install\n\n```sh\nnpm install --save pull-audio-speaker\n```\n\n```sh\nyarn add pull-audio-speaker\n```\n\n## Usage\n\n### `speaker(options?, onEnd?)`\n\nReturns a [pull-stream sink](https://github.com/pull-stream/pull-stream) that plays audio buffers in speaker.\n\nIt takes the same options as [`audio-speaker`](https://github.com/audiojs/audio-speaker)\n\n```js\npull(\n  oscillator(),\n  gain(0.6),\n  speaker(err =\u003e {\n    // done\n  })\n)\n```\n\n## Also see\n\n - [`audiojs`](https://github.com/audiojs) for other audio components\n - [`pull-stream`](https://github.com/pull-stream/pull-stream) for minimal streams\n - [`audio-speaker`](https://github.com/) for the base functional package\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamen%2Fpull-audio-speaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamen%2Fpull-audio-speaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamen%2Fpull-audio-speaker/lists"}