Old 08-28-2015, 07:53 AM   #1
Reno.thestraws
Human being with feelings
 
Reno.thestraws's Avatar
 
Join Date: Nov 2009
Location: Belgium
Posts: 10,474
Default How to manage lower 5 strings in I_RECINPUT in lua?

I don't know how to manage this :

4096 set for MIDI input, if set, then low 5 bits represent channel (0=all, 1-16=only chan), then next 5 bits represent physical input (63=all, 62=VKB)

How I write this?

reaper.SetMediaTrackInfo_Value(track, "I_RECINPUT", 4096 ?? 00 - 63??)

Thanks for Help

Code:
I_RECINPUT : int * : record input. <0 = no input, 0..n = mono hardware input, 512+n = rearoute input, 1024 set for stereo input pair. 4096 set for MIDI input, if set, then low 5 bits represent channel (0=all, 1-16=only chan), then next 5 bits represent physical input (63=all, 62=VKB)
__________________
http://www.residenceemilia.com

Last edited by Reno.thestraws; 08-28-2015 at 12:53 PM.
Reno.thestraws is offline   Reply With Quote
Old 08-29-2015, 12:06 PM   #2
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,902
Default

Hmmm not sure and away from REAPER but you can try to GET the RECINPUT from tracks that have been set as you need, and try to determine how it works.
X-Raym is offline   Reply With Quote
Old 08-29-2015, 12:08 PM   #3
Reno.thestraws
Human being with feelings
 
Reno.thestraws's Avatar
 
Join Date: Nov 2009
Location: Belgium
Posts: 10,474
Default

yeah thanks, it's exactly what I did just after giving me 5 slap on my own face for being idiot
__________________
http://www.residenceemilia.com
Reno.thestraws is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:23 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.