Ingreso rápido:  

Forum: Old versions

Tema: Script Help........ - Page: 1

Esta parte del tópico es antigua y puede contener información incorrecta para la nueva versión.

Ok heres my script now,

var_equal "MODE" 1 ? set "RECSAMP" 1 while_pressed : var_equal "MODE" 2 ? sampler 1 play_stop : var_equal "MODE" 0 ? var_not_equal "HOTDEL" 1 ? hot_cue 1 : delete_cue 1 & set "MODE" 2"

I want my sampler to be play_stutter, ok easy enough. I'd just change that part of the script but I want to be able to hold down the button to shut it off.

Any help would be great!
Thanks for looking and the time
Huey
 

Mensajes Wed 06 Jul 11 @ 1:12 am
I'm still stuck, can anyone help, please??

Huey
 

Mensajes Wed 06 Jul 11 @ 1:24 pm
hey huey, I'm not following when you say "hold down the button to shut it off" to me that sounds like you want to pause, stop or silence the sample when you hold the button down but recommence when you release, I know I'm probably wrong, can you elaborate?
 

Mensajes Wed 06 Jul 11 @ 1:29 pm
Yeah stop the sample when I hold the button down and not restart till I hit the button again. I thought it would be like "sampler 1 stop when held down 500ms"

Huey

 

Mensajes Wed 06 Jul 11 @ 1:41 pm
that should just be "samper 1 play_stop" like you have done, it should toggle between play and stop on each press, you can't do "holding ? sampler 1 stop : sampler 1 play_stutter" because both the actions have to happen when the button is pressed and so confuse vdj
 

Mensajes Wed 06 Jul 11 @ 1:46 pm
So if I use the sampler_stutter there's no way to shut it off??

Thanks for the time
Huey
 

Mensajes Wed 06 Jul 11 @ 2:02 pm
don't you just lift the button as the sampler will only play when its pressed? if that's not working you could use "sampler 1 play while_pressed" maybe you could use "sampler 1 play ? sampler 1 stop : sampler 1 play while_pressed & holding ? sampler 1 play" but you will probably trigger the sample twice... when you press and when you release after half a second
 

Mensajes Wed 06 Jul 11 @ 2:17 pm
Naw that's cool ill just leave it the way it is and map a few buttons on the keyboard for the stutter.

Thanks for the time bro!!
Huey
 

Mensajes Wed 06 Jul 11 @ 3:13 pm
Got that shit!! Heres the script,

var_equal "MODE" 1 ? set "RECSAMP" 1 while_pressed : var_equal "MODE" 2 ? holding ? sampler 1 play_stop : sampler 1 play_stutter : var_equal "MODE" 0 ? var_not_equal "HOTDEL" 1 ? hot_cue 1 : delete_cue 1 & set "MODE" 2

The highlighted part is what I changed/added.

Thanks for the time bro
Huey
 

Mensajes Wed 06 Jul 11 @ 6:57 pm
Im not even sure if its possible so here goes,

I would like browser_zoom view when I go to select a track, and switch back to deck view when I load a track. So basiclly everytime I turn my browser scroll knob it'll switch to browser_zoom mode and when I hit my load deck button it'll switch back to the normal view.........

Now, whos up for the task, lol!

Thanks for looking
Huey
 

Mensajes Thu 25 Aug 11 @ 9:58 pm
Me me me pick me... Huey, huey pick me LMAO
 

Mensajes Thu 25 Aug 11 @ 10:08 pm
Hahaa! I saw your other post about wanting a hard script, lmao!!

Huey
 

Mensajes Thu 25 Aug 11 @ 10:10 pm
param_greater 50% ? browser_scroll +1 & browser_zoom 1 ? nothing : browser_zoom 1 : browser_scroll -1 & browser_zoom 1 ? nothing : browser_zoom 1

load button (both decks)
load & browser_zoom 1 ? browser_zoom 0 : browser_zoom 0

if that doesnt work try
browser_zoom & param_greater 50% ? browser_scroll +1 : browser_scroll -1

load button (both decks)
load & browser_zoom
 

Mensajes Thu 25 Aug 11 @ 10:53 pm
synthet1c wrote :

load button (both decks)
load & browser_zoom


This looks like the winner so far!

deck 1 load & browser_zoom will load the first deck and kick it back to deck view when in browser zoom.
 

Mensajes Thu 25 Aug 11 @ 10:59 pm
Ok this 1 opens browser zoom but it wont scroll the tracks,
param_greater 50% ? browser_scroll +1 & browser_zoom 1 ? nothing : browser_zoom 1 : browser_scroll -1 & browser_zoom 1 ? nothing : browser_zoom 1

This 1 flickers, it'll scroll but it switches from normal view to browser zoom as Im scrolling,
browser_zoom & param_greater 50% ? browser_scroll +1 : browser_scroll -1

Is this a hard one or what, lol!!
Huey
 

Mensajes Thu 25 Aug 11 @ 11:03 pm
can you try these two buttons I need to know if they work for the code to work properly

browser_zoom 1 (should make it big)
browser_zoom 0 (should make it small)

can you try both buttons in both browser states to make sure they work... yep this will make my day a little more exciting LOL
 

Mensajes Thu 25 Aug 11 @ 11:39 pm
Yup those both work. Aww sh*t, hes gonna make happen! Lol!!

Huey
 

Mensajes Thu 25 Aug 11 @ 11:49 pm
just got busy here.. give this a go

browser_zoom 1 ? nothing : browser_zoom 1 & param_greater 50% ? browser_scroll +1 : browser_scroll -1
 

Mensajes Fri 26 Aug 11 @ 12:23 am
It'll open the browser but wont scroll..........hahaa!! A tough one, next, lol!

Thanks for the time bro!
Huey
 

Mensajes Fri 26 Aug 11 @ 12:36 am
maybe this

browser_zoom 1 ? param_greater 50% ? browser_scroll +1 : browser_scroll -1 : browser_zoom 1 & param_greater 50% ? browser_scroll +1 : browser_scroll -1


 

Mensajes Fri 26 Aug 11 @ 12:42 am
59%