felixroos / kabelsalat

live coding audio graphs
https://kabel.salat.dev
GNU Affero General Public License v3.0
22 stars 5 forks source link

simple iir filter #47

Open felixroos opened 1 month ago

felixroos commented 1 month ago

low pass filter broken out of comb ugen: https://kabel.salat.dev/#Ly8gb25lIHBvbGUgbG93cGFzcyBpaXIgZmlsdGVyCmFkZFVnZW4oJ2lpcicsIGNsYXNzIElJUkZpbHRlciB7CiAgY29uc3RydWN0b3IoKSB7CiAgICB0aGlzLnAgPSAwOwogIH0KICB1cGRhdGUoaW5wdXQsIGN1dG9mZikgewogICAgdGhpcy5wID0gKGlucHV0ICogY3V0b2ZmKSArICh0aGlzLnAgKiAoMS1jdXRvZmYpKTsKICAgIHJldHVybiB0aGlzLnA7CiAgfQp9KQoKc2F3KDU1KS5paXIoXygwLjM4KS5wb3coMikpLm91dCgpCg%3D%3D

might be useful for some things

felixroos commented 1 month ago

also worth looking at