Reson~ changing Q with constant output volume

    Oct 23 2013 | 11:40 am
    Hi all,
    I'm looking for a formula to compensate the volume loss, when raising the Q factor of reson~ bandpass filter.
    The input signal is noise-like (brushed snare).
    Any ideas? A heuristic formula would be sufficient.
    Thanks a lot! Jan

    • Oct 23 2013 | 1:37 pm
      Q = center frequency / bandwidth (in Hz)
      Compare the previous bandwidth to the current bandwidth and that's probably a starting point for a ratio. (Previous:current)
      Alternatively, you could use an envelope follower, convert its output to db via atodb~, and apply makeup gain.
    • Oct 23 2013 | 3:20 pm
      Thanks Peter!
      The solution was to simply multiply the output signal with the Q factor! The overall volume is not perfectly constant but good enough for my purposes.
      Cheers, Jan