All times are UTC

 
 



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Querying a Tracks' Midi To/Midi From State?
PostPosted: Wed Apr 10, 2013 12:44 pm 

Joined: Tue Sep 15, 2009 7:29 am
Posts: 78
Hi Everyone..need some help here please.
Is there any way to get a tracks' current state/selection of it's Midi to and/or Midi From drop down boxes? I've tried using lh_midiin but all that provides is a umenu object which gets filled
with all the available ports on your system and you have to manually pick the one you want. To be clear....again....I want to query the current highlighted track that the device is on and get the currently selected and showing choice of midi to and midi from.
Any ideas? and if i am by some measure of my own stupidity missing something here than please accept my noobish apologies. A point in the right direction would be extremely appreciated.

thanks
Dennis


Top
 Profile  
 
 Post subject: Re: Querying a Tracks' Midi To/Midi From State?
PostPosted: Wed Apr 10, 2013 1:20 pm 

Joined: Mon Jul 26, 2004 8:37 am
Posts: 1076
Can easily be done as shown in the patch below (copy/paste into an empty m4l device).

<pre><code>
----------begin_max5_patcher----------
657.3ocuV9saaBCEF+ZxSgkuZSJKh+SxtqsWMsGg0JjA7R7DXivlr1U028YN
ljRxHIjlA2.xGaS9N+x24X+5LKbh3YpDi9J5GHKqWmYYAgZBX0N1BWPdNMmH
gkg4zeKR9EdtYJE8YEDVgRP46hxqKX7bpB1gSaveJ3JI6OTHl8B62WqnVsaw
tsQKIpzML953JZpxHOmPG8lPNQAMu7bWDnGrbgM5o18X9LpWJolMfSH7034H
Ld+RXYfX0IvWbhvcDFmT.6BeWEijitWjmgal8sYyZdLefvofJkj0z+gNOh+1
cOf9z80RjymeD2Km1m5UTIkqHJlf2I88rsg7Nxs4kc6i8Y1fnqyooq6R3654
6AP1NDdEdN71OVCGArdBOWkVRTTZcUklWwLdYsJtIlNy1GUOrS3a2f5cFCpG
3LcWAryMHBP3Ycnf67jNTuI0g9fnPSJZE56zWRDjprK3SuUGmiWjwwATyw0+
i53bmPLslp52vMG0cp9cc4LNMUTyUcw3nvVuUfEzwTEa.saz0iV6oqXNmskt
POQSNLt1NSUZH32BVMfhz9PyxKQl1okjszrXSdESTpJVhtHS1xmV.YgiKoUR
lTQ4olLChCj8Z4q96qD7y1oa3vxTbFAG23t+4ENxsOdE8+1pnU6lwscdaiIe
3ZGAN2X27fIrKUCaPpMLYbFcKKUeFIgK3rTRdbIooA03Vg0BNayAfQezF69W
Awf8CMXO5xrf9ZheHFkh5pzc+56tNH5cElQk5N2vcv5tH6CVzFVVFEleGiJX
YkBFW0JBzS89m5UoImKnokGrlwVRACPQGgxQmRdCQSgSJlVNDyj2zioKpI2I
ESGUOcZC9zgogzFveRUj+.TTvMnH8f2l8Wfa5arf
-----------end_max5_patcher-----------
</code></pre>


Top
 Profile  
 
 Post subject: Re: Querying a Tracks' Midi To/Midi From State?
PostPosted: Thu Apr 11, 2013 6:16 am 

Joined: Tue Sep 15, 2009 7:29 am
Posts: 78
I LOVE YOU!!!!!!!!!!!

lmfao!


thanks a mil...you just saved my week.

Dennis


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC

 
 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group