Old 12-05-2018, 04:50 AM   #41
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 584
Default

You can try the following test:

Write a script that loads a project that usually causes that problem you encounter and that also runs the action 41824.

The script should look something like this:

Code:
my_project="Projectname_with_path"

reaper.Main_openProject(my_project)
reaper.Main_OnCommand(41824, 0)
you can also try the same with multiple projects:

Code:
my_project1="Projectname1_with_path"
my_project2="Projectname2_with_path"
my_project3="Projectname3_with_path"
my_project4="Projectname4_with_path"
my_project5="Projectname5_with_path"

reaper.Main_openProject(my_project1)
reaper.Main_OnCommand(41824, 0)
reaper.Main_openProject(my_project2)
reaper.Main_OnCommand(41824, 0)
reaper.Main_openProject(my_project3)
reaper.Main_OnCommand(41824, 0)
reaper.Main_openProject(my_project4)
reaper.Main_OnCommand(41824, 0)
reaper.Main_openProject(my_project5)
reaper.Main_OnCommand(41824, 0)
If that renders without any problems, then my render-functions are a solution for you.
__________________
Lua Coders of the world: UNITE!
This Saturday, 11am NewYorkCity time, head over to this thread:
https://forum.cockos.com/showthread....98#post2067798
mespotine is online now   Reply With Quote
Old 12-05-2018, 02:08 PM   #42
Macc
Human being with feelings
 
Join Date: Feb 2017
Posts: 71
Default

Thanks ever so much for that - I'm pretty much a scripting n00b but I'll have a shufty.

It occurs to me that I could tuck another action/script in there, that makes it play each item on a certain track for a second or two before doing the render. So open project > play each item for 2 seconds > render using last settings.

Maybe I'll have a look at building an action that does that. Food for thought - thank you!
Macc is offline   Reply With Quote
Old 12-06-2018, 05:09 AM   #43
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 584
Default

Tell me if that worked and I'll add an option for "pre-trail" to the rendering functions themselves in my next programming-marathon.
I would insert a silent audiofile at the beginning for that.

Would not happen for the release Mid-December but definately later...
__________________
Lua Coders of the world: UNITE!
This Saturday, 11am NewYorkCity time, head over to this thread:
https://forum.cockos.com/showthread....98#post2067798
mespotine is online now   Reply With Quote
Old Yesterday, 08:02 AM   #44
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 584
Default

https://forum.cockos.com/showpost.ph...9&postcount=24
__________________
Lua Coders of the world: UNITE!
This Saturday, 11am NewYorkCity time, head over to this thread:
https://forum.cockos.com/showthread....98#post2067798
mespotine is online now   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 11:24 AM.


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