Go Back   Cockos Incorporated Forums > REAPER Forums > ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum

Reply
 
Thread Tools Display Modes
Old 06-08-2020, 10:13 AM   #161
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

Updated Reaper Internals to Reaper 6.11, SWS 2.11.0 and JS-extension 1.215, including new configvars.
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 06-09-2020, 06:36 AM   #162
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 10,221
Default

Thanks for the continued work on this.
It's a very valuable resource for me when coding for Reaper.
nofish is offline   Reply With Quote
Old 06-09-2020, 09:29 AM   #163
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

You're welcome
And I'm happy, that it's helpful for so many of you
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 06-09-2020, 05:05 PM   #164
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Posts: 4,103
Default

Yep, I second that, thank you!
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please consider donating to amagalma cfillion FeedTheCat HeDa Julian Sader lb0 nofish Sexan X-Raym
_Stevie_ is online now   Reply With Quote
Old 06-15-2020, 10:05 AM   #165
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

Updated docs to Reaper 6.12
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 07-03-2020, 12:57 PM   #166
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 3,364
Default

Some configvar findings in 6.12 macOS 64-bit:
  • midiccdensity is documented twice
  • isFullscreen and fullscreenRect{B,L,R,T} are in lowercase in the documentation but their real name use camelCase
  • These variable don't exist here: afxcfg, audioasync, cpuallowed, disk_peakmmap2, reccfg, rendercfg, restrictcpu, showlastundo, workset_max, workset_min and workset_use
  • A new variable "osxnomiddlemancocoa" exists
  • These have a new name here (didn't check the data format):
    Code:
    disk_rdmodeex  -> disk_rdmodeexmac
    nativedrawtext -> nativedrawtext2
    vstbr64        -> vstbr32 (in both 64-bit and 32-bit REAPER)

Last edited by cfillion; 07-03-2020 at 01:03 PM.
cfillion is offline   Reply With Quote
Old 07-04-2020, 11:38 AM   #167
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

Thanks for your research, including the other list you've sent me.
Will have a look
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 07-22-2020, 04:15 PM   #168
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

Updated Docs to Reaper 6.13 and Ultraschall-API 4.1.004
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 07-22-2020, 04:23 PM   #169
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 27,339
Default

I don't think I've ever commented but really great job on all of this. I have used it once or twice on the odd occasion I had to script something. Thanks again for what appears to be an incredible amount of work!
__________________
Music is what feelings sound like.
karbomusic is offline   Reply With Quote
Old 07-22-2020, 04:27 PM   #170
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

You're welcome
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 07-23-2020, 04:01 AM   #171
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 10,059
Default

Great Work !

Just a hint for enhancement:

I once found that the data encoded in the Preset files is the DAW parameters of the plugin as Floating point values, then encoded in hex. I seem to remember that at the end the "wet" and "bypass" values introduced by Reaper itself are added.

-Michael
mschnell is online now   Reply With Quote
Old 07-23-2020, 06:37 AM   #172
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

Presetfiles are still on my documentation-todolist, so I might add this at some point.
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 08-28-2020, 09:04 AM   #173
acendan
Human being with feelings
 
Join Date: Jun 2020
Location: Florida, US
Posts: 14
Default Incl Proj Filename BWF

Hey Mespotine,

Any idea how I can toggle "Include project filename in BWF" in the render settings? Really appreciate it. Gif: https://gfycat.com/grandiosefickledowitcher
acendan is offline   Reply With Quote
Old 08-28-2020, 03:29 PM   #174
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

Use my Ultraschall-Api which has the functions
https://mespotin.uber.space/Ultrasch...G_Settings_WAV

and

https://mespotin.uber.space/Ultrasch...eRenderCFG_WAV

You can set the created renderstring with reaper.GetSetProjectInfo_String() with desc being "RENDER_FORMAT" and valuestrNeedBig being the renderstring returned by CreateRenderCFG_WAV.

Everything else is a difficult mess.

For an introduction to the rendering features of Ultraschall-Api, see: https://mespotin.uber.space/Ultrasch...1_Introduction

If you have further questions regarding Ultraschall-Api, please head over to the Ultraschall-Api thread (link in my signature)
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 08-29-2020, 01:39 PM   #175
acendan
Human being with feelings
 
Join Date: Jun 2020
Location: Florida, US
Posts: 14
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
You can set the created renderstring with reaper.GetSetProjectInfo_String() with desc being "RENDER_FORMAT" and valuestrNeedBig being the renderstring returned by CreateRenderCFG_WAV.
That worked perfectly! Thank you so much
acendan is offline   Reply With Quote
Old 10-02-2020, 09:31 AM   #176
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

Almost forgot to mention, but I updated Docs to Reaper 6.14
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 10-10-2020, 07:08 PM   #177
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

Updated to JS-extension 1.127 and some information about @param in video-processor.
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 10-12-2020, 01:04 PM   #178
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 2,698
Default

Thank you mespotine!
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 10-20-2020, 06:21 PM   #179
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

Updated Docs to Reaper 6.15 and SWS 2.12.1
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 10-21-2020, 04:52 AM   #180
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 10,059
Default

Excellent !
Thanks,
-Michael
mschnell is online now   Reply With Quote
Old 11-02-2020, 03:30 PM   #181
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 2,698
Default

Mespotine, how did you find what the combination of codes mean?
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 11-02-2020, 04:48 PM   #182
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

I made a wild script that

1 set the shortcut for a specific action into the kb.ini
2 I restarted Reaper and reopened the actionlist
3 I read out the field for the shortcut
4 I stored the codes+its text as extstate
Repeat with the next code.

I iterated through all combinations except the obscure three-hex-midi ones.

It was a nightmare and I had to hack it without the aid of Julian's extension.

My first documentation of the rendercodes was even more wild west...
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 11-02-2020, 04:59 PM   #183
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 2,698
Default

I see! Quite a hack!


I was trying to figure out a way to translate these two codes (KEY x y ) into Virtual Key Codes. Actually, the second one is ready and pretty straight-forward. But I could not understand how the first code affects the second...
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 11-02-2020, 05:13 PM   #184
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

It's difficult and complicated. And has some different combinations for the same shortcut, where Reaper only uses one of them.
And: Mac has some other different shortcut codes,that I haven't documented yet.
I once wanted to translate the StuffMidiMessage-controlcodes to kb.ini ones but didn't manage to do that yet.


Btw, when dealing with shortcuts, I strongly recommend reading my kb.ini-docs for that. They explain how they work as good as I could figure it out.
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 11-02-2020, 06:50 PM   #185
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 2,991
Default

While looking here* is there any command for reaper which can render only the first bar of the project?
Example use case: Assuming you just created some 1 bar loop, for playing around or experimenting something, some technique and having lots of such projects on your harddisk, it could be an interesting way quickly getting their .wav representations, you could listen to them later, also without having to start reaper, plus stuff you might have forgotten. For sample pack or beat creators this could be interesting as well. In case of beat creators, replace 1 bar with 4 bars. You could export each stem separately, plus the master mix.

Most flexible would be this command if you could say:
start rendering from bar x, for duration of y bars.
My example above would have: x=1, y=1
For beats: x=1, y=4

* https://github.com/ReaTeam/Doc/blob/.../REAPER-CLI.md
TonE is offline   Reply With Quote
Old 11-03-2020, 02:48 AM   #186
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

Basically you need a way to convert measures to seconds and pass these to the render functions.
I don't think I have a function for that conversion in my Api but don't know right now.
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 11-03-2020, 09:28 AM   #187
TonE
Human being with feelings
 
Join Date: Feb 2009
Location: Reaper HAS send control via midi !!!
Posts: 2,991
Default

The other technique might be, I guess Reaper supports some 'starting action', there one could define, set time selection to first bar, then render time selection for example. If those can be done from command line, but I guess it should be possible. Where are the rendering from command line experts here?
TonE is offline   Reply With Quote
Old 11-29-2020, 10:46 AM   #188
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

Quote:
Originally Posted by amagalma View Post
Here is an OpenDocument spreadsheet with ALL the color variables that Reaper uses, in the order they appear in the Theme Tweak/Configuration Window.

A Reaper color setting may belong to one of the following categories:
- normal colors (Use ColorToNative and ColorFromNative)
- blend modes/drawmodes (use the functions below)
- settings that when enabled add -2147483648 to normal colors
- col_vudoint (Theme has interlaced VU meters) which can be 1 for enabled or 0 for disabled.
Do you have a nice and handy script, with which I could update it with the most recent entries of them to include the most recent updates as well?
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 11-29-2020, 12:43 PM   #189
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

Updated docs to Reaper 6.17
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 11-29-2020, 01:17 PM   #190
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 2,698
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
Do you have a nice and handy script, with which I could update it with the most recent entries of them to include the most recent updates as well?

I can't remember and can't I find... Btw, the devs have documented all the entries, which can be found under SetThemeColor in the auto-generated Reascript documentation. I hope that whenever they add a new entry they document it there too... Hopefully...
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 12-01-2020, 06:28 AM   #191
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 10,059
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
Updated docs to Reaper 6.17
Great !
Thanks !
-Michael
mschnell is online now   Reply With Quote
Old 12-01-2020, 11:19 AM   #192
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

Quote:
Originally Posted by amagalma View Post
I can't remember and can't I find... Btw, the devs have documented all the entries, which can be found under SetThemeColor in the auto-generated Reascript documentation. I hope that whenever they add a new entry they document it there too... Hopefully...
Are the names of the entries in the docs the exact same ones as in the theme-file? If yes, documenting it in Reaper-Internals should be easy to automate for me.
(Yes, I'm looking for ways of lazying this one out )

@mschnell
You're welcome.
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 12-18-2020, 03:18 PM   #193
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

Updated Reaper Internals to Reaper 6.19(including a lot of new configvar-entries) and SWS 2.12.1.1
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 12-19-2020, 12:17 PM   #194
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 2,698
Default

Thank you Mespotine!
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 12-19-2020, 12:19 PM   #195
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 2,698
Default

Quote:
Originally Posted by Meo-Ada Mespotine View Post
Are the names of the entries in the docs the exact same ones as in the theme-file? If yes, documenting it in Reaper-Internals should be easy to automate for me.
(Yes, I'm looking for ways of lazying this one out )

I think so! I don't remember how I got them but they should be.. I certainly didn't type them one by one by hand!
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote
Old 12-24-2020, 07:34 PM   #196
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

Updated docs to JS-extension 1.220
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 01-21-2021, 04:59 AM   #197
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: Apr 2020
Location: Leipzig
Posts: 1,954
Default

Updated Reaper Internals to Reaper 6.20

corrected numerous errors in the parameters and retvals-description-sections of the doc-entries.
__________________
Use you/she/her, when contacting me, please. Thanks :) Not mentoring via PMs, sorry.
Ultraschall-API - 1359 ReaScript functions for Reaper - Reaper Internals - Developerdocs4Reaper - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 01-21-2021, 11:21 AM   #198
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 10,059
Default

Fantastic !
-Michael
mschnell is online now   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:23 AM.


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