Gen~ and pitch

Jan 3, 2012 at 11:33am

Gen~ and pitch

did somebody make a real time transposer with gen~ ?
does it improve the latency ?


Jan 7, 2012 at 1:29pm

Delicious has a great 3 part tutorial on making a pitch shifter – I think you could do it in GEN – the objects are all very low level. I am not sure if this is what you want or if it has any impact on latency but maybe it gives you a start.

Jan 7, 2012 at 2:49pm

thx but this one you propose is more or less the same than “transposer” provided with MAX. I’m looking for a transposer made directly in Gen~.

Feb 24, 2012 at 7:10pm

Here’s part 1 of Sam’s great tutorial ported to gen~, maybe this could be a helpful start?

– Pasted Max Patch, click to expand. –
Feb 24, 2012 at 8:47pm

Ooh that’s nice.

Is there a way to change the window size on this dynamically without little clicks? (to have it adjust as you change transposition).

Here is the same patch Graham posted but with the transposition formula applied and mapped to 0. to 1. (with no transposition being 0.5)

– Pasted Max Patch, click to expand. –
Feb 24, 2012 at 10:15pm

I was just about to ask “who’s Sam”, then remembered, “it’s your good buddy Sam!”…….his work is excellent, as is yours for porting this to 6.

Reasons to upgrade are mounting :)


Feb 25, 2012 at 1:52am

Changing the window size without clicks requires a kind of sample-hold thing, where the values are updated only at the zero point of the window phase. All kinds of other things can be changed at this point too – here’s a couple of modifications to change a) the delay time (i.e. pitch variance) and b) phase offset according to a stochastic ‘blur’ parameter:

– Pasted Max Patch, click to expand. –
Feb 25, 2012 at 1:57am

BTW the gen~.slicer example in the Max examples folder shows a different way to play with overlap-add pitch shifting, using a [data] object instead of [delay].

Feb 25, 2012 at 2:07am

That’s a great patch there!

Now to find some ‘sweet spot’ scaling for adjusting the window/blur for extreme high/low transposition.

Is there a rule of thumb as to wether long/short window sounds good for high/low or does it vary on content first and foremost?

Mar 25, 2012 at 12:13pm

thx guys. very interesting.


You must be logged in to reply to this topic.