writing binary files


    Feb 02 2006 | 2:56 pm
    Hi,
    I'm looking for an object which let's me write RAW single bytes, longs etc. directly to a file, basically the exact counterpart of what the max object [filein] does.
    I've looked at jit.textfile, at jasch's toxine, and they are no good for my purpose because they are limited to ascii.
    exporting a matrix to disc doen't work because that adds jitter-specific headers and stuff, and i want to write files for other apps to read...
    am I missing the obvious ?
    thanks for any pointers, ciao,
    Joost.
    -------------------------------------------
    Joost Rekveld ----------- http://www.lumen.nu/rekveld
    -------------------------------------------
    "The mystery of the world is the visible, not the invisible" (Oscar Wilde)
    -------------------------------------------

    • Feb 02 2006 | 3:26 pm
    • Feb 02 2006 | 4:04 pm
      aha,
      that looks like the right thing.
      yet another reason to start learning java, I guess. I haven't so far because current projects don't really need it (although I suspect it would significantly speed up some calculations which are quite cumbersome in max/jitter), but i guess for this project i'll have to jump...
      thanks for pointing this out.
      thanks,
      Joost.
      -------------------------------------------
      Joost Rekveld ----------- http://www.lumen.nu/rekveld
      -------------------------------------------
      "The mystery of the world is the visible, not the invisible" (Oscar Wilde)
      -------------------------------------------
    • Feb 02 2006 | 7:53 pm
      hmm, I'll have to start figuring that out... :)
      On 2 Feb 2006, at 17:57, Patrick Delges wrote:
      > Java is not JavaScript.
      -------------------------------------------
      Joost Rekveld ----------- http://www.lumen.nu/rekveld
      -------------------------------------------
      "The mystery of the world is the visible, not the invisible" (Oscar Wilde)
      -------------------------------------------