hilbert~ (or freqshift~) in Gen?

    May 02 2013 | 7:34 pm
    Hi all,
    I am trying to add a frequency shifter to the effect chain I'm working on within gen~. Unlike MSP, I couldn't find a dedicated operator. Looking at the reference for freqshift~ [https://cycling74.com/docs/max5/refpages/msp-ref/freqshift~.html] a DIY frequency shifter seems pretty feasible, except for the hilbert~ part. My knowledge of DSP is pretty rudimentary, what would be a solution to recreate the Hilbert transform within gen~? Using a codebox?
    Any help/hints/suggestions/best practices would be much appreciated!

    • May 03 2013 | 3:57 pm
      i did all this in GenExpr quite a while ago, so cannot vouch for it being any good, but maybe it will be useful to you as a start.
      i put it in a demo patch for you (patch based on the [hilbert~] helpfile), attached.
    • May 03 2013 | 11:59 pm
      Thanks for your help! I'll check it out as soon as I have some time, it's definitely great to have a starting point.
    • May 08 2013 | 12:50 pm
      this one is better