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~ [http://www.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!