View Single Post
Old 07-01-2017, 06:53 PM   #38
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

Quote:
Originally Posted by srdmusic View Post
1) Time selections is set to 2 bars of 7/8.
2) process the 'js_time selection - insert empty beats at times selection' action
3) Reaper inserts 1 bar of 4/4 and 1 bar of 3/4 instead of 2 bars of 7/8
This is indeed the intended behavior. The script inserts the selected number of beats in the tempo/timesig that *precedes* the time selection. (2 bars of 7/8 are 7 beats, so the script inserts 4/4 + 3/4.) If there are no bpm tempo changes in the time selection, there should be no difference between the "Insert beats" and "Insert space" actions.

The time selection is simply a facile way to specify the number of beats, so that the script has a similar look and feel as the native action.

Although, come to think of it, it may be better to use a dialog box in which the user can specify the number of beats as well as the time signature and the bpm.


EDIT: I should warn anyone using this script that it is in no way intended as a workaround to any of REAPER's tempo/timesig bugs. You are virtually guaranteed to run into some of the weird monsters that make tempo editing in REAPER such an exciting adventure.

Last edited by juliansader; 07-02-2017 at 04:28 AM.
juliansader is offline   Reply With Quote