Forums > MaxMSP

Gen~ and pitch

Jan 03 2012 | 11:33 am

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


Jan 07 2012 | 1:29 pm

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 07 2012 | 2:49 pm

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 | 7:10 pm

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 | 8:47 pm

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 | 10:15 pm

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 | 1:52 am

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 | 1:57 am

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 | 2:07 am

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 | 12:13 pm

thx guys. very interesting.

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

Forums > MaxMSP