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

View Poll Results: Would you benefit of having the option to offline takes?
Yes, this would boost my workflow 6 66.67%
Nah, I don't even use takes 1 11.11%
I can see why this would be beneficial, just not for me 2 22.22%
Voters: 9. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old 02-16-2018, 02:36 PM   #1
Etalon
Human being with feelings
 
Etalon's Avatar
 
Join Date: Aug 2014
Posts: 68
Default Online / Offline takes

Action Request:
Item: Set active take(s) online
Item: Set active take(s) offline
Item: Set inactive take(s) online
Item: Set inactive take(s) offline
Item: Toggle active take(s) online/offline
Item: Toggle inactive take(s) online/offline

+Variations for these actions like: for selected items, on selected tracks, on all tracks etc...

Benefits:
+ Workflow booster
+ Saving RAM
+ Saving disk space, because when you save a project, only the used (online) takes would be saved.
(a prompt message should pop up before saving, notifying the user about the offline items not being saved OR adding a checkbox to the bottom whether to save them or not)
+ Placeholder items (with multiple takes) for Samples not currently in use

CAUTION:
This would only make sense if "Set media items offline when application is not active" is UNCHECKED in Preferences > Media
Otherwise, if you minimize Reaper and reopen it, your offline items/takes would switch back to online mode.

Implementation:
Lets say I implode all of my Kick samples as takes into an item with this custom action:

Take: Implode items on same track into takes
Item: Set inactive takes for selected items OFFLINE

Then, I would use a custom action like this to rotate the individual samples so that I don't have to constantly open up Media Explorer to replace the currently used ones:

Item: Set active takes for selected items OFFLINE
Take: Switch items to next take
Item: Set active takes for selected items ONLINE
Item: Set items length to source media lengths

When I'm done with choosing the right kick for my project, I can save the project without cluttering up the project folder with a bunch of samples, however I can still use the other takes, whenever I wish to.

I think this would be a gamechanger for sound designers and producers.

Thank you
Etalon is offline   Reply With Quote
Old 07-01-2019, 11:59 AM   #2
svijayrathinam
Human being with feelings
 
Join Date: May 2017
Posts: 981
Default

+ 1 for this feature.


I recently bumped in to an issue which is related to this.


https://forum.cockos.com/showthread.php?t=222377


If something can be done about this..It will be huge !!
svijayrathinam is offline   Reply With Quote
Old 07-01-2019, 01:05 PM   #3
svijayrathinam
Human being with feelings
 
Join Date: May 2017
Posts: 981
Default

Quote:
Originally Posted by nofish View Post
There's actions: Item: Set selected media offline / Item: Set selected media online

I might be wrong (someone correct me in case) but I don't think it would be possible to set offline / online on a per take basis (as requsted in OP) because takes could share the same underlying media source.
Takes share different media. When you are recording Take 1 is something else and Take 2 is something else..Also if you use a plugin or something on take FX and render item as new take..It actually creates new file..Which is different media. How Can they refer to the same media ?

I don't understand how you mean. Can you pls explain ?
svijayrathinam is offline   Reply With Quote
Old 07-01-2019, 01:28 PM   #4
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,108
Default

Sorry, shortly after posting I realized it's probably nonsense what I wrote and I deleted the post, but you quoted me already.

So yes, I think you're right, takes are different media.
nofish is offline   Reply With Quote
Old 07-01-2019, 01:30 PM   #5
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 24,798
Default

Well if you do looped recording, by default I think takes DO share the same media file. You'd have to change the option in Preferences->Audio->Loop Recording.
EvilDragon is offline   Reply With Quote
Old 07-01-2019, 01:34 PM   #6
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
Default

Quote:
Originally Posted by svijayrathinam View Post
Takes share different media. When you are recording Take 1 is something else and Take 2 is something else..Also if you use a plugin or something on take FX and render item as new take..It actually creates new file..Which is different media. How Can they refer to the same media ?
When loop recording, different takes are created that share the same file. There are also some other possibilities how takes in the same item that share the same file can happen.

The takes however don't share the same PCM_source object, which is actually the thing that would be onlined/offlined. So the feature request seems quite possible to implement. (At least in part.)
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.

Last edited by Xenakios; 07-01-2019 at 02:10 PM.
Xenakios is offline   Reply With Quote
Old 07-01-2019, 02:19 PM   #7
svijayrathinam
Human being with feelings
 
Join Date: May 2017
Posts: 981
Default

A global preference to offline all inactive media would also be perfect.
svijayrathinam is offline   Reply With Quote
Old 07-01-2019, 02:59 PM   #8
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,108
Default

Quote:
Originally Posted by Xenakios View Post
The takes however don't share the same PCM_source object, which is actually the thing that would be onlined/offlined.
There's CF_SetMediaSourceOnline() (and the Get.. pendant) in SWS, so looks like it could be scriptable.

edit:
Added script Set inactive takes of selected audio items offline (no undo).lua* to my ReaPack repository (see link in signature).

*(no undo) means it doesn't create an undo point (because I couldn't get it to work properly yet) but you can use e.g. action Item: Set all media online to set them back online.

Last edited by nofish; 07-02-2019 at 07:41 AM.
nofish is offline   Reply With Quote
Old 07-05-2019, 08:09 AM   #9
svijayrathinam
Human being with feelings
 
Join Date: May 2017
Posts: 981
Default

Hello Developers,

Inspite of changing the setting in kernel to access 65000 files, I am still getting "Too Many Files opened" issue especially when I open large projects or when opening multiple projects at the same time. Now I suspect its a reaper issue. Can you pls help me fix this ? How can this be solved. Pls help

Last edited by svijayrathinam; 07-05-2019 at 02:59 PM.
svijayrathinam is offline   Reply With Quote
Old 07-05-2019, 09:21 AM   #10
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,900
Default

The actions required by OP are scriptable,


I just made X-Raym_Set inactive take sources of selected items as offline.lua,


I'll surely make the other if required, and maybe share that in a pack as it is pretty specific issue.

EDIT: Damn, I just see nofish already did it, somehow it wasn't in my action list ! ^^ Though, I think mine should be a little more efficient.
X-Raym is offline   Reply With Quote
Old 07-05-2019, 10:52 AM   #11
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,108
Default

Quote:
Originally Posted by X-Raym View Post
EDIT: Damn, I just see nofish already did it, somehow it wasn't in my action list ! ^^ Though, I think mine should be a little more efficient.
Maybe because my repo isn't enabled by default in ReaPack?
I haven't compared mine and yours but if you did and think yours is more efficient I'll remove mine.
Mine was only sort of 'proof of concept' anyway, didn't spend much time with it as I don't need it myself.
nofish is offline   Reply With Quote
Old 07-05-2019, 11:30 AM   #12
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,900
Default

@nofish
Quote:
Maybe because my repo isn't enabled by default in ReaPack?
That was it :P


--

Ok then in this case I put my version in my free reapack repo,
this way you can see my code :P


The main thing is that cfillion funciton is already perfoming the data input sanitization so no need to do it before that (even if it is MIDI, no take etc).


Works just like that.
X-Raym is offline   Reply With Quote
Old 07-05-2019, 01:52 PM   #13
svijayrathinam
Human being with feelings
 
Join Date: May 2017
Posts: 981
Default

Thx Guys,

I tried X Ray-M's Version and it works fine...
svijayrathinam is offline   Reply With Quote
Old 07-05-2019, 02:11 PM   #14
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,108
Default

Quote:
Originally Posted by X-Raym View Post
@nofish
The main thing is that cfillion funciton is already perfoming the data input sanitization so no need to do it before that (even if it is MIDI, no take etc).
Ah didn't know, thanks.

Though I think there's a slight problem with your version if 'Options -> Take lane behaviour -> Display empty take lanes' is enabled and there are empty takes, because empty takes are counted in CountTakes() but returned as nil with GetTake(), so your script complains if it encounters empty takes, because a nil check is missing. :P



edit:
To reproduce run your script with attached project.
Attached Files
File Type: rpp empty take.RPP (4.0 KB, 143 views)

Last edited by nofish; 07-05-2019 at 02:44 PM.
nofish is offline   Reply With Quote
Old 07-05-2019, 02:17 PM   #15
svijayrathinam
Human being with feelings
 
Join Date: May 2017
Posts: 981
Default

Quote:
Originally Posted by nofish View Post
Maybe because my repo isn't enabled by default in ReaPack?
I haven't compared mine and yours but if you did and think yours is more efficient I'll remove mine.
Mine was only sort of 'proof of concept' anyway, didn't spend much time with it as I don't need it myself.
I have your repository enabled.. but still your script is not showing up 😰
svijayrathinam is offline   Reply With Quote
Old 07-05-2019, 02:47 PM   #16
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,108
Default

Quote:
Originally Posted by svijayrathinam View Post
I have your repository enabled.. but still your script is not showing up 😰
I've taken it down meanwhile as X-Raym said he did it too and his version is available now (mine was basically the same as his).
nofish is offline   Reply With Quote
Old 07-05-2019, 05:34 PM   #17
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,900
Default

@nofish
Ok I added a simple check for Take, updated to v1.0.1

So I released this in my free repo:

  • X-Raym_Set selected items active take sources online.lua
  • X-Raym_Set selected items active take sources offline.lua
  • X-Raym_Toggle selected items active take sources online-offline.lua
  • X-Raym_Set selected items inactive takes sources online.lua
  • X-Raym_Toggle selected items inactive takes sources online-offline.lua
  • X-Raym_Set selected items inactive takes sources offline.lua

Thanks to anyone considering making a donation to support my script works, you help is appreciated (and needed). Every support count.



For the works per track etc as required in first post, just make a custom action with existing select items actions.


This should solve every needs.


Best,
X-Raym is offline   Reply With Quote
Old 07-08-2019, 02:47 AM   #18
svijayrathinam
Human being with feelings
 
Join Date: May 2017
Posts: 981
Default

A quick uptake on this...I contacted X Ray- M about making custom scripts to solve this issue and he worked hard and made some cool scripts...But the problem is still not solved...

https://youtu.be/-D0C-14O0C8



Pls check the video link I posted. I use X Ray M's script and make all the inactive take's source files offline..and then I import a new file into the same project...and all the inactive offline files become online...Also If i render any item in the same project after making all inactive take's sources offline..it brings back everything back online...

and X Ray M says "The problem is that the function used to set a take offline, which is a SWS function providen by cfillion, doesn't work. I can't reach or modify this function."


Can someone pls help to fix this ?


I am having an absolute nightmare finishing a big project..I keep getting this "Too Many files opened error"...inspite of me changing the settings in kernel. Right now I have set my kernel to allow usage of 65000 files...


Pls help
svijayrathinam is offline   Reply With Quote
Old 07-08-2019, 03:03 AM   #19
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,900
Default

svijayrathinam problem can be reproduced with native actions:


  1. Item: Set selected media offline
  2. Item: Render items to new take
The second action will bring back all items online. I didnt find a preference setting to overcome that.


Here is a FR thread: https://forum.cockos.com/showthread....72#post2155272
X-Raym is offline   Reply With Quote
Old 06-04-2020, 03:27 AM   #20
PelF
Human being with feelings
 
PelF's Avatar
 
Join Date: Mar 2013
Posts: 181
Default

Hi, I'm looking for action:

Select offline items (on selected tracks)

Thank you for your help.
PelF 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 12:14 PM.


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