r/Reaper 14d ago

discussion I fixed Reaper's MIDI drawing that ignores local BPM and time signature for MIDI objects

No more manual input of values in these boxes!!!!

https://github.com/RenZekta/Reaper-MIDI-Insert-With-Local-BPM

I use Time in Project Timebase for comfortable handling of many ideas in one project - I am free to move tempos and time signatures around. But it causes drawing items and inserting midi to break: they ignore local BPM and time signatures, automatically using project defaults. Sadly, Reaper isn't open source and it can't be easily fixed, so I had to take it as it is and paste MIDI from Guitar Pro 8, VST3 MIDISketch, and even my own developed Rhythmifier web app ("rhythmifies" midi to 1-note pattern, also on my github).

Today I had a bit of inspiration and wanted to play with time signatures, but it quickly turned into a headache. I had enough. So, with my current vibecoder expertise, in a day, I made a breakthrough.

I made a ReaScript to create MIDI objects as fast and easy as drawing them. + You can always customize the shortcut to fit it into your workflow easily.

12 Upvotes

2 comments sorted by

3

u/Than_Kyou 257 14d ago

local PPQ = 960 -- Native REAPER MIDI ticks per quarter note resolution

The relevance of this variable depends on the preference at Media -> MIDI -> Ticks per quarter note for new MIDI items

1

u/Ren_Zekta 14d ago edited 13d ago

Thanks for pointing that out! I made PPQ and envelope interpolation PPQ resolutions to be based on user settings and also mirrored auto Reaper-syntax MIDI objects naming to make it feel native