1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

3-Band Limiter Update

Discussion in 'REAKTOR' started by CList, Dec 22, 2005.

Thread Status:
Not open for further replies.
  1. CList

    CList Moderator

    Messages:
    3,299
    The very-nice-sounding-but-CPU-intensive ensemble "FM4 Dual" in the 5.1 Update contains two macros (one for left one for right) called "3-band limiter". I was very surprised to see these *not* done in core, as a quick look at the structures makes it very obvious how much they would benefit from working in core.

    Again, this is a great of a situation where you don;t need to be a DSP genious to make something in core that already exists in the standard layer and make it a lot more efficient. I simply took core macros, pasted them together in a core cell, added the extra math stuff that's there in the R4-layer structure (without thinking or understanding how they work), and voila! the CPU usage for the macro went from 2.8 down to 0.5! Not bad!

    Here's the macro for you all done in core, it's the kind of thing that could be a very useful addition to many instrument outputs as it acts as a soft 3-band limiter to keep your signal volumes in check, and with the CPU usage being so low, it makes sense to use it. Judging by the look of the original R4-layer structure, I'm going to take a guess and say it's Martinj Zwartjes' work, so I'll give him credit for it, just want to make it clear that I did not design it, I simply rebuild it using core.

    Note that the attached file is in 5.1 format. It is a drop-in replacement for the macros in the Dual FM4 instrument, and, as I said, has almost universal applications.

    Enjoy,
    CList
     

    Attached Files:

  2. dcoffin

    dcoffin NI Product Owner

    Messages:
    1,235
    Thanks, Chris; very handy!
     
Thread Status:
Not open for further replies.