Makes it much easier to assign meta devices to dsp parameters.
It works on native and plugin devices and also across mixer tracks and instrument fx chains.
renoise 3.1 api update, the index of fx chain has changed.
Actually should be:
local MIDDLE_FRAME_INSTRUMENT_SAMPLE_EFFECTS = renoise.ApplicationWindow.MIDDLE_FRAME_INSTRUMENT_SAMPLE_EFFECTS
if renoise.app().window.active_middle_frame == MIDDLE_FRAME_INSTRUMENT_SAMPLE_EFFECTS then