JitterMatrix does not read files expressed as absolute paths in JS

Dec 15, 2012 at 5:50pm

JitterMatrix does not read files expressed as absolute paths in JS

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…

Best,
Frédéric

#65690
Dec 15, 2012 at 10:58pm

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

-Ben

#236660
Dec 16, 2012 at 9:11am

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

Best,
Frédéric

#236661
Dec 17, 2012 at 6:17pm

Hi Frederic,

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

-Ben

#236662
Dec 17, 2012 at 7:22pm

Thanks a lot Ben.

- sorry I was meaning 5.1.9 not 5.0.9.

Best,
Frédéric

#236663

You must be logged in to reply to this topic.