Page 1 of 1

analyzing sample length

Posted: Thu Nov 24, 2005 5:18 am
by jmangel
I am running a patch into which I can load different samples, but I am using 2 sliders for a groove argument min and max, I need something to tell me the length of this sample so I can scale the sliders. Thanks.

post your patch as a text file

Posted: Thu Nov 24, 2005 7:15 am
by dlpinkstah
Hey JMAngel-



Please post your patch here as a text file, or post it somewhere on the net so we can download it. That way other Max users can open it up in Max and see exactly what you're doing there..



-DLP

Re: analyzing sample length

Posted: Thu Nov 24, 2005 11:08 pm
by hohoho
jmangel wrote:I am running a patch into which I can load different samples, but I am using 2 sliders for a groove argument min and max, I need something to tell me the length of this sample so I can scale the sliders. Thanks.


[buffer~ sample]



second output connect to first input of



[info~ sample]



second output from right outputs float value for length of sample.

thanks

Posted: Wed Nov 30, 2005 4:23 am
by jmangel
i will post from now on. Thanks for the help, figured out the info~ object.