Sign In:     


Forum: General Discussion

Topic: Script question - Page: 1

This part of topic is old and might contain outdated or incorrect information

Got most things mapped out (and a few extra cool things I couldnt do before the old way). Just one question for now...

I have a rotary knob (functionally like a small jog wheel I guess) which I use for browser scrolling - twist it one way to browse up the list and other way to browse down. By using browser_scroll 1 it will behave like a button and scroll down regardless of which way I turn it (as you'd expect). I'm pretty sure I just need to add jog in the line somewhere to make it understand that its a wheel, not a button - sorry I cant figure it out.
 

Posted Fri 05 Jun 09 @ 4:12 pm
browser_scroll <- without a +1 or -1 it will move based on the direction of turn of the encoder/knob. If you put a number it only goes that direction.
 

That doesnt work - tried every possible combination but it always scrolls down. Hmm, I'm starting to think maybe this is something with my mixer, except that 5.2.1 works faultless.
 

What is the controller ?
 

correction - with it set to browser_scroll with nothing else, when the knob is turned it highlights the top track in the browser but doesnt move up or down when the knob is turned.
 

Pioneer DJM700 mixer with edirol UM1EX interface. Windows Vista
 

Also, when I press a button and hold it down on the mixer it will often see CC13, and then when the button is released it gets the correct cc code. I have tried setting when_pressed, up ?, down ? as a workaround but nothing seems to help. CC13 is actually the correct cc code for the rotary knob on the mixer so it may be a related issue. I've tried all sorts of combinations - been trying to figure this out all day.
 

Download this to your desktop ... http://www.virtualdj.com/download/miditrace.exe

Run the program (no install) ... and select your MIDI device from the right 2 boxes ... then turn the knob full left, then back full right ...

If you have codes displayed .. copy and paste the results here ...


** I will not be able to look at them until later .. just got home from my club gig and was checking the forums .. so need some sleep (eyes crossed) ... but I will look at the codes later ... cheers

Chris
 

Really appreciate your help. Will try it and let you know. Have a good sleep. Thanks heaps.
 

Tried miditrace and it is receiving a constant stream of F8 00 00 00 which makes it hard to see what its sending inbetween. The knob in question is a rotary switch with no end - can spin one way or other for ever. Is there any way to filter the F8 00 00 00 so we can see the bits inbetween?
 

Ok, I am not that familiar with the UM-1EX, but I looked at the documentation and I am wondering, what mode you are running it in - Advanced or Standard? If Advanced, using Standard does that make a difference? And that F8 00 00 00 may be the MIDI clock from the DJM.

I have the documentation for the DJM, so which knob are you turning so I can look at the MIDI table ...

The CC13 concerns me, let VirtualDJ capture that in the Mapper and just assign the action of -> nothing
And I am not so sure that it is the CC13 is the correct value for the knob, CC13 or Hex 0x0D is the Time button in the Effect section - according to the Pioneer Documentation.


 

Tried swapping to standard mode on Edirol yesterday and didnt make a difference. I will try again now with miditrace and see what happens.

I also looked at Pioneer manual yesterday and ALL codes are different to manual. I see what you mean though. Its hard to say if mixer or edirol or poor documentation is part of that problem. I have another very basic midi iface I will try as well and see what that shows.

I can use midi ox to filter the F8 00 00 00 to see what its sending so I will try that too.

Thanks heaps for your help. I am stoked you guys had the foresight to leave the old database there. So easy to swap back and forth between versions while we figure this out - genius!!!
 

Pioneer manual is correct - sorry getting a bit worn out (drunk) by end of yesterday. Yes it is the time switch (not a button but a rotary knob) hex 0D or cc13.

Makes no difference standard or advanced on edirol (tried restart inbetween in case it only reads on bootup).

Just trying with another interface...
 

There is definitely a problem with the DJM 700 mixer (or my one anyway). Tried with another iface and got same problem so not Edirol iface.

I can only assume that 5.2.1 somehow ignores the extra spurious messages being sent. Here is what happens when monitoring control change messages with midi ox...

Press left beat button, mixer sends
B0 0D 0F
B0 2D 50
B0 4C 7F
B0 4C 00

The first two lines are incorrect and shouldnt be there. 4C is the correct code, 7F when pressed down, 00 when released. If I press it a few times, eventually it stops sending the first two lines and works correctly. The final numbers in the lines (0F and 50 are random and different most times).

There are several buttons on my mixer doing this and that explains why I'm having so many difficulties. Have to check if its still under warranty.

Back to the original issue how to script the rotary knob (the real cc13). Turn one way, codes are...

B0 0D 08
B0 2D 7C
B0 0D 08
B0 2D 7D
B0 0D 08
B0 2D 7E
B0 0D 08
B0 2D 7F
B0 0D 09
B0 2D 00
B0 0D 09
B0 2D 01

I've shown what happens at the crossover point so you can see how the 0D increases by 1 at each 2D 7F cycle. If you twist the knob the other way, it does the same thing backwards, ie would go 00, then 7F, and 0D would go back to 08.

Let me know if this doesnt make sense and I'll video it.
 

I think the only way this will be resolved is if we build an actual definition file for the DJM700, that way we can isolate the 'correct' values for the buttons and that way anything else will be ignored ... in midi ox there is a way to 'discover' what the SysExID of the unit is ... my only concern will be that it picks up the Edirol and not the DJM ...
 

I am doing the testing with a very basic midi interface. Shows in midi ox as usb midi cable. Happy to provide any info you need.
 

In MIDI OX ... make sure the device is selected for IN and OUT ... goto Options and make sure the "Pass Sysex" is checked ...
Then under Actions select Send > SysEx File
Then in the Send File dialog select Command Window > Load File ...
Browse to the C:\Program Files\MidiOX\Syx folder and select the Universal Device Inquiry.syx file [Click Open]
You should see F0 7E 7F 06 01 F7 in the top box ...
Go to menu Command Window and select "Send/Receive SysEx"
In the Display Window are you should get a string similar to this back-> F0 7E 7F 06 02 00 20 08 4D 14 71 01 20 31 32 35 F7 (This is for a X-session, your result will be way different values)

But highlight, right-click and copy then paste the values back here ...
 

I get exactly the same problem with my Allen & Heath Xone 3d. I also cant map jog wheels to go backwards and forwards either.
 

So do what I posted above and follow along ... maybe we can get a definition defined for that mixer as well ...


btw, this will not be just a 20 minute fix ... this will take some effort to build the definition file .. however, the end result is that every button, knob, slider will be defined and able to provide the corrrect function to hte software.
 

Ok .. i have a similar problem with the jogwheels of the BCD2000 , they just move forward no matter is you turn them backwards, i already tried with the

JOG_WHEEL
SCRATCH_JOGWHEEL
INVERT_PARAM JOG_WHEEL

and lot more of parameters...

Etc Etc....

Everything else is working great... but i need help with the jogwheels, help please ?
 

38%