Old 02-10-2014, 03:59 PM   #1641
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 7,264
Default

Quote:
Originally Posted by Reno.thestraws View Post
I'm a Big fan of exclusive toggle actions! It's a game changer!
can you please explain how to use them? as in where in the CA do they go and how many do i need to enable?

i've tried adding them to my CAs all sorts of ways and just can't figure em out. the only thing i get them to do is to toggle the others ON together (and sort of randomly), but not off. it's unpredictable.

i can't seem to figure out how to use S&M_EXCL_TGL

Jeffos indicated this should be the ticket if I want a button to toggle exclusively on a toolbar.

to be clear, i have 5 save buttons (snapshots) and 5 load buttons on a toolbar. i want the load buttons to be exclusive of one-another so it's obvious which slot has been loaded last.

where does this action go, how does it work? i noticed i can enable any number of these exclusive toggle actions in the ini. I tried using 1 and the same toggle action (exclusive toggle 01) for all load buttons in every possible position and i tried using different numbered actions for each one. can't get predictable results and have no idea how this is supposed to work.

they all look like this:
if->
CA Flag 1
Recall snapshot 1
end if->
-step-
no-op

saving sets the "flag" so the load buttons only work if something has actually been saved in that slot. i had to do it this way to avoid some "recursive action" error where "if" statements were checking eachother into infinity (two actions containing each other in "if" statements).

the no-op is just to get an "off" button state that doesn't affect anything.

an hour or so of trial and error was unproductive...any help?

If anyone wants to try it themselves:

CAs: https://stash.reaper.fm/19742/S%26M_C...ons_export.ini
Toolbar (8):
https://stash.reaper.fm/19741/Fx%20Co...bar.ReaperMenu

And in S&M.ini (reaper resources folder) you probably need to change line S&M_EXCL_TGL=0 (line 120 in my file) to equal some number 1 or greater (not zero).
__________________
Myyy Wyyyrd Music

Last edited by foxAsteria; 02-10-2014 at 06:40 PM.
foxAsteria is offline   Reply With Quote
Old 02-11-2014, 05:04 AM   #1642
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 9,196
Default

I too would appreciate some insight and explaination about exclusive toggle actions.
nofish is offline   Reply With Quote
Old 02-11-2014, 08:51 AM   #1643
Rusty Falcon
Human being with feelings
 
Rusty Falcon's Avatar
 
Join Date: Sep 2012
Location: Alabama
Posts: 374
Default

Thanks for the update! Downloaded and installed.
__________________
PRS 2014 Brushstroke 24 / PRS 2008 Custom 24 / Axe-FX 2
Reaper / RME HDSP Multiface 1 / Tannoy 502s / Monoprice 10" Subwoofer
Hughes and Kettner Tubemeister 18 and 1x12 cab
Rusty Falcon is offline   Reply With Quote
Old 02-11-2014, 10:35 AM   #1644
esosotericmetal
Human being with feelings
 
esosotericmetal's Avatar
 
Join Date: Nov 2012
Posts: 371
Default Automatically group recorded items

I already created a thread about this but figured it makes sense posting this here as well:

I want items to group automatically when recording multiple tracks simultaneously (e.g. multi mic drums). I can't seem to get this function to work for me though. I have tried using all of the various SWS functions for this but none of them seem to have any effect. Am I doing something wrong or is this a bug?

EDIT:
Just realized that the function works in 'tape' and 'layers' mode but does not work in the default mode. Is this a bug? If not, why on earth would anyone want this function to not work in the default mode?

Last edited by esosotericmetal; 02-11-2014 at 01:12 PM.
esosotericmetal is offline   Reply With Quote
Old 02-14-2014, 11:40 AM   #1645
Reno.thestraws
Human being with feelings
 
Reno.thestraws's Avatar
 
Join Date: Nov 2009
Location: Belgium
Posts: 9,783
Default

Quote:
Originally Posted by nofish View Post
I too would appreciate some insight and explaination about exclusive toggle actions.
I'll try to explain but my english is very bad for such complicated explanation, so sorry in advance if some words look weird :S

In Cycle action editor, you can create actions that are "conditional" with IF and IFNOT statement.
It works like this

IF --
- any action that report a toggle state (look to the action list to see them)
- conditional action
ENDIF---

IF NOT
- any action that report a toggle state (look to the action list to see them)
- conditional action
ENDIF---

example, a super simple CA using this statement could be :

IFNOT
Transport : Record (the CA check if the action is on or off)
Transport : Record (the CA run the action)
ENDIF
IF
Transport : Record (the CA check if the action is on or off)
Transport : STop (save all recorded media) (the CA run the action)
ENDIF

SO, if you assign a key shortcut to these action, what it will happen when triggering it?

If the record button is on in the transport bar: your action will stop the recording and save media

If the record button is OFF : your action will start the recording


Now the exclusive and dummy toggle :

Dummy toggle are action that do nothing except sayin to the CA "I'm OFF or I'm ON"

What's the goal?

You can now create some " fake options" toolbar button by placing any action "dummy toggle X" in it and have some cycle action that react differently if the dummy toggle (aka fake options) is set to on or off

Example :

cycle action name : conditional split
IF---
Dummy toggle 01
Split item at edit cursor
ENDIF
IFNOT
Dummy toggle 01
SPlit item at time selection
ENDIF


Now you have a toolbar button containing the action dummy toggle 01 that could be turn on or off

Let's assign a key shortcut to our brand new action "conditionnal split" -> "S" for example

Now what happen if I press "S" ?

If my dummy toggle button is set to on, my action will split the item at edit cursor
If my dummy toggle button is set to off, my action will split the item at time selection

Isn't it awesome?


Exclusive toggle are the same with one difference. They're exclusive. That means that if exclusive toggle 02 is set to on, every other exclusive toggle action number will be set to OFF


With this, you can now create some "ala cubase or ala protools" tools

example :

-I placed 10 exlusive toggle actions in my toolbar (from 1 to 10) and just renamed them with tool names.

https://dl.dropboxusercontent.com/u/...xample%201.gif

- I created that big conditional CA and assigned it to my mouse modifier : left mouse click / item
https://dl.dropboxusercontent.com/u/...xample%202.gif



Now depending on WHAT toolbar button is on, my left mouse click have different behaviors

https://dl.dropboxusercontent.com/u/...xample%203.gif


How sexy is that?

And it doesn't stop to mouse mod

You can create some sort of "multilayer keyboard"

you create an CA for, as an example, the shortcut "R"

example :

IF
exclusive toggle 21
Transport : Record
ENDIF
IF
exclusive toggle 22
Reverse item as a new take
ENDIF
IF
exlusive toggle 23
Cycle Ripple editing
ENDIF
IF
exclusive toggle 24
Project : Render
ENDIF


Now the shortcut "R" is multi function and depend on your "mode" or exclusive toggle toolbar state

In previous example you could rename your exclusive toggle button :
- exclusive toggle 21 to "REAPER recording mode"
- exclusive toggle 22 to "REAPER editing mode"
- exclusive toggle 23 to "REAPER arranging mode"
- exclusive toggle 24 to "REAPER mastering mode"

and make any conditionnal "multilayer" action that suit your modes


The sky is the limit


EDIT : that was my 6000th post in this forum ... a pretty long one!

Last edited by Reno.thestraws; 02-14-2014 at 12:09 PM.
Reno.thestraws is offline   Reply With Quote
Old 02-14-2014, 12:03 PM   #1646
dug dog
Human being with feelings
 
Join Date: Jan 2009
Location: Ontario Canada
Posts: 1,048
Default

Reno: That's awesome.
Thanks for sharing.
dug dog is offline   Reply With Quote
Old 02-14-2014, 12:14 PM   #1647
Argitoth
Human being with feelings
 
Argitoth's Avatar
 
Join Date: Feb 2008
Location: Phoenix, AZ
Posts: 2,055
Default

Reno.thestraws, I will suggest an improvement to your warp version of mouse modifier.

Have it set stretch markers at beginning and ending of time selection if you click within time selection. Therefore when you warp, it warps just what you have in time selection. Or if there's no time selection, it just adds a stretch marker where you click.

Maybe scripting will be needed to get this functioning? I don't know how I'd recreate the toggle buttons with scripting though.
__________________
Soundemote - Home of the chaosfly and pretty oscilloscope.
MyReaperPlugin - Easy-to-use cross-platform C++ REAPER extension template
Argitoth is offline   Reply With Quote
Old 02-14-2014, 01:13 PM   #1648
Reno.thestraws
Human being with feelings
 
Reno.thestraws's Avatar
 
Join Date: Nov 2009
Location: Belgium
Posts: 9,783
Default

Quote:
Originally Posted by Argitoth View Post
Reno.thestraws, I will suggest an improvement to your warp version of mouse modifier.

Have it set stretch markers at beginning and ending of time selection if you click within time selection. Therefore when you warp, it warps just what you have in time selection. Or if there's no time selection, it just adds a stretch marker where you click.

Maybe scripting will be needed to get this functioning? I don't know how I'd recreate the toggle buttons with scripting though.
ATM, my left click is adding a stretch marker, so if I want to set a streching zone, i just have to click 2 more times to add two more stretch marker. It's a matter of taste but i prefer this way
Reno.thestraws is offline   Reply With Quote
Old 02-14-2014, 02:05 PM   #1649
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 7,264
Default

Quote:
Originally Posted by Reno.thestraws View Post

EDIT : that was my 6000th post in this forum ... a pretty long one!
well in honor of that, just wanna let you know that you can upload stuff here: https://stash.reaper.fm/

and then you can copy the last bit of code into the forum and we'll be able to see your images directly in your post. dropbox is still better for big files.

and thanks for the explanation, starting to get it...
__________________
Myyy Wyyyrd Music
foxAsteria is offline   Reply With Quote
Old 02-14-2014, 02:28 PM   #1650
Argitoth
Human being with feelings
 
Argitoth's Avatar
 
Join Date: Feb 2008
Location: Phoenix, AZ
Posts: 2,055
Default

Quote:
Originally Posted by Reno.thestraws View Post
ATM, my left click is adding a stretch marker, so if I want to set a streching zone, i just have to click 2 more times to add two more stretch marker. It's a matter of taste but i prefer this way
omg. im bored. im going to make an action to do what I suggested. maybe you'll be tempted to try it and you'll add it to your scheme
__________________
Soundemote - Home of the chaosfly and pretty oscilloscope.
MyReaperPlugin - Easy-to-use cross-platform C++ REAPER extension template
Argitoth is offline   Reply With Quote
Old 02-14-2014, 11:41 PM   #1651
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 7,264
Default Restricting Exclusive Toggles?

ok i got the exclusive toggle working pretty much, thanks for the help here.

but is there any way to restrict them? i have several toolbars with exclusive toggles and they all affect each other, which is undesirable.

it seems like a slightly better implementation would be for each number to only check other exclusive toggles of the same number.

unless i'm doing something wrong. do we need a unique number for each action and each will always check every other exclusive toggle?

are there some formal instructions for this secret feature anywhere?
__________________
Myyy Wyyyrd Music
foxAsteria is offline   Reply With Quote
Old 02-15-2014, 12:04 AM   #1652
Reno.thestraws
Human being with feelings
 
Reno.thestraws's Avatar
 
Join Date: Nov 2009
Location: Belgium
Posts: 9,783
Default

Use dummy toggle actions instead.
Or you can create your own fake toggle':

No op, no action
------ step
No.op no action

And you can create some kind of personnal exclusive toggle

IFNOT
Dummy toggle 02
Dummy roggle 02
ENDIF
iF
Dummy toggle 01
Dummy toggle 02
ENDIF
Reno.thestraws is offline   Reply With Quote
Old 02-15-2014, 01:45 AM   #1653
Jeffos
Mortal
 
Jeffos's Avatar
 
Join Date: Dec 2008
Location: France
Posts: 1,969
Default

WOW! Now that's a 6000th post! Thanks A LOT for that Reno.thestraws!!

Very clear explanations.
I might copy/paste everything you said for documentation purpose, beginning with the next SWS change log/whatsnew.

Thanks again for taking the time!

note: I just replaced your [url ] tags with [img ] ones below...

Quote:
Originally Posted by Reno.thestraws View Post
I'll try to explain but my english is very bad for such complicated explanation, so sorry in advance if some words look weird :S

In Cycle action editor, you can create actions that are "conditional" with IF and IFNOT statement.
It works like this

IF --
- any action that report a toggle state (look to the action list to see them)
- conditional action
ENDIF---

IF NOT
- any action that report a toggle state (look to the action list to see them)
- conditional action
ENDIF---

example, a super simple CA using this statement could be :

IFNOT
Transport : Record (the CA check if the action is on or off)
Transport : Record (the CA run the action)
ENDIF
IF
Transport : Record (the CA check if the action is on or off)
Transport : STop (save all recorded media) (the CA run the action)
ENDIF

SO, if you assign a key shortcut to these action, what it will happen when triggering it?

If the record button is on in the transport bar: your action will stop the recording and save media

If the record button is OFF : your action will start the recording


Now the exclusive and dummy toggle :

Dummy toggle are action that do nothing except sayin to the CA "I'm OFF or I'm ON"

What's the goal?

You can now create some " fake options" toolbar button by placing any action "dummy toggle X" in it and have some cycle action that react differently if the dummy toggle (aka fake options) is set to on or off

Example :

cycle action name : conditional split
IF---
Dummy toggle 01
Split item at edit cursor
ENDIF
IFNOT
Dummy toggle 01
SPlit item at time selection
ENDIF


Now you have a toolbar button containing the action dummy toggle 01 that could be turn on or off

Let's assign a key shortcut to our brand new action "conditionnal split" -> "S" for example

Now what happen if I press "S" ?

If my dummy toggle button is set to on, my action will split the item at edit cursor
If my dummy toggle button is set to off, my action will split the item at time selection

Isn't it awesome?


Exclusive toggle are the same with one difference. They're exclusive. That means that if exclusive toggle 02 is set to on, every other exclusive toggle action number will be set to OFF


With this, you can now create some "ala cubase or ala protools" tools

example :

-I placed 10 exlusive toggle actions in my toolbar (from 1 to 10) and just renamed them with tool names.



- I created that big conditional CA and assigned it to my mouse modifier : left mouse click / item




Now depending on WHAT toolbar button is on, my left mouse click have different behaviors




How sexy is that?

And it doesn't stop to mouse mod

You can create some sort of "multilayer keyboard"

you create an CA for, as an example, the shortcut "R"

example :

IF
exclusive toggle 21
Transport : Record
ENDIF
IF
exclusive toggle 22
Reverse item as a new take
ENDIF
IF
exlusive toggle 23
Cycle Ripple editing
ENDIF
IF
exclusive toggle 24
Project : Render
ENDIF


Now the shortcut "R" is multi function and depend on your "mode" or exclusive toggle toolbar state

In previous example you could rename your exclusive toggle button :
- exclusive toggle 21 to "REAPER recording mode"
- exclusive toggle 22 to "REAPER editing mode"
- exclusive toggle 23 to "REAPER arranging mode"
- exclusive toggle 24 to "REAPER mastering mode"

and make any conditionnal "multilayer" action that suit your modes


The sky is the limit


EDIT : that was my 6000th post in this forum ... a pretty long one!
Jeffos is offline   Reply With Quote
Old 02-15-2014, 08:11 AM   #1654
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 9,196
Default

Great post Reno, thanks a lot.
nofish is offline   Reply With Quote
Old 02-15-2014, 08:53 AM   #1655
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: brighton, uk
Posts: 12,773
Default

indeed! great post!
__________________
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 02-15-2014, 01:50 PM   #1656
BenK-msx
Human being with feelings
 
BenK-msx's Avatar
 
Join Date: Jun 2008
Location: Whales, UK
Posts: 5,696
Default

deserved thanks to Reno' for the explanatory post, hadn't quite dug into the ifs and ifnots but can see the potential awesomeness.

btw to Jeffos - i raised a Q before your 'return' about playing midi out via sws resources/slot play media etc and wondered the 'system load' that represented if i used it alot whilst doing normal DAW things. ( got it to light up lights on my controller in time to the tempo, amongst other things, which is fun... )

any info appreciated?
BenK-msx is online now   Reply With Quote
Old 02-15-2014, 02:31 PM   #1657
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 7,264
Default

Quote:
Originally Posted by Reno.thestraws View Post
Use dummy toggle actions instead.
Or you can create your own fake toggle':

No op, no action
------ step
No.op no action

And you can create some kind of personnal exclusive toggle

IFNOT
Dummy toggle 02
Dummy roggle 02
ENDIF
iF
Dummy toggle 01
Dummy toggle 02
ENDIF
thanks, but that was how i was attempting it before i knew about exclusive toggles (the no-op example) and i couldn't really find a way to make them work exclusively. dont suppose you'd care to go into a bit more detail? the function of the second example isn't clear to me...
__________________
Myyy Wyyyrd Music
foxAsteria is offline   Reply With Quote
Old 02-17-2014, 02:12 PM   #1658
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 7,264
Default

Would anyone care to explain how to limit exclusive toggles to one toolbar? Reno's explanation is not clear to me on this point.

They all affect each other across toolbars. How to make an exclusive toggle exclusive to it's own toolbar?

Please?

And would it make any more sense to anyone else if they worked exclusively among toggles of the same number? It's tricky keeping track of which ones are used or how many I need when each gets its own number.

Now that I know how they work I want them on many toolbars, but really need them to work independently...

help...
__________________
Myyy Wyyyrd Music
foxAsteria is offline   Reply With Quote
Old 02-17-2014, 02:25 PM   #1659
Reno.thestraws
Human being with feelings
 
Reno.thestraws's Avatar
 
Join Date: Nov 2009
Location: Belgium
Posts: 9,783
Default

There's 2 kind of "fake toggle"

Exclusive toggle
-Dummy toggle

so you can use Dummy toggle for

Quote:
How to make an exclusive toggle exclusive to it's own toolbar?
Reno.thestraws is offline   Reply With Quote
Old 02-17-2014, 03:56 PM   #1660
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 7,264
Default

Quote:
Originally Posted by Reno.thestraws View Post
There's 2 kind of "fake toggle"

Exclusive toggle
-Dummy toggle

so you can use Dummy toggle for
yea thanks, i understood what you meant the first time, but have you ever actually done this? it was the way i was trying to do it originally and all i had was problems. totally unable to make them exclusive and i was constantly running into the error that CAs contain themselves directly or indirectly.

when i tried to get help from sws, jeffos told me exclusive toggles were a better solution so i learned those. now you're telling me go back to dummy toggles.

yes well as i said, i tried those...a lot. so if you don't have time to explain how those could work as exclusive toggles that's understandable. but i do still need some clarification from someone...

if you read my post in #1648 you can see how i was originally attempting it.

and still wondering why they don't just work among the same number...would make the most sense to me...but wft do i know?
__________________
Myyy Wyyyrd Music
foxAsteria is offline   Reply With Quote
Old 02-17-2014, 04:06 PM   #1661
Reno.thestraws
Human being with feelings
 
Reno.thestraws's Avatar
 
Join Date: Nov 2009
Location: Belgium
Posts: 9,783
Default

You don't need if or if not statement for what u want to achieve

You need those ten simple macro'

Exclusive toggle 1
Save snapshot 1



Exclusive toggle 2
Save snapshot 2

Idem for save snapshot 3-5

And
Exlusive toggle 6
Load snapshot 1



Exclusive toggle 7
Load snapshot 2

And so on

Npw put these 10 actions in your toolbar and you're good
Reno.thestraws is offline   Reply With Quote
Old 02-17-2014, 04:46 PM   #1662
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 7,264
Default

Quote:
Originally Posted by Reno.thestraws View Post
You don't need if or if not statement for what u want to achieve

You need those ten simple macro'
bro, i appreciate your help, but we are having a lot of miscommunication. i still do understand how exclusive toggles work and yea i maybe overcomplicated it with the if's...

however! my question remains: how do i make exclusive toggles exclusive to one toolbar? i've got them working like they should, but i don't need ALL toolbars containing exclusive toggles being affected any time another is used.

stopping that is my goal.
__________________
Myyy Wyyyrd Music
foxAsteria is offline   Reply With Quote
Old 02-18-2014, 01:48 AM   #1663
Reno.thestraws
Human being with feelings
 
Reno.thestraws's Avatar
 
Join Date: Nov 2009
Location: Belgium
Posts: 9,783
Default

try this -> https://dl.dropboxusercontent.com/u/...e%20toggle.ini

you got 5 exclusive toggle that are only exclusive to themselves

so if "poofox exclusive toggle 01" is on -> "poofox exclusive toggle 2-5" are off

It doesn't affect all others native exclusive toggles
Reno.thestraws is offline   Reply With Quote
Old 02-18-2014, 02:43 AM   #1664
Reno.thestraws
Human being with feelings
 
Reno.thestraws's Avatar
 
Join Date: Nov 2009
Location: Belgium
Posts: 9,783
Default

Quote:
Originally Posted by PooFox View Post
I just opened it and there's a lot of misunderstanding of the IF/IFnot concept

First your CA: flag. you don't really need that, you can use dummy toggle instead

For what I saw, I understand that you only want to have you toolbar button set to on or off dependingon what snapshots you save or recall?

to achieve this, you don't need STEP! if you're add :
step
no action

that means that the second part of the cycle is the "on toggle".. not what you're want to achieve


if I understand correcly what you want to achieve, you save snapshot CA should look like this






so, here's you cycle.ini complete file to get it work

https://dl.dropboxusercontent.com/u/...ll%20cycle.INI

(install it on a new portable install to see them and copy them to you main reaper config)
Reno.thestraws is offline   Reply With Quote
Old 02-20-2014, 06:03 PM   #1665
wol
Human being with feelings
 
Join Date: Oct 2013
Posts: 75
Default

Hi, reaper does not find any dummy or toggle action, if I write _S&M_EXCL_TGLx in the cycle action editor reaper says unknown. They aren't listed in the actions list and I can't assign to a toolbar button.
Reaper v4.60repre1 and SWS 2.4.0 #3 are installed.
Any help?
wol is offline   Reply With Quote
Old 02-20-2014, 08:36 PM   #1666
wol
Human being with feelings
 
Join Date: Oct 2013
Posts: 75
Default

well I found the answer here http://forum.cockos.com/showpost.php...postcount=1192

now another question: how about writing a complete cycle actions tutorial with all infos?
wol is offline   Reply With Quote
Old 02-21-2014, 03:13 AM   #1667
iNX
Human being with feelings
 
Join Date: Dec 2012
Posts: 102
Default

Someone knows how change state's Reascript (on/off) to use it on testing custom action

Here my question :

http://forum.cockos.com/showthread.php?t=135586
iNX is offline   Reply With Quote
Old 02-21-2014, 01:31 PM   #1668
foxAsteria
Human being with feelings
 
foxAsteria's Avatar
 
Join Date: Dec 2009
Location: Oblivion
Posts: 7,264
Default

@Reno.thestraws

once again, thanks for taking the time to look into this for me! i'm away from my computer half the week, so i'm just checking this out now. yea i misunderstood/didn't see the s&m dummy toggles. i thought you meant "dummy toggle":
no-op
-step-
no-op
which was what my "flag" CAs were

this should help. i'm still playing around with it, but i think we're closer. as far as my goal:
any used save button should stay lit unless i "reset" or turn them off manually. only need the load buttons exclusive, so the last loaded slot is indicated.

hard part is getting it perfect. e.g. cant find a way to make the load buttons rely on the save buttons. i'd prefer them to do nothing (not even light up) unless the corresponding save state has been used. i was trying to use the flags for this (save, set flag x; load if flag x), but the fake excl toggle buttons don't work right if i add "step, no-op" and use fake toggle or if i put "if flag x" at the top.

it's totally useable now though, so this is the only remaining niggle...
__________________
Myyy Wyyyrd Music

Last edited by foxAsteria; 02-21-2014 at 01:43 PM.
foxAsteria is offline   Reply With Quote
Old 02-26-2014, 06:05 PM   #1669
amagalma
Human being with feelings
 
Join Date: Apr 2011
Posts: 1,512
Default

Hello!

Sorry for my post that is irrelevant to the previous dummy toggle discussion... I have a small request:
In the next version of the SWS extensions, could you add four more actions? These would be:
- Move cursor left 10ms
- Move cursor left 20ms
- Move cursor right 10ms
- Move cursor right 20ms

At the moment, only 1ms and 5ms exist, which makes it a bit difficult to make the cursor move by, let's say, 80ms..

Thank you very much!
amagalma is offline   Reply With Quote
Old 02-26-2014, 06:11 PM   #1670
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: brighton, uk
Posts: 12,773
Default

Even better The nudge panel in reaper allows you to set up 8 different "saves" of the settings for the nudge panel (via actions) and then assign them to different keys so you can do what you want here (although you might need to enter it in seconds like 0.0010 or samples instead of ms if I recall correctly)

You can also add them to custom actions or cycle actions and I've used them to create some cool macros for auto creating a smooth loop from a long piece of say an ambient nature recording

Quote:
Originally Posted by amagalma View Post
Hello!

Sorry for my post that is irrelevant to the previous dummy toggle discussion... I have a small request:
In the next version of the SWS extensions, could you add four more actions? These would be:
- Move cursor left 10ms
- Move cursor left 20ms
- Move cursor right 10ms
- Move cursor right 20ms

At the moment, only 1ms and 5ms exist, which makes it a bit difficult to make the cursor move by, let's say, 80ms..

Thank you very much!
__________________
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 02-26-2014, 06:19 PM   #1671
amagalma
Human being with feelings
 
Join Date: Apr 2011
Posts: 1,512
Default

Wow! I didn't know that! Thank you very much!!!
amagalma is offline   Reply With Quote
Old 02-26-2014, 06:44 PM   #1672
Argitoth
Human being with feelings
 
Argitoth's Avatar
 
Join Date: Feb 2008
Location: Phoenix, AZ
Posts: 2,055
Default

ummmmmmmmmmmm

and for those who want custom actions, EEL is a great way to not have to depend on SWS extension

that stuff is really easy to script, just hit me up.
__________________
Soundemote - Home of the chaosfly and pretty oscilloscope.
MyReaperPlugin - Easy-to-use cross-platform C++ REAPER extension template
Argitoth is offline   Reply With Quote
Old 02-26-2014, 10:24 PM   #1673
Reno.thestraws
Human being with feelings
 
Reno.thestraws's Avatar
 
Join Date: Nov 2009
Location: Belgium
Posts: 9,783
Default

Or, if you want to make an action that move edit cursor right by 80 ms, you can create a cycle action like this

LOOP 80
Move cursor right 1ms
ENDLOOP

and that's all folks
Reno.thestraws is offline   Reply With Quote
Old 02-27-2014, 04:04 AM   #1674
amagalma
Human being with feelings
 
Join Date: Apr 2011
Posts: 1,512
Default

Quote:
Originally Posted by Reno.thestraws View Post
Or, if you want to make an action that move edit cursor right by 80 ms, you can create a cycle action like this

LOOP 80
Move cursor right 1ms
ENDLOOP

and that's all folks
Cool! Thanks!

I guess I have to study better the possibilities offered by the cycle actions!
amagalma is offline   Reply With Quote
Old 02-27-2014, 05:58 AM   #1675
amagalma
Human being with feelings
 
Join Date: Apr 2011
Posts: 1,512
Default

Quote:
Originally Posted by TonE View Post
What is EEL?
I think it is a kind of fish that looks like a snake :P... But apart from that, I found out that is a scripting and programming language
amagalma is offline   Reply With Quote
Old 02-27-2014, 06:15 AM   #1676
amagalma
Human being with feelings
 
Join Date: Apr 2011
Posts: 1,512
Default

I am back with another feature request! It has to do with the Groove Tool.

It is a quantize feature found in Cubase 7 (and maybe in earlier versions too?)

From the Cubase manual:
"Catch Range
This parameter allows you to specify that quantizing affects only audio or MIDI within a certain distance from the grid lines, the so-called catch range. This allows for complex quantization tasks, for example, if you want to quantize only the heavy beats near each beat, and not the events in-between.
With a value of 0 %, all audio or MIDI is affected by quantizing. With higher percentages, wider catch ranges are shown around the green lines in the grid display."

It would be excellent if we could have this "catch range" feature too!
What do you think?
amagalma is offline   Reply With Quote
Old 02-27-2014, 07:35 AM   #1677
Argitoth
Human being with feelings
 
Argitoth's Avatar
 
Join Date: Feb 2008
Location: Phoenix, AZ
Posts: 2,055
Default

Quote:
Originally Posted by Reno.thestraws View Post
LOOP 80
Move cursor right 1ms
ENDLOOP

and that's all folks
that's really inefficient. You're doing something 80 times, which is slow in REAPER. If you want instant response, all you have to do is save this as .eel and load using actions list.

Code:
SetEditCurPos(GetCursorPosition()+0.08, 0, 0)
if you want to move view if cursor goes off screen:

Code:
SetEditCurPos(GetCursorPosition()+0.08, 1, 0)
Edit: But honestly, why not include simple functions like this in SWS cycle actions editor? Do away with the various "move cursor x amount" actions and just let the user create what he/she needs... less action list bloat!
__________________
Soundemote - Home of the chaosfly and pretty oscilloscope.
MyReaperPlugin - Easy-to-use cross-platform C++ REAPER extension template

Last edited by Argitoth; 02-27-2014 at 07:49 AM.
Argitoth is offline   Reply With Quote
Old 02-27-2014, 04:09 PM   #1678
Jeffos
Mortal
 
Jeffos's Avatar
 
Join Date: Dec 2008
Location: France
Posts: 1,969
Default

Quote:
Originally Posted by BenK-msx View Post
btw to Jeffos - i raised a Q before your 'return' about playing midi out via sws resources/slot play media etc and wondered the 'system load' that represented if i used it alot whilst doing normal DAW things. ( got it to light up lights on my controller in time to the tempo, amongst other things, which is fun... )

any info appreciated?
Well, I'd say there's nothing really special here: REAPER does most of the job when you use "play/loop media file" actions, the extension does as less things as possible (<- yeah.. I'm not bad at doing nothing as you may have noticed ). The only thing I can think of, is that media files are buffered when you use the "sync with next measure" versions of these actions (possible impact on RAM with many media files, eg thousands). Other S&M actions that immediately play or loop media files do not buffer media files ATM.

Quote:
Originally Posted by wol View Post
Hi, reaper does not find any dummy or toggle action, if I write _S&M_EXCL_TGLx in the cycle action editor reaper says unknown. They aren't listed in the actions list and I can't assign to a toolbar button.
Reaper v4.60repre1 and SWS 2.4.0 #3 are installed.
Any help?
I'll make some of them visible by default in the next SWS version. So they will be avail from 2.4.0 #4.
In the meantime, you have to enable them in the S&M.ini file, details here.
(Tthese toggle actions were hidden because I thought they were "too specific", but now that they had got some love...)

Quote:
Originally Posted by PooFox View Post
how do i make exclusive toggles exclusive to one toolbar? i've got them working like they should, but i don't need ALL toolbars containing exclusive toggles being affected any time another is used.

stopping that is my goal.
I have also added "sets" of exclusive toggles for the next version, from the changelog:
Code:
 - SWS/S&M: Exclusive toggle An (where 'n' is in [1; 4], customizable in the S&M.ini file, up to 99 toggles)
 - SWS/S&M: Exclusive toggle Bn (where 'n' is in [1; 4])
 - SWS/S&M: Exclusive toggle Cn (where 'n' is in [1; 4])
 - SWS/S&M: Exclusive toggle Dn (where 'n' is in [1; 4])
 
 "Exclusive toggle" means only one toggle action is ON at a time.
 For ex: in the set of toggles "A", if "Exclusive toggle A03" is ON, A01 A02 and A04 are OFF.
Note: there are other sets ("E" to "H") but they are hidden by default not to spam the action list, you can enable them in the S&M.ini file, details here.

For those that were already using these "exclusive toggle" actions: nothing will change for you, uour S&M.ini tweaks are preserved, toolbars will still work, etc.
The only change is that actions "Exclusive toggle n" will be automatically renamed into "Exclusive toggle An".

@PooFox: so, you can use the set of toggles "A" in toolbar1 , "B" in toolbar2, etc.. for ex.

Quote:
Originally Posted by Argitoth View Post
that's really inefficient. You're doing something 80 times, which is slow in REAPER. If you want instant response, all you have to do is save this as .eel and load using actions list.

Code:
SetEditCurPos(GetCursorPosition()+0.08, 0, 0)
if you want to move view if cursor goes off screen:

Code:
SetEditCurPos(GetCursorPosition()+0.08, 1, 0)
Edit: But honestly, why not include simple functions like this in SWS cycle actions editor?
...because would such functions make sense?
To make it short, the point of Cycle Actions is to make things simple, beyond is a place for ReaScript as you said yourself just above (!!?)
Cycle Actions are obvioulsy meant for people that do not want to deal with code and the API, but just with "advanced" macros/actions (random example: they can at least "LOOP" actions now).

Last edited by Jeffos; 02-27-2014 at 04:15 PM.
Jeffos is offline   Reply With Quote
Old 02-27-2014, 08:13 PM   #1679
Anton9
Human being with feelings
 
Anton9's Avatar
 
Join Date: Jun 2009
Location: Earth
Posts: 1,335
Default

Quote:
Originally Posted by amagalma View Post
I think it is a kind of fish that looks like a snake :P... But apart from that, I found out that is a scripting and programming language
It is a scripting language.., but it has nothing to do with the one you linked to. The JS scripting in JSFX is powered by EEL. Justin has recently set it up so that the ReaScript API can use it much like python.
Anton9 is offline   Reply With Quote
Old 02-27-2014, 09:58 PM   #1680
Reno.thestraws
Human being with feelings
 
Reno.thestraws's Avatar
 
Join Date: Nov 2009
Location: Belgium
Posts: 9,783
Default

Quote:
Originally Posted by Argitoth View Post
that's really inefficient. You're doing something 80 times, which is slow in REAPER. If you want instant response, all you have to do is save this as .eel and load using actions list.

Code:
SetEditCurPos(GetCursorPosition()+0.08, 0, 0)
if you want to move view if cursor goes off screen:

Code:
SetEditCurPos(GetCursorPosition()+0.08, 1, 0)
Edit: But honestly, why not include simple functions like this in SWS cycle actions editor? Do away with the various "move cursor x amount" actions and just let the user create what he/she needs... less action list bloat!
I'm not programmer, reascript and api is just like chinese to me. I think it's not a good idea to compicate the CAE with programming stuff. The point of CA is to let "non coder" guy like me, creates some advanced macros. If you have some programming skills, you already have reascript and eel.
Reno.thestraws 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 11:04 PM.


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