Quick Sign In:  

Forum: General Discussion

Topic: Script School - Page: 44
locoDogPRO InfinityModeratorMember since 2013
looks like smart is the favoured setting of the script, you can go via the script settings autoBPMMatch always

auto_pitch_lock & ( auto_pitch_lock ? setting autoBPMMatch always : auto_match_bpm off ) & sync
 

Posted Sun 11 Feb 24 @ 6:16 am
That is FANTASTIC!! I just tried it and it works great. THANK-YOU!!
 

Posted Sun 11 Feb 24 @ 2:28 pm
Alright, another newbie question here. I've learned a lot in the last week of using VDJ but I think it's going to take a lot of time and patience to master the script stuff!

Part 1

On my controller, I have mapped the FX PANEL button like this:

browser_window 'sideview' & show_splitpanel 'sideview' 30% ? show_splitpanel 'sideview' 0% : show_splitpanel 'sideview' 30%

This means that when I click FX PANEL, it will open / close the sideview, and when I do so, it also changes the active browser zone to the sideview, highlighting the first song in whatever track list is there. Perfect!

Part 2

On my controller, the BACK button is mapped like this:

browser_window 'folders' ? browser_window 'songs' : browser_window 'folders'

The Issue

I want to change the BACK button script, if possible, so that when the sideview is open, the BACK button can be used to change the active browser zone between folders, songs, and the sideview.

Right now if the active browser zone is the sideview, and I hit BACK, it will go back to only selecting between the folders and songs browser views. The only way I can change the active browser zone to the sideview, is by clicking the FX PANEL button twice to close and reopen the sideview.
 

Posted Mon 12 Feb 24 @ 2:35 pm
Something like this I guess: show_splitpanel sideview ? browser_window +1 : browser_window 'folders,songs'

BTW:
browser_window 'folders' ? browser_window 'songs' : browser_window 'folders' can also be written more simple as browser_window 'folders,songs'

loco edit, corrected iPhone style commas
 

Posted Mon 12 Feb 24 @ 2:43 pm
Thank-you! :)
 

Posted Mon 12 Feb 24 @ 4:35 pm
Okay... yet ANOTHER question!

I can't get the Sampler Cue (sampler_pfl) button to work on my DDJ-RZ.

I've tried mapping a few things to the button:

1.
sampler_pfl


2.
sampler_pfl & settings samplerHeadphones yes


3.
toggle sampler_pfl


4.
toggle sampler_pfl & ( sampler_pfl ? settings samplerHeadphones yes : sampler_pfl off )


I don't really know what I'm doing yet, though! ;)

Also, I can't get the filter knob below the sampler (on my DDJ-RZ) to do anything.
 

Posted Mon 12 Feb 24 @ 6:45 pm
sampler_pfl should receive a % value
For a button use setting samplerheadphones

For the Color FX knob use param_smaller 0.49 ? effect_active sampler filter on & effect_slider sampler 1 : param_bigger 0.51 ? effect_active sampler filter on & effect_slider sampler 1 : effect_active sampler off & effect_slider sampler 1


When DDJ-RZ was released and initailly supported, sampler did not support effects, or PFL (since it was reproducing sound out of the trigger deck at that time)
 

Posted Mon 12 Feb 24 @ 8:36 pm
Alright that's got it working... sort of? The sampler PFL level is WAY hotter than the pfl for any of the decks... how do I reduce it? Also, the color fx knob will only do the "filter" effect. Selecting "Jet" or "Space" or "Pitch" has no effect on what the knob does.
 

Posted Mon 12 Feb 24 @ 9:27 pm
Sampler does not support color effects currently.
You could script something for the knob to mimick color effect for all "possible" combinations but the script would become much more complicated. However it IS possible.

As for Sampler PFL, I believe it has to do with the fact that zerodb (headroom) has to be around -6 to -9db for DDJ-RZ. Therefore the decks are much quiter than the sampler.
 

Posted Tue 13 Feb 24 @ 8:11 am
PhantomDeejay wrote :
Sampler does not support color effects currently.
You could script something for the knob to mimick color effect for all "possible" combinations but the script would become much more complicated. However it IS possible.

As for Sampler PFL, I believe it has to do with the fact that zerodb (headroom) has to be around -6 to -9db for DDJ-RZ. Therefore the decks are much quiter than the sampler.


Okay, got it. I'm not too concerned about the color knob for the sampler.

Is there any way to script in something to lower the PFL level on the sampler? The sampler level is the same as all the decks, on the Master output; and it's the same as all the decks if I just go into the preferences menu and check off the box that sends it to the headphones. It's only when I use the CUE button with the script you suggested that it makes the sampler PFL gain significantly louder.

 

Posted Tue 13 Feb 24 @ 1:12 pm
Do you use external or internal audio mixer setup ?
DDJ-RZ provides both.
Software (internal) mixer is prefered, and the script I gave you should work fine for that mode.
For hardware (external) mixer mode, it indeed may sound too loud as I think it will send the sound on any deck that's not on air (but I don't remember if that's how it actually works, I'll have to test)

So please let me know your sound setup so that I can check.
 

Posted Tue 13 Feb 24 @ 1:24 pm
I have it set to internal mode.
 

Posted Tue 13 Feb 24 @ 4:37 pm
mg_1978PRO InfinityMember since 2008
PhantomDeejay wrote :
Sampler does not support color effects currently.
You could script something for the knob to mimick color effect for all "possible" combinations but the script would become much more complicated. However it IS possible.

As for Sampler PFL, I believe it has to do with the fact that zerodb (headroom) has to be around -6 to -9db for DDJ-RZ. Therefore the decks are much quiter than the sampler.


hi, there is colorfx for sampler 👍 it’s mapped in Pioneer DDJ-RZX mapper…but is there colorfx for mic input??

 

Posted Fri 16 Feb 24 @ 8:20 am
Oh hi, it's me again lol. I'm trying to make the encoder knob (push) and 'back' button on my DDJ-RZ do what I want them to do, but it makes my head spin trying to figure it out!

Here's how those buttons are currently mapped:

BROWSE_ENC_PUSH
browser_window 'folders' ? browser folder

BACK
show_splitpanel sideview ? browser_window +1 : browser_window 'folders,songs'

Here's what I want to be able to do:

1. When in the folders view, BROWSE_ENC_PUSH will expand / close any folder containing subfolders (like it does now).

2. When in folders view, when a lowest level folder/playlist is highlighted, BROWSE_ENC_PUSH will switch to the songs view

3. When in the songs view, BROWSE_ENC_PUSH will switch to the splitpanel if the splitpanel is open. If it's not open, BROWSE_ENC_PUSH can either do nothing, or it can go back to the folders view, I don't mind either way.

4. When in folders view, the BACK button will switch the active screen to splitpanel view, if the splitpanel is open. If the splitpanel is NOT open, then back could either do nothing, or open/close master folders.

5. When in songs view, the BACK button will go back to folders view.

6. When in splitpanel view, the BACK button will go back to songs view.

TL;DR -- I want the BROWSE_ENC_PUSH to move things forward and the BACK button to move things backward... if that makes sense!?

Currently, the BROWSE_ENC_PUSH just opens and closes folders/subfolders, while the BACK button navigates between the various views of folders, songs, and splitpanel.
 

Posted Fri 16 Feb 24 @ 7:58 pm
locoDogPRO InfinityModeratorMember since 2013
@djchrispoynter

this is your test for the bottom,

browser_open_folder ? browser_open_folder off : browser_open_folder on & wait 100ms & browser_open_folder ? : browser_window songs


you should be able to do the rest of your list with what's been explained to you earlier.
 

Posted Fri 16 Feb 24 @ 9:04 pm
locodog wrote :
@djchrispoynter

this is your test for the bottom,

browser_open_folder ? browser_open_folder off : browser_open_folder on & wait 100ms & browser_open_folder ? : browser_window songs


you should be able to do the rest of your list with what's been explained to you earlier.


Ohhhh man I've been trying this for an hour and I can't get it. Every time I try something, another thing happens that I don't want to happen LOL!

I can't figure out what to put in, so that when the sideview is open and the focus is on the songs, that pushing the encoder will change the focus to the sideview; and when the focus is on the sideview, pushing the encoder will do nothing. The best I've been able to do is make the encoder change the view from songs to sideview, but then when the focus is on sideview, pushing the encoder starts making the folders open and close, while keeping the focus on the sideview. Gaah!!!!

I've figured out a fair number of mapping changes on my own without having to ask here, but they're all super simple. I've only been playing with this for a couple weeks now and it feels like it would take years to understand the script.
 

Posted Fri 16 Feb 24 @ 11:03 pm
[deleted]
 

Posted Fri 16 Feb 24 @ 11:03 pm
locoDogPRO InfinityModeratorMember since 2013
@djchrispoynter

browser_window folders ? browser_open_folder ? browser_open_folder off : browser_open_folder on & wait 300ms & browser_open_folder ? : browser_window songs : browser_window songs ? show_splitpanel sideview ? browser_window sideview : nothing :
 

Posted Sat 17 Feb 24 @ 9:16 am
Thanks, I appreciate it.

I have more things I'm struggling to figure out, too. Are you happy to entertain more mapping questions? It seems like it's child's play for you but I also don't want to be annoying! ;)
 

Posted Sat 17 Feb 24 @ 7:21 pm
locoDogPRO InfinityModeratorMember since 2013
You can keep asking, I'm not a fan of repeating myself [to one person] so you might get pointed towards earlier posts.

I'm not above bribes if time is precious but part of my entertainment of this thread is answering original/difficult questions.

Test for the bottom folder was one such question.
Navigating to sideview on condition of sideview visible and browser_window focus, was already answered by phantomDJ just a few replies up. I figured you should have got that.
 

Posted Sat 17 Feb 24 @ 8:20 pm
92%