pitch - speed relationship

psnow's icon

hi,

first off im new to maxmsp so please forgive me if i'm missing something that is very obvious.

i am building a looper using groove~.
my buffered files are very short. mostly drum hits and glitches.
my objective is to make the file play quicker without the pitch shifting as much as it does when you tweak the speed.
the goal is to make a natural sounding snarerush/drumroll.
i was wondering if i should use a different MSP object.

any pointers towards pitch / speed manipulation much appreciated.

TY.

Steven Miller's icon

Look at using [gizmo~] in conjunction with [groove~]. You can set up
a control structure to change the pitch of a speed-changed audio file
to compensate for the resulting pitch-change.

On Jan 11, 2008, at 8:11 AM, mithat madra wrote:

>
> hi,
>
> first off im new to maxmsp so please forgive me if i'm missing
> something that is very obvious.
>
> i am building a looper using groove~.
> my buffered files are very short. mostly drum hits and glitches.
> my objective is to make the file play quicker without the pitch
> shifting as much as it does when you tweak the speed.
> the goal is to make a natural sounding snarerush/drumroll.
> i was wondering if i should use a different MSP object.
>
> any pointers towards pitch / speed manipulation much appreciated.

----
Steven M. Miller
Professor, Contemporary Music Program
College of Santa Fe

Home
SFIFEM
Atrium Sound Space
OVOS
CMP

mzed's icon

Quote: psnow wrote on Fri, 11 January 2008 07:11
----------------------------------------------------
> i am building a looper using groove~.
> my buffered files are very short. mostly drum hits and glitches.
> my objective is to make the file play quicker without the pitch shifting as much as it does when you tweak the speed.
----------------------------------------------------

Here's a patch that uses sfplay~, rather than groove~. Same idea, though.

Max Patch
Copy patch and select New From Clipboard in Max.

psnow's icon

hey,
thank you so much for your help but i seem to be having trouble producing sound.
the error i get is:

error: pfft~ : no patcher gizmo__loadme
error: pfft~ : no patcher gizmo__loadme

do you happen to know why?

on the other hand i will look into the help files of sfplay and gizmo thanks for the tip...

mzed's icon

Quote: psnow wrote on Fri, 11 January 2008 15:33
----------------------------------------------------
> hey,
> thank you so much for your help but i seem to be having trouble producing sound.
> the error i get is:
>
> error: pfft~ : no patcher gizmo__loadme
> error: pfft~ : no patcher gizmo__loadme
>
> do you happen to know why?
>
> on the other hand i will look into the help files of sfplay and gizmo thanks for the tip...
----------------------------------------------------

It should be straight from the gizmo helpfile. It looks like:

Max Patch
Copy patch and select New From Clipboard in Max.

mz

psnow's icon

the problem ensues.
i suppose it must be me.
unfortunately i cant run max/msp in any other machines to test it out.
is this working out in everyone else's macs?
when i try to type in exactly what is written, there are no inputs or outputs on my object.
this is frustrating.

on the other hand, great GUI. :)

mzed's icon

Quote: psnow wrote on Fri, 11 January 2008 17:21
----------------------------------------------------
> the problem ensues.
> i suppose it must be me.
> unfortunately i cant run max/msp in any other machines to test it out.
> is this working out in everyone else's macs?
> when i try to type in exactly what is written, there are no inputs or outputs on my object.
> this is frustrating.
>
> on the other hand, great GUI. :)
>
>
----------------------------------------------------

Thanks. How does the help patch for gizmo work for you?

mz

Gary Lee Nelson's icon

Gizmo~ works very well. Below is my playsample~ patch. It must be used in
a poly~ object.

It uses play~ to play a selected portion of a sample buffer~. Selecting the
begin and end points of the buffer may change duration. If duration
changes, play~ will change pitch by a predictable interval that can be
"corrected" with the transposition factor of gizmo~.

If the intent is to change output duration without changing pitch, the
transposition factor for gizmo~ is computed as

1./(intended_duration/actual_duration). (see panel A)

If the intended duration is half the actual, play~ raises the pitch by an
octave so the transposition ratio for gizmo~ should be .5 to transpose down
an octave.

To specify both a new duration and transposition interval, you must make a
transposition ratio that takes into account the effect of play~ AND the
specified transposition ratio. (see panel B). Note that an extra gizmo~ is
not required.

I haven't made a help file for this. If you would like to see one let me
know. It will require an attachment of a folder with all of the objects so
I'll have to post it in the forum from Cycling'74.com.

Max Patch
Copy patch and select New From Clipboard in Max.

On 1/11/08 9:04 PM, "mzed" wrote:

>
> Quote: psnow wrote on Fri, 11 January 2008 17:21
> ----------------------------------------------------
>> the problem ensues.
>> i suppose it must be me.
>> unfortunately i cant run max/msp in any other machines to test it out.
>> is this working out in everyone else's macs?
>> when i try to type in exactly what is written, there are no inputs or outputs
>> on my object.
>> this is frustrating.
>>
>> on the other hand, great GUI. :)
>>
>>
> ----------------------------------------------------
>
> Thanks. How does the help patch for gizmo work for you?
>
> mz
>
>
> --
> || michael f. zbyszynski -- molecular gastronimist
> || http://www.cnmat.berkeley.edu/
> || http://www.mikezed.com/
>
>
>

Cheers
Gary Lee Nelson
Oberlin College
www.timara.oberlin.edu/GaryLeeNelson

psnow's icon

the pfft~ gizmo__loadme error happens again...
i don't understand the problem. i will re install max/msp to see what happens..

Emmanuel Jourdan's icon

On 12 janv. 08, at 16:41, mithat madra wrote:

> the pfft~ gizmo__loadme error happens again...
> i don't understand the problem. i will re install max/msp to see
> what happens..

gizmo_loadme patch is in the max-help folder. It's not in the search
path. You may have to copy somewhere else in your search path to use
it all the time.

HTH,
ej

psnow's icon

emmanuel you were right. it was not in the search path.
thank you all for your help this was very helpful..

mzed's icon

Quote: Emmanuel Jourdan wrote on Sat, 12 January 2008 07:57
----------------------------------------------------
> On 12 janv. 08, at 16:41, mithat madra wrote:
>
> > the pfft~ gizmo__loadme error happens again...
> > i don't understand the problem. i will re install max/msp to see
> > what happens..
>
>
> gizmo_loadme patch is in the max-help folder. It's not in the search
> path. You may have to copy somewhere else in your search path to use
> it all the time.
>

Dang.

I though that ./max-help was in the search path by default. I have no problem loading this patch, but now I see that is because there is a version of it included in FTM. I've been had!

mz