Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Q&A, Tips, Tricks and Howto

Reply
 
Thread Tools Display Modes
Old 05-31-2020, 05:17 AM   #1
NakajimaYusuke
Human being with feelings
 
NakajimaYusuke's Avatar
 
Join Date: Aug 2013
Location: Japan
Posts: 58
Default [Solved] I want "Retrigger" function on Reaper Action.

Hi, I want "Retrigger" or "Duplicate blocker" function on Reaper Action.

As an example, many electronic drum modules have a feature called Retrigger.
When the module detects a drum shot twice, the module can ignore the second shot if the time between the first shot and the second shot is very close.

I want to apply something similar to this function on Reaper Action.
Is this kind of operation possible?

Because, I am troubled by double execution of reaper Action by mistaken operation of MIDI controller button.
I sometimes do live performances with Reaper and MIDI controllers.
I have assigned some Reaper Action to a button on a MIDI controller.
But, I sometimes accidentally press the button twice. I want to eliminate this mistake.

When I press the button twice quickly,
I want to execute a Reaper action only once instead of twice.
__________________
Sorry about my poor English.

Last edited by NakajimaYusuke; 06-01-2020 at 07:39 AM.
NakajimaYusuke is offline   Reply With Quote
Old 05-31-2020, 10:46 AM   #2
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
Default

There are wait before next actions which you could use in a custom action of yours. First you'd have your real action you want to execute, then any of these wait actions after it.

Action: Wait 0.1 seconds before next action
Action: Wait 0.5 seconds before next action
Action: Wait 1 second before next action
etc.
xpander is offline   Reply With Quote
Old 05-31-2020, 06:05 PM   #3
NakajimaYusuke
Human being with feelings
 
NakajimaYusuke's Avatar
 
Join Date: Aug 2013
Location: Japan
Posts: 58
Default

Thank you for information. I tried it. But it did not work for my purposes.
"Wait 1 second before next action" just inserts a 1 second wait between the first and second action execution.
When I press the button twice quickly, the action has been executed twice with an interval of 1 second.


It would have worked if there is a "Ignore actions for 1 second" in place of the "Wait 1 second before next action" in custom action.

---------
EDIT

Perhaps the meaning of "Retrigger" was misrepresented. Sorry for the lack of explanation.

"Retrigger function" is a wrong word. "Retrigger block function" is the exact word.
Retrigger is not a function to trigger again, It is a function to prevent the trigger again.
__________________
Sorry about my poor English.

Last edited by NakajimaYusuke; 05-31-2020 at 06:26 PM.
NakajimaYusuke is offline   Reply With Quote
Old 06-01-2020, 05:57 AM   #4
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
Default

Quote:
Originally Posted by NakajimaYusuke View Post
"Wait 1 second before next action" just inserts a 1 second wait between the first and second action execution.
When I press the button twice quickly, the action has been executed twice with an interval of 1 second.
Darn, sorry...I understood your question and still managed to confuse myself while answering. What should work in this case is anti flam. Check this thread, where in post #2 IXix has a JS fx which you can insert into the MIDI track. You can set the MIDI channel, range of notes that are affected and the blocking time in milliseconds.
xpander is offline   Reply With Quote
Old 06-01-2020, 07:38 AM   #5
NakajimaYusuke
Human being with feelings
 
NakajimaYusuke's Avatar
 
Join Date: Aug 2013
Location: Japan
Posts: 58
Default

Thank you. solved!
I used this VST in combination with the MIDI_AntiFlam.
https://forum.cockos.com/showthread.php?t=43741
With MIDItoReaControlPath, Reaper Action could be executed with the MIDI signal processed by MIDI_AntiFlam.

And, I found another Retrigger canceler.
"Insert Piz Here midiDuplicateBlocker"
https://www.paulcecchettimusic.com/p...ownload-links/

MIDI_AntiFlam seems to work only for MIDI notes.
"Insert Piz Here midiDuplicateBlocker" is also valid for CC!
__________________
Sorry about my poor English.
NakajimaYusuke is offline   Reply With Quote
Old 06-01-2020, 07:54 AM   #6
xpander
Human being with feelings
 
xpander's Avatar
 
Join Date: Jun 2007
Location: Terra incognita
Posts: 7,670
Default

Quote:
Originally Posted by NakajimaYusuke View Post
MIDI_AntiFlam seems to work only for MIDI notes.
"Insert Piz Here midiDuplicateBlocker" is also valid for CC!
Good to know, thanks Nakajima-san.
xpander 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 07:12 AM.


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