how to generate line~ with an algorithm?

Jun 21, 2010 at 11:18pm

how to generate line~ with an algorithm?

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. –
#51005
Jun 21, 2010 at 11:30pm

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

#182972
Jun 21, 2010 at 11:36pm

Dear Lloyd,

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

– Pasted Max Patch, click to expand. –
#182973
Jun 22, 2010 at 12:08am

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. –
#182975
Jun 23, 2010 at 9:54pm

how about

– Pasted Max Patch, click to expand. –

?

#182977
Jun 23, 2010 at 10:10pm

Nice one artm, much more elegant than mine :)

#182979
Jun 24, 2010 at 11:46am

Dear users,

I have also a method. How is it?

– Pasted Max Patch, click to expand. –
#182980
Jun 24, 2010 at 12:25pm

you don’t need sprintf:

– Pasted Max Patch, click to expand. –
#182981
Jun 24, 2010 at 12:27pm

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

#182982
Jun 24, 2010 at 12:32pm

like:

– Pasted Max Patch, click to expand. –
#182983
Jun 24, 2010 at 12:37pm

or if you want segment durations random as well:

– Pasted Max Patch, click to expand. –
#182984
Jun 25, 2010 at 6:43am

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

#182985
Jun 25, 2010 at 8:41am

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. –
#182986
Jun 25, 2010 at 11:50am

Thanks, I will try it!

#182987
Jun 25, 2010 at 4:23pm

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

#182988

You must be logged in to reply to this topic.