Old 08-28-2016, 11:14 PM   #1
Airal
Banned
 
Join Date: Nov 2015
Posts: 406
Default Generating midi, must unselect before it works

I have a script that generates some midi by inserting midi notes in to an item. What is strange is that I have to deselect the midi notes before they work. It's as if reaper is not playing them back until I move the cursor or interact with it somehow. The notes are inserted and everything looks to be playing, but it isn't(no midi notes are showing in the vol meter).

I guess I have to call some function in inform reaper of the changes?

BTW, I tried 40214 - unselect all, which works when I call it from the action menu but not from my script

DeselectAll = lambda : RPR_Main_OnCommand(40214, 0);

Last edited by Airal; 08-29-2016 at 12:13 AM.
Airal 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 03:59 AM.


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