tidalcycles / strudel

Web-based environment for live coding algorithmic patterns, incorporating a faithful port of TidalCycles to JavaScript
https://strudel.cc/
GNU Affero General Public License v3.0
579 stars 105 forks source link

Add analog-style ladder filter #1103

Closed daslyfe closed 1 month ago

daslyfe commented 1 month ago

adapted from https://github.com/TheBouteillacBear/webaudioworklet-wasm?tab=MIT-1-ov-file

example pattern: note("c f g g a c d4").fast(2) .sound('sawtooth') .lpf(200).fanchor(0) .lpenv(4).lpq(1).drive("<.5 0 2>") .ftype("ladder")

felixroos commented 1 month ago

sounds super nice! I've noticed the lpq range is different from the other filter types. I think it should be somewhat equal to avoid surprises when switching types

daslyfe commented 1 month ago

sounds super nice! I've noticed the lpq range is different from the other filter types. I think it should be somewhat equal to avoid surprises when switching types

cool I updated it to be as similar as I could with the different response curves