View Single Post
Old 11-24-2019, 08:26 PM   #3
Human being with feelings
Join Date: Nov 2019
Posts: 16

Originally Posted by Neutronic View Post
Welcome to the forum! Everything you listed can be done. Since you're a programmer it's just a matter of getting yourself familiar with the API.

Check the docs for the InsertMedia() function.

For example, to add a new track and put a MIDI file on it using LUA you would type the following:

reaper.InsertMedia("path_to_file", 1)
Gah! How did I miss that? I kept searching for reasonable search terms on the REAPER API functions page and somehow didn't run across this. Thanks!
darnskewered is offline   Reply With Quote