Old 10-16-2019, 11:55 AM   #401
pepe44
Human being with feelings
 
pepe44's Avatar
 
Join Date: Jul 2013
Location: Portugal
Posts: 712
Default

Yes. Its 1.01
I tried again and i could copy one instance of JS Saturation, i tried with Saike Tanh Saturation with anti aliasing and didnt work, now none works.
Could be something on saike code "breaking" the script ?
__________________
Intel core i7 6700K - socket 1151 LGA - Chipset z170 - 16G DDR4 - Nvidia GTX 1060
pepe44 is online now   Reply With Quote
Old 10-16-2019, 12:27 PM   #402
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,538
Default

Quote:
Originally Posted by pepe44 View Post
Yes. Its 1.01
I tried again and i could copy one instance of JS Saturation, i tried with Saike Tanh Saturation with anti aliasing and didnt work, now none works.
Could be something on saike code "breaking" the script ?
I doubt it. It use native API for copy/paste FX without any conditions.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate

Last edited by mpl; 10-16-2019 at 12:34 PM.
mpl is offline   Reply With Quote
Old 10-16-2019, 01:33 PM   #403
pepe44
Human being with feelings
 
pepe44's Avatar
 
Join Date: Jul 2013
Location: Portugal
Posts: 712
Default

i recently did a reset to factory default, but i sync´d all the reapack stuff, i did uninstall your script and installed it again. Any advice so i can fix it ?
__________________
Intel core i7 6700K - socket 1151 LGA - Chipset z170 - 16G DDR4 - Nvidia GTX 1060
pepe44 is online now   Reply With Quote
Old 10-26-2019, 05:17 AM   #404
HighVoltage
Human being with feelings
 
HighVoltage's Avatar
 
Join Date: Jan 2007
Posts: 360
Default

Smart duplicate items grid relative BUG

This script works very unreliable if the item is exactly filling the bar.

Attached Images
File Type: gif Reaper - smart duplicate.gif (43.8 KB, 129 views)
HighVoltage is offline   Reply With Quote
Old 11-04-2019, 07:32 AM   #405
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,538
Default

Quote:
Originally Posted by HighVoltage View Post
Smart duplicate items grid relative BUG

This script works very unreliable if the item is exactly filling the bar.


I cant reproduce that. Share the project to find a bug please.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate

Last edited by mpl; 11-04-2019 at 09:29 AM.
mpl is offline   Reply With Quote
Old 11-12-2019, 10:24 AM   #406
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 5,556
Default

Script: mpl_Create ReaComp sidechain routing.lua

This is a great script, any chance of a ReaGate version also?
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old Today, 10:29 AM   #407
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,538
Default

Quote:
Originally Posted by EpicSounds View Post
Script: mpl_Create ReaComp sidechain routing.lua

This is a great script, any chance of a ReaGate version also?

Here is a quick mod, will be added to reapack soon:

Code:
-- @description Create ReaGate sidechain routing from selected track to track under mouse cursor
-- @version 1.0
-- @author MPL
-- @website http://forum.cockos.com/showthread.php?t=188335
-- @changelog
--    + test
  
  
  threshold = 0.25
  --ratio = 0.06
  defsendvol = 1
        
  --------------------------------------------------------------------------------------
  function main(threshold, ratio, defsendvol)
  
    -- get source
      src_tr = {}
      for tr_i = 1, CountSelectedTracks(0) do
        track = GetSelectedTrack(0,tr_i-1)
        src_tr[#src_tr+1] = GetTrackGUID( track )
      end 
      if #src_tr == 0 then return end
  
    -- get dest
      dest_tr = VF_GetTrackUnderMouseCursor()
      if not dest_tr then return end
      dest_trGUID = GetTrackGUID( dest_tr )

    -- increase chan
      ch_cnt = GetMediaTrackInfo_Value( dest_tr, 'I_NCHAN' )
      SetMediaTrackInfo_Value( dest_tr, 'I_NCHAN', math.max(4, ch_cnt) )
      
    -- insert reacomp
      local reacompid = TrackFX_AddByName( dest_tr, 'ReaGate (Cockos)', false, 1 )
      TrackFX_SetOpen(dest_tr, reacompid, true)
      TrackFX_SetParam(dest_tr, reacompid, 0, threshold)
      --TrackFX_SetParam(dest_tr, reacompid, 1, ratio)    
      TrackFX_SetParam(dest_tr, reacompid, 7, (1/1084)*2)  
    
    -- add sends                  
      for i = 1, #src_tr do
        if src_tr[i] ~= dest_trGUID then
          local src_tr =  BR_GetMediaTrackByGUID( 0, src_tr[i] )
          
          local new_id
          -- check for existing id
          for sid = 1, GetTrackNumSends( src_tr, 0 ) do
            local dest_tr_pointer = BR_GetMediaTrackSendInfo_Track( src_tr, 0,  sid-1, 1 )
            local dest_tr_pointerGUID = GetTrackGUID(dest_tr_pointer)
            if dest_tr_pointerGUID == dest_trGUID then new_id = sid-1 break end
          end
          
          if not new_id then new_id = CreateTrackSend( src_tr, dest_tr ) end
          SetTrackSendInfo_Value( src_tr, 0, new_id, 'D_VOL', defsendvol)
          SetTrackSendInfo_Value( src_tr, 0, new_id, 'I_DSTCHAN', 2) -- 3/4
        end
      end
    
  end
  ---------------------------------------------------------------------
  function CheckFunctions(str_func) local SEfunc_path = reaper.GetResourcePath()..'/Scripts/MPL Scripts/Functions/mpl_Various_functions.lua' local f = io.open(SEfunc_path, 'r')  if f then f:close() dofile(SEfunc_path) if not _G[str_func] then  reaper.MB('Update '..SEfunc_path:gsub('%\\', '/')..' to newer version', '', 0) else return true end  else reaper.MB(SEfunc_path:gsub('%\\', '/')..' missing', '', 0) end   end
  --------------------------------------------------------------------  
  local ret = CheckFunctions('VF_CalibrateFont') 
  local ret2 = VF_CheckReaperVrs(5.982,true)    
  if ret and ret2 then 
    Undo_BeginBlock()
    main(threshold, ratio, defsendvol)
    Undo_EndBlock('Create ReaGate sidechain routing', -1)
  end
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate

Last edited by mpl; Today at 12:17 PM.
mpl is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:27 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.