M4L MIDI Lib - Unrestricted MIDI I/O

stray's icon

I've just posted a beta version of a cross-platform MIDI library (written in Java) for unrestricted MIDI input/output in M4L devices and would appreciate some help testing it out.

You can find a download link and post feedback on the library in this thread on my forum.

Thanks in advance.

stevesavage's icon

Hi,

I've not had any success using this method for getting midi into a max for live patch, it just throws up a error in the max window.

Unknown error in external.

I'm using live 7.0.3, max 6.1.2 and the latest java version. On windows 7 32-bit

Any help?

Thanks

Steve

stray's icon

The library isn’t an external, it’s a set of Java classes, so I’m not sure how the error you’re referring to could be related to the library.

If possible, post the patch you’re using the library in and I’ll have a look at it. Make sure that it doesn’t use any externals though please. Also, mention which Live version you’re using as I don’t think you meant 7.0.3. As an aside, it wouldn’t hurt to update to the latest version of Live (either 8.4.1 or 9.0.4).

stevesavage's icon

hi, sorry my mistake it says 'Undefined external error'

The max patch is simply a loadbang into mxj nk.midi.sys, umenu, mxj nk.midi.input, then print

I'm on live 8.4.1, max 5.1.9 win 7 64bit

stray's icon

Again, please post the patch. Also, please mention at which point this error occurs. For example, does it occur upon selecting a port from the umenu? If so, which port are you selecting and is it in use elsewhere? A screenshot showing the Max window containing the error would be helpful as well. It would also be useful to know if you’re able to use the mxj object with other classes such as those included with Max.

Lastly, the system specs you mention in this post are drastically different from those mentioned in your first post. Which are the correct specs? And which Java version are you using? You can check that [url=http://www.java.com/en/download/installed.jsp]here[/url].

jsumners's icon

I'm working on pretty much the exact same thing. I'll check your library out when I get a chance. Do you have a Bitbucket.org or Github.com repository?

Lee's icon

I was working on one, but there doesn't seem much point anymore ;)

jsumners's icon

*wrong thread*

Lee's icon

:)

Peter McCulloch's icon

Looking forward to checking this out. The absence of this has been a major thorn in my side.

mooter's icon

Anyone have ideas why mxj's stop working when not in edit mode in M4L?

MXJ's fine when the edit window is open but once I close it, they darken like an invalid object (and no inlet/outlets are there)

brooke's icon

Excited about this (or any) max for live midi solution.

So far I am getting an ArrayIndexOutOfBounds Exception when trying to use a midi device on OS X.

For instance:

mxj nk.midi.output "Unitor8/AMT8 - Port 2"

Is there a naming convention I'm missing, I'm just going with what I get from nk.midi.sys ?

Mr-Bit's icon

nk.midi.sys has midi outport and inport connectors..."ArrayIndexOutOfBounds" exception had me scratching my head.