|
|
|
04-13-2011, 07:21 PM
|
#1
|
Human being with feelings
Join Date: Apr 2009
Location: Duluth, MN
Posts: 1,712
|
JS Global Variables - regxx Master List!
This thread was created to provide a list of JS plugins that are currently using the regxx variables for master/slave operation in REAPER. The purpose of this list is to avoid any possible collisions when using multiple plugins with global variables.
ATTN: Programmers!
Use this list to determine which regxx variables you should use in your plugins. When you upload your plugins, please add them to this list. Thanks!
ATTN: Plugin users!
Use this list to determine whether or not you will encounter any problems while using multiple master/slave JS plugins in your projects.
Thanks!
*Dear Mods...... sticky me?
*edit*
Thank you!
Last edited by d.bop; 04-13-2011 at 08:45 PM.
Reason: I got stickied :)
|
|
|
04-13-2011, 09:27 PM
|
#3
|
Human being with feelings
Join Date: Apr 2009
Location: Duluth, MN
Posts: 1,712
|
Till/Transient-driven Auto-Pan v1.0 (Master) & Till/Transient-driven Auto-Pan v1.0 (Slave)
- uses reg00, reg01, reg02, reg03, reg04, reg05, reg06, reg07, reg08, reg09
- included with REAPER
Till/Transient-driven Auto-Pan v1.1(Master) & Till/Transient-driven Auto-Pan v1.1 (Slave)
- uses reg00, reg01, reg02, reg03, reg04, reg05, reg06, reg07, reg08, reg09
- included with REAPER
There will be a conflict if both v1.0 and v1.1 are used together because they share the same regxx variables.
|
|
|
05-21-2013, 05:40 PM
|
#4
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,746
|
Perhaps we should make something where plugins can register named globals, i.e. _glob_* are automatically shared across all instances...
|
|
|
05-22-2013, 02:28 AM
|
#5
|
Human being with feelings
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,891
|
Quote:
Originally Posted by Justin
Perhaps we should make something where plugins can register named globals, i.e. _glob_* are automatically shared across all instances...
|
That would be great!
|
|
|
05-22-2013, 03:54 AM
|
#6
|
Human being with feelings
Join Date: Jul 2006
Posts: 626
|
Quote:
Originally Posted by Justin
Perhaps we should make something where plugins can register named globals, i.e. _glob_* are automatically shared across all instances...
|
that would be sweet! /dan
|
|
|
05-23-2013, 11:27 AM
|
#7
|
Human being with feelings
Join Date: Jun 2007
Location: Palm Beach FL
Posts: 265
|
Quote:
Originally Posted by Justin
Perhaps we should make something where plugins can register named globals, i.e. _glob_* are automatically shared across all instances...
|
Any chance, these could also be delay compensated (multithreaded render ahead, etc.)?
|
|
|
05-23-2013, 01:00 PM
|
#8
|
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 15,746
|
Quote:
Originally Posted by beyond
Any chance, these could also be delay compensated (multithreaded render ahead, etc.)?
|
Not possible, no.
Getting back to the main topic:
In the next build (4.5rc2), you will be able to use _global.* across instances, and regXX are mapped to _global.regXX.
You can also use the namespace facility with this, so you could do:
Code:
function inc() (
this.value += 1;
);
_global.inc(); // _global.value += 1;
_global.boo.inc(); // _global.boo.value += 1;
|
|
|
12-05-2014, 12:21 PM
|
#9
|
Human being with feelings
Join Date: Jun 2009
Location: vancouver
Posts: 6
|
Is it possible...
Is it possible to pass globals from eel to JSFX, (maybe OSCii-bot, and WALTER(?is eel?)). I realize that that they are probably implementations of eel inside different programs, and if so that pretty well would sum up why not. but It would open up (I'm gonna call it routing )routing.
for instance say you want some way to make a dockable gui (stuck in JSFX) of dynamic midi sliders or controls(OSCII-bot,JSFX) to control Reascript sytle stuff(eel) and send the data back to the Gui.
or +walter... use osciibot or jsfx to take in my controls and pass them to an eel script actively updating variables in walter.
|
|
|
02-26-2015, 05:03 AM
|
#10
|
Human being with feelings
Join Date: Jun 2012
Location: Spain
Posts: 7,268
|
could someone put some example code of how to use _global in EEL? Where are _global variables documented?
|
|
|
Thread Tools |
|
Display Modes |
Hybrid 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 08:55 PM.
|