Can Max create a binary file

Jul 10, 2009 at 10:30pm

Can Max create a binary file

Hi,

Is there any way to write a binary file with Max? I see there is an object called “filein” which will allow you to read data from a binary, but I can’t find an equivalent patch for writing binary data. Thanks for your help!

#44688
Jul 11, 2009 at 6:37am
Omsk411 wrote on Fri, 10 July 2009 16:30
Hi,

Is there any way to write a binary file with Max?

Max’ Javascript implementaion has a File Object, which makes reading/writing of binary data easy.
or use Java’s File class in an mxj.
vb

#160833
Jul 11, 2009 at 9:54am

I didn’t test with Max5, but file i/o in Max4′s JavaScript implementation was very slow. I first wanted to write audio files (with markers metadatas) but it was just too slow to be useable.

I suppose Java is faster, but never tried.

p

#160834
Sep 19, 2009 at 11:13pm

how do you access the file object? I cannot find it.

#160835

You must be logged in to reply to this topic.