View Single Post
Old 11-24-2019, 08:12 PM   #2
Human being with feelings
Neutronic's Avatar
Join Date: Sep 2013
Posts: 398

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.

Originally Posted by darnskewered View Post
For example, I am trying to find out just how to insert a media file programmatically. I see classes like MediaItem and MediaTrack but nowhere in the documentation says how to create these objects.
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)
Neutronic is offline   Reply With Quote