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

Reply
 
Thread Tools Display Modes
Old 11-15-2017, 10:53 AM   #1
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 755
Default Quickly save FXChains and Track Templates to project directory.

I just can't find this.
Odd that it's not there already.

I'm trying to create a custom action which sets the Resources paths to be sub-directories of the current/opened project for easy saving of track templates and FX Chains. However, it seems that these commands are not available in the Action List, as they are in the Resources menu. Can you please add them? Or is there another founded way to quickly set the Resources path to a project-local location and save track templates and fx chains there?


Set auto-save directory to project path (/FXChains)
Set auto-save directory to project path (/TrackTemplates)
Ozman is offline   Reply With Quote
Old 11-16-2017, 07:15 AM   #2
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 755
Default

Ok, maybe I'm missing something.
Is there a setting or something to have these resources autosaved in the project directory?

The reason this is important for me, is that while I'm working on projects, I may venture to previous projects where I audition and even reuse previous instruments and effects. It's just so much easier with some chains and track templates to store them by project instead of having to always organize everything in one place. I usually do a few experiments a day, render an mp3, and would like to reference those sounds based on that experiment, instead of always having to categorize the instrument/sound/effect within a global FXChain directory.

I would like to do this automatically, like a setting, shucks even a custom action which automates setting the directories to sub-directories within the project.

The best idea/option is to have them automatically saved when project is saved and when tracks are frozen.

I'd still settle for a custom action/macro to set these directories instead of having to go into the Resources window.

It's just that right now, having to adjust these settings every project is a bummer, it even has to be done over and over when using a default project as well, b/c those paths are set to what they were then instead of adapting to the new project.


Set auto-save directory to project path (/FXChains)
Set auto-save directory to project path (/TrackTemplates)


---------------
Ozman is offline   Reply With Quote
Old 11-16-2017, 07:56 AM   #3
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 755
Default

Actually... ya'll can disregard this request.

I'm now seeing that Resources paths are a global setting, not project-based.

I guess I'm now back to learning lua to parse project files for their tracks and fx chains.
Ozman is offline   Reply With Quote
Old 11-17-2017, 08:09 AM   #4
jico27
Human being with feelings
 
jico27's Avatar
 
Join Date: Oct 2009
Location: Paris / France
Posts: 429
Default

+ 1!!!
jico27 is offline   Reply With Quote
Old 11-17-2017, 08:54 AM   #5
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,984
Default

See ReaPack/mpl_Save all track FX chains, it is very outdated though and should be recoded in more optimised way.
Saving TrackTemplates is pretty simple. Save trach chunks to properly named files. Note: I don`t recomment to do this with big projects and big chunks if you use native GetTrackStateChunk API.
Saving FX chains in also relatively simple (note about big projects same as above). Something like
Code:
  tr = reaper.GetTrack(0,0)
  _, chunk = reaper.GetTrackStateChunk(tr, '', false)
  fx_chain = chunk:match('<FXCHAIN.-WAK 0\n>')
Quote:
Originally Posted by Ozman View Post
I'm now seeing that Resources paths are a global setting, not project-based.
Code:
project_path = reaper.GetProjectPath(0,'')
_, project_name = reaper.EnumProjects(0,'')

Last edited by mpl; 11-17-2017 at 09:11 AM.
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:34 PM.


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