Skip to content

Commit

Permalink
fix: default patch
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Feb 15, 2025
1 parent eadfada commit 08ec1db
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions kabelsalat/lispykabel.html
Original file line number Diff line number Diff line change
Expand Up @@ -353,23 +353,9 @@ <h2>🌱 lispy modular synth</h2>

input.value =
urlCode ||
`(
fm2: fn (freq fmh fmi)
(modfreq: freq > mul fmh)
(modgain: modfreq > mul fmi)
(sine modfreq > mul modgain > sine)
)
(
impulse 6
> apply (fn (imp) (
imp > seq 50 50 100 50 300
> fm2 1.005 (sine .5 > range 4 20)
> mul (imp > ad 1 1)
))
> add (fn (x) (x > delay .3 > mul .7))
> mul .5 > clip > out
)`;
atob(
`cG9seSA1NSAxMTAgMjIwIDMzMCAKPiBzYXcgCj4gbHBmICggc2luZSAuMjUgPiByYW5nZSAuMyAuNyApCj4gbWl4IDIKPiBtdWwgKCBpbXB1bHNlIDQgPiBwZXJjIC4xID4gbGFnIC4wNSApCj4gYWRkIChmbiAoeCkgKHggPiBkZWxheSAoemF3IC4wMSA+IHJhbmdlIC4wMDUgLjAyKSA+IG11bCAuOSkpCj4gYWRkIChmbiAoeCkgKHggPiBkZWxheSAuMyA+IG11bCAuNykpCj4gZm9sZCA+IG11bCAuNiA+IG91dA==`
);

const repl = new SalatRepl();

Expand Down

0 comments on commit 08ec1db

Please sign in to comment.