Connexion rapide:  

Forum: General Discussion

Sujet How To Query A Marker ?

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

A.eXe 1PRO InfinityMember since 2011
Maybe behind the times but I'm starting to notice that there is a tremendous amount of potential in the repeat_start scripting. What I would like to do is have an endless encoder start a repeat_start script to look for a cue that is a marker only named "FXSTART" then trigger an effect at that marker (FXSTART) and stop at the next marker (FXSTOP). I thought it would be something like this but it didn't work.

param_bigger 20% ? repeat_start "rsAutoFX" 33ms & deck active get_cue & cue_name "FXSTART" ? deck master effect "AnyFX" active on : deck active get_cue & cue_name "FXSTOP" ? deck master effect "FXSTOP" active off : deck master effect "AnyFX" active off : repeat_stop "rsAutoFX"

I've tried many different ways that I thought would work but didn't.
 

Posté Mon 01 May 17 @ 6:25 am
A.eXe 1PRO InfinityMember since 2011
OK, I got it. It seems I was going about it the wrong way. All it took was a quick change in the database.xml. I changed the previous cues that were marker only to action cues and set the action for the 1st one (when I want the whateverFX to start) to "set 'AutoFX' 1" and the 2nd one (when I want the whateverFX to stop) to "set 'AutoFX' 0". Devs, GREAT IDEA about the repeat_start function!!!
 

Posté Mon 01 May 17 @ 8:34 pm
locoDogPRO InfinityModeratorMember since 2013
Rs &rsi scripts are a great tool, one of the ways I've found to use them is to watch for the loadpulse to do stuff when a new track is loaded,

I'm a bit 'refreshed' at the moment but I'll look at your problem and offer other interesting things you can do with rs & rsi when I can think normally
 

Posté Mon 01 May 17 @ 9:27 pm
A.eXe 1PRO InfinityMember since 2011
Thank you! much appreciated locodog.
 

Posté Mon 01 May 17 @ 10:19 pm
Why do you set parameters? Do you handle effect triggering by rs/rsi scripts?
You can manipulate effects directly!

1) Create an action poi
2) use effect_active 'Flanger' on as action (or any other effect / effect slot
3) Create a second action poi
4) Use effect_active 'Flanger' off as action
5) Done!

PS: Personally I use a variable on all my action poi's to control their execution like this:
var_equal 'ExecMacro' 1 ? effect_active 'Flanger' on
And then I use a button on my controller to control automatic execution like this:
toggle 'ExecMacro'

PS2: You can also control master fx the same way. Just change the action to deck master effect_active 'Flanger' on
It doesn't matter from which deck it will be triggered. It will control the effect of master
 

Posté Wed 03 May 17 @ 2:28 pm
A.eXe 1PRO InfinityMember since 2011
Thank you for your response @PhantomDeejay. I don't usually use rs/rsi scripts to use effects but thought of this idea to take advantage of many pre-existing hot cues that I already had set up but were set as marker only instead of action cues as a kind of auto pilot when needed for video effects. Some of the markers are setup at the beginning, during (for vocal breaks) and the end of the beat drop after the buildup. By doing steps 1-5 would only allow me to use 1 effect (flanger) at that action cue if I was to script it that way but by having it set a variable instead it makes it universal to use whatever. I can use a knob to adjust the video effect to the intensity that I want but not activate until it sees that variable 'AutoFX' 1 and to activate the rs script at any part of the track prior to the action cue to keep looking for that variable so I can then look for a sample that I want to use. So it works out like this.... On my APC40 my bottom 8 buttons are assigned to 8 video effects to activate and manipulate on the fly. The top 8 knobs are now assigned to 8 video effects with this concept (AutoFX) that I can use if I plan on using a lot of samples on a track. I have found this very useful when you have numerous breaks in a drop.

Is there a script to assign a cue as a action poi? I currently use:
set_cue 14 & cue_name 14 "Whatever Cue Name" & cue_color 14 "yellow"
 

Posté Sun 07 May 17 @ 1:25 am


(Les anciens sujets et forums sont automatiquement fermés)