ReaScript question (Lua): Get track FX data from active MIDI editor
I'm trying to write a script that would reference the track's FX chain from a selected MIDI item in the MIDI editor. I'm sure it's possible, but I'm a bit lost referencing the ReaScript API.
It seems that I would need to use reaper.MIDIEditor_GetActive() as a parameter for reaper.MIDIEditor_GetTake(), but I'm lost after that. Is there a way to identify the track and therefore the track FX from the returned take value in reaper.MIDIEditor_GetTake?
|