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

Reply
 
Thread Tools Display Modes
Old 11-21-2019, 06:22 PM   #1
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,239
Default Faster access to track chunk data when there is huge encoded plugin data

When the track chunk is very big, we need a faster way to access the track data from the API. Currently it is very slow because it loads all the plugin encoded data(which can be huge on some plugins) and it is not needed if I am only going to read the track data and plugin names, and not modify the chunk in any way. It is also slow from SWS extensions. For example how to get the number of Frozen plugins in a track without having to read all the chunk data?
Thanks!
heda is offline   Reply With Quote
Old 11-21-2019, 06:28 PM   #2
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
Default

Agreed

Not sure if I'm qualified to suggest anything more than that but would love to see a solution to this.
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
musicbynumbers is offline   Reply With Quote
Old 11-21-2019, 06:32 PM   #3
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

I suggest to add an optional parameter "boolean omitFXEncodedData" that strips away all the Base64-encoded strings for FX, leaving the rest untouched.
__________________
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 11-21-2019, 06:39 PM   #4
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

+1
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 11-21-2019, 06:40 PM   #5
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

One thing we forgot, it should also be for ItemStateChunks, as they can have FX 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
Old 11-21-2019, 06:54 PM   #6
Klangfarben
Human being with feelings
 
Join Date: Jul 2016
Location: Los Angeles, CA
Posts: 1,701
Default

+1 Yes, please. Kontakt alone is just stupid.
Klangfarben is offline   Reply With Quote
Old 11-22-2019, 12:00 AM   #7
bwsd
Human being with feelings
 
Join Date: May 2011
Location: KZ ALA
Posts: 110
Default

+1

Quote:
Originally Posted by heda View Post
I was going to request a change in the RPP format But now since we are already 6.0rc, I feel it is too late to change this.
It was to store the plugins encoded data outside the track chunk with a ID link or something in a different part of the RPP file. This would improve performance of reading track chunks from API, when not needed to read the plugins encoded data, which can be huge for some plugins making it very slow to read from scripts.
With large data stored from plug-ins, the autosave of the project takes a very long time. This greatly slows down the operational work.
bwsd 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 01:55 AM.


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