Accesso rapido:  

Forum: VirtualDJ Skins

Topic: Using Multple Rhythm Waveform Sections

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

SupaconPRO InfinityMember since 2005
In my new version of VideoVision, I wanted to have multiple waveforms so that you could independently see deck 1's waveform on top of deck 2's. With the only implementation of this I have seen, you have to define two separate rhythm elements and make the color of one of the chan's the same as the background color to hide it, essentially.

With the way virtualDJ works, Chan1 is the unselected deck, and chan2 is the selected deck, so when you switch the active deck (i.e. by pressing the tab key) the waveforms actually swap positions. The active deck will always be on the bottom, and the inactive deck on the top, and the color of each position will always be the same. Also, the cue markers do NOT change position, even though the waveform displays do - I can't seem to find a good way to make this change with the waveforms, so it'd be easier to make the waveforms each stay in a certain spot.

Is there a way to have the color change, but the position stay the same? To see what I'm talking about, try downloading the latest version of VideoVision 5 and use the"On Top" waveform pannel button at the top of the skin. You can get it here:
http://www.compudj.com/skins/VideoVision5_1440B3.zip

My code looks like this:


--background waveform rhythm (top)
<rhythm pannel="2">
<size width="1440" height="41"/>
<pos x="0" y="26"/>
<chan1 x="+0" y="+2800"/>
<chan2 x="+0" y="+0"/>
<both x="+0" y="+2800"/>
<cue2>
<size width="1440" height="41"/>
<pos x="0" y="28"/>
<down x="0" y="3678"/>
<mask x="568" y="1804" width="11" height="41"/>
<text dx="9" dy="-2" font="Tahoma" size="17" color="#FF8213"/>
</cue2>
</rhythm>

--Active waveform (bottom)
<rhythm pannel="2">
<size width="1440" height="41"/>
<pos x="0" y="68"/>
<chan1 x="+0" y="+0"/>
<chan2 x="+0" y="+1600"/>
<both x="+0" y="+1600"/>

<grid2 width="5" mainwidth="11">
<size width="1440" height="7"/>
<pos x="0" y="118"/>
<down x="0" y="1718"/>
</grid2>
<grid1 width="5" mainwidth="11">
<size width="1440" height="7"/>
<pos x="0" y="110"/>
<down x="0" y="+2800"/>
</grid1>
<cue1>
<size width="1440" height="41"/>
<pos x="0" y="68"/>
<down x="0" y="3595"/>
<mask x="568" y="1804" width="11" height="41"/>
<text dx="9" dy="-2" font="Tahoma" size="17" color="#FF2A30"/>
</cue1>
</rhythm>



I think I'm probably missing some functionality I could make use of, because I know in the default skin, each deck has a different color, and that color is highlighted or dimmed based on whether that deck is selected... I'm not doing anything like that, but would that be a way to solve this issue?

I much appreciate any assistance or advice!
-J.D.
 

Inviato Thu 03 Jan 08 @ 12:43 pm
SupaconPRO InfinityMember since 2005
I think I might have found the anwser, but I'm having trouble implementing it.

I notice in the stock skins, the <rhythm> element uses different sub-elements for each part of the waveform.

i.e.

<rhythm>
<chan1_active1 x="35" y="961"></chan1_active1>
<both_active1 x="35" y="1051"></both_active1>
<chan2_active1 x="35" y="1142"></chan2_active1>
<chan2_active2 x="35" y="1142"></chan2_active2>
<both_active2 x="35" y="1051"></both_active2>
<chan1_active2 x="35" y="961"></chan1_active2>
</rhythm>



When I try to add the _active1 and _active2 elements in my skin, I get an error when loading it at the line number where the <rhythm> element starts. Why would this be?
 

Inviato Thu 03 Jan 08 @ 1:29 pm
SupaconPRO InfinityMember since 2005
Ah, I think it might be because you need all six of the elements there, or it won't work. I must have left one out or something....
 

Inviato Thu 03 Jan 08 @ 1:35 pm
k_onePRO InfinityMember since 2006
haha, I love the fact that you're having a discussion with yourself :P
 

Inviato Fri 04 Jan 08 @ 4:58 am
SupaconPRO InfinityMember since 2005
Sometimes I just don't think hard enough before posting, but at least this could potentally help others in my situation someday :)
I can see how it is humorous though, yeah...
 

Inviato Fri 04 Jan 08 @ 9:43 am
listen2PRO InfinityMember since 2005
Did you figure it out? My miniscratch skin has an example of split wavforms. I think it might be what your looking for, also try vmix 4 or 5.
 

Inviato Fri 04 Jan 08 @ 12:31 pm
SupaconPRO InfinityMember since 2005
Yeah, I got it working the way I wanted, but perhaps I'll take a look at those other skins for ideas at a later time.

I wasn't too explicit but yeah, it works great to use the <chanXactiveX> elements, but you need all six of them in each of the <rhythm> elements, or it won't work... I guess every time I tried it until the end I had left one out.

It'd sure be nice if VDJ could give more explicit error messages as to why a skin won't load, but I got it eventually.
 

Inviato Fri 04 Jan 08 @ 1:43 pm


(Vecchi argomenti e forum sono automaticamente chiusi)