Old 07-15-2018, 08:17 AM   #1
Steviebone
Human being with feelings
 
Join Date: Jul 2018
Posts: 809
Default Need script - can someone help?

I need a script to insert pedal up event on all selected MIDI items as last event in the clip (or maybe current edit cursor position).

I searched a bit, but my lord there are a lot of scripts out there

I saw that there was a midisend() function. This is probably an easy block to write. I guess the midi channel would have to match the midi out chan of each track tho to be able to do it in one shot.

For example, I have a looped take across several tracks covering multiple instruments on different channels. I need to be able to add a pedal up event on all selected items (either selected take or possibly all takes?) on the selected tracks (or group?)... as the LAST MIDI event for the item/take.

So... add a pedal up event as the last event for item/take across multiple tracks/channels.

Actually I suppose it could just add the event at the current cursor since there are already plenty of actions for cursor placement.

Anyone? My days of C++ are rusty and I haven't the time to try this from scratch myself. I could learn better seeing a real coder in action anyway.

Thank you.
Steviebone is offline   Reply With Quote
Old 07-15-2018, 08:36 AM   #2
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

ReaPack/mpl_Add CC64 off to channel 0 of active MIDI Editor take.lua (in MIDI Editor section)

It could be modified in different cases (selected takes instead opened one in MIDI Editor, put event to end of source take or at every loop end or time selection or at edit cursor etc). Point request as more detailed as possible (without "OR") and probably someone will help you.

Last edited by mpl; 07-15-2018 at 08:45 AM.
mpl is offline   Reply With Quote
Old 07-15-2018, 05:10 PM   #3
Steviebone
Human being with feelings
 
Join Date: Jul 2018
Posts: 809
Default

Thank you for that prompt input. I'm still a little new to the whole reaper addons thing. I'm going to look into this.

I take it a place the reapack dll in the reaper directory (which one?) then look up the script you mention there in the repository?

Please forgive my ignorance and thanks again for your help!
Steviebone is offline   Reply With Quote
Old 07-15-2018, 05:17 PM   #4
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
Default

This should get you going
https://reapack.com/user-guide
nofish is offline   Reply With Quote
Old 07-16-2018, 09:13 AM   #5
Steviebone
Human being with feelings
 
Join Date: Jul 2018
Posts: 809
Default

Thank you, will educate myself and get back
Steviebone 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 10:39 AM.


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