Forums > Javascript

JitterMatrix does not read files expressed as absolute paths in JS

December 15, 2012 | 5:50 pm

Dear list,

Is there any chance for the JitterMatrix object in JS to be implemented in a future release so that its read method accepts files expressed as absolute paths, not just filenames? I believe it should behave as the standard jit.matrix object, but the actual limitation to filenames leads to tricky situations I think…


December 15, 2012 | 10:58 pm

Should work fine with a path name. What does your path look like?


December 16, 2012 | 9:11 am

Looks like this as a string: "Macintosh HD:/Users/fd/Desktop/tests/afolder/testMatrix.jxf.jit"

My tests are using two different matrices with the same name ("testMatrix.jxf.jit") and a different size for checking. Each of these is placed in a different folder ("afolder", "anotherfolder"). If these folders are not in Max’s file search path they won’t be found at all. If they are in the search path I have this message in the Max window (warning you have multiple files with the same name, using this). So it really looks like in all cases the path is stripped before actual reading.

Tests with same conditions and results done in both
Max 6.0.8, Mac OS10.8
Max 5.0.9, Mac OS10.7.5


December 17, 2012 | 6:17 pm

Hi Frederic,

Thanks for more detail, I can repro here. We will have a closer look at improving this.


December 17, 2012 | 7:22 pm

Thanks a lot Ben.

- sorry I was meaning 5.1.9 not 5.0.9.


Viewing 5 posts - 1 through 5 (of 5 total)