[tim-janik/beast] Ladder Filter (#122)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[tim-janik/beast] Ladder Filter (#122)

Gnome - Beast mailing list

This is the implementation of a Moog-style lowpass ladderfilter with saturation and 2x oversampling. The number of poles is configurable . Filter modes are available for 6db/octave, 12db/octave, 18db/octave and 24db/octave.

I don't have any TODOs left right now, so this could either be the final version, or at least fairly close to the final version. I'm discarding the commit history here, this is not so interesting. The necessary changes for the resampler (#121) are included in this branch.

Right now the resampling is done with the FPU (as plugins/bseblockutils.cc is not getting compiled), but that is still fast enough for daily use. I've also noticed that BSE doesn't enforce SSE-alignment of input/output buffers, so right now SSE support is broken; if that were fixed, performance would be a bit better.

Of course this depends a bit on which inputs/outputs are connected, but for the common case one (stereo) ladder filter takes

  • 0.4% CPU usage with FPU resampling
  • 0.33% CPU usage with SSE resampling

You can view, comment on, or merge this pull request online at:

  https://github.com/tim-janik/beast/pull/122

Commit Summary

  • BSE: add Resampler2 function to reset state
  • PLUGINS: add LadderFilter plugin

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/tim-janik/beast/pull/122?email_source=notifications\u0026email_token=AIVS7XVS6XDC4RHNLO6PJHTQHZMUDA5CNFSM4ITF5YS2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HI7HYXA", "url": "https://github.com/tim-janik/beast/pull/122?email_source=notifications\u0026email_token=AIVS7XVS6XDC4RHNLO6PJHTQHZMUDA5CNFSM4ITF5YS2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HI7HYXA", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
_______________________________________________
beast mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/beast
Reply | Threaded
Open this post in threaded view
|

Re: [tim-janik/beast] Ladder Filter (#122)

Gnome - Beast mailing list

@swesterfeld pushed 1 commit.

  • 68078b9 PLUGINS: LadderFilter: split parameters into useful groups


You are receiving this because you are subscribed to this thread.
View it on GitHub or mute the thread.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/tim-janik/beast/pull/122/files/cd2cdb8a181879bfdce6e2ffcb1ac7cf610b6ce7..68078b96f7f8654552f463d47d594e12a1e645af?email_source=notifications\u0026email_token=AIVS7XQ6X4UOXL5QG3SONSTQIDXM5A5CNFSM4ITF5YS2YY3PNVWWK3TUL52HS4DFXNIHK3DMKJSXC5LFON2FA5LTNBHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZF5KB2WY3BDGMYTGNJXG4YTSOCQOVZWQIZUGAYDAMRWHAZDMNA", "url": "https://github.com/tim-janik/beast/pull/122/files/cd2cdb8a181879bfdce6e2ffcb1ac7cf610b6ce7..68078b96f7f8654552f463d47d594e12a1e645af?email_source=notifications\u0026email_token=AIVS7XQ6X4UOXL5QG3SONSTQIDXM5A5CNFSM4ITF5YS2YY3PNVWWK3TUL52HS4DFXNIHK3DMKJSXC5LFON2FA5LTNBHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZF5KB2WY3BDGMYTGNJXG4YTSOCQOVZWQIZUGAYDAMRWHAZDMNA", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
_______________________________________________
beast mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/beast
Reply | Threaded
Open this post in threaded view
|

Re: [tim-janik/beast] Ladder Filter (#122)

Gnome - Beast mailing list
In reply to this post by Gnome - Beast mailing list

@swesterfeld pushed 1 commit.

  • 14ffd21 PLUGINS: LadderFilter: port code to new Resampler2 API


You are receiving this because you are subscribed to this thread.
View it on GitHub or mute the thread.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/tim-janik/beast/pull/122/files/e99219227900340fa8ee06cb9fb4a2e2b8e3fa95..14ffd216b25d36e31a1597a05dd297b66f89baba?email_source=notifications\u0026email_token=AIVS7XWTKO3ZWDLKXC2KEJLQKIJM5A5CNFSM4ITF5YS2YY3PNVWWK3TUL52HS4DFXNIHK3DMKJSXC5LFON2FA5LTNBHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZF5KB2WY3BDGMYTGNJXG4YTSOCQOVZWQIZUGA2DOOBWHAZTANQ", "url": "https://github.com/tim-janik/beast/pull/122/files/e99219227900340fa8ee06cb9fb4a2e2b8e3fa95..14ffd216b25d36e31a1597a05dd297b66f89baba?email_source=notifications\u0026email_token=AIVS7XWTKO3ZWDLKXC2KEJLQKIJM5A5CNFSM4ITF5YS2YY3PNVWWK3TUL52HS4DFXNIHK3DMKJSXC5LFON2FA5LTNBHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZF5KB2WY3BDGMYTGNJXG4YTSOCQOVZWQIZUGA2DOOBWHAZTANQ", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
_______________________________________________
beast mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/beast