Quick Sign In:  

Forum: General Discussion

Topic: Sunlite Suite 3 with OSL2
I'd like to share my experiences of connecting Sunlite Suite 3 to VirtualDJ.

1)
To get the communication running, set the setting "os2lDirectIp" to "127.0.0.1:8010". With this setting "Bonjour" is not needed.

2)
Create buttons on the "_MASTER" page. Set the button names to lower case in VirtualDJ. Sunlite Suite 3 does use a case insensitive compare, so even if you use a name like "Scene1" you should use "scene1" in VirtualDJ. Otherwise VirtualDJ will not be able to update the status of the pad buttons.
Example: os2l_button "scene1"
If use create buttons on another page, also make sure the page name is lower case.
Example: os2l_button "page1" "scene1"

I've used WireShark to follow the OS2L communication. I found that Sunlite Suite is sending events with lower case button names.

I still have to find out how to use "os2l_cmd".
 

Posted Tue 06 Apr 21 @ 12:06 pm
 

Posted Tue 06 Apr 21 @ 3:08 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Good to know OS2L is implemented in Sunlite Suite 3. They started with Suite 2, and Suite 3 was expected to follow.

I believe the case sensitive issue has been fixed in OS2L, but probably Sunlite developers havent updated their code
 

Posted Tue 06 Apr 21 @ 3:41 pm
hello everybody
i try since a long time to use OS2L action
it run when the DMX command is on MASTER page do not run if the page is different like this syntax
Os2l_Button "WW1 WBGR" "WW1 1 R"
it will be nice of you to return your experience to me, i do not go here everyday, so your answer by email : Moderator No email from home licence users
 

Posted Sat 20 Nov 21 @ 7:25 pm
i try to understand this code :
<Song FilePath="D:\YOUTUBE\Playlist 7 - FUNK 2021\matt-early-ray-hurley-feat-abi-flynn-get-to-me-once-original-mix.mp3" FileSize="15951768">
<Tags Author="Matt Early &amp; Ray Hurle" Title="Get To Me Once (Original Mix)" Remix="Abi Flynn" Year="20190805" Flag="1" />
<Infos SongLength="474.012167" LastModified="1637435683" FirstSeen="1632758201" FirstPlay="1632758871" LastPlay="1637433666" PlayCount="21" Bitrate="269" Cover="8225" />
<Comment>1</Comment>
<Scan Version="801" Bpm="0.48780" AltBpm="0.365850" Volume="0.988373" Key="E" Flag="49156" />
<Poi Name="DMX" Pos="0" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;BLACKOUT&quot;" />
<Poi Pos="0" Num="1" Type="cue" />
<Poi Name="DMX" Pos="1.5" Num="-1" Color="4278190335" Type="action" Action="os2l_button &quot;WW1-WBGR&quot; &quot;WW1-B&quot;" />
<Poi Name="DMX" Pos="3.5" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;WW1-WBGR&quot; &quot;WW1-R&quot;" />
<Poi Name="DMX" Pos="5.5" Num="-1" Color="4278190335" Type="action" Action="os2l_button &quot;WW1-WBGR&quot; &quot;WW1-B&quot;" />
<Poi Name="DMX" Pos="7.5" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;WW1-WBGR&quot; &quot;WW1-R&quot;" />
<Poi Name="DMX" Pos="10" Num="-1" Color="4278190335" Type="action" Action="os2l_button &quot;WW1-WBGR&quot; &quot;WW1-B&quot;" />
<Poi Name="DMX" Pos="11.290568" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;WW1-WBGR&quot; &quot;WW1-R&quot;" />
<Poi Name="DMX" Pos="13.241026" Num="-1" Color="4278190335" Type="action" Action="os2l_button &quot;WW1-WBGR&quot; &quot;WW1-B&quot;" />
<Poi Name="DMX" Pos="15.195382" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;WW1-WBGR&quot; &quot;WW1-R&quot;" />
<Poi Name="DMX" Pos="17.144332" Num="-1" Color="4278190335" Type="action" Action="os2l_button &quot;WW1-WBGR&quot; &quot;WW1-B&quot;" />
<Poi Name="DMX" Pos="19.0" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;WW1-WBGR&quot; &quot;WW1-R&quot;" />
<Poi Name="DMX" Pos="21.0" Num="-1" Color="4278190335" Type="action" Action="os2l_button &quot;WW1-WBGR&quot; &quot;WW1-B&quot;" />
<Poi Name="DMX" Pos="22" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;WW1-WBGR&quot; &quot;WW1-R&quot;" />
<Poi Name="DMX" Pos="24" Num="-1" Color="4278190335" Type="action" Action="os2l_button &quot;WW1-WBGR&quot; &quot;WW1-B&quot;" />
<Poi Name="DMX" Pos="27" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;WW1-WBGR&quot; &quot;WW1-R&quot;" />
<Poi Name="DMX" Pos="29" Num="-1" Color="4278190335" Type="action" Action="os2l_button &quot;WW1-WBGR&quot; &quot;WW1-B&quot;" />
<Poi Name="DMX" Pos="31" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;Rouge&quot;" />
<Poi Name="DMX" Pos="33" Num="-1" Color="4278190335" Type="action" Action="os2l_button &quot;Bleu&quot;" />
<Poi Name="DMX" Pos="35" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;Rouge&quot;" />
<Poi Name="DMX" Pos="37" Num="-1" Color="4278190335" Type="action" Action="os2l_button &quot;Bleu&quot;" />
<Poi Name="DMX" Pos="39" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;Rouge&quot;" />
<Poi Name="DMX" Pos="41" Num="-1" Color="4278190335" Type="action" Action="os2l_button &quot;Bleu&quot;" />
<Poi Name="DMX" Pos="43" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;Rouge&quot;" />
<Poi Name="DMX" Pos="44.464709" Num="-1" Color="4278190335" Type="action" Action="os2l_button &quot;Bleu&quot;" />
<Poi Name="DMX" Pos="46.411474" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;Rouge&quot;" />
<Poi Name="DMX" Pos="48.368342" Num="-1" Color="4278190335" Type="action" Action="os2l_button &quot;Bleu&quot;" />
<Poi Name="DMX" Pos="50.315107" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;Rouge&quot;" />
<Poi Name="DMX" Pos="52.760351" Num="-1" Color="4278190335" Type="action" Action="os2l_button &quot;Bleu&quot;" />
<Poi Name="DMX" Pos="54.215372" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;Rouge&quot;" />
<Poi Name="DMX" Pos="56.168872" Num="-1" Color="4278190335" Type="action" Action="os2l_button &quot;Bleu&quot;" />
<Poi Name="DMX" Pos="58.168667" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;Rouge&quot;" />
<Poi Name="DMX" Pos="60" Num="-1" Color="4278190335" Type="action" Action="os2l_button &quot;Bleu&quot;" />
<Poi Name="DMX" Pos="62" Num="-1" Color="4294902015" Type="action" Action="os2l_button &quot;BLACKOUT&quot;" />
<Poi Name="DMX" Pos="63.25" Num="-1" Color="4294934272" Type="action" Action="os2l_button &quot;MACRO 8&quot;" />
<Poi Name="DMX" Pos="70.30" Num="-1" Color="4294934272" Type="action" Action="os2l_button &quot;MACRO 7&quot;" />
<Poi Name="DMX" Pos="78.15" Num="-1" Color="4294901760" Type="action" Action="os2l_button &quot;WW1 WBGR&quot; &quot;WW1 1 R&quot;" />
<Poi Pos="156.180627" Num="-1" Color="4294967040" Type="remix" />
</Song>
</VirtualDJ_Database>

it seams to be good if we do not want to place the DMX poi on VDJ, but on a wordpad
if some one have any experience on this, i'd like to get it
this code is on database.xml
 

Posted Sat 20 Nov 21 @ 7:28 pm
locodogPRO InfinityModeratorMember since 2013
bpm is measured in seconds per beat [this can lead to tiny rounding errors and I mean tiny like fractions of a sample, I don't know if this could be improved with allowing a divide operation, instead of a single beat use multiple beats and include a divide, the problem is deeper than I what I understand of the bpm engine]

pos is a measure in seconds
Num is cue number, -1 indicates marker [invisible has no number indication]
color is android.graphics.Color encoding
actions use xml escape chars

If you're editing at the xml level be sure to have backups, one typo could corrupt your database. I can't see working this way being all that successful to be honest.

I made an app to add action poi quickly from inside vdj, but it uses a auto hot key type send keystrokes action, so, it is not safe to use in a performance setting and will never be officially released, and it must be used with caution.
I won't embed the video but here's a link of it being used.
https://youtu.be/x_Oz0QvY7oc?t=11

Good luck.
 

Posted Sat 20 Nov 21 @ 11:26 pm