View Single Post
Old 02-06-2020, 12:46 PM   #119
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@n0ne
Setting FXchain to items via .fxchain file is now available via ultraschall API !


Here is a code exemple:


Code:
      retval, ItemStateChunk = reaper.GetItemStateChunk( item, '', false )
      FXStateChunk = ultraschall.LoadFXStateChunkFromRFXChainFile(fx_chain_path, 1) -- 1 is for take chain
      retval, alteredStateChunk = ultraschall.SetFXStateChunk(ItemStateChunk, FXStateChunk)
      reaper.SetItemStateChunk( item, alteredStateChunk, true )
X-Raym is offline   Reply With Quote