Forums > Gen

hilbert~ (or freqshift~) in Gen?

May 2, 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~ [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!

Cheers,

Alessio


May 3, 2013 | 3:57 pm

hi.

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.

hth.

Attachments:
  1. hilbertDemo.maxpat

May 3, 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 8, 2013 | 12:50 pm

this one is better


Viewing 4 posts - 1 through 4 (of 4 total)