Entra:     


Forum: General Discussion

Topic: a few scripts - Page: 2

Questa parte dell'argomento è obsoleta e potrebbe contenere informazioni obsolete o errate

@sischo - What controller is this for ?
 

M-Audio UC-33e.

The other functions you see works good.

This is my whole mapper:

<?xml version="1.0" encoding="UTF-8"?>
<mapper device="SIMPLE_MIDI" author="Atomix Productions" description="Simple MIDI wrapper" version="600" date="02/06/2009" priority="-10">
<map value="MIDI_CLOCK" action="off" />
<map value="2-CC7" action="crossfader" />
<map value="0-CC15" action="play_pause" />
<map value="3-CC13" action="deck 1 effect slider 1" />
<map value="0-CC7" action="deck 1 volume" />
<map value="1-CC7" action="deck 2 volume" />
<map value="0-CC10" action="deck 1 eq_low" />
<map value="0-CC12" action="deck 1 eq_mid" />
<map value="0-CC13" action="deck 1 eq_high" />
<map value="1-CC10" action="deck 2 eq_low" />
<map value="1-CC12" action="deck 2 eq_mid" />
<map value="1-CC13" action="deck 2 eq_high" />
<map value="2-CC10" action="eq_crossfader_low" />
<map value="2-CC12" action="eq_crossfader_mid" />
<map value="2-CC13" action="eq_crossfader_high" />
<map value="4-CC13" action="deck 1 effect slider 2" />
<map value="5-CC13" action="deck 1 effect slider 3" />
<map value="6-CC13" action="deck 1 effect slider 4" />
<map value="7-CC13" action="deck 1 effect slider 5" />
<map value="3-CC12" action="deck 2 effect slider 1" />
<map value="4-CC12" action="deck 2 effect slider 2" />
<map value="5-CC12" action="deck 2 effect slider 3" />
<map value="6-CC12" action="deck 2 effect slider 4" />
<map value="7-CC12" action="deck 2 effect slider 5" />
<map value="0-CC28" action="master_volume" />
<map value="7-CC7" action="deck 2 gain" />
<map value="6-CC7" action="deck 1 gain" />
<map value="4-CC10" action="headphone_volume" />
<map value="3-CC10" action="headphone_mix" />
<map value="0-CC14" action="pause_stop" />
<map value="0-CC21" action="browser_enter" />
<map value="0-CC24" action="browser_scroll -1" />
<map value="0-CC27" action="browser_scroll +1" />
<map value="0-CC17" action="goto +8" />
<map value="0-CC16" action="goto -8" />
<map value="7-CC10" action="master_balance" />
<map value="5-CC10" action="headphone_gain" />
<map value="0-CC18" action="search" />
<map value="0-CC19" action="deck 1 effect 1 select" />
</mapper>

P.S: I noted clicking on
and after



you can see inside the field action appears "effect 1 select" but between the word effect and the number 1 there are two back-space.


The tool of JeremK instead told me:

Check that out.

Again I tell you the website has a problem after input a picture in a message: before the symbol " and the symbol \ it appears the symbol \ and it's very annoying to remove all these \ symbols.
Example:
before input a picture:
<map value="0-CC19" action="deck 1 effect 1 select" />
after input a picture my text becomes
<map value=\"0-CC19\" action=\"deck 1 effect 1 select\" />
Take care about it as well, please.
 

Testing better I noted it:

if the drop-up menu of the mapper is set on "KEYBOARD" and I go with the mouse on the downwards arrow like in my previous post, the acquired action is "deck 1 effect 1 select"; instead if the drop-up menu is on "SIMPLE MIDI WRAPPER", the acquired action is "effect 1 select" hence it loses "deck 1".

Anyhow, in both cases the acquired action has two back-spaces between the word "effect" and the number "1": I don't know if that can be a problem with the recognition of the instruction by VDJ.

djcel wrote :
ok so just:

* For the main effect:
deck 1 effect active


* If you are using effect slots, use this for slot 1
deck 1 effect 1 active


For slot 2:
deck 1 effect 2 active


...


They work good with keyboard but nothing with buttons of my midi controller.
 

The conflict may be with the skin you are using ... don't change your mapper .. just change to the 1024x768 VirtualDJProV6 skin. Does the button work?
 

No, the button of my MIDI controller does nothing even changing the skin.

The same function works good using the keyboard.
 

do this .. change the action to -> down ? deck 1 effect 1 select : nothing
 

Nothing again.

I don't know if it helps but when I push the button, my controller tells me its value switch from 00 to 127 and vice versa.
 

sischo wrote :
Nothing again.

I don't know if it helps but when I push the button, my controller tells me its value switch from 00 to 127 and vice versa.


That is why I suggested the new script ... change down to up

The other thing you can try is to reprogram the button on the controller to use a NOTE value instead of a CC value.
 

but I don't understand why
<map value="0-CC15" action="play_pause" />
or
<map value="0-CC17" action="goto +8" />

work good, while
"seach", "deck 1 effect active", "deck 1 effect 1 active" and "down ? deck effect 1 select : nothing" do not work.

I suppose the problem is linked to VDJ more than my controller.
 

I don't have the controller so just trying to see if there is an scripting solution ...
 

Probably it's better if one of Teamers who have a MIDI controller, try to test the scripts you helped me to write otherwise we never will go out from this speech.

Thank you for your help cstoll.
You are a friend;)
 

sischo wrote :
Probably it's better if one of Teamers who have a MIDI controller, try to test the scripts you helped me to write otherwise we never will go out from this speech.

Thank you for your help cstoll.
You are a friend;)


I have a MIDI controller ( by the way I have 8 of the most popular controllers out there ) and wrote several of the scripts for several mappers that are out there at the release ... nice Dig though ... good luck !

Guess I will take the rest of the night off ... cheers.
 

Actually you wrote "I don't have the controller" so I thought you didn't have a controller at all.

I could understand your words meant "I don't have YOUR controller" so don't take offence cstoll;)
 

i need help writing a script for browser sort i wana sort my main window by artist ho do i do this
 

With the version 6.0.1 I still have problems.

I think you should to test better the scripts:
for example "deck 1 volume 1" and "deck 1 volume" don't work.

I still confirm the scripts I wrote in my first messages don't work.
 

sischo wrote :
"deck 1 volume"


I have just tested in MIDI and it works well

 

Test with your keyboard??
 

& keyboard : "deck 1 volume + 2%" works well too


[EDIT] "deck 1 volume 1" means nothing, use "deck 1 volume 100%"
 

This time I have to apologize but I got that istruction after uploading from the 5.2.1 to 6.0
 

Maybe it's better to start from a simple script.

For example I want to insert the title of a song to look for that song; the script is "search".
If I set "search" to a button of my keyboard it works (the falshing pointer appears) but if I set "search" to a button of my controller, it doesn't work (the flashing pointer doesn't appear).

Why??

If someone specialist tries to help me, I am sure I will understand how programming my controller.
 

89%