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

View Poll Results: Would you like the Devs to improve API for this?
Yes, it's would be very useful! 28 87.50%
No, it's a waste of time. 2 6.25%
I don't care. 2 6.25%
Voters: 32. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old 02-07-2016, 12:52 PM   #1
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 2,836
Default Native API for "real" Non-destructive glue

Quote:
Originally Posted by matthewjumpsoffbuildings

I need an API function that is similar to the recently added propagate take to items action, but with more flexibility. mainly I just want it to propagate the wav src from the source item to all items with matching names on all tracks. but ideally id want the function to have control over which properties of the source take are copied to the target takes, and maybe even some flexibility/options with the name matching (eg wildcards etc)

I have written a bit of code that does this, but its super slow with large projects since it manually loops through ALL items in a project and checks the name, then updates the wav src if it matches, and this gets really sluggish cause its running in LUA.

if there was a native API action to do something like this, that would make the script much more usable with large projects.
__________________________________________________
How it looks:



__________________________________________________
__________________________________________________
__________________________________________________
Let's help Matthew to add such a great feature to Reaper with updated API.
__________________________________________________
This is what he has made for now: http://forum.cockos.com/showthread.php?t=136273

Last edited by vitalker; 03-30-2016 at 12:48 PM.
vitalker is offline   Reply With Quote
Old 02-07-2016, 12:58 PM   #2
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 2,836
Default Native API for "real" Non-destructive glue

Quote:
Originally Posted by matthewjumpsoffbuildings

I need an API function that is similar to the recently added propagate take to items action, but with more flexibility. mainly I just want it to propagate the wav src from the source item to all items with matching names on all tracks. but ideally id want the function to have control over which properties of the source take are copied to the target takes, and maybe even some flexibility/options with the name matching (eg wildcards etc)

I have written a bit of code that does this, but its super slow with large projects since it manually loops through ALL items in a project and checks the name, then updates the wav src if it matches, and this gets really sluggish cause its running in LUA.

if there was a native API action to do something like this, that would make the script much more usable with large projects.
__________________________________________________
How it looks:

__________________________________________________
__________________________________________________
__________________________________________________
Let's help Matthew to add such a great feature to Reaper.
__________________________________________________
This is what he has made for now: http://forum.cockos.com/showthread.php?t=136273
vitalker is offline   Reply With Quote
Old 02-08-2016, 12:29 PM   #3
Dstruct
Human being with feelings
 
Dstruct's Avatar
 
Join Date: Jul 2006
Location: Dresden, Germany
Posts: 12,095
Default

Bug or Feature Request?
Dstruct is offline   Reply With Quote
Old 02-08-2016, 01:03 PM   #4
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 2,836
Default

Quote:
Originally Posted by Dstruct View Post
Bug or Feature Request?
Feature request. Yeah, delete it please.
vitalker is offline   Reply With Quote
Old 02-08-2016, 01:05 PM   #5
Dstruct
Human being with feelings
 
Dstruct's Avatar
 
Join Date: Jul 2006
Location: Dresden, Germany
Posts: 12,095
Default

Quote:
Originally Posted by vitalker View Post
Feature request. Yeah, delete it please.
Moved
Dstruct is offline   Reply With Quote
Old 02-24-2016, 02:26 AM   #6
raiirock
Human being with feelings
 
raiirock's Avatar
 
Join Date: Mar 2013
Posts: 88
Default

Awesome idea !
raiirock is offline   Reply With Quote
Old 03-08-2016, 10:39 PM   #7
gpunk_w
Human being with feelings
 
Join Date: Dec 2010
Posts: 3,140
Default

Isn't this sub projects ?
__________________
Reaper scripters, that is all !!!!!!!!!!!!!!!!
gpunk_w is offline   Reply With Quote
Old 03-08-2016, 11:06 PM   #8
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Germany
Posts: 3,314
Default

Isn't this groups ?

(I.e.: Glue and Subproject work by rendering and creating new wav files. Grouping is >"real" Non-destructive< in that sense.)

-Michael
__________________
www.boa-sorte.de
mschnell is offline   Reply With Quote
Old 03-09-2016, 01:49 AM   #9
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 2,836
Default

Quote:
Originally Posted by gpunk_w View Post
Isn't this sub projects ?
Nope. When you create subproject, the new file is created. When you do non-destructive glue, the existed files used only.
vitalker is offline   Reply With Quote
Old 03-09-2016, 01:52 AM   #10
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 2,836
Default

Quote:
Originally Posted by mschnell View Post
Isn't this groups ?

(I.e.: Glue and Subproject work by rendering and creating new wav files. Grouping is >"real" Non-destructive< in that sense.)

-Michael
Yes, it's very close to grouping, but it's not the same. You have original files only here. So it's really non-destructive.
vitalker is offline   Reply With Quote
Old 03-30-2016, 12:15 PM   #11
Fergler
Human being with feelings
 
Fergler's Avatar
 
Join Date: Jan 2014
Posts: 3,411
Default

This is how it should be done:

http://forum.cockos.com/showpost.php...90&postcount=4

Simply amazing workflow possibilities here, especially if you can create pooled copies just like MIDI.

Do please stop spamming though.
__________________
Check out my hip-hop, funk-rock band Theatre Crisp
Fergler is offline   Reply With Quote
Old 03-31-2016, 10:43 AM   #12
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 2,836
Default

Quote:
Originally Posted by Fergler View Post
Do please stop spamming though.
What is your post about?
vitalker is offline   Reply With Quote
Old 03-31-2016, 02:27 PM   #13
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 7,132
Default

Quote:
Originally Posted by vitalker View Post
What is your post about?
Your bumping frequency.
nofish is offline   Reply With Quote
Old 01-28-2017, 08:49 AM   #14
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 2,836
Default

bump.
vitalker is offline   Reply With Quote
Old 03-04-2017, 12:30 AM   #15
matthewjumpsoffbuildings
Human being with feelings
 
Join Date: Mar 2013
Posts: 391
Default

I still havent done any new coding on the Glue Group script, I feel like the devs arent really interested in this right now. With all the focus on automation items (which Im really happy about), thats understandable.

However I still would love a "Propagate Takes to Items with same name" API function that allows you to specificy which properties of the source take are copied to the target items (eg wav source, reverse, volume, panning). That would definitely motivate me to work on the Glue Group script.

For people who dont understand what the difference between this script and the standard Glue function in reaper is - this script stores all the source items data in the reaper project file, so all the pieces you glue together are not lost, but can be reinserted any time, edited, and reglued, and any copies of the glue group will then be updated to reflect your edits.

It is very similar to project-in-project, but it doesnt require you to make any new projects, or switch to a new project tab to edit the loop. Its better for short 1-2 bar loops, for example drum loops etc, where you need to be able to drag and loop the item, and also you need instances to update everywhere when you edit one instance, but its not really big enough to justify a sub-project.

Its sort of a combination of pooling/ghosting for audio items + project in project without having to switch tabs to edit.

Oh btw if any devs are watching - I would love for this script to be made redundant How about making a version of project-in-project that stores the item data in the parent project instead of a separate project file, and allowing you to edit the items in place instead of having to switch to a new project tab
__________________
[array] soundcloud facebook arraytheband.com.au

Last edited by matthewjumpsoffbuildings; 03-04-2017 at 12:38 AM.
matthewjumpsoffbuildings 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:12 PM.


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