Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 04-17-2019, 09:25 AM   #1
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,629
Default Issues with GetSetProjectInfo/GetSetProjectInfo_String:

I noticed some nitpicks with the GetSetProjectInfo/GetSetProjectInfo_String-functions.

1. SampleRate:
When getting "RENDER_SRATE" and it is 0, it means, that it uses the current project's samplerate. However this seems to be only available as configvar "projsrate" for the currently opened project.
This is a problem, when you want to get the RENDER_SRATE of another project and can't access it without changing the projecttab, reading the configvar, switching back, which is overkill in my opinion.
Could you add "PROJECT_SRATE" to GetSetProjectInfo as well to deal with that problem? Or is it already available in some function and I didn't find it?

2. Render To-text-box:
It would be nice to have read-access to the "Render To"-textbox as well. That way I know, into which filename the RENDER_FILE and RENDER_PATTERN resolve.
Maybe as RENDER_TO_FILENAME.
That way, I don't need to add the rendered-files to my project after rendering to get their filenames.
It would also be helpful, if the user enters "invalid" characters into the File name-box, like : that are escaped with _ by Reaper in the final filename

3. Issues in the docs:
- typo: "only modo media to mono files" -> should be "mono media"
- missing information for stems: RENDER_DITHER: int *, &1=dither master mix, &2=noise shaping master mix, &4=dither stems, &8=dither noise shaping
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 04-18-2019, 03:54 PM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,737
Default

1 and 3, yup. #2 will take a bit more work since it can be multiple files etc. Let me take a look...
Justin is offline   Reply With Quote
Old 04-21-2019, 09:52 AM   #3
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,629
Default

Quote:
Originally Posted by Justin View Post
1 and 3, yup. #2 will take a bit more work since it can be multiple files etc. Let me take a look...
Would it be easier to do a function called " reaper.ResolveRenderFilename(string directory, string renderpattern, boolean stems), that returns a null-byte separated string with all potential filenames?
And if stems=true returns the stem-rendered-filenames as well?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada 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 08:27 AM.


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