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

Reply
 
Thread Tools Display Modes
Old 03-29-2020, 04:04 AM   #1
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,956
Default API: Support for some params in GetSetProjectInfo

For ImportSessionData script I have to parse RPP. No problem here. But there is no way to set some project parameters programmatically. Here is list of most needed. Thanks.

PROJOFFS
PANLAW
FEEDBACK
RIPPLE
PEAKGAIN
VIDEO_CONFIG
SMPTESYNC
SAMPLERATE

OR just let write access to project header chunk (what is before first "<TRACK").

Last edited by mpl; 03-29-2020 at 06:38 AM.
mpl is offline   Reply With Quote
Old 03-29-2020, 06:04 AM   #2
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,093
Default

You may know anyway, some of these can be set via SNM_SetIntConfigVar.
Like feedbackmode, projripedit (didn't check which others...)

(I use ultraschall_Display-Altered-Config-Vars.lua to check:
https://forum.cockos.com/showthread.php?t=207635)

Last edited by nofish; 03-29-2020 at 06:11 AM.
nofish is offline   Reply With Quote
Old 03-29-2020, 06:13 AM   #3
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,733
Default

Quote:
Originally Posted by mpl View Post
DEFPITCHMODE
enjoy the silence
schwa is offline   Reply With Quote
Old 03-29-2020, 06:38 AM   #4
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,956
Default

Quote:
Originally Posted by schwa View Post
enjoy the silence
(EDIT) Hmm what is wrong with it?

Quote:
Originally Posted by nofish View Post
You may know anyway, some of these can be set via SNM_SetIntConfigVar.
Like feedbackmode, projripedit (didn't check which others...)

(I use ultraschall_Display-Altered-Config-Vars.lua to check:
https://forum.cockos.com/showthread.php?t=207635)
Thanks! It is global though (and I trying to get project related).

Last edited by mpl; 03-29-2020 at 06:50 AM.
mpl is offline   Reply With Quote
Old 03-29-2020, 07:26 AM   #5
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,910
Default

Some configvars are per-project like the ones above (feedbackmode etc). The SWS API functions read/write those for the current project tab. (New functions could be added for taking a ReaProject*.)
cfillion is offline   Reply With Quote
Old 03-29-2020, 07:56 AM   #6
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,733
Default

Quote:
Originally Posted by mpl View Post
(EDIT) Hmm what is wrong with it?
That was a completely unrelated and somewhat obscure joke. Somebody will get it, at some point
schwa is offline   Reply With Quote
Old 03-29-2020, 08:04 AM   #7
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,956
Default

Ah I get it finally. LOL
mpl is offline   Reply With Quote
Old 03-29-2020, 01:53 PM   #8
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,612
Default

I would also love to see return/setting of ProjectBayStateChunks.
__________________
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 03:30 AM.


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