Live.step sequencer problem

Adam's icon

I'm new to max for live, but I need to create a Max for Live device capable of generating random melodies using the pitch values inputted into live.step as its source material. I can generate sound with out the step seqencer but I can't seem to make it work when placing it where the message with all the numbers are on the right of the attached screenshot.

I may be doing things completely wrong, but any help anyone can give would be much appreciated.

Random Melody Generator

Gregory Taylor's icon

If you're really using live.step, why can't you send random numbers in the range of the number of steps in your sequence? The counter-driven sequencer tab in the helpfile has a counter in it. Replace that with a random object and add one (since live.step counts from 1).

Adam's icon

You mean like this? Sorry if its obvious, I'm doing this for a uni course but I really can't grasp it.

changed P counter to random 1

Gregory Taylor's icon

I think you need to pay some attention to the random object's help file. What does that number "1" after the name of the random object do, for example? :-)