快速登录:  

Forum: VirtualDJ Plugins

话题: Controlling QLC+ DMX lighting program from VDJ8 via MIDI IAC Driver on Mac? - Page: 6.35

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

NicotuxHome userMember since 2014
OK I find one example on line 2 "BeatGrid every Beat audible"

is_audible deck active
..? &
....param_greater get_beat_bar 12.5%
....? set $VDJartnetsend 255
....: param_greater get_beat_bar 25%
......? set $VDJartnetsend 0
......: is_audible deck active
........? &
..........param_greater get_beat_bar 37.5%
..........? set $VDJartnetsend 255
..........: param_greater get_beat_bar 50%
............? set $VDJartnetsend 0
............: is_audible deck active
..............? &
................param_greater get_beat_bar 62.5%
................? set $VDJartnetsend 255
................: param_greater get_beat_bar 75%
..................? set $VDJartnetsend 0
..................: is_audible deck active
....................? &
......................param_greater get_beat_bar 87.5%
......................? set $VDJartnetsend 255
......................: set $VDJartnetsend 0


you missed the final 4 times " : set $VDJartnetsend 0 " or have an unneeded one as $VDJartnetsend is reset to 0 before every script is call

with my dll You need to add an extra initial "set $VDJartnetsend 0 & " because $VDJartnetsend is set to 256 before every script is call
I can compile a mixed one, which default to zero but keep the possibility to set $VDJartnetsend to 256 or -1 to keep the value as it already used

set $VDJartnetsend 0 &
is_audible deck active
..? param_greater get_beat_bar 12.5%
....? set $VDJartnetsend 255
....: param_greater get_beat_bar 25%
......? set $VDJartnetsend 0
......: is_audible deck active
........? param_greater get_beat_bar 37.5%
..........? set $VDJartnetsend 255
..........: param_greater get_beat_bar 50%
............? set $VDJartnetsend 0
............: is_audible deck active
..............? param_greater get_beat_bar 62.5%
................? set $VDJartnetsend 255
................: param_greater get_beat_bar 75%
..................? set $VDJartnetsend 0
..................: is_audible deck active
....................? param_greater get_beat_bar 87.5%
......................? set $VDJartnetsend 255


This one does the same in both versions
 

发表时间 Wed 06 Mar 19 @ 12:35 am
NicotuxHome userMember since 2014
and if I missed nothing this one too, Many Thanks to http://www.tellyvisuals.com/vdjscript.php

set $VDJartnetsend 255 &
is_audible deck active
? param_smaller get_beat_bar 87.5%
..? param_smaller get_beat_bar 75%
....? param_smaller get_beat_bar 62.5%
......? param_smaller get_beat_bar 50%
........? param_smaller get_beat_bar 37.5%
..........? param_smaller get_beat_bar 37.5%
............? param_smaller get_beat_bar 25%
..............? param_smaller get_beat_bar 12.5%
................? nothing
................: set $VDJartnetsend 0
..............: set $VDJartnetsend 0
............: set $VDJartnetsend 0
..........: set $VDJartnetsend 0
........: set $VDJartnetsend 0
......: set $VDJartnetsend 0
....: set $VDJartnetsend 0
..: set $VDJartnetsend 0
: set $VDJartnetsend 0
 

发表时间 Wed 06 Mar 19 @ 1:02 am
Nicotux wrote :
@bluescreen20
They work as you need when your version of the plugin inits it with 0 but will act differently with my version which init with 256
Or have a typo as in these ones:

VolumeLevel intensity audible~is_audible deck active ? & get_level & param_multiply 255 & set $VDJartnetSend : set $VDJartnetSend 0
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------^---------------------------------^
VU_Meter peak intensity audible~is_audible deck active ? & get_vu_meter_peak & param_multiply 255 & set $VDJartnetsend : set $VDJartnetSend 0
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^


No. These are your scriptings which i have included for users who would use.
I have not tested it, because get_level and get_vu_meter does not work in VDJ with my old connected DJ controller American DJ VMS5. I think it works on VDJ with soundcard in computer and could be that it works with my new Denon MC7000 (external soundcard in controller must reloop master-level-signal back to computer to get these scripting work)

But what i see is that you have very good knowledge to get two dll working fine for the user. I think it must only be stable and not with included thousends of possibilities to config. For non scripting user its fine to have some sense making fix presets. We both can do ourself other scripts, but user would have drag and drop and experiment with this. For me it would be cool if you could update my 32bit dll in config with 2 columns (description Name) so that i always can see which preset i have used.
If then also a same workable and stable 64bit version is available, too....would be great. After that , its possible to upgrade step by step .

The fastes workflow for unknown user could be a dll package which include in conf some beginner sense making scripts. Also in the package an input-profil-file for QLC+ which is equal to the conf. So the user put dll and qxi to right place, start and have a handful working scripts which can be used firsttime.

regards, Ralf
 

发表时间 Wed 06 Mar 19 @ 12:31 pm
NicotuxHome userMember since 2014
I Agree users will want to use bundle presets in a simple drag/drop way. To acheive this it is up to us to make working scripts.
The only reason the dll does not react the same is the scripts were created for one and are used on the other one

if these scripts were handling totally the return value, they would work
hyper simple examples
i.e.: is_active ? set $VDJartnetsend 255
While no track was play Your dll will set $VDJartnetsend to 0, mine will set VDJartnetsend to 256 light will be OFF
While playing track Your dll will set $VDJartnetsend to 255, mine will set VDJartnetsend to 255 light will be ON
When track will stop Your dll will set $VDJartnetsend to 0, mine will set VDJartnetsend to 256 light will be OFF with yours ON with mine
- the script itself is in cause due to missing alternative value :
is_active ? set $VDJartnetsend 255 : undefined

for both to act the same of yours the script would be
is_active ? set $VDJartnetsend 255 : set $VDJartnetsend 0

Once again it'up to us to provide working scripts, not using shortcuts which may introduce some errors like these ones
test all your scripts on DonMoir's vdj test page, there must be as many '?' as ':' with the conditionnal and return values have to be all set
this way the value is fully under control

The dll you tested can easily be"hacked" to fit your needs... by HEX editing it. Simply replace the "set $VDJartnetsent 256" string with "set $VDJartnetsent 000" in it
as i don't know which one it was

" For me it would be cool if you could update my 32bit dll in config with 2 columns ...":

I agree would be cool ... The compiled versions are on the my site. Copy/Paste work, presets are 'somehow loadable or may kill VDJ'
These dll still kill VDJ at exit. I don't have any idea on how this thing is forcing VDJ to write in already freed memory in both cases as far as this is in VDJ code I can't debug
If you found the solution I'd apreciate. I don't know anything about CppStep all i see is apps using it always fail.
Otherwhise they seems to work
I go on trying to understand...

one last thing:
"get_level and get_vu_meter does not work in VDJ with my old connected DJ controller"

Yes they are, these are VDJ internal values and don't rely to any connected controller. Don't your skin shows them ? this are these values the script is using in this case
 

发表时间 Wed 06 Mar 19 @ 8:20 pm
NicotuxHome userMember since 2014
@ bluescreen25
JOB done : I compiled a special version both 32 & 64 bit with everything as you whish
- default to 0
- both old windows config with names
- external presets
- drag/drop
- no segfault at end. A HACK not a fix

It work but VDJ goes on not wanting to start fast
you may load it many times but it is useless but does not hurt anymore

You'll find them in the special folder : /vdj/VDJArtnet/Testing/bluescreen25/

 

发表时间 Thu 07 Mar 19 @ 3:32 am
Nicotux wrote :
and if I missed nothing this one too, Many Thanks to http://www.tellyvisuals.com/vdjscript.php

set $VDJartnetsend 255 &
is_audible deck active
? param_smaller get_beat_bar 87.5%
..? param_smaller get_beat_bar 75%
....? param_smaller get_beat_bar 62.5%
......? param_smaller get_beat_bar 50%
........? param_smaller get_beat_bar 37.5%
..........? param_smaller get_beat_bar 37.5%
............? param_smaller get_beat_bar 25%
..............? param_smaller get_beat_bar 12.5%
................? nothing
................: set $VDJartnetsend 0
..............: set $VDJartnetsend 0
............: set $VDJartnetsend 0
..........: set $VDJartnetsend 0
........: set $VDJartnetsend 0
......: set $VDJartnetsend 0
....: set $VDJartnetsend 0
..: set $VDJartnetsend 0
: set $VDJartnetsend 0


If you use the BB-Code at the webpage you can just paste that in color coded. You can also copy the coded syntax from here and paste it back into the webpage to unformat it. I copied your version dots and all and when pasting it into the page it will strip it clean and reformat or raw for actual usage. The BB-Code version automatically adds dots to the start of lines for indenting. The dots are colored close the background so not visible.
set $VDJartnetsend 255 & is_audible deck active
..? param_smaller get_beat_bar 87.5%
....? param_smaller get_beat_bar 75%
......? param_smaller get_beat_bar 62.5%
........? param_smaller get_beat_bar 50%
..........? param_smaller get_beat_bar 37.5%
............? param_smaller get_beat_bar 37.5%
..............? param_smaller get_beat_bar 25%
................? param_smaller get_beat_bar 12.5%
..................? nothing
..................: set $VDJartnetsend 0
................: set $VDJartnetsend 0
..............: set $VDJartnetsend 0
............: set $VDJartnetsend 0
..........: set $VDJartnetsend 0
........: set $VDJartnetsend 0
......: set $VDJartnetsend 0
....: set $VDJartnetsend 0
..: set $VDJartnetsend 0


 

发表时间 Thu 07 Mar 19 @ 6:07 am
NicotuxHome userMember since 2014
Thanks Don Moir, but bbcode is filtered [as well as quoting] from Home Users' posts
however I tryed anyway and the result keep pretty readable

I didn't saw the double 37.5% ^^ ...
 

发表时间 Thu 07 Mar 19 @ 6:35 am
Ok was just wondering. So when you paste it here, it filters out the BB-Code syntax and leaves it like you have it? The enhanced formatted paste in pretty clean as well which is good for editing it. It has leading spaces except for here you would need to replace them with the dots.
 

发表时间 Thu 07 Mar 19 @ 6:41 am
NicotuxHome userMember since 2014
@Don Moir
In fact it only filters bbcode code, keeping the added dots in place. this is not so bad

@ bluescreen25:
I just tested multiple instances of the new dll at the same time : they can handle Multiple configs as far as the port/host is not same
For now controlling 2 universes is not possible but sending 2 different art-net DMX to different machines or software instances
They do not crash anymore
Actually QLC+ can only handle port 0x1936/6454 but it can use localhost as well as any other local network addresses usb/bt/wifi/eth one for each of its 4 universes
that rocks :)
maybe still have to modify $VDJartnetsend name not to interfer between instances... even i din't see any problem during tests
 

发表时间 Thu 07 Mar 19 @ 7:07 am
@Nicotux

I sent you pn
 

发表时间 Thu 07 Mar 19 @ 8:34 am
 

发表时间 Thu 07 Mar 19 @ 11:40 am
NicotuxHome userMember since 2014
@bluescreen25
Badly no, can't receive pm with Home user account:

"Sorry, you don't have the necessary accreditations to view this page."

 

发表时间 Thu 07 Mar 19 @ 1:41 pm
NicotuxHome userMember since 2014
I fixed your VS settings in a way to compile 64 bit versions and fixed the DMX flow bug and recompiled all 4 versions release Debug for both Arch

You'll find them in the special folder : /vdj/VDJArtnet/Testing/bluescreen25/

remember my internet is slow... and the full package is 69Mo
 

发表时间 Thu 07 Mar 19 @ 2:34 pm
Nicotux wrote :
@bluescreen25
Badly no, can't receive pm with Home user account:

"Sorry, you don't have the necessary accreditations to view this page."



Let's have contact over email: bluescreen25@cave-live.info
I better can tell you testings
 

发表时间 Thu 07 Mar 19 @ 2:55 pm
Nicotux wrote :
I fixed your VS settings in a way to compile 64 bit versions and fixed the DMX flow bug and recompiled all 4 versions release Debug for both Arch

You'll find them in the special folder : /vdj/VDJArtnet/Testing/bluescreen25/

remember my internet is slow... and the full package is 69Mo


Both versions stable and fast. What do you think ? This as base source to add in little steps the new features ? Possible or too much work? Two columns first, then compile and test ?
Don't know if you have seen my email address. Would not blow up this thread until we have stable results.

Regards, Ralf
 

发表时间 Fri 08 Mar 19 @ 10:51 am
NicotuxHome userMember since 2014
Spurious send... deleted
 

发表时间 Sat 09 Mar 19 @ 1:51 am
NicotuxHome userMember since 2014
Sorry for late reco: VS update, slow-e-net, 3.5Go to download, System disk full, Windows update pending ...

"Both versions stable and fast. What do you think ? This as base source to add in little steps the new features ? Possible or too much work? Two columns first, then compile and test ?"

NOT STABLE ENOUGH. They stalls VDJ for 30s at start and crashes VDJ most of the time

But that is history. I finally fixed everything

The Version I test actually does
- not freeze VDJ at start
- not crash VDJ at end
- not run a thread when iddle
- not run a windows form when no config window is open
- allows multiple instances
- automatiqualy load a different config file when autostart from another deck - VDJartnet_0.conf for Master & AutoStart and VDJartnet_1.conf ... for other
- read presets from "defaultPresets.txt" file in AutoStart folder
- have 2 columns window
- Allows drag/drop undo...

BUTTONS Won't work as VDJ API does not allow it for non-audio and non-video plugins

I really think this one is a good start for simple single use.
I go on investigate on how to correctly handle multiple instances with no conflict in config window.


"Don't know if you have seen my email address. Would not blow up this thread until we have stable results."

I even try to send you a mail yesterday... but fail due to my e-net connection
retry now
 

发表时间 Sat 09 Mar 19 @ 2:23 am


(陈旧帖子或论坛版块会自动关闭)