random object starting @ -2

Feb 14, 2010 at 12:19pm

random object starting @ -2

Hi, simple noob question here. Is there any way to set up a random metro that allows the starting point of the random object to be less than zero e.g. -2? I can’t seem to find anything on the tutorials, although I concede that doesn’t mean they are not there. Any help would be appreciated, thanks in advance
Nick

#48482
Feb 14, 2010 at 12:24pm

You can scale it with the maths operator objects. Try connecting a [- 2] to the output of [random].

lh

#174356
Feb 14, 2010 at 2:26pm

I’ve given that a try but am still receiving a little trouble. No output will give any minus value… here is my work so far:

– Pasted Max Patch, click to expand. –

Thanks for the patience.
Nick

#174357
Feb 14, 2010 at 2:28pm

There needs to be a space between the -minus- sign and the number.

lh

#174358
Feb 14, 2010 at 2:33pm

Or you can solve it like this:

– Pasted Max Patch, click to expand. –
#174359
Feb 14, 2010 at 4:40pm

Perfect, thanks to both of you! Great help
N

#174360
Feb 14, 2010 at 5:01pm

I know this is pushing it now but how would I randomise the metro values? I should probably carry on with the next few tutorials but ‘you don’t ask, you don’t get’. I have tried placing a a scaling object and random object before the metro but I am having trouble configuring it… here is what I have got. If you guys are getting sick of me it would be really usefull if you could just direct me to the right tutorial..

– Pasted Max Patch, click to expand. –
#174361
Feb 14, 2010 at 6:51pm

you can set to metro time interval by sending values in metro’s right inlet. So all you have to do is add another “random” number generator that is triggered by the metro’s output:

– Pasted Max Patch, click to expand. –
#174362

You must be logged in to reply to this topic.