Forums > MaxMSP

Simple maths help needed

September 4, 2010 | 10:28 am

I know it is simple maths but I have sat and tried to do this for over an hour now. Can someone please refresh my stuck brain. I need to tell a slider to scan the length of a sample. Please see patch below.

– Pasted Max Patch, click to expand. –

September 4, 2010 | 10:33 am

I can’t look at your patch just at the moment, but I would get the length of the sample from the [info] object, then set this as the slider maximum using the [size $1] message to the slider (look at slider’s helpfile and inspector), then make a [line] go [0., $1 $1] to scan at speed=1.

Is this what you want?
Brendan


September 4, 2010 | 10:46 am

Thanks Brendan. It was the [size $1] message. Thanks for the pointers. Simple I know, but unless you use these things often you can remember everything.


September 4, 2010 | 10:53 am

like this…

– Pasted Max Patch, click to expand. –

I think I recognise that patch of mine (or is it TimLloyd’s)….doin’ a little granulation eh?

Brendan


September 4, 2010 | 11:50 am

Brendan,
Thanks for the help. Yes, I think it may be your patching for the granulation. You see, I have no Idea how to program this myself, but learning from yourself and others is very helpful. I would like to express my gratitude. Searching the forum brings up loads of granular patches and simple ones like your patch here do tend to have the nicest sound imo. Thanks again.


September 4, 2010 | 12:03 pm

Here is the final product

– Pasted Max Patch, click to expand. –

September 4, 2010 | 12:06 pm

As we speak, I'm still trying to perfect a granulator that avoids that 'bubbly-ness' that is unavoidable in the time-domain. I'm working on a patch Tim gave me, which uses 2 overlapping windows:

– Pasted Max Patch, click to expand. –

And here's a screenshot if you're busy.
There are 2 granulators that are continually referred to in this forum: the granularized maxpatch in the Max examples and Sakonda's granular patch.

[attachment=140755,1073]

Attachments:
  1. grain2windows.jpg

September 4, 2010 | 12:26 pm

Thats a nice patch. Thanks for letting me see it. I’ll have more of a look next week when I get more time. I have a patch that I made from the workings of Sakonda’s patch, but as I said I am no dsp wizz and all I can really do is make bits and pieces from parts of other peoples patches with a trial and error method. More like circuit bending if you like. I pick things up here and there. Have a look at my blog if you get time. I started it as a personal resource site for interesting granular programs. You have probably seen most of it though.

microsound.info


September 4, 2010 | 7:18 pm

Hey
microsound
I love that blog, nice one

Brendan

ps
I’m doing a PhD in DMI design and one of my software tools is a DIY granulator in Max – PM me if you like, I’d be interested in keeping up to date
interposedesign@gmail.com


September 9, 2010 | 9:15 am

Brendan, I PM’d you.

Filament


September 9, 2010 | 11:16 am

Hia noob_meister

Is your new Granualtor along the same lines as the pd book examples.

http://www.pd-tutorial.com/english/ch03s07.html#id430983

Also is it Add Overlap Gran.
i’ve patched a crappy version a while ago. I need to go back and studie it again. I’ll try out your new patch when i have time. Cheers for sharing.


September 9, 2010 | 1:51 pm

@mrmrshoes

I haven’t seen that resource before, but the patch looks very useful; i’ll implement a max/msp version asap

Thanks
Brendan


September 9, 2010 | 2:07 pm

I managed to buy a hard copie from a friend. It’s not bad like. I think they are a few holes in it, But a good resource none the less.
here is my nasty version of one the patches.

– Pasted Max Patch, click to expand. –

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