Skip to content
  • Monty Montgomery's avatar
    A second major upgrade to the math behind the Bessel followers used by · 3da534ec
    Monty Montgomery authored
    the companders.  
    
    a) Soft knees are now computed as a freebie during filter following.
    No explicit soft-knee means no sqrt() means considerable optimization
    
    b) streamlined the computation pathway of the followers, partially as
    an optimization, partially to prepare for adding the scond tier
    over/under filters before release
    
    c) found a bug in the behavior of the new peak-follower math (that was
    instigated to repair a more serious bug in the original version);
    decay was still using a second order bessel which could still ring
    about zero.  Restored the peak-hold behavior to near-original
    behavior, but now use the same first-order-decay-limited filters as
    the RMS follower.
    
    Depending on platform and compander usage, these changes are good for
    getting back 10-25% of the CPU.
    
    
    
    git-svn-id: https://svn.xiph.org/trunk/postfish@8033 0101bb08-14d6-0310-b084-bc0e0c8e3800
    3da534ec