 |
|
|
07-29-2021, 12:00 PM
|
#1
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,304
|
StateChunks: change in filename of source with Reaper 6.33 (FIXED)
In this thread, Aurelien noticed, that the way that sourcefile in itemstatechunks is stored has changed its behavior. It used to be that the filename was always enclosed in " but now it seems to follow the scheme of other strings in statechunks, to use " only, when there's a space in the string somewhere.
Even though I can add this detail to my Ultraschall-Api easily, I think this could break old scripts, that were expecting it to behave always with " enclosed.
https://forum.cockos.com/showpost.ph...&postcount=719
Tested on Windows 7 Reaper 6.33x64
|
|
|
07-29-2021, 07:19 PM
|
#2
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,346
|
...of course those scripts will need to be updated to support quotes in filenames, too.
We can easily change it to always use quotes even with no spaces, but not sure what the best route is...
|
|
|
07-30-2021, 01:25 AM
|
#3
|
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,878
|
Quote:
Originally Posted by Justin
...of course those scripts will need to be updated to support quotes in filenames, too.
We can easily change it to always use quotes even with no spaces, but not sure what the best route is...
|
Best route is to prevent chunking from developer side as much as possible 
An API way of editing things would solve lot of chunking mess (including parameters Modulation/Learn, FX name or (available) parameters access, project header stuff, spectral edits etc).
|
|
|
07-30-2021, 09:55 AM
|
#4
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,304
|
Quote:
We can easily change it to always use quotes even with no spaces, but not sure what the best route is...
|
I would prefer to keep the old way.
There are plenty of scripts still being in use, done by scripters who left the community or are even deceased. So many of them have a low chance of being altered for the new changes.
Any chance of including such changes into dev-changelogs in the future?
This one was discovered by accident and most scripters would probably miss it and therefore not know, that scripts need to be updated.
I was lucky that Aurelien did the research on that one and found that, otherwise I would have probably spent weeks finding the issue in my code... :/
Having a hint in the changelogs would be very helpful in these cases.
|
|
|
07-31-2021, 06:28 AM
|
#5
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,346
|
Quote:
Originally Posted by Meo-Ada Mespotine
I would prefer to keep the old way.
There are plenty of scripts still being in use, done by scripters who left the community or are even deceased. So many of them have a low chance of being altered for the new changes.
Any chance of including such changes into dev-changelogs in the future?
This one was discovered by accident and most scripters would probably miss it and therefore not know, that scripts need to be updated.
I was lucky that Aurelien did the research on that one and found that, otherwise I would have probably spent weeks finding the issue in my code... :/
Having a hint in the changelogs would be very helpful in these cases.
|
The next +dev build will have it go back to " quotes when possible (almost all cases).
The 6.33 change was in the +dev builds for a while, as
Code:
+ Project files: allow filenames to contain quotes on supported platforms
(not super-obvious but there)
|
|
|
07-31-2021, 06:29 AM
|
#6
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,346
|
Quote:
Originally Posted by mpl
Best route is to prevent chunking from developer side as much as possible 
|
Agreed  Though scripts that do use chunks should use a correct/compatible parser too...
|
|
|
07-31-2021, 08:33 AM
|
#7
|
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,878
|
Quote:
Originally Posted by Justin
Agreed  Though scripts that do use chunks should use a correct/compatible parser too...
|
Would be nice to port native parser into API, like... forward and back chink to/from multidimensional lua table?
|
|
|
07-31-2021, 01:15 PM
|
#8
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,304
|
Quote:
Originally Posted by mpl
Would be nice to port native parser into API, like... forward and back chink to/from multidimensional lua table?
|
+1 would be a dream come true
@Justin
Thanx
|
|
|
08-25-2021, 04:51 AM
|
#10
|
Human being with feelings
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 3,949
|
Quote:
Originally Posted by X-Raym
|
This parser might be useful if it works with midi/osc mappings correctly. Ultraschall api started adding functions for it lately, not working fully yet, according to my tests so far. See https://github.com/Ultraschall/ultra...aper/issues/13
The idea is creating line based, csv export and csv import for all midi mappings in .rpp, but listing all parameters, also the non-mapped, so those can be changed externally in Excel or emacs, if wanted so, then reimported back, getting all the new mappings directly. If such a system would exist (csv export and csv import of all midi mappings in .rpp), one can start creating scripts for auto-generating such mapping csv files based on self-defined rules.
For example if you have a set of hardware midi controllers, and you have a list of all your outputting values, you would simply fill your target parameters of your .rpp to your hardware generated values. Ready is your groovebox. Hardware knobs, faders, controlling something in your .rpp, exactly as you want, without having to do hundreds or thousands of clicking, mapping steps.
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 01:23 AM.
|