Let's get some unrestricted midi in and out of m4l devices!

Learn about building and using Max for Live devices.
broc
Posts: 1151
Joined: Mon Jul 26, 2004 8:37 am

Re: Let's get some unrestricted midi in and out of m4l devices!

Post by broc » Sat Mar 05, 2011 11:37 pm

lh_midiin works well for me with all types of midi messages including CC.

You need to parse and transform the incoming messages accordingly.
For example, this patch delivers CC in the same format as [ctlin].

<pre><code>
----------begin_max5_patcher----------
509.3ocwV9sTiBCEF+Z3oHStt5PnTBt2s6qwNcbhvQaTHgEBc6piu6RNPUpZ
A5X23v.AN4Omu7iujIO46QuQuCpojeP9Mwy6IeOOLjMfW+2dzBwtzbQM1LZp
tn.TF5ht5LvNCFG9SibqHusJhQS1WcovjtQpt65JH0zkFF+pKCVPB4I1BN29
j09NYceeTMERUNXv7w5CdqVYtUjB1XgChUKeDiwBZGmW6utwre.1GUlgxTey
8WDRGL.JQAN.zeVIE4jeoyyn1Ze1229XwLwhB9a6P+ApznJEoOPj1qwXBi0w
DjFwgymISN+W1GsKj4ekPWJoR6OwCJdMaCXEao6fUYETBpLRMXFiUwqPVEDg
rheFYE6Xr5yQiC8QhRKYlgCJB8NQweeTg4NpjZxkpQfRX7vkUmUn7UWVE3NJ
8XNoB1NCuS2JpkSfoSZ22vi5cVbD+C2cfoPlIKEU0vHrIAYBiGfEAAmQKDeT
1ze+Q6zHtpXmZpjFnhvllcKwhnUeq1pD2gl7MWacVityTGZtBOBzpnyno5zI
yoreM1eZ6ltu+Li3TzF+PbUqapR2qf9jQdaZlA0FoRXjZ0f1jbPa1Hyx.0vS
x0B2Rc6RfdIPV+o+5lqhRlghhcphrYKbBEwcthhmPQ1SC4PIwliSxd3UGpI9
bjDysXJ7+slZ+3Y+WfavMIA
-----------end_max5_patcher-----------
</code></pre>


chrysalis33rpm
Posts: 1020
Joined: Wed Aug 11, 2004 9:56 pm
Location: San Francisco

Re: Let's get some unrestricted midi in and out of m4l devices!

Post by chrysalis33rpm » Thu Apr 04, 2013 6:08 am

I am trying to get this working without success- can someone point me in the right direction?

I have created the patch shown in the lh_smidiin device help menu, and many midi ports show up in my umenu object. Unfortunately, they are mostly IAC driver ports, and none of them correspond to my control surface that I would like to get CCs from.

I have not been able to set the Type of the Pattr object to Symbol as instructed in the patch. I send it the message "type symbol" but it's type remains "atom". May be the problem?

Thanks for your help.

#1thelark
Posts: 985
Joined: Thu Nov 05, 2009 4:06 pm

Re: Let's get some unrestricted midi in and out of m4l devices!

Post by #1thelark » Thu Apr 04, 2013 6:46 am

For a midirack that spits out CCs and sysex check out macrobat which is included with the awesome Clyphx scripts.
http://beatwise.proboards.com/index.cgi ... thread=992

chrysalis33rpm
Posts: 1020
Joined: Wed Aug 11, 2004 9:56 pm
Location: San Francisco

Re: Let's get some unrestricted midi in and out of m4l devices!

Post by chrysalis33rpm » Thu Apr 04, 2013 3:53 pm

Thanks I'll have a look at that.

3dot...
Posts: 9996
Joined: Tue Feb 20, 2007 11:10 pm

Re: Let's get some unrestricted midi in and out of m4l devices!

Post by 3dot... » Thu Apr 04, 2013 5:29 pm

#1thelark wrote:For a midirack that spits out CCs and sysex check out macrobat which is included with the awesome Clyphx scripts.
http://beatwise.proboards.com/index.cgi ... thread=992
sysex in clyphx/macrobat ??? 8O
are you sure?
Image

broc
Posts: 1151
Joined: Mon Jul 26, 2004 8:37 am

Re: Let's get some unrestricted midi in and out of m4l devices!

Post by broc » Thu Apr 04, 2013 6:55 pm

3dot... wrote: sysex in clyphx/macrobat ??? 8O
are you sure?
Yes, but only sysex output. See macrobat manual under 'nK MIDI'.

chrysalis33rpm
Posts: 1020
Joined: Wed Aug 11, 2004 9:56 pm
Location: San Francisco

Re: Let's get some unrestricted midi in and out of m4l devices!

Post by chrysalis33rpm » Thu Apr 04, 2013 11:55 pm

chrysalis33rpm wrote:I am trying to get this working without success- can someone point me in the right direction?

I have created the patch shown in the lh_smidiin device help menu, and many midi ports show up in my umenu object. Unfortunately, they are mostly IAC driver ports, and none of them correspond to my control surface that I would like to get CCs from.

I have not been able to set the Type of the Pattr object to Symbol as instructed in the patch. I send it the message "type symbol" but it's type remains "atom". May be the problem?

Thanks for your help.

Anyone? Don't let me down Abletonia!

broc
Posts: 1151
Joined: Mon Jul 26, 2004 8:37 am

Re: Let's get some unrestricted midi in and out of m4l devices!

Post by broc » Fri Apr 05, 2013 12:13 am

So I've just checked the latest version from this link

http://cycling74.com/toolbox/midi-inout-for-maxforlive/

and found that it doesn't work for me anymore (on OS 10.5.8).

Which OS version are you using?

chrysalis33rpm
Posts: 1020
Joined: Wed Aug 11, 2004 9:56 pm
Location: San Francisco

Re: Let's get some unrestricted midi in and out of m4l devices!

Post by chrysalis33rpm » Fri Apr 05, 2013 2:18 am

Ahhh, well, at least I know it's not just me. I'm on OS 10.7.5

chrysalis33rpm
Posts: 1020
Joined: Wed Aug 11, 2004 9:56 pm
Location: San Francisco

Re: Let's get some unrestricted midi in and out of m4l devices!

Post by chrysalis33rpm » Fri Apr 05, 2013 2:52 am

Anybody else having issues with this object?

broc
Posts: 1151
Joined: Mon Jul 26, 2004 8:37 am

Re: Let's get some unrestricted midi in and out of m4l devices!

Post by broc » Fri Apr 05, 2013 9:35 am

See also this thread on the cycling forum.

http://cycling74.com/forums/topic.php?id=41924

You could try sending a message to the author for clarification.

chrysalis33rpm
Posts: 1020
Joined: Wed Aug 11, 2004 9:56 pm
Location: San Francisco

Re: Let's get some unrestricted midi in and out of m4l devices!

Post by chrysalis33rpm » Fri Apr 05, 2013 3:44 pm

Thanks for your help. I'll contact Leigh Hunt directly.

toscanini
Posts: 410
Joined: Thu May 05, 2005 5:42 pm

Re: Let's get some unrestricted midi in and out of m4l devices!

Post by toscanini » Wed Jun 05, 2013 11:11 pm

Hello guys,
in the end are the lh_midi objects working for you with Max6.1?
doesn't seem to work with 10.6.8...
cheers
toscanini

chrysalis33rpm
Posts: 1020
Joined: Wed Aug 11, 2004 9:56 pm
Location: San Francisco

Re: Let's get some unrestricted midi in and out of m4l devices!

Post by chrysalis33rpm » Fri Jun 07, 2013 11:05 pm

I never got it working, no.

Post Reply