Quick Sign In:  

Forum: VirtualDJ Skins

Topic: Is it possible to start other programs from within VDJ with a VDJscript command? - Page: 3

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

djdadPRO InfinityDevelopment ManagerMember since 2005
I don't use Milkdrop but from what i can recall, you dont have to do anything to have sound reaction. Some patterns are very clear about sound reaction, some are not, but in general you dont do anything, just activate it.
Do some tests though, because Milkdrop was having stability issues (some crashes), at least in the past, not sure how stable it is now.
 

Posted Wed 15 Feb 17 @ 12:19 pm
I did and the Milkdrop plugin doesn't react to the sound that VDJ is playing, I guess because it's on the preview monitor of an extra deck that is playing soundless background videos....

Phantom said something earlier on about how to achieve this but I don't understand what he is saying...

PhantomDeejay wrote :

As for Milkdrop reacting to sound I guess you could configure a line input on your audio setup, feed that with your master sound and enable line-in on deck 6 when there's no other media loaded


 

Posted Wed 15 Feb 17 @ 12:24 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Ah i see, you will be running Milkdrop on a separate screen and deck.. ok.
If not mistaken, the sound-reaction is based on the Pre-fader Output (the one that the Gain knob adjusts), so the Volume Fader of that deck can stay at 0 and all u need to do is to have some music playing on that deck.

One solution is to load a track with "clear beat" and use the action repeat_song to play the track in loop. However, this will not be "synced" with what you are playing on the other "live" decks. A workaround would be to create a few POIs in that track with Action : sync e.g. every 10 secs.

Another solution would be indeed to find a way to pass the Master as Line In and use deck X linein action to pass the Input to that "silent" deck... but it depends on what gear (mixer/controller/sound card) you are using.
 

Posted Wed 15 Feb 17 @ 12:39 pm
Okay, I rephrase:

Does anyone know how to "pass the Master as Line In 2" in VDJ?

Note: I use VDJ and a touchscreen. My sound card is the M-Audio Delta 44 with 2 inputs and 2 outputs. I have one input free. The rest is used (VDJ output, headphones and mic = Line In 1).
 

Posted Wed 15 Feb 17 @ 12:55 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Hmm, one thing that comes in mind...
Have a spliter cable on your Master Output.. One side goes to your PA system and the other one plug back to your spare Sound card Input.
Then add ..
linein ... Delta .. Chans 3,4 (your spare input)
to your Audio Setup and use deck X linein to your Milkdrop deck.
 

Posted Wed 15 Feb 17 @ 1:04 pm
Hmmm... Sounds good.
I'll give it a try and let you know.
Thanks!
:)

P.S. Though in these digital times it should've been possible to do that virtually, without the 1970's cable hook-up LOL
 

Posted Wed 15 Feb 17 @ 1:12 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Check your Delta Audio Card Settings Utility. M-audio used to have an option to "bridge" an input with an output (or was that with Mixvibes ? lol not sure), but still you dont have a spare Output here, so probably not the best choice, even if it exists.
 

Posted Wed 15 Feb 17 @ 1:18 pm
Works like a charm! Thank you both!

Only one problem (possible bug): I cannot use the config screen when the extra preview window is active: as soon as I push the settings button, VDJ will freeze. Maybe you can test (and confirm or deny) this on your machines...
 

Posted Thu 23 Feb 17 @ 11:11 am
djdadPRO InfinityDevelopment ManagerMember since 2005
Could be related to the Delta. Can you try with a different sound card in Audio Setup and see if this still happens ?
Also, do you have the setting videoforcefullscreen to 1 ?
 

Posted Thu 23 Feb 17 @ 11:57 am
Yes, I've set videoforcefullscreen to 1. I don't recall why, right now, but there was a good reason to do so (possibly related to the Matrox TripleHead2Go DE adapter). That's why I would like to leave it that way. But I'll test it, setting it to 0. And I'll try the internal audio from the mobo. Can't test anything now, but I'll keep you posted, Babis. Thanks :)
 

Posted Thu 23 Feb 17 @ 12:10 pm
Okay, done some tests. Different audio card, no change. ForceVideoFullScreen=0, problem solved. I don't remember why I had to have that at 1, but I'll probably find that out someday at the most inconvenient time (as in: playing live)...
;)

But now the "remember location of video screen" problem has resurfaced. As I said, I have no mouse when playing live and I cannot drag the screen to its place. Is there a solution for VDJ not remembering the location of the extra preview window?
 

Posted Wed 01 Mar 17 @ 11:47 am
djdadPRO InfinityDevelopment ManagerMember since 2005
djdad wrote :
Deejay Corny wrote :
Only problem I need to solve now is that I have to drag the window every time I open VDJ (which I cannot do live, because I have no mouse then, only my touch screen). I don't know why, but VDJ doesn't remember the preview window's position I specified in the settings file... It does use the size values, though.


That's a bug that will be resolved soon. In the meantime, you will need to slightly change the size (width or height) of the window in the skinposition setting. So if the window has width="500" height="400" in the XML, you need to have .... XPos,Ypos,499, 400 or XPos,Ypos,500, 399 in the setting
Let me know if that works



 

Posted Wed 01 Mar 17 @ 5:19 pm
I did that and it worked... at first, but it doesn't anymore...
 

Posted Wed 01 Mar 17 @ 5:37 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
What do you have for the <window> in your skin ..
and
...what do the skinPosition and SkinVisibility lines have in the settings.xml after moving the Video window to the correct monitor and close VirtualDJ ?
 

Posted Wed 01 Mar 17 @ 5:43 pm
In my skin I have:

<window name="CENTER SCREEN" posx="0" posy="0" breakline="5" width="1024" height="768" image="CENTER SCREEN.bmp">
<video source="channel" chan="6">
<pos x="1" y="1"/>
<size width="1024-2" height="768-2"/>
</video>
</window>

In the settings xml I have, after dragging the preview window to the right position and closing VDJ:

<videoWindowPosition>(0x0 1920x1040; 1920x0 1920x1080)=1920x0 1920x1080, (0x0 1920x1040; 1920x0 2048x768)=1920x0 2048x768, (0x0 1920x1040; 1920x0 3840x1024)=1920x0 3840x1024, (0x0 1920x1040)=0x0 400x300, (0x0 1920x1040; 1920x0 1024x768)=1920x0 1024x768, (0x0 1920x1040; 1920x0 2048x768; 3968x0 1024x768)=1920x0 2048x768, (0x0 1920x1040; 2944x0 2048x768; 1920x0 1024x768)=2944x0 2048x768, (0x0 1920x1040; 2944x0 1920x1080; 1920x0 1024x768)=2944x0 1920x1080, (0x0 1920x1040; 2944x0 1024x768; 1920x0 1024x768)=2944x0 1024x768, (0x0 1920x1040; 1920x0 1024x768; 2944x0 1024x768)=2944x0 1024x768, (0x0 1920x1040; 1920x0 1024x768; 2944x0 2048x768)=2944x0 2048x768</videoWindowPosition>

<skinPosition>231,53,1440,910|1929,-23,1024,768</skinPosition>

<skinVisibility>, no</skinVisibility> (because I have a button to activate the extra preview window)

...
 

Posted Wed 01 Mar 17 @ 5:58 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Try ..
<skinPosition>231,53,1440,910|1920,0,1024,767</skinPosition>
and then open VDJ.

BTW, not sure about the -23 (negative value) i see in the setting. Could be the fact that your monitor needs to be "moved" a little bit in the Windows settings where you see the numbered monitors (you know that you can move them around a bit, even drag and change their positions, right ?), so that it's horizontally alligned with the primary.
If the reduced height by 1 pixel doesnt work, it probably means that the window is out of monitor bounds , even for 1 pixel, but still, if the monitors are in extended mode, you should see a part of that on some other monitor... could be the Matrox thing...not sure.
 

Posted Wed 01 Mar 17 @ 6:01 pm
That worked...
:)
I had the pixels set to -1 originally... Should I make the settings.xml read-only so that it can't be overwritten for whatever reason?
P.S.
The screens are all perfectly aligned (same top line) in the Windows 7 display settings window...
 

Posted Wed 01 Mar 17 @ 6:14 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
No, i would strongly recommend not make the settings.xml read-only. This could cause other issues to the software. If you dont move the <window>, then the setting will not be changed and working fine. If for some reason you slightly move it, then it will still work (the height/width will be there to display the window to the moved position.
 

Posted Wed 01 Mar 17 @ 6:21 pm
Okay. But then I don't know why it lost the position: I never moved the window. Could it be that if i started VDJ up without the projector on/active, that some position settings are changed?
 

Posted Wed 01 Mar 17 @ 6:35 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Yes, that's probably what happened.
 

Posted Wed 01 Mar 17 @ 6:39 pm
98%