Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Feature Requests

Reply
 
Thread Tools Display Modes
Old 01-10-2019, 09:12 AM   #1
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,128
Default API: full access to all render-settings4easier writing of RenderScripts(mostly done)

One of the key-features of my Ultraschall-API is the fact, that I included functions for rendering projects in Reaper, who work quite fine, with one exception: rendering an opened project.

I found a way to render opened projects using the following procedure:
- save the project
- make a temporary copy of the projectfile and alter it
- load it and use the action to render with most recent render-settings
- close it and delete the temporary copy of the projectfile

This works, but has the downside, that I need to reload an already opened project, which is fine for small
projects, but reloading huge ones is killing a computer as the project is loaded twice, needing twice the resources for that.

I toyed around with many ideas to circumvent it, but I can't solve it myself, no matter what.

That's why I would love to ask for access to all render-settings and some recording-settings, that are currently only available through a projectfile, namely the rpp-file-entries:

RECORD_PATH
RENDER_1X
RENDER_ADDTOPROJ
RENDER_CFG
RENDER_DITHER
RENDER_FILE
RENDER_FMT
RENDER_PATTERN
RENDER_RANGE
RENDER_RESAMPLE
RENDER_STEMS

RECORD_CFG
APPLY_CFG

If I had get/set-access to them, I could make my render-functions work really neat with opened projects and could also attempt some of the rendering Feature-Requests people had over the years in this forum.

Even if such functions would return/set the values exactly the way, as they are set in an rpp-projectfile would be helpful(I mostly reverse-engineered that stuff already to get/set it).

I think, with that, we could make many many many many many people very very very very very happy

Help us, Obi-Wan-JustinSchwanobi, you're my last hope
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635

Last edited by mespotine; 04-07-2019 at 12:28 PM.
mespotine is offline   Reply With Quote
Old 01-10-2019, 09:15 AM   #2
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,230
Default

I absolutely support that request!
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is online now   Reply With Quote
Old 02-08-2019, 08:34 AM   #3
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,128
Default

Another function I think would be helpful:

string resolved_filename = reaper.ResolveRenderPattern(string renderpattern, optional string projectfilename_with_path)

such a function would resolve a render-pattern-string into the proper filename.
When parameter projectfilename_with_path is omitted, it will assume, the currently opened project is the one to create the render-filename from.

When giving the additional parameter projectfilename_with_path, it will use the projectfile as basis to create the render-filename, including the path.


This would be helpful to get, which filename will be created after rendering a project/projectfile. That way, importing rendered-filenames after the rendering would be possible to do.
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635
mespotine is offline   Reply With Quote
Old 03-28-2019, 11:26 AM   #4
clepsydrae
Human being with feelings
 
clepsydrae's Avatar
 
Join Date: Nov 2011
Posts: 2,359
Default

+1

Came here from the 2nd/nth-pass loop recording request thread.
clepsydrae is offline   Reply With Quote
Old 03-28-2019, 03:00 PM   #5
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,143
Default

yes please.. +1
REAPER is known for its great Rendering capabilities. This must happen... for REAPER 6 at least
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 03-28-2019, 04:02 PM   #6
WyattRice
Human being with feelings
 
WyattRice's Avatar
 
Join Date: Sep 2009
Location: Virginia
Posts: 1,896
Default

+1
I would use it.
WyattRice is offline   Reply With Quote
Old 03-29-2019, 05:15 AM   #7
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: brighton, uk
Posts: 12,635
Default

This would be great!
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
musicbynumbers is offline   Reply With Quote
Old 03-29-2019, 11:43 AM   #8
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 5,143
Default

good news thank you!

v5.973+dev0329 - March 29 2019
+ API: add GetSetProjectInfo, GetSetProjectInfo_String, primarily useful for manipulating render settings
__________________
HeDaScripts for REAPER
heda is offline   Reply With Quote
Old 03-29-2019, 11:49 AM   #9
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 2,230
Default

OMG, is it that, what I think it is???????
__________________
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is online now   Reply With Quote
Old 04-07-2019, 12:26 PM   #10
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,128
Default

mostly done in Reaper 5.974
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635
mespotine 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 06:54 AM.


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