Go Back   Cockos Incorporated Forums > REAPER Forums > ReaScript, JSFX, REAPER Plug-in Extensions

Reply
 
Thread Tools Display Modes
Old 08-26-2018, 07:24 AM   #281
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,197
Default

http://lmgtfy.com/?q=SWS+reaper
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate

Last edited by mpl; 08-26-2018 at 07:29 AM.
mpl is offline   Reply With Quote
Old 08-26-2018, 07:27 AM   #282
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,197
Default

Just added a script closer to Izotope Ozone Neutron Visual Mixer.
ReaPack/mpl_VisualMixer.lua
Any suggestions welcome.

Attached Images
File Type: jpg vm2.jpg (42.6 KB, 627 views)
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 08-26-2018, 11:51 AM   #283
Slick
Human being with feelings
 
Join Date: Jun 2013
Location: Russia
Posts: 23
Default

Quote:
Originally Posted by mpl View Post
Just added a script closer to Izotope Ozone Neutron Visual Mixer.
ReaPack/mpl_VisualMixer.lua
Any suggestions welcome.

Just WOW. Thank you so much.I'll try tgis
Slick is offline   Reply With Quote
Old 08-26-2018, 12:55 PM   #284
strachupl
Human being with feelings
 
strachupl's Avatar
 
Join Date: Jan 2013
Posts: 271
Default

Quote:
Originally Posted by mpl View Post
Just added a script closer to Izotope Ozone Neutron Visual Mixer.
ReaPack/mpl_VisualMixer.lua
Any suggestions welcome.

Looks great I wonder how it works. I would suggest you to keep that aesthetics direction.
__________________
The truth is not in the middle but exactly where it is.
strachupl is offline   Reply With Quote
Old 08-31-2018, 05:40 AM   #285
tvm79
Human being with feelings
 
Join Date: Jan 2014
Posts: 22
Default

Visual Mixer works great here! Thanks for all your hard work
__________________
https://soundcloud.com/trondert
tvm79 is offline   Reply With Quote
Old 09-20-2018, 04:08 PM   #286
mehmethan
Human being with feelings
 
mehmethan's Avatar
 
Join Date: Jun 2011
Posts: 404
Default

MPL thanks for this great tool... Visual Mixer ,

Bug : Grouped tracks (grouped volume) don't work in visual mixer.
Feature Request : Lock visual mixer with selected tracks.
mehmethan is offline   Reply With Quote
Old 09-20-2018, 08:35 PM   #287
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,197
Default

It is already work only with selected tracks. What "group volume" means?
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 09-21-2018, 06:39 AM   #288
mehmethan
Human being with feelings
 
mehmethan's Avatar
 
Join Date: Jun 2011
Posts: 404
Default

Quote:
Originally Posted by mpl View Post
It is already work only with selected tracks. What "group volume" means?
MPL, please see the attachment for grouping.
Attached Images
File Type: gif AI.gif (48.6 KB, 83 views)
mehmethan is offline   Reply With Quote
Old 10-04-2018, 01:09 PM   #289
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 5,097
Default

have some issues with the ReaEQ scripts, but overall great work on those. I just recorded a video about them but unfortunately found some bugs in the process.

1 - Script: mpl_Add ReaEQ to selected tracks (with low and high shelf TCP).lua

bug: this does not work well if user has a default preset. Band 4 can end up with wrong filter shape

Suggestion: What makes sense to me is to make band 1 hipass and freq at 20Hz and band 4 lopass with freq at 24000Hz, instead of shelves at 100Hz and 5kHz.

2 - Script: mpl_Build harmonic series bands for focused ReaEQ.lua

bug: filter q isn't same as the plugin, I always have to make narrower after using.

Suggestion: link gains as an option.


3 - Script: mpl_Solo last touched ReaEQ band (alter).lua

couldn't figure out what was different from the other version.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 10-04-2018, 02:01 PM   #290
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,197
Default

Quote:
1 - Script: mpl_Add ReaEQ to selected tracks (with low and high shelf TCP).lua
bug: this does not work well if user has a default preset. Band 4 can end up with wrong filter shape
there is no way to add band(s) from ReaScript so it is supposed user to not change default preset

Quote:
Suggestion: What makes sense to me is to make band 1 hipass and freq at 20Hz and band 4 lopass with freq at 24000Hz, instead of shelves at 100Hz and 5kHz.
done, require REAPER 5.90+

Quote:
2 - Script: mpl_Build harmonic series bands for focused ReaEQ.lua
bug: filter q isn't same as the plugin, I always have to make narrower after using.
Suggestion: link gains as an option.
done

Quote:
3 - Script: mpl_Solo last touched ReaEQ band (alter).lua
couldn't figure out what was different from the other version.
Quote:
Originally Posted by mpl View Post
mpl_Solo last touched ReaEQ band (alter) also invert soloed band type like Band<>BandPass, HP<>LP, LP<>HP
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 10-04-2018, 02:37 PM   #291
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 5,097
Default

awesome! that was quick. Might have to re-record that video to show these changes peroperly.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 10-17-2018, 05:52 AM   #292
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 302
Default

"'/Scripts/MPL Scripts/Functions/mpl_Various_functions.lua' is missing"

Installed with synchronized ReapPack on/in Reaper 5.96 (linux)
__________________
ToDoList Donate Mark4Celest: Frid (i ditt hjärta) Eve & the Fisherman on Spotify
tompad is offline   Reply With Quote
Old 10-17-2018, 05:57 AM   #293
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,197
Default

Quote:
Originally Posted by tompad View Post
"'/Scripts/MPL Scripts/Functions/mpl_Various_functions.lua' is missing"

Installed with synchronized ReapPack on/in Reaper 5.96 (linux)
Are you sure it is physically installed on your drive?
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 10-17-2018, 08:18 AM   #294
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 302
Default

Quote:
Originally Posted by mpl View Post
Are you sure it is physically installed on your drive?
Yepp! I marked VisualMixer in ReaPack and made an install like I do
with other scripts. But ReaPack did install in another folder than
the error-message told,and there is no mpl_Various_functions.lua in
the other folders.
__________________
ToDoList Donate Mark4Celest: Frid (i ditt hjärta) Eve & the Fisherman on Spotify
tompad is offline   Reply With Quote
Old 10-17-2018, 09:04 AM   #295
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,197
Default

You should install in manually. Action list/browse packages
Navigate for mpl_Various functions and mark for install.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 10-17-2018, 10:22 PM   #296
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 302
Default

Ahaaa! So various functions is a separate package - thought it was expected to be included in VisualMixer package.
__________________
ToDoList Donate Mark4Celest: Frid (i ditt hjärta) Eve & the Fisherman on Spotify
tompad is offline   Reply With Quote
Old 10-17-2018, 11:07 PM   #297
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,197
Default

Ideally yes.

Various_functions is 'common' package, it used by most complex stuff I did. It allows me to fix bugs on functions side (so I don`t need to fix every package/script which used buggy function). Unfortunately there is no way in ReaPack (yet) to set dependecies for such things while installing parent package, so I have to set it manually and put an error message box.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 10-18-2018, 11:33 AM   #298
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 302
Default

Quote:
Originally Posted by mpl View Post
Ideally yes.

Various_functions is 'common' package, it used by most complex stuff I did. It allows me to fix bugs on functions side (so I don`t need to fix every package/script which used buggy function). Unfortunately there is no way in ReaPack (yet) to set dependecies for such things while installing parent package, so I have to set it manually and put an error message box.
Ok, but how about add to error message that "you need to install Various_functions from ReaPack to make this package work fully" or something,
or in the info of package in Reapack?

Nice script by the way - VisualMixer!
__________________
ToDoList Donate Mark4Celest: Frid (i ditt hjärta) Eve & the Fisherman on Spotify
tompad is offline   Reply With Quote
Old 10-18-2018, 11:53 AM   #299
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,197
Default

Well, maybe I indeed need to change this message. I`ll try to take a look at how to batch do this for several scripts, thanks.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 10-29-2018, 11:49 AM   #300
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 475
Default

Hi, MPL.
I've been seeing problems with some of these scripts when evoking them from the new dev builds of reaper. It seems that the function, "vrs_check", doesn't test right for these versions.

Can you please update this function in your scripts to also consider dev versions?

Much thanx.
Ozman is offline   Reply With Quote
Old 11-07-2018, 03:25 AM   #301
Stroudy
Human being with feelings
 
Join Date: Jul 2014
Posts: 342
Default

Hi MPL,

Script: mpl_Move selected items to tracks with same name as items.lua

It doesn't seem to function - am I doing something wrong?

Error message "...ove selected items to tracks with same name as items.lua:26: attempt to index a nil value"

SWS is up to date and I have the latest version of your "Various_Functions"

Cheers

Last edited by Stroudy; 11-07-2018 at 08:40 AM. Reason: SPELLING
Stroudy is offline   Reply With Quote
Old 11-07-2018, 12:41 PM   #302
Arthur McArthur
Human being with feelings
 
Join Date: Sep 2016
Location: Toronto
Posts: 421
Default

Hi mpl, I'd like to request you could make a variation of "List random impulse in directory for focused ReaVerb.lua" to work for all instances of ReaVerb on the selected tracks.
Arthur McArthur is offline   Reply With Quote
Old 11-07-2018, 12:49 PM   #303
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,197
Default

Quote:
Originally Posted by Stroudy View Post
Hi MPL,

Script: mpl_Move selected items to tracks with same name as items.lua

It doesn't seem to function - am I doing something wrong?

Error message "...ove selected items to tracks with same name as items.lua:26: attempt to index a nil value"

SWS is up to date and I have the latest version of your "Various_Functions"

Cheers
Something related to item name without extension. Not sure it is fixed, but I changed tiny bit of code there.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 11-07-2018, 01:33 PM   #304
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,197
Default

Quote:
Originally Posted by Arthur McArthur View Post
Hi mpl, I'd like to request you could make a variation of "List random impulse in directory for focused ReaVerb.lua" to work for all instances of ReaVerb on the selected tracks.
Code:
local search_depth =3
  
  function GetFileList(cur_file_path)
    -- get search dir
      local cur_file_path = cur_file_path:gsub('\\', '/')
      local full_path = cur_file_path:match('"(.*)"')
      local search_path = full_path:match('(.*)[%/]')
      local i = 1
      local search_path_ready
      repeat
        search_path_ready = search_path
        search_path = search_path_ready:match('(.*)[%/]')
        i = i+1
      until i == search_depth or not search_path
    
    -- get files
      local subdir_id = 0
      local files = {}
      local dir
      repeat
        dir = reaper.EnumerateSubdirectories( search_path_ready, subdir_id )
        local file_id = 0 
        if dir then 
          repeat
            local file = reaper.EnumerateFiles( search_path_ready..'/'..dir, file_id )
            if file and file:match('%.wav') then files[#files+1] = search_path_ready..'/'..dir..'/'..file  end
            file_id = file_id+1
          until file == nil or file == ''
        end
        subdir_id = subdir_id+1
      until dir == nil or dir == ''
      
    return files
  end
------------------------------------------------------  
function main()
    for i = 1, reaper.CountSelectedTracks(0) do
      local track = reaper.GetSelectedTrack(0,i-1)
      local fxnumberOut
      for i_fx = 1,  reaper.TrackFX_GetCount( track ) do
        local retval, buf = reaper.TrackFX_GetFXName( track, i_fx-1, '' )
        if buf:match('ReaVerb') then fxnumberOut = i_fx -1 end
      end
      if fxnumberOut then 
        local ret, fn0 = reaper.TrackFX_GetNamedConfigParm(track, fxnumberOut, "ITEM0")
        if not ret then return end
        
        local files = GetFileList(fn0)
        -- select file
          if #files < 2 then return end
          local trig_id = math.floor(math.random(#files-1))+1
          local trig_file = files[trig_id] 
          
          if trig_file then 
            trig_file = 'FILELDR "'..trig_file..'" 12'
            reaper.TrackFX_SetNamedConfigParm(track, fxnumberOut, "ITEM0", trig_file)
            reaper.TrackFX_SetNamedConfigParm(track, fxnumberOut, "DONE", "")
          end
      end
    end
  end


  reaper.Undo_BeginBlock()
  main(track)
  reaper.Undo_EndBlock('List random impulse in directory for focused ReaVerb', 1)
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 11-07-2018, 03:01 PM   #305
Arthur McArthur
Human being with feelings
 
Join Date: Sep 2016
Location: Toronto
Posts: 421
Default

Thank you! Donated a little something
Arthur McArthur is offline   Reply With Quote
Old 11-07-2018, 03:13 PM   #306
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,197
Default

Thanks, much appreciated!
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 11-09-2018, 08:19 AM   #307
winbe
Human being with feelings
 
Join Date: May 2006
Posts: 1,153
Default

Donated as well (frozenjazz) - and spreading the word about R5K manager that I could love live without now!!
__________________
Cedric Simon aka FrozenjaZz
Fresh beats - www.frozenjazz.com
winbe is offline   Reply With Quote
Old 11-11-2018, 01:20 PM   #308
RustyP
Human being with feelings
 
Join Date: May 2015
Location: Southern California
Posts: 5
Default

Hello Michael,
I am blind. I have found your rs5k scripts quite useful when using samples in my projects.
I don't know if I am mistaken, but it seems that maybe the rs5k actions are being depricated, and only the rs5k manager is continuing in development. Is this true?
The rs5k manager is not accessible to blind users. Would you consider making it more accessible? Many other js scripts are accessible, but I do not know enough about coding to explain why.
Any help would be appreciated, even just insuring that the old actions do not disappear.

Thanks!
Rusty
RustyP is offline   Reply With Quote
Old 11-11-2018, 01:55 PM   #309
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,197
Default

Quote:
Originally Posted by RustyP View Post
Hello Michael,
I am blind. I have found your rs5k scripts quite useful when using samples in my projects.
I don't know if I am mistaken, but it seems that maybe the rs5k actions are being depricated, and only the rs5k manager is continuing in development. Is this true?
The rs5k manager is not accessible to blind users. Would you consider making it more accessible? Many other js scripts are accessible, but I do not know enough about coding to explain why.
Any help would be appreciated, even just insuring that the old actions do not disappear.

Thanks!
Rusty
Nope, RS5K scripts are supposed to work. I fixing different issues if they are critical. The manager is completely GUI based and seems not extendable or at some point useful for blind people, or at least I don't quite understand how can I make it more accessible.
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 11-13-2018, 03:33 AM   #310
Stroudy
Human being with feelings
 
Join Date: Jul 2014
Posts: 342
Default

Thanks MPL. I also donated a little something.
Stroudy is offline   Reply With Quote
Old 11-15-2018, 05:01 AM   #311
natonative
Human being with feelings
 
Join Date: Apr 2017
Posts: 63
Default

Hello MPL, I've really appreciated your work - it's helped me a lot!!

I may have found a wee bug which is really annoying me and I was wondering if you could get round to fixing it? If I use the 'export selected items to single rs5k instance on selected track", none of my settings in the rs5k will change apart from the 'min volume level'. This will be reset back to zero. None of the other settings change, like sustain or attack etc or even max volume but only this 'min volume' setting which is used for velocity i guess, changes. It's a bit of a hassle because it means everytime i import a new track using this action, I have to go and adjust the velocity settings. The 'import from arrange' option doesn't affect the 'min volume' knob.
natonative is offline   Reply With Quote
Old 11-16-2018, 11:29 AM   #312
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,197
Default

Quote:
Originally Posted by natonative View Post
The 'import from arrange' option doesn't affect the 'min volume' knob.
'import from arrange' just import sample into existed RS5k instance.
But if you create new instance via script or manually, it loads some non expected defaults, from my code:

Code:
      reaper.TrackFX_SetParamNormalized( track, rs5k_pos, 2, 0) -- gain for min vel
      reaper.TrackFX_SetParamNormalized( track, rs5k_pos, 9, 0 ) -- attack
      reaper.TrackFX_SetParamNormalized( track, rs5k_pos, 11, 1 ) -- obey note offs
it reset atack to 0 (essential), handle obey note off (requested), set gain for minimum velocity to 0. I planned to add special script for handle such settings for all my scripts (because having multiple mods of same scripts doesn`t really usefull). Fo now you can remove line
Code:
reaper.TrackFX_SetParamNormalized( track, rs5k_pos, 2, 0) -- gain for min vel
and save/load script with different name (to prevent overwriting it after next ReaPack syncronization).
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 11-17-2018, 05:34 PM   #313
Tod
Human being with feelings
 
Tod's Avatar
 
Join Date: Jan 2010
Location: Just outside of Glacier National Park
Posts: 11,968
Default

Hi mpl, I'm not getting any response to another thread and what I could really use is the ability to
zoom in and out in in very small increments in the midi editor.

I'm putting together tutorials in the midi editor and when I have to redo a video part, I can't get
the midi editor positioned with the same horizontal width. The grid lines up a little too far apart
or not far enough apart, and there's no way to get the correct width.

There are no actions for finer resolution, and I looked in ReaPack but couldn't find anything either.

Maybe this can't be done but I've got my fingers crossed.
__________________
Kontakt Vid Tutorials->Create Outputs / Create Templates -|- SMDrums Free drums -|- Elk Video Productions -|- Tod's Music
Tod is offline   Reply With Quote
Old 11-28-2018, 05:39 PM   #314
acintya
Human being with feelings
 
Join Date: Sep 2010
Posts: 262
Default

Quote:
Originally Posted by mpl View Post
Ideally yes.

Various_functions is 'common' package, it used by most complex stuff I did. It allows me to fix bugs on functions side (so I don`t need to fix every package/script which used buggy function). Unfortunately there is no way in ReaPack (yet) to set dependecies for such things while installing parent package, so I have to set it manually and put an error message box.
thanks you for your work - i am your fan and all other scripters here. if i only had millions to support you.
acintya is offline   Reply With Quote
Old 12-02-2018, 09:23 AM   #315
Pinknoise
Human being with feelings
 
Pinknoise's Avatar
 
Join Date: Aug 2012
Location: Around Montréal
Posts: 636
Default

Hi!
I use this script a lot:
Script: mpl_Float instrument on track under mouse cursor.lua

It works fine in my original Reaper install. I installed a new portable version of Reaper on a secondary hard drive.

Run Reapack to install all scripts and the script still works for all instruments except Superior Drummer 3.
It works fine on SD3 in the original install

I don't go through the process of using the Toontrack installer for the secondary hard drive I just copied the DLL in another folder in the portable install.

Why does the script does not recognize this instrument ?

Thanks for your work.
Pinknoise is offline   Reply With Quote
Old 12-02-2018, 11:11 AM   #316
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,197
Default

Quote:
Originally Posted by Pinknoise View Post
Hi!
Why does the script does not recognize this instrument ?
FX browser > Right click Superior > Rename > Check on categorize as instrument
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Old 12-02-2018, 06:56 PM   #317
Pinknoise
Human being with feelings
 
Pinknoise's Avatar
 
Join Date: Aug 2012
Location: Around Montréal
Posts: 636
Default

It works now thanks.
Pinknoise 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 12:10 PM.


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