Change a samples lenght (stretch) within buffer...

tedor's icon

dear Reader,

I wonder if it is possible, to stretch a sample's length (for instance from 3850 to 5000) in the buffer?
I am using the info~ to get the actual length, than scale it, ...

so I can use the end result with groove~ in its signal input?

I wonder if there is a better way of changing the length of a buffer... something where I do not need to use groove's rate?

thank you,
all the best!

tedor

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

Jean-Francois Charles's icon
tedor's icon

That was I was afraid of...

this means it is not possible to have the stretched version in a buffer without playing the sounds with groove~ (FFT) and recording it?
Maybe I just will have to look into the FFT thing!

Thank you for the help,

krisztian

Gary Lee Nelson's icon
tedor's icon

j5!
Yes, I was about to investigate that pack, it looks really advanced, but my teacher suggested me the same a few days ago! Will go and have a look!

Gary Lee Nelson!
Ha, this will take me a while to know what is what!

Thank you all!
All the best,
tEd

tedor's icon
tedor's icon

dear Gary Lee Nelson

Is there also a patcher called 'gizmo_loadme' I should use to run this patch or should I change this argument in pfft` to something else.
I about to understand how this patch works.. but could not get it run yet, could you tell me please, what to do?

All the best,
Krisztian Hofstadter

tedor's icon

... in a way I got it working, I made a patch of the recipe in pfft~ (load me)...

I will be continuing...

thx

Gary Lee Nelson's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

> From: tedor
> Organization: Cycling '74
> Reply-To:
> Date: Fri, 21 Mar 2008 00:28:46 +0100
> To:
> Subject: [maxmsp] Re: Change a samples lenght (stretch) within buffer...
>
>
> dear Gary Lee Nelson
>
> Is there also a patcher called 'gizmo_loadme' I should use to run this patch
> or should I change this argument in pfft` to something else.
> I about to understand how this patch works.. but could not get it run yet,
> could you tell me please, what to do?
>
> All the best,
> Krisztian Hofstadter

tedor's icon

... this is thing I was looking for:)

thank you!
Krisztian

tedor's icon

dear Gary and Reader,

I am trying to sort out how to change the length of the buffer to exact 5 sec (5000 buffers?). In a way I can make the sound longer by stretching, but I am not sure about the exact length of the altered sound.
Is it just an easy math calculation and I am a dummy or is there a deeper secret?

First argument changed from 2000 to 20000 stretches it 5 times longer... which argument do I need to change to get the exact length of 5 sec.? Whenever I lower the 3rd argument, it gets slower...

Please help me out!

All the best,
Krisztian

FILE : play+gizmo~.help

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

FILE : gizmo_loadme

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

FILE : play+gizmo~

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

tedor's icon

... I think I have got an idea, no worries:)
all the best!

tedor's icon

ok...
I could not sort it out, if there is still someone who could give me a tip.
I am still not sure how to stretch it to an exact length?

All the best,

Krisztian

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