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

Reply
 
Thread Tools Display Modes
Old 03-23-2024, 10:03 AM   #241
martotarto
Human being with feelings
 
Join Date: Jul 2020
Posts: 2
Default

Tried and love it, I use it quite often to insert a template into a project.
Please, I am asking MPL to include the routing as well as the folder track,because when I load, it doesn't route my sends and returns, and it doesn't give me the track folder with child track,everything is tha same and everything go into M (master0
martotarto is offline   Reply With Quote
Old 03-31-2024, 07:06 AM   #242
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,026
Default

Another track of send/receive logic rebuild for 2.24

Quote:
Originally Posted by Triode View Post
In your script it looks like there is an option for new tracks to import sends and add the send destination track if the vocal is imported. So I would expect if I just import the vocal with these options selected, the Reverb track would be imported also.
This option is removed from destination menu. Instead you setup logic default in the settings.

Quote:
The same as the above but more simple. Import Vocal and Reverb tracks including the vocal send by selecting both tracks in your script and have the option “Import Sends” checked.
It depends on do receive track are imported also. If yes - for new version you have an option just import receives if they are not exist OR always even if they exist (for each imported track receive will be imported individually, this is very rare case). Otherwise if receive tracks are presented in the project and matched the script can just create links. For this case I reverted option "mark only" for matched tracks. This is for case when you have an FX on receive track and have enabled "Import track FX" - so tracks will be imported with FX except receive tracks since they matched but in "mark only" submode.


Quote:
Originally Posted by Triode View Post
An option to hide/ignore hidden tracks would be helpful also.
This one is added also.
mpl is offline   Reply With Quote
Old 03-31-2024, 07:09 AM   #243
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,026
Default

Quote:
Originally Posted by daxliniere View Post
Also, in that popup menu, it says "Current project tracks", but it's probably better if it says "Destination project tracks".
Fixed, thanks. Also added an action in the destination menu so you can set number of destination track.
mpl is offline   Reply With Quote
Old 03-31-2024, 07:14 AM   #244
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,026
Default

Quote:
Originally Posted by martotarto View Post
Please, I am asking MPL to include the routing as well as the folder track,because when I load, it doesn't route my sends and returns, and it doesn't give me the track folder with child track,everything is tha same and everything go into M (master0
For sends management see post above. Folder track is complex to implement because of handling structure AND routing. There can be also suggestions but probably there can be lot of cases (for example, if you skip one of the mid levels while importing childrens or some tracks are hidden etc).
mpl is offline   Reply With Quote
Old 03-31-2024, 07:45 AM   #245
Triode
Human being with feelings
 
Triode's Avatar
 
Join Date: Jan 2012
Posts: 1,190
Default

Thanks for this. I'll check the new version out and let you know if I find any bugs
__________________
Mixing / Brush and Beater Drums Online: www.outoftheboxsounds.com
Triode is offline   Reply With Quote
Old 03-31-2024, 02:16 PM   #246
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,626
Default

Quote:
Originally Posted by mpl View Post
Fixed, thanks. Also added an action in the destination menu so you can set number of destination track.
Thanks Mikhail, I look forward to trying out it.
All the best!
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 04-06-2024, 10:06 AM   #247
Triode
Human being with feelings
 
Triode's Avatar
 
Join Date: Jan 2012
Posts: 1,190
Default

Hi MPL

Reporting back on the functions I outlined in this post using the session files posted there using v2.24 of your script:
https://forum.cockos.com/showpost.ph...&postcount=233

In all cases I had the following options selected:


Scenario A1
Importing the Vocal track only [new track at end of tracklist], as a new track in Destination Session A from Source Session A seems to work using just the first option like this:

Both the Vocal and the sends with their settings and the Reverb track is imported as if it's one connected object. This is good although I would expect an explicit option for this such as "import receive tracks by name if not already in destination project". With such an option available the script would:

1. Check to see if the same named track as the associated receive was already in the project
2. If not then import the receive track (like the current behaviour)
3. If receive did already exist in destination project then create a send to that track on the imported track with the send value that exist in the source project

The same result happens with Scenario A1 if I import the Vocal track only with the following options:

This is odd - I don't understand the purpose of "Create links if receive tracks presented". Especially since I can't find a way of importing just the values of sends (I explain this in Scenario C)

Scenario A2
Importing both Vocal and Reverb with just "Import sends/receives" checked imports both tracks but not the sends.
If I also select "Create links if receive tracks presented" then the send is imported correctly.

Scenario B1
This scenario was to have Destination Session B open and import just the vocal track from Source Session A.
Since the Reverb track already exists by name in the destination session I was hoping the script would have a process outlined above with steps 1 to 3: to check whether it exists in the project first. What actually happens is the receive is imported as a duplicate track with a duplicate send name which is very confusing.
Can this be fixed?

Scenario B2
This scenario was to import just the Vocal track from Source Session B to Destination Session B and have the send to the existing Reverb track created but since there is no delay track in the session import that from the source session. The Delay track is automatically imported but the Reverb track is again imported as a duplicate.

Scenario C
This scenario was to have Destination Session C open and import just the send values from Source Session C.
I have tried to make this work by running your script with the Vocal track set to [match by name: replace] or [match by name: mark only] and "Import send/receives" checked or "Create links if receive tracks presented" also.
In both cases the Reverb and Delay tracks are imported as duplicates and new sends are created on the Reverb track to these new tracks.
What I wanted was the script to:
1. check if the source tracks have sends that match the name
2. if they do then just change the values of the existing sends to match the source tracks sends
3. if there is a send in the source track that is marked that doesn't exist in the matched destination track then to create the corresponding receive and a new send to it IF a new option in the script is checked to "import receive tracks by name if not already in destination project".

As I described in my original post, maybe it would be best to take this one step at a time and leave out the automatic creation of receives first to avoid too much complication! Especially when importing tracks that have sends to receive tracks that also themselves have sends!
__________________
Mixing / Brush and Beater Drums Online: www.outoftheboxsounds.com
Triode is offline   Reply With Quote
Old 04-09-2024, 09:43 AM   #248
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,026
Default

Thanks for the detailed description! I`ll take a look at what can I do carefully.

Last edited by mpl; 04-14-2024 at 01:44 AM.
mpl is offline   Reply With Quote
Old 04-19-2024, 08:38 AM   #249
gfndkimo
Human being with feelings
 
Join Date: Sep 2023
Location: Taiwan
Posts: 8
Default

Hello~ recently I often got issue with import mark and region with tempo
it will show such as
...ER/Scripts/MPL Scripts/Various/mpl_ImportSessionData.lua:1238: bad argument #2 to 'TimeMap2_beatsToTime' (number expected, got nil)

what should I do ?
gfndkimo is offline   Reply With Quote
Old 05-05-2024, 04:04 AM   #250
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,026
Default

Quote:
Originally Posted by gfndkimo View Post
Hello~ recently I often got issue with import mark and region with tempo
it will show such as
...ER/Scripts/MPL Scripts/Various/mpl_ImportSessionData.lua:1238: bad argument #2 to 'TimeMap2_beatsToTime' (number expected, got nil)

what should I do ?
This is fixed for 2.25
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:37 PM.


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