{"id":13805291,"url":"https://github.com/lukehorvat/web-audio-oscillators","last_synced_at":"2025-07-15T20:47:28.343Z","repository":{"id":66221037,"uuid":"102636772","full_name":"lukehorvat/web-audio-oscillators","owner":"lukehorvat","description":"A collection of Web Audio API custom oscillators.","archived":false,"fork":false,"pushed_at":"2024-06-09T12:23:18.000Z","size":122,"stargazers_count":63,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-21T06:47:08.145Z","etag":null,"topics":["audiocontext","oscillatornode","oscillators","periodicwave","web-audio"],"latest_commit_sha":null,"homepage":"","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/lukehorvat.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-09-06T17:14:53.000Z","updated_at":"2024-10-13T12:54:57.000Z","dependencies_parsed_at":"2024-03-03T18:27:52.233Z","dependency_job_id":"51dafe2f-6177-45f5-b7f9-a9f6f69157f7","html_url":"https://github.com/lukehorvat/web-audio-oscillators","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"06a7ad1f2ee64b0f9a50547b4a5230875f9764c5"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehorvat%2Fweb-audio-oscillators","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehorvat%2Fweb-audio-oscillators/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehorvat%2Fweb-audio-oscillators/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehorvat%2Fweb-audio-oscillators/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukehorvat","download_url":"https://codeload.github.com/lukehorvat/web-audio-oscillators/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236016500,"owners_count":19081747,"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":["audiocontext","oscillatornode","oscillators","periodicwave","web-audio"],"created_at":"2024-08-04T01:00:59.681Z","updated_at":"2025-01-28T12:33:18.819Z","avatar_url":"https://github.com/lukehorvat.png","language":"TypeScript","funding_links":[],"categories":["Obsolete"],"sub_categories":["Community"],"readme":"# web-audio-oscillators [![npm version](https://img.shields.io/npm/v/web-audio-oscillators.svg?style=flat-square)](https://www.npmjs.com/package/web-audio-oscillators)\n\nA collection of [Web Audio API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API) custom oscillators.\n\nAre you after a nice organ or bass sound? Look no further!\n\nAn online demo of all oscillators included in this package can be found [here](https://oscillator.js.org).\n\n## Installation\n\nInstall the package via npm:\n\n```sh\nnpm install web-audio-oscillators\n```\n\n## Usage\n\nFor example, to create an [OscillatorNode](https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode) that sounds like an organ:\n\n```js\nimport { customOscillators } from 'web-audio-oscillators';\n\nconst context = new AudioContext();\nconst oscillator = customOscillators.organ(context);\noscillator.frequency.value = 220;\noscillator.connect(context.destination);\noscillator.start();\n```\n\nAll custom oscillators provided by this package:\n\n- `sine`\n- `square`\n- `square2`\n- `sawtooth`\n- `triangle`\n- `triangle2`\n- `chiptune`\n- `organ`\n- `organ2`\n- `organ3`\n- `organ4`\n- `organ5`\n- `bass`\n- `bass2`\n- `bass3`\n- `bass4`\n- `brass`\n- `brass2`\n- `aah`\n- `ooh`\n- `eeh`\n- `buzz`\n- `buzz2`\n- `dissonance`\n\n## Contributing\n\nPull requests are most welcome. I'd like to expand this collection to cover more musical use cases!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukehorvat%2Fweb-audio-oscillators","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukehorvat%2Fweb-audio-oscillators","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukehorvat%2Fweb-audio-oscillators/lists"}