mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 21:58:37 +00:00
@strudel/hydra
This package integrates hydra-synth into strudel.
Usage in Strudel
This package is imported into strudel by default. To activate Hydra, place this code at the top of your code:
await initHydra();
Then you can use hydra below!
Enable audio capture
Use {audio: true} param to enable Hydra's audio capture:
await initHydra({audio: true});
Usage via npm
npm i @strudel/hydra
Then add the import to your evalScope:
import { evalScope } from '@strudel.cycles/core';
evalScope(
import('@strudel/hydra')
)