{"id":13534220,"url":"https://github.com/pixijs/sound","last_synced_at":"2025-05-15T18:11:15.512Z","repository":{"id":37220825,"uuid":"80853199","full_name":"pixijs/sound","owner":"pixijs","description":"WebAudio API playback library, with filters. Modern audio playback for modern browsers.","archived":false,"fork":false,"pushed_at":"2024-09-27T05:27:34.000Z","size":5401,"stargazers_count":426,"open_issues_count":51,"forks_count":69,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-05-07T04:29:57.021Z","etag":null,"topics":["javascript-library","pixi","pixijs","webaudio","webaudio-api","webaudio-api-playback"],"latest_commit_sha":null,"homepage":"https://pixijs.io/sound/examples/","language":"TypeScript","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/pixijs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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-02-03T17:41:48.000Z","updated_at":"2025-05-02T21:49:20.000Z","dependencies_parsed_at":"2023-02-09T17:16:20.526Z","dependency_job_id":"8dbebe2c-397c-4c80-8d87-a7a00c55f419","html_url":"https://github.com/pixijs/sound","commit_stats":{"total_commits":293,"total_committers":21,"mean_commits":"13.952380952380953","dds":0.658703071672355,"last_synced_commit":"af88b50510b74152722cf8cd9877c5386be180ef"},"previous_names":["pixijs/pixi-sound"],"tags_count":60,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixijs%2Fsound","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixijs%2Fsound/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixijs%2Fsound/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixijs%2Fsound/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixijs","download_url":"https://codeload.github.com/pixijs/sound/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254394724,"owners_count":22063984,"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-library","pixi","pixijs","webaudio","webaudio-api","webaudio-api-playback"],"created_at":"2024-08-01T07:01:28.244Z","updated_at":"2025-05-15T18:11:15.496Z","avatar_url":"https://github.com/pixijs.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Libraries"],"sub_categories":["JavaScript"],"readme":"# PixiJS Sound\n\nWebAudio API playback library, with filters. Modern audio playback for modern browsers. \n\n[![Node.js CI](https://github.com/pixijs/sound/workflows/Node.js%20CI/badge.svg)](https://github.com/pixijs/sound/actions?query=workflow%3A%22Node.js+CI%22) [![npm version](https://badge.fury.io/js/%40pixi%2Fsound.svg)](https://badge.fury.io/js/%40pixi%2Fsound)\n\n**Features**\n\n* Pausing and resuming\n* Independent volume control\n* Support blocking or layered sounds (multiple instances)\n* Support for `PIXI.Assets` system\n* Dynamic filters:\n    * ReverbFilter\n    * DistortionFilter\n    * EqualizerFilter\n    * StereoFilter\n    * TelephoneFilter\n\n**Known Compatibility**\n\n* Chrome 58+\n* Firefox 52+\n* Safari 11+\n* iOS 11+\n\n## Usage\n\nInstallation is available by [NPM](https://npmjs.org):\n\n```bash\nnpm i @pixi/sound --save\n```\n\nTo import into your project, for instance, when using [Webpack](https://webpack.js.org/), [Parcel](https://parceljs.org/), [Rollup](https://rollupjs.org/), or another bundler:\n\n```typescript\nimport { sound } from '@pixi/sound';\n\nsound.add('my-sound', 'path/to/file.mp3');\nsound.play('my-sound');\n```\n\n### Browser Usage\n\nIf you're using a `\u003cscript\u003e` element to import `@pixi/sound` into your project, then the SoundLibrary object is `PIXI.sound` global.\n\n```html\n\u003c!-- PixiJS must be imported before @pixi/sound --\u003e\n\u003cscript src=\"https://unpkg.com/pixi.js/dist/browser/pixi.min.js\"\u003e\u003c/script\u003e\n\n\u003c!-- found here, if not using CDN \"./node_modules/@pixi/sound/dist/pixi-sound.js\" --\u003e\n\u003cscript src=\"https://unpkg.com/@pixi/sound/dist/pixi-sound.js\"\u003e\u003c/script\u003e\n\n\u003cscript\u003e\n    PIXI.sound.add('my-sound', 'path/to/file.mp3');\n    PIXI.sound.play('my-sound');\n\u003c/script\u003e\n```\n\n### Versions Compatibility\n\n| PixiJS | PixiJS Sound |\n|---|---|\n| v5.x - v6.x | v4.x |\n| v7.x | v5.x |\n| v8.x | v6.x |\n\n### Resources\n\n* [Releases](https://github.com/pixijs/sound/releases)\n* [Basics](https://pixijs.io/sound/examples/index.html)\n* [Sprites](https://pixijs.io/sound/examples/sprites.html)\n* [Filters](https://pixijs.io/sound/examples/filters.html)\n* [Demo](https://pixijs.io/sound/examples/demo.html)\n* [API Documentation](https://pixijs.io/sound/docs/index.html)\n\n## License\n\nMIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixijs%2Fsound","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixijs%2Fsound","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixijs%2Fsound/lists"}