Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER General Discussion Forum

Reply
 
Thread Tools Display Modes
Old 11-10-2017, 05:51 PM   #1
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,813
Default done:is it possible to toggle actions with a midi foot controller?

So the pedal with one button, would trigger 2 actions example: start recording (On) and if triggered again stop (Off) and so on.


Thank you very much!

edit: to be on topic

Last edited by deeb; 11-10-2017 at 07:25 PM. Reason: better on topic
deeb is online now   Reply With Quote
Old 11-10-2017, 05:58 PM   #2
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,690
Default

I did not do this, but I am positive that this is possible.

Here is what I already do (maybe for your issue there is a much easier way):

I have a complex set of JSFX plugins to handle a controller board for live playing.

There is some JSFX code that creates a midi CC message in case a certain event happens.

The CC is routed to the "Reaper Control Path" with the MIdiToReaControlPath plugin.

A Reaper Event is assigned to that CC and is fired accordingly.

-Michael
mschnell is offline   Reply With Quote
Old 11-10-2017, 06:04 PM   #3
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

figure out the action you want or create a custom action

then in the actions list with that action selected go to the little area where you normally would create key command to trigger it...

you can in there move a midi controller to be the trigger...
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is offline   Reply With Quote
Old 11-10-2017, 06:57 PM   #4
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,813
Default

thank you both! i didn't know about ReaControlMIDI Plugin ! i'll need some time to know it better and how to deal with scripts there.
deeb is online now   Reply With Quote
Old 11-11-2017, 01:57 AM   #5
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,690
Default

Quote:
Originally Posted by deeb View Post
ReaControlMIDI Plugin
Same is necessary if a midi message is to be sent (pre-processed) from a track's FX chain to Reaper's internal track-agnostic Midi bus (e.g. to trigger "Events" or to drive SWS LiveConfig).
You can also sent all external Midi events to that bus by checking the "control messages" box in the midi receive setting of the appropriate Midi device.

-Michael
mschnell is offline   Reply With Quote
Old 11-11-2017, 10:19 AM   #6
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,813
Default

Thank you mschnell!
for the example i questioned in the topic it probably will be easy because there is already an action to toggle record / stop
In the future i will have an expression pedal and some dedicated footswitch for which i probably will have to put my hands on JSFX . I am not sure what will fit better or even what i want : )

I have null experience on all this! and reaper is a world ..

- very generally the trigger Would select which bus would be active for a specific track.

example:

this buses would be pre configurated:
Bus 1: Delay preset 1 + Chorus preset 1
Bus 2: Delay preset 2 + Chorus preset 2
Bus 3: Delay preset 3 + Chorus preset 3

And then footswitch triggers would determine which bus would be affecting on the selected track

So i have selected track: Voice Microphone

1st footswitch - would route only to Bus 1
2nd footswitch - would route only to Bus 2

Changing selected track to: Snare mic
1st footswitch - would route only to Bus 1
2nd footswitch - would route only to Bus 2


Does this makes any sense to you?
if so is it the right path to go?

Thanks a lot!

Last edited by deeb; 11-11-2017 at 11:33 AM.
deeb is online now   Reply With Quote
Old 11-11-2017, 10:23 AM   #7
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 29,260
Default

Lodigy's UMI3 has this built in - three, three state switches which can operate as a midi controller to run actions with.
__________________
Music is what feelings sound like.
karbomusic is offline   Reply With Quote
Old 11-11-2017, 10:28 AM   #8
solger
Human being with feelings
 
solger's Avatar
 
Join Date: Mar 2013
Posts: 5,844
Default

If you want to execute multiple Actions with one (MIDI) button press, using Custom Actions, like hopi mentioned, is an option: https://www.reaper.fm/videos.php#15Evzb7rWCo
In addition, making Cycle Actions might also be useful: www.youtube.com/watch?v=VjWpQXSyaVY

Quote:
In the future i will have an expression pedal and some dedicated footswitch...
If you're not sure which MIDI foot controller to get or for testing purposes, you can assign a Keyboard Shortcut or another MIDI controller to your (Custom) Actions to trigger or test them in the meantime.
This way you might be able to narrow down how many switches, etc. you need on a MIDI Foot controller for your workflow.

Last edited by solger; 11-11-2017 at 11:06 AM. Reason: re-reading post #6
solger is offline   Reply With Quote
Old 11-11-2017, 11:56 AM   #9
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,813
Default

Quote:
Originally Posted by karbomusic View Post
Lodigy's UMI3 has this built in - three, three state switches which can operate as a midi controller to run actions with.
Cool! i'll have this in mind! but i think i'll be looking into conventional midi port.
Thanks
deeb is online now   Reply With Quote
Old 11-11-2017, 11:58 AM   #10
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,813
Default

Quote:
Originally Posted by solger View Post
If you want to execute multiple Actions with one (MIDI) button press, using Custom Actions, like hopi mentioned, is an option: https://www.reaper.fm/videos.php#15Evzb7rWCo
In addition, making Cycle Actions might also be useful: www.youtube.com/watch?v=VjWpQXSyaVY


If you're not sure which MIDI foot controller to get or for testing purposes, you can assign a Keyboard Shortcut or another MIDI controller to your (Custom) Actions to trigger or test them in the meantime.
This way you might be able to narrow down how many switches, etc. you need on a MIDI Foot controller for your workflow.
Thanks for all the info! Very nice idea also for testing meanwhile and find my way!

thanks all!
deeb is online now   Reply With Quote
Old 11-11-2017, 12:07 PM   #11
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 14,690
Default

Quote:
Originally Posted by deeb View Post
very generally the trigger Would select which bus would be active for a specific track.
I suppose you need to write a ReaScript for this and trigger it by an action that is triggered by the midi message.

-Michael
mschnell is offline   Reply With Quote
Old 11-11-2017, 12:31 PM   #12
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 29,260
Default

Quote:
Originally Posted by deeb View Post
Cool! i'll have this in mind! but i think i'll be looking into conventional midi port.
Thanks
As far as Reaper is concerned it is a conventional MIDI port unless you need a physical MIDI port for some other reason. My main point was you don't have all this extra configuration/tweeking in the setup, it's just another MIDI controller but with a switch(s) that can do three states per switch - or not if you don't want it to.
__________________
Music is what feelings sound like.
karbomusic is offline   Reply With Quote
Old 11-11-2017, 12:55 PM   #13
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,813
Default

Quote:
Originally Posted by mschnell View Post
I suppose you need to write a ReaScript for this and trigger it by an action that is triggered by the midi message.

-Michael

very nice ! makes much sense and i will start thinking how to implement this.
Probably it will be fun incorporate markers for each bus to and so 2 triggers would
select next / previous marker with his own envelopes starting points : )
It is fun but a world of possibilities but at the end it must be natural to play with!
So i don't know if markers will help here : )
Any way it is wonderful the fact we can do whatever fits us better. Cool!!


Thank you so much mschnell! and all other users which helped me here!
deeb is online now   Reply With Quote
Old 11-11-2017, 01:00 PM   #14
deeb
Human being with feelings
 
deeb's Avatar
 
Join Date: Feb 2017
Posts: 4,813
Default

Quote:
Originally Posted by karbomusic View Post
it's just another MIDI controller but with a switch(s) that can do three states per switch
Cool! i did't retain this point at first. Thank you for the heads up!
deeb is online now   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 03:23 AM.


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