{"id":24558186,"url":"https://github.com/rse/audio-node-suite","last_synced_at":"2025-04-19T09:59:02.405Z","repository":{"id":49199249,"uuid":"301954604","full_name":"rse/audio-node-suite","owner":"rse","description":"Web Audio API AudioNode Suite","archived":false,"fork":false,"pushed_at":"2024-10-03T13:04:26.000Z","size":212,"stargazers_count":16,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T21:55:45.975Z","etag":null,"topics":["api","audio","audionode","suite","web"],"latest_commit_sha":null,"homepage":"http://npmjs.com/audio-node-suite","language":"TypeScript","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/rse.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}},"created_at":"2020-10-07T07:08:41.000Z","updated_at":"2025-04-09T10:17:00.000Z","dependencies_parsed_at":"2023-02-09T17:15:56.691Z","dependency_job_id":null,"html_url":"https://github.com/rse/audio-node-suite","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rse%2Faudio-node-suite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rse%2Faudio-node-suite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rse%2Faudio-node-suite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rse%2Faudio-node-suite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rse","download_url":"https://codeload.github.com/rse/audio-node-suite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249161133,"owners_count":21222470,"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":["api","audio","audionode","suite","web"],"created_at":"2025-01-23T05:47:35.729Z","updated_at":"2025-04-19T09:59:02.382Z","avatar_url":"https://github.com/rse.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nAudio-Node-Suite\n================\n\nWeb Audio API `AudioNode` Suite\n\n\u003cp/\u003e\n\u003cimg src=\"https://nodei.co/npm/audio-node-suite.png?downloads=true\u0026stars=true\" alt=\"\"/\u003e\n\n\u003cp/\u003e\n\u003cimg src=\"https://david-dm.org/rse/audio-node-suite.png\" alt=\"\"/\u003e\n\nAbout\n-----\n\n**Audio-Node-Suite** is a JavaScript library, for use in the Browser\nwith the [Web Audio API](https://www.w3.org/TR/webaudio/),\nwhich provides a suite of Web Audio API compatible\n[`AudioNode`](https://developer.mozilla.org/en-US/docs/Web/API/AudioNode)\nclasses:\n\n- `AudioNodeComposite`: this is a convenient class for creating\n  a custom composite/wrapping `AudioNode` class. It is used internally\n  and can be also used for creating your own custom composite/wrapping\n  `AudioNode`. As an additional goodie, the class provides a useful\n  \"by-pass\" functionality for temporarily by-passing the effect of the\n  underlying `AudioNode` instances.\n\n- `AudioNodeNoise`: this is a white or pink noise generator which\n  can be used for testing purposes.\n\n- `AudioNodeMute`: this is a simple node for muting the audio stream.\n\n- `AudioNodeGain`, `AudioNodeCompressor`, `AudioNodeLimiter`: these\n  are just convenient wrappers for the regular functionality provided\n  by the Web Audio API `GainNode` and `DynamicsCompressorNode` classes,\n  providing the `bypass()` functionality and some opinionated parameter defaults.\n\n- `AudioNodeEqualizer`: this is based on the Web Audio API `BiquadFilterNode`\n  class and provides a convenient parametric multi-band equalizer `AudioNode`.\n\n- `AudioNodeMeter`: this is based on the Web Audio API `AnalyzerNode`\n  class and continuously tracks and measures the overall volume\n  in decibel of the audio stream. It is also the internal base\n  building block for the `AudioNodeGate`, `AudioNodeAmplitude` and\n  `AudioNodeSpectrum` classes.\n\n- `AudioNodeGate`: this is based on the Web Audio API `GainNode`\n  class and measures the volume in decibel of the audio stream and\n  drains the volume if it drops below a certain decibel threshold. It is\n  intended to act as a Noise Gate.\n\n- `AudioNodeAmplitude`: this is based on `AudioNodeMeter` and\n  hence the Web Audio API `AnalyzerNode` class to analyze the\n  volume level of the audio stream and continuously render\n  it into a `Canvas` element in the DOM.\n\n- `AudioNodeSpectrum`: this is based on `AudioNodeMeter` and\n  hence the Web Audio API `AnalyzerNode` class to analyze the\n  frequency/decibel spectrum of the audio stream and continuously render\n  it in a (linear or logarithmic) scale to a `Canvas` element in the\n  DOM.\n\n- `AudioNodeVoice`: this is based on `AudioNodeMute`, `AudioNodeEqualizer`,\n  `AudioNodeGate`, `AudioNodeCompressor`, `AudioNodeGain` and\n  `AudioNodeLimiter` to provide a convenient single `AudioNode`\n  which acts as a reasonable filter chain for voice. Its opinionated\n  parameters are intentionally hard-coded and are just based on\n  experiences of the author.\n\nInstallation\n------------\n\n```shell\n$ npm install audio-node-suite\n```\n\nUsage\n-----\n\nSee the [TypeScript definition](src/audio-node-suite.d.ts)\nfor details on the provided Application Programming Interface (API).\n\nImplementation Notice\n---------------------\n\n**Audio-Node-Suite** is written in TypeScript 4 (ECMAScript 2022) and\nis transpiled to plain JavaScript (ECMAScript 2022) and this way runs\nin all current (as of 2023/Q1) JavaScript environments, of course. To\nsupport different loader environment, the transpiled output is provided\nin the three distinct variants ESM (ECMAScript 2022), CommonJS (Node)\nand UMD (Legacy Browser).\n\nLicense\n-------\n\nCopyright \u0026copy; 2020-2024 Dr. Ralf S. Engelschall \u0026lt;http://engelschall.com\u0026gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frse%2Faudio-node-suite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frse%2Faudio-node-suite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frse%2Faudio-node-suite/lists"}