-
Notifications
You must be signed in to change notification settings - Fork 6
Toggle and Action support #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: DEV_OtherDevices
Are you sure you want to change the base?
Conversation
update pro control map from patch-1
Dev other devices update from phunky g
not every entry contains a sample from the log but they are sprinkled in here and there.
Tab sepearated values. Not all entries contain a MPsend capture but they are here and there for reference.
this was an attempt to merge the additions to control24osc in release that were done after DEV_otherdevices was branched off and are as a result missing from procontrolosc.py. The goal was to restore Toggle support for learn commands (this prevents double triggering of the learned commands) and to add direct support for 'Action': 23453 in the procontrolmap.py where 23453 is Reaper's command ID Disclaimer: I do not know how to code! this was a mere brute force hack attempt involving much copying and pasting to get it working because the double triggering was pissing me off. But, that said it does appear to be working....
this update actually broke the transport buttons somehow and the jog wheel now causes a traceback, so I messed something up:
|
Yeah basically we both changed the same thing so now someone has to do a line by line merge to see what goes forward. It's fine and quite normal really, during the process I'll be able to pick out the problem you may have created. |
great! that makes sense I thought I had done something weird. |
hmmm, looking into this problem it would seem that the way I implemented this if any buttons that are not tracks have an action tag only those buttons work, no osc msg gets sent for the others. if you remove all action tags and have toggle tags then only buttons with toggle tags get sent. so somehow it is filtering for only those tags as soon as it finds one. |
So, if you look at the deafault reaper.osc file you should see this comment re actions:
So in theory we should not need to do anything other than put action/nnnn as the address against the button you want to map the action to. Perhaps all we need is a tweak to remove the start of the address if 'action' appears anywhere. |
this is what I did that works. however the way it was working was, like I said, only sending buttons with action tags and ignoring the rest. but reaper is happy to respond to an osc message like this by executing the action id number, and you can enter the action ids in the map. I believe the output of this is it was inserted in class ProCOSC Session , def _desk_to_daw(self, c_databytes): lines 1316 - 1322 on my commit. |
Hey. i/action Also toggle button code is all in place now so this is probably the best route, using the LEARN facility in reaper. |
Something is weird that I can't figure out with this why it says can<t automatically merge, somehow our forks have some kind of conflict, any way I wanted to share the changes I made in the commit labeled: fc857f1 -- add toggle and action support since it did get those features working for me.
this was a completly brute force attempt and I may have changed stuff I shouldn't have but I did the changes based on the release version of control24osc.py and the commits from DEV_Mapping that I mentioned on the issue for toggle support, have a look, cheers.