快速登录:  

Forum: General Discussion

话题: Script School - Page: 39
Hi guys, is it possible to modify this script so that the filter runs on the negative Hz side?

locodog wrote :

Strap it all together, job done

repeat_start_instant 'filtOsc' ? repeat_stop 'filtOsc' : repeat_start_instant 'filtOsc' 30ms -1 & param_bigger `get_beat_bar 8` 0.5 ? get_beat_bar 8 & param_multiply 0.6 & param_add 0.5 & param_cast & filter : get_beat_bar 8 & param_multiply -1 & param_add 1 & param_multiply 0.6 & param_add 0.5 & param_cast & filter


 

发表时间 Tue 19 Sep 23 @ 2:02 pm
locoDogPRO InfinityModeratorMember since 2013
Negative Hz, there's a mind blowing concept, things that don't happen so many times a second.
I joke, I know what you mean, into the left side of the dial, the lowpass part of the filter.

Sure here you go.

repeat_start_instant 'filtOsc' ? repeat_stop 'filtOsc' : repeat_start_instant 'filtOsc' 30ms -1 & param_bigger `get_beat_bar 8` 0.5 ? get_beat_bar 8 & param_multiply -1 & param_multiply 0.6 & param_add 0.5 & param_cast & filter : get_beat_bar 8 & param_multiply 0.6 & param_add -0.1 & param_cast & filter


Wow that was a blast from the past, I might work with beat_bar more again, in some ways it can work out cleaner
 

发表时间 Tue 19 Sep 23 @ 2:26 pm
Thanks! I was thinking the code needed to be modified changing some of the parameters from +´s to -´s (which I tried)...hence -Hz hehe

BWT I´m new to DJing (7 months now) and decided to explore this world after an accident the left me quadriplegic (4 years ago), that means that scripts, which I discovered 3 days ago, are my new best friends as I cannot move my arms (or anything from the chest down).
 

发表时间 Tue 19 Sep 23 @ 8:55 pm
locoDogPRO InfinityModeratorMember since 2013
Sure I totally understand the accessibility angle, with script you can do a whole lot with a simple button press. I'll be here if you have questions.
 

发表时间 Tue 19 Sep 23 @ 10:36 pm
locodog wrote :
Sure I totally understand the accessibility angle, with script you can do a whole lot with a simple button press. I'll be here if you have questions.


Ok, let me abuse a little; I want to automate a PullUp.

That is: 1.PullUp Sampler + 2.Backspin effect + 3.Go to cue 1 and play.

I have tried this script in every combination and it never plays in this order: I want it so that when the sampler starts, lower gain (20%) in active deck, wait 1-2 secs, and then backspin, finish effect, and then play from cue 1.

acttive_deck & effect_active 'backspin' & goto_cue 1 & play sampler_volume_master 50% &
sampler_bank 1 & sampler_play_stop 1 &
sampler_volume_master 50%

 

发表时间 Wed 20 Sep 23 @ 9:33 pm
locoDogPRO InfinityModeratorMember since 2013
sampler_play_stop 1 & level -20% & wait 1500ms & effect_active backspin & repeat_start_instant rsiFXcheck 25ms -1 & effect_active backspin ? nothing : repeat_stop rsiFXcheck & hot_cue 1

Something like that
 

发表时间 Wed 20 Sep 23 @ 11:19 pm
Almost perfect! Added & level +20% at the end to return gain back to normal. Thanks!

locodog wrote :
sampler_play_stop 1 & level -20% & wait 1500ms & effect_active backspin & repeat_start_instant rsiFXcheck 25ms -1 & effect_active backspin ? nothing : repeat_stop rsiFXcheck & hot_cue 1

Something like that


 

发表时间 Thu 21 Sep 23 @ 1:14 am
locoDogPRO InfinityModeratorMember since 2013
level, not gain. Gain is an amplification. The up faders / level faders, [some call them gate faders] are how much of that amplified signal you let through.

It's common for new djs to use them as synonyms.

 

发表时间 Thu 21 Sep 23 @ 1:30 am
locoDogPRO InfinityModeratorMember since 2013
@bjk6njhc9s, I sent you a pm with a couple of fx I think you'll like.
 

发表时间 Thu 21 Sep 23 @ 5:59 am
locoDogPRO InfinityModeratorMember since 2013
auto_bpm_transition page updated with early access additions.
 

发表时间 Thu 21 Sep 23 @ 4:05 pm
locodog wrote :
level, not gain. Gain is an amplification. The up faders / level faders, [some call them gate faders] are how much of that amplified signal you let through.

It's common for new djs to use them as synonyms.

Understood! Thanks!

 

发表时间 Fri 22 Sep 23 @ 12:21 am
Hi, is it possible to write a script to change the pitch tempo to a specific literal value rather than as a percentage, e.g 100 or 120 bpm by script?
 

发表时间 Fri 22 Sep 23 @ 10:40 pm
locoDogPRO InfinityModeratorMember since 2013
yes
pitch 120 bpm
 

发表时间 Fri 22 Sep 23 @ 10:43 pm
what is the BPM range that the songs need to be inside in order for one of the songs not to accidentally double or half the speed?

im trying to go from 90-124 here, but track B its shooting up to 180 and then slowing it back to 124 instead of shooting down to 90 and speeding up to 124, even though 90 is a lot closer to 124 than 180 is


if im using the regular sync button it doesnt seem to have this issue
 

发表时间 Wed 27 Sep 23 @ 12:54 am
That's a good question.

since the 56 BPM needed to raise the 124 BPM track to 180 is about a +45% change..
vs
the 34 BPM decrease needed to lower the 124 BPM to 90 BPM .. about a -27% change.

so would seem the latter, would be preferable.

and on the other hand.. a track sounds much better pitched up (lively, higher energy), then pitched down (dragging)


------------------

OR
not that I understand this reasoning, but if one used the 180 and 90 to calculate the percentage differences (instead of the 124 BPM)
then going to 180 would be a +31% pitch change (56/180)
and going to 90 would be a -37% change (34/90)..
so by this reasoning the math, chooses going to 180 ?


---------
its all good in the end
 

发表时间 Wed 27 Sep 23 @ 2:17 am
IIDEEJAYII wrote :
That's a good question.

since the 56 BPM needed to raise the 124 BPM track to 180 is about a +45% change..
vs
the 34 BPM decrease needed to lower the 124 BPM to 90 BPM .. about a -27% change.

so would seem the latter, would be preferable.

and on the other hand.. a track sounds much better pitched up (lively, higher energy), then pitched down (dragging)


------------------

OR
not that I understand this reasoning, but if one used the 180 and 90 to calculate the percentage differences (instead of the 124 BPM)
then going to 180 would be a +31% pitch change (56/180)
and going to 90 would be a -37% change (34/90)..
so by this reasoning the math, chooses going to 180 ?


---------
its all good in the end


i seem to always find a way to break things...
but this is the very first transition i tried with this effect.

i think there would want to be some built in safe guard to prevent doubling/halfing, although im not sure exactly what that would consist of.
 

发表时间 Wed 27 Sep 23 @ 8:46 am
IIDEEJAYII wrote :
That's a good question.


OK I think i figured it out.
track A was 93bpm, track B was 124
i think the effect is designed to take the shortest route which in this case was actually 93-62 bpm (31bpm vs 32bpm difference between 93 and 124)

so by just pitching track A up to 96bpm, then 96-124 for example, becomes the shortest route (28bpm)

i dont know though, if there could be some measure in place to avoid this, there may be some situations where you might want this? but you dont want it happening by accident either, perhaps a preview of what direction its planning to go? its a strange one.


 

发表时间 Wed 27 Sep 23 @ 11:24 am
Baldy68PRO InfinityMember since 2019
Another problem with auto double/half the BPM is when you use Automix and prepared all mix points eight bars before vocals for example and now the eight bars become sixteen bars instead. This should be possible to fix by temporarily automatically moving the mix points the required amount bars forward or backward. Or if that isn't possible, I would like to disable this function per song.
 

发表时间 Wed 27 Sep 23 @ 11:38 am
Hello, is there any reason why in the mapping for the XDJ-1000MK2 during the SHORTCUT event (press BROWSE-SEARCH on the lcd) during the script
controllervar '#shortcut'

is #shortcut still 0?
 

发表时间 Sat 30 Sep 23 @ 10:37 pm
Hi seeing as you can't auto backup in increments of less than one day, is there a way to trigger the tidy auto zip backup via script ( or on demand?). Thanks, is a great feature.
 

发表时间 Fri 06 Oct 23 @ 9:15 pm
83%