{"_id":"@audio/synth-lfo","_rev":"2-3ba01980a183694d5e68298b9bd43a7e","name":"@audio/synth-lfo","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@audio/synth-lfo","version":"1.0.0","keywords":["audio","dsp","synth","lfo"],"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","_id":"@audio/synth-lfo@1.0.0","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"dist":{"shasum":"bcf3bbf83c0bc3e07dfcc644390cac2c116a9431","tarball":"https://registry.npmjs.org/@audio/synth-lfo/-/synth-lfo-1.0.0.tgz","fileCount":2,"integrity":"sha512-DJpQlBZb157T3upgDEfdp7JZLrmq4cRmRoMx42PWUdJPsxIlFRqYTRxNfMolLT2LtunWO3cKcZaCZWUdL2YsVg==","signatures":[{"sig":"MEUCIQD343cZRp6b8tQ5kG2fUGwllYDoFaJ3aaheFi5q9n3TeQIgBQ8yA1qUi5Ryk4r6zJ1sZQtzaD5ZoPeJcyWd/E+CLPE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1095},"main":"lfo.js","type":"module","engines":{"node":">=18"},"exports":{".":"./lfo.js","./package.json":"./package.json"},"gitHead":"be1c6f489cc648aea537f6bc2faf84e4c5b85d00","_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"_npmVersion":"11.12.1","description":"LFO — low-frequency control signal, bipolar/unipolar","directories":{},"sideEffects":false,"_nodeVersion":"25.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/synth-lfo_1.0.0_1783540066435_0.35155375402195244","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@audio/synth-lfo","version":"1.0.1","description":"LFO — low-frequency control signal, bipolar/unipolar","type":"module","sideEffects":false,"main":"lfo.js","exports":{".":"./lfo.js","./package.json":"./package.json"},"types":"lfo.d.ts","keywords":["audio","dsp","synth","lfo"],"license":"MIT","author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/audiojs/synth.git","directory":"packages/synth-lfo"},"funding":"https://github.com/sponsors/audiojs","gitHead":"06ea1dd11eb9420b4aacd5ff05916db7c526c811","_id":"@audio/synth-lfo@1.0.1","bugs":{"url":"https://github.com/audiojs/synth/issues"},"homepage":"https://github.com/audiojs/synth#readme","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-JK8bnKsNCMGLMRv0bU28yK5PIkQhzP2UWfOoqu4dOdjRExW61/Mayfp23MFmJskiv0QrcLrRfQhWAkHnZFQang==","shasum":"ec66644228f6ff8e375c371ccdceb9a8220a72b6","tarball":"https://registry.npmjs.org/@audio/synth-lfo/-/synth-lfo-1.0.1.tgz","fileCount":4,"unpackedSize":3198,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD70LLsRmqSU8bn3hL8yRj3saMKusNfSPk9Gguw81oVIgIgUnNZXvaRBIDjbf7UpALJcrV57SszcLwOzYQ6idgxdyE="}]},"_npmUser":{"name":"dy","email":"df.creative@gmail.com"},"directories":{},"maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/synth-lfo_1.0.1_1783731940789_0.8882953237393794"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-08T19:47:46.251Z","modified":"2026-07-11T01:05:41.480Z","1.0.0":"2026-07-08T19:47:46.576Z","1.0.1":"2026-07-11T01:05:41.355Z"},"author":{"name":"Dmitry Iv.","email":"dfcreative@gmail.com"},"license":"MIT","keywords":["audio","dsp","synth","lfo"],"description":"LFO — low-frequency control signal, bipolar/unipolar","maintainers":[{"name":"jamen","email":"jamenmarz@gmail.com"},{"name":"dfcreative","email":"df.creative@gmail.com"},{"name":"dy","email":"df.creative@gmail.com"}],"readme":"# @audio/synth-lfo [![npm](https://img.shields.io/npm/v/@audio/synth-lfo)](https://www.npmjs.com/package/@audio/synth-lfo) [![MIT](https://img.shields.io/badge/MIT-%E0%A5%90-white)](https://github.com/krishnized/license)\n\nLow-frequency oscillator (modulation source)\n\n```\nnpm install @audio/synth-lfo\n```\n\n```js\nimport lfo from '@audio/synth-lfo'\n```\n\nLow-frequency control-rate generator — sine/triangle/square/saw, bipolar (-1..1) or unipolar (0..1). A modulation source, not an audio-rate processor — no `audio.js` manifest (hosts drive param modulation directly; an LFO-as-atom would be redundant with a host's own modulation routing).\n\n```js\nlfo(2, { type: 'triangle', unipolar: true })   // → Float32Array\n```\n\n| Param | Default | |\n|---|---|---|\n| `freq` | `2` | Hz (positional) |\n| `duration` | `1` | Seconds |\n| `type` | `'sine'` | `'sine'` \\| `'triangle'` \\| `'square'` \\| `'saw'` |\n| `unipolar` | `false` | `false` → -1..1, `true` → 0..1 |\n| `phase` | `0` | Starting phase, 0..1 |\n| `fs` | `44100` | Sample rate |\n\n**Use when:** rendering a modulation curve to multiply/add onto a param, offline (for a host with live modulation routing, drive the param directly instead).\n\n---\n\nPart of [@audio/synth](https://github.com/audiojs/synth) — the synth family umbrella.\n\nMIT © [audiojs](https://github.com/audiojs)\n","readmeFilename":"README.md","homepage":"https://github.com/audiojs/synth#readme","repository":{"type":"git","url":"git+https://github.com/audiojs/synth.git","directory":"packages/synth-lfo"},"bugs":{"url":"https://github.com/audiojs/synth/issues"}}