View Full Version : Send program change on project load
ondrej.par
06-14-2021, 12:35 AM
Hi, I feel like I'm missing something obvious: is it possible to configure Reaper to send MIDI program changes (and maybe some CC changes) immediately after a project is loaded?
I currently have a MIDI item that starts with a PC event. When I load the project, nothing is sent to the MIDI device. It's only sent after I start playback.
"Reset all midi devices" action doesn't help.
Thanks for any advice.
mschnell
06-14-2021, 06:31 AM
AFAIR, ReaPack -> Slider to Midi PS does something similar.
But I don't suppose it will work, as "immediately" supposedly is not what you want. You need the plugin to receive the Program Change message after it is fully functional and this might be a rather long time after the project is loaded.
Why do you think anything should be "sent" from a Midi item when loading befor "start" ?
Why do you think "Reset all midi devices" has anything to do with that ?
-Michael
ondrej.par
06-15-2021, 08:31 AM
I need to switch presets on external MIDI hardware before the playback starts. This is for live use. Each song is a separate project and I want to initialize everything during the gap between songs.
As for "Reset midi devices": Reaper finds and sends the last available program change on start of playback, looking back from the actual seek position. So it tries really hard to keep presets "in sync" and I kinda expected it will do that when resetting devices, too.
mschnell
06-15-2021, 01:03 PM
Maybe Slider To Midi PS sends out a program change message when it's loaded, which always is done when loading a project. But maybe this might be too early because other stuff is not yet initialized.
AFAIR you can start a script on project load.
That script could do a delay and after that push a preset onto an instance of Slider To Midi PS. Same will output a Program change message (if the preset effectively modifies the Parameter (slider) ).
But maybe changing the project in fact os not the appropriate way to achieve what you intend.
-Michael
ondrej.par
06-26-2021, 02:54 PM
Ah... I just noticed there actually is "JS: MIDI Program/Bank Switch on Load" effect that does exactly what I need.
mschnell
06-26-2021, 09:54 PM
Great !
-Michael
rayultine
10-03-2022, 08:34 AM
Ondrej,
Thanks for digging this up!
I have a Kawai K5000 that loads patches very slowly. If I have a program change on measure 1 and a loop I am working with hits the start of the project, the synth always exhibits annoying behavior. This solves the problem perfectly!
medal
06-12-2024, 06:12 PM
Ah... I just noticed there actually is "JS: MIDI Program/Bank Switch on Load" effect that does exactly what I need.
How do you get it to send the PC message automatically? When I open a session nothing happens
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.