--- title: Hydra layout: ../../layouts/MainLayout.astro --- import { MiniRepl } from '../../docs/MiniRepl'; # Using Hydra inside Strudel You can write [hydra](https://hydra.ojack.xyz/) code in strudel! All you have to do is to call `await initHydra()` at the top: ,b4]/4").s("sawtooth").vib(2) .lpf(600).lpa(2).lpenv(6) `} /> There is a special function `H` that allows you to use a pattern as an input to hydra: You might now be able to see this properly here: [open in REPL](/#YXdhaXQgaW5pdEh5ZHJhKCkKbGV0IHBhdHRlcm4gPSAiMyA0IDUgWzYgN10qMiIKc2hhcGUoSChwYXR0ZXJuKSkub3V0KG8wKQpuKHBhdHRlcm4pLnNjYWxlKCJBOm1pbm9yIikucGlhbm8oKS5yb29tKDEpIA%3D%3D)