Forums > MaxMSP

how to generate line~ with an algorithm?


June 21, 2010 | 11:18 pm

Dear advanced users,

is there an elegant way to do following?
I want to use an algorithm to produce a long line~.

best,
prko

— Pasted Max Patch, click to expand. —
June 21, 2010 | 11:30 pm

I’m a little confused about what you’re asking. That patch can be replaced by [phasor~ 1 ], it will do the same thing.

June 21, 2010 | 11:36 pm

Dear Lloyd,

I want to have a complex of line~:
At least:

— Pasted Max Patch, click to expand. —
June 22, 2010 | 12:08 am

lol……….I thought there was a multi-point line~ object already…….."I forgot about you zigzag~"……………..

Here is what I just made, might be interesting but will not be as good/useful as zigzag~

It needs some work as well………….bit "buggy"

– edit : it doesn’t even need the regexp bit – nevermind anyway :P

— Pasted Max Patch, click to expand. —
June 23, 2010 | 9:54 pm

how about

— Pasted Max Patch, click to expand. —

?

June 23, 2010 | 10:10 pm

Nice one artm, much more elegant than mine :)

June 24, 2010 | 11:46 am

Dear users,

I have also a method. How is it?

— Pasted Max Patch, click to expand. —
June 24, 2010 | 12:25 pm

you don’t need sprintf:

— Pasted Max Patch, click to expand. —
June 24, 2010 | 12:27 pm

I don’t understand what you’re doing exactly, but can’t [drunk] help to generate a random line like that with less effort?

June 24, 2010 | 12:32 pm

like:

— Pasted Max Patch, click to expand. —
June 24, 2010 | 12:37 pm

or if you want segment durations random as well:

— Pasted Max Patch, click to expand. —
June 25, 2010 | 6:43 am

Thanks for your suggestion.
I want to produce beats in real time.
The method of Alvin Lucier (using a slow sinwave glissando), I want to avoid.
Thus, my solution is using a buffer and I want to control the playing speed of the buffer by [sig~] connected to [groove~]. And the line object will be connected to [sig~].
When I press a button, [record~] begins write a buffer and then a [groove~] plays the buffer in a few millisecond.

Am I wrong?

Sincerely,
prko

June 25, 2010 | 8:41 am

not sure about connecting [line] to [sig~] isn’t it the same as just [line~]?

here’s a loop madness toy, is it similar to what you have in mind? (beware, it doesn’t have a stop button)

— Pasted Max Patch, click to expand. —
June 25, 2010 | 11:50 am

Thanks, I will try it!

June 25, 2010 | 4:23 pm

drunk has a certain distribution aready which int normal or linear.
but one could use random or random() as a starting point.

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

Forums > MaxMSP