pat to txt automator

Apr 4, 2006 at 4:28pm

pat to txt automator

pat to txt automator

Max is able to generate a text file out of a patch (and this is no new gospel indeed). What I was trying to do is construct something on which I could throw a bunch op pat files which then would be converted to txt files (I want to perform automated searching). What I did manage to do is a scripted instantiation of such a patch. Then I get stuck. It is possible to ‘script send’ the message write, but is brings up a dialog and doesn’t accept any extra arguments. I noticed that it is allowed to send undocumented messages (such as copy and paste), so I am hopeful that someone has the key to solving this.

_
johan

#25228
Apr 4, 2006 at 8:48pm

jvkr wrote:
> pat to txt automator

I compiled a command line utility “maxb2maxt” (from sources taken from
the cyclone project) to convert max binary files to text files. The
binary is for OS X, but if you’re adventurous you could compile it for
windows.

http://theendmusic.org/programming/maxb2maxt

If you want to run this from within max, you could use Bill Orcutt’s
shell object or your own java class to execute it.

-charlie

#74085
Apr 4, 2006 at 10:49pm

Quote: chazen@gmail.com wrote on Tue, 04 April 2006 22:48
—————————————————-
>The binary is for OS X, but if you’re adventurous you could
>compile it for windows.
>
> http://theendmusic.org/programming/maxb2maxt
>

Thanks. I do work on a mac. Where would I stick the binary in order to use it with the shell object.

_
johan

#74086
Apr 4, 2006 at 11:13pm

anywhere, as long as you /type/the/full/path/to/the/binary

usually, user installed items should go to /usr/local/bin , or in
your home folder ~/bin (which you have to make)

if you want to just type the name (like typing ls rather than /
bin.ls), make sure its in your shells search path. google will give
you details on adding directories to your bash/tcsh search path.

v a d e //

http://www.vade.info
abstrakt.vade.info

I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I
LIVE! I LIVE! I LIVE! I LIVE!

You will not be saved by the Holy Ghost. You will not be saved by the
God Plutonium.

In fact, YOU WILL NOT BE SAVED!

#74087
Apr 5, 2006 at 10:56am

> usually, user installed items should go to /usr/local/bin , or in
> your home folder ~/bin (which you have to make)
>

Got it working, after some constructive swearing, thanks.

> I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE
> I LIVE! I LIVE! I LIVE! I LIVE!

Yeah, know the feeling.

#74088

You must be logged in to reply to this topic.