random text generator

Nov 19, 2008 at 9:38am

random text generator

Hello all,

Pardon my ignorance but I am JUST starting to explore max. I would like to make something that shows a randomly changing text. I heard there is a way to use a text as a source and have the lines rearranged.

Your help is greatly appreciated !

#40923
Nov 19, 2008 at 10:46am

make a patch using these objects

metro –> random –> text –> message box

use help files (especially text.help) to get started

klif

#145252
Nov 19, 2008 at 11:16am

Im trying to take lines from a lengthy source 5 pages of text. will this also work ?

#145253
Nov 19, 2008 at 3:25pm

without problem. try it.

On 11/19/08, blobo wrote:
>
> Im trying to take lines from a lengthy source 5 pages of text. will this also work ?
>
>

#145254
Nov 20, 2008 at 7:21pm

You could also use jit.uldl to utilize any textfile, including web pages, for your text. The text object will definitely handle large files, the textarea object not as much, but in that one you can see it right in the patch. Maybe use a textarea to display the lines you’re randomly selecting.

If you have any knowledge of regexp that could definitely increase your parsing power… :)

#145255
Nov 20, 2008 at 10:10pm

The ‘coll’ object is your new best friend.

.e

On Nov 19, 2008, at 6:16 AM, blobo wrote:

>
> Im trying to take lines from a lengthy source 5 pages of text. will
> this also work ?

#145256
Nov 20, 2008 at 10:27pm

On 11/20/08, Seejay James wrote:
>
> . Maybe use a textarea to display the lines you’re randomly selecting.

textarea object??

can’t find any references to that object.

did you mean text edit object?

#145257
Nov 21, 2008 at 12:03am

ah yes, I confused the “text edit” object with textareas as on a website.

Lots of formatting and appearance options with text edit too.

#145258
Nov 22, 2008 at 2:50am

Another approach would be to use LISP. Those of us old enough to
remember RACTER know how much fun it can be…

Check out the bush-o-matic (thankfully to become ‘dated’ in about 60
days) demo included in the [maxlispj] object.

brad

http://music.columbia.edu/~brad

On Nov 20, 2008, at 2:21 PM, Seejay James wrote:

>
> You could also use jit.uldl to utilize any textfile, including web
> pages, for your text. The text object will definitely handle large
> files, the textarea object not as much, but in that one you can see
> it right in the patch. Maybe use a textarea to display the lines
> you’re randomly selecting.
>
> If you have any knowledge of regexp that could definitely increase
> your parsing power… :)
> –
> Interactive Media :: Concepts | Creation | Learning
> http://www.third-space-mind.com/
>

#145259
Nov 22, 2008 at 5:59pm

On 22 Nov 2008, at 02:50, Brad Garton wrote:

> Another approach would be to use LISP.

I’ll see your LISP and raise you Groovy and Python (under http://www.loadbang.net
, the usual routine). And there’s Adam’s Ruby support; all have access
to Java’s native regexp libraries.

Oh, I suppose there’s even Javascript, with regexps built in.

– N.

Nick Rothwell / Cassiel.com Limited
http://www.cassiel.com
http://www.myspace.com/cassieldotcom
http://www.last.fm/music/cassiel
http://www.reverbnation.com/cassiel
http://www.linkedin.com/in/cassiel
http://www.loadbang.net

#145260
Nov 22, 2008 at 7:06pm

The cups, they all runneth over.

But where’s the [FORTRAN~] object? I need it to complete a really
huge big project by tomorrow!

brad

http://music.columbia.edu/~brad

On Nov 22, 2008, at 12:59 PM, Nick Rothwell wrote:

> On 22 Nov 2008, at 02:50, Brad Garton wrote:
>
>> Another approach would be to use LISP.
>
> I’ll see your LISP and raise you Groovy and Python (under http://www.loadbang.net
> , the usual routine). And there’s Adam’s Ruby support; all have
> access to Java’s native regexp libraries.
>
> Oh, I suppose there’s even Javascript, with regexps built in.
>
> – N.
>
>
> Nick Rothwell / Cassiel.com Limited
> http://www.cassiel.com
> http://www.myspace.com/cassieldotcom
> http://www.last.fm/music/cassiel
> http://www.reverbnation.com/cassiel
> http://www.linkedin.com/in/cassiel
> http://www.loadbang.net
>
>

#145261
Nov 22, 2008 at 8:58pm

On 22 Nov 2008, at 19:06, Brad Garton wrote:

> But where’s the [FORTRAN~] object?

I tried using that, but Max 5′s curved corners played havok with the
six-space indentation.

– N.

Nick Rothwell / Cassiel.com Limited
http://www.cassiel.com
http://www.myspace.com/cassieldotcom
http://www.last.fm/music/cassiel
http://www.reverbnation.com/cassiel
http://www.linkedin.com/in/cassiel
http://www.loadbang.net

#145262
Nov 23, 2008 at 7:06am

#145263

You must be logged in to reply to this topic.