Im using just my keyboard, no money for an actual controller, so ive been left trying to figure out how to map scripts myself
What im wanting my multi-action script to do is to auto crossfade to the other deck and have both decks playing and while the key is held for a given amount of time then release, pause stop deck left, and keep the right deck playing, then have it do the opposite.
Heres My Code: doesn't crossfade, did too many trial and error action combos
holding ? deck left select & deck left goto 0% & pause_stop : auto_crossfade 9000ms & isrepeat ? nothing : deck right play & auto_crossfade 9000ms
What im wanting my multi-action script to do is to auto crossfade to the other deck and have both decks playing and while the key is held for a given amount of time then release, pause stop deck left, and keep the right deck playing, then have it do the opposite.
Heres My Code: doesn't crossfade, did too many trial and error action combos
holding ? deck left select & deck left goto 0% & pause_stop : auto_crossfade 9000ms & isrepeat ? nothing : deck right play & auto_crossfade 9000ms
Posted Sat 01 Dec 12 @ 10:53 pm
You might have a problem with a keyboard as key presses are repeated if you do it this way
down ? deck left select ? crossfader -0.01 : crossfader +0.01 : deck left select ? deck right stop : deck left stop
the idea behind it is that you will be doing one action while holding the button down, and another on release... The extra variable is just specifying which way to move the crossfader and which one to stop depending on what is selected. For this to work you would need to have the default auto pfl enabled, but I assume in home you can't change this.
Honestly I'm not sure that you really need to stop the deck on release though as it doesn't have any impact on the final mix.
down ? deck left select ? crossfader -0.01 : crossfader +0.01 : deck left select ? deck right stop : deck left stop
the idea behind it is that you will be doing one action while holding the button down, and another on release... The extra variable is just specifying which way to move the crossfader and which one to stop depending on what is selected. For this to work you would need to have the default auto pfl enabled, but I assume in home you can't change this.
Honestly I'm not sure that you really need to stop the deck on release though as it doesn't have any impact on the final mix.
Posted Sun 02 Dec 12 @ 1:23 am
yea, thats kind of what im wanting, but i don't want to have to switch decks manually, and holding the key down to just move the crossfader.
instead of just stopping the track, i want both decks playing, then auto crossfade, so when one is towards the end, all i have to do is press the key once to crossfade automatically, so it can sound like im smoothly switching over and then stop the deck thats being cutoff.
holding ? deck left select & deck left goto 0% & pause_stop : deck default play & auto_crossfade 9000ms & isrepeat ? nothing : deck right play & deck active select & auto_crossfade 5000ms
This one is working but its not stopping deck 2, when switching back to deck 1, when trying to switch back deck 1 is playing and not auto crossfadeing to deck 1
lol now i know this idea can't be done, adding to the above complex macro, if i can load a song either from the automix playlist or browser onto either one of the decks that are stopped or paused and play, or just try to get both decks to have automix enabled and load it on the stopped or paused deck.
instead of just stopping the track, i want both decks playing, then auto crossfade, so when one is towards the end, all i have to do is press the key once to crossfade automatically, so it can sound like im smoothly switching over and then stop the deck thats being cutoff.
holding ? deck left select & deck left goto 0% & pause_stop : deck default play & auto_crossfade 9000ms & isrepeat ? nothing : deck right play & deck active select & auto_crossfade 5000ms
This one is working but its not stopping deck 2, when switching back to deck 1, when trying to switch back deck 1 is playing and not auto crossfadeing to deck 1
lol now i know this idea can't be done, adding to the above complex macro, if i can load a song either from the automix playlist or browser onto either one of the decks that are stopped or paused and play, or just try to get both decks to have automix enabled and load it on the stopped or paused deck.
Posted Sun 02 Dec 12 @ 2:04 am
Try this:
isrepeat ? nothing : down ? deck 1 play ? deck 2 masterdeck & deck 2 play & mix_now : deck 1 masterdeck & deck 1 play & mix_now : deck 1 masterdeck ? deck 2 stop : deck 1 stop
Seems to do the trick for me, hope it helps!
isrepeat ? nothing : down ? deck 1 play ? deck 2 masterdeck & deck 2 play & mix_now : deck 1 masterdeck & deck 1 play & mix_now : deck 1 masterdeck ? deck 2 stop : deck 1 stop
Seems to do the trick for me, hope it helps!
Posted Tue 04 Dec 12 @ 1:42 pm
:) Thank You andytaylor125, that worked really well, now i just need to tweak it a little to where both decks play when crossfadeing, and make the opposite deck stop
Posted Tue 04 Dec 12 @ 5:08 pm
Glad that worked, but I don't understand how you want to tweak it?!
At the moment, imagine you have a song playing on deck 1, and you want to fade out of it, you simply load a song in deck 2, then press and hold the button, the song on deck 2 starts playing, the crossfader crosses, then when you let go of the button the song on deck one stops (so you have to keep holding the button whilst the crossfade is happening).
At the moment, imagine you have a song playing on deck 1, and you want to fade out of it, you simply load a song in deck 2, then press and hold the button, the song on deck 2 starts playing, the crossfader crosses, then when you let go of the button the song on deck one stops (so you have to keep holding the button whilst the crossfade is happening).
Posted Tue 04 Dec 12 @ 5:15 pm
lol nvm, it works the way i had thought, you made it to have the user to always hold the key down and release to stop.
I was thinking to only press the key once to crossfade and then hold/release to stop the opposite deck
I was thinking to only press the key once to crossfade and then hold/release to stop the opposite deck
Posted Tue 04 Dec 12 @ 5:32 pm