I am creating a skin on 3 decks. There was a problem with rhythm. I do not understand how they work. Here's the code:
<size width="958" height="51"/>
<pos x="33" y="25"/>
<chan1_active1 x="7" y="3665" />
<chan1_active2 x="7" y="4060" />
<both_active1 x="7" y="3744"/>
<chan2_active1 x="7" y="3823" />
<chan2_active2 x="7" y="3902" />
<both_active2 x="7" y="3981"/>
<chan3_active1 x="7" y="4139" />
<chan3_active2 x="7" y="4218" />
<both_active3 x="7" y="4297"/>
<grid1 width="5" mainwidth="11">
<size width="958" height="9"/>
<pos x="33" y="77"/>
<active1 x="7" y="3665"/>
<active2 x="7" y="4060"/>
</grid1>
<grid2 width="5" mainwidth="11">
<size width="958" height="9"/>
<pos x="33" y="87"/>
<active1 x="7" y="3823"/>
<active2 x="7" y="3902"/>
</grid2>
<grid3 width="5" mainwidth="11">
<size width="958" height="9"/>
<pos x="33" y="87"/>
<active1 x="7" y="4139"/>
<active2 x="7" y="4218"/>
</grid3>
2 tracks are displayed, but 3 is not visible. What did I do wrong?
<size width="958" height="51"/>
<pos x="33" y="25"/>
<chan1_active1 x="7" y="3665" />
<chan1_active2 x="7" y="4060" />
<both_active1 x="7" y="3744"/>
<chan2_active1 x="7" y="3823" />
<chan2_active2 x="7" y="3902" />
<both_active2 x="7" y="3981"/>
<chan3_active1 x="7" y="4139" />
<chan3_active2 x="7" y="4218" />
<both_active3 x="7" y="4297"/>
<grid1 width="5" mainwidth="11">
<size width="958" height="9"/>
<pos x="33" y="77"/>
<active1 x="7" y="3665"/>
<active2 x="7" y="4060"/>
</grid1>
<grid2 width="5" mainwidth="11">
<size width="958" height="9"/>
<pos x="33" y="87"/>
<active1 x="7" y="3823"/>
<active2 x="7" y="3902"/>
</grid2>
<grid3 width="5" mainwidth="11">
<size width="958" height="9"/>
<pos x="33" y="87"/>
<active1 x="7" y="4139"/>
<active2 x="7" y="4218"/>
</grid3>
2 tracks are displayed, but 3 is not visible. What did I do wrong?
发表时间 Mon 17 Oct 11 @ 3:09 am
You have to use "RYTHMZONE" and not "RYTHM" in order to display more than 2 decks.
Read here: http://www.virtualdj.com/wiki/Skin%20SDK%20.html
The rhythmzone element defines where and how the rhythm curves will be displayed. It is much easier and has a lot more options than the rhythm element.
The syntax of the rhythmzone element is <rhythmzone mirror="" upsidedown="">.
The rhythmzone definitions are:
<size width="" height=""> : Give the width and height of the rhythm window
<pos x="" y=""> : give the position of the rhythm window on the screen
<up x="" y=""> : give the background graphic to be used
<mask x="" y=""> : give the position of the grayscale mask that is used to display the rhythmzone
<colors chanX="" chanX_left="" chanX_right="" chanX_active=""> : give the color in HTML format to be used for each channel, X is the number of the channel. There should be as many chanX parameters as waves you want to display. "black" and "#000000" waves are ignored.
<rhythm y="" height=""> : give the vertical position and height of the waves.
<grid height="" width="" mainwidth=""> : Set up the CBG (computed beat grid) for the all channels. The <grid> element has these sub-elements :
<pos y1="" y2="" yX=""> : give the vertical position of all grids
<cue y="" height=""> : give the vertical position and height of the cue marker. The <cue> element has these sub-elements :
<mask x="" y"" width="" height=""> : give the position and size of the cue mask
<text dx="" dy="" color="" ...> : set the position and color of the cue text (see <textzone>)
Read here: http://www.virtualdj.com/wiki/Skin%20SDK%20.html
The rhythmzone element defines where and how the rhythm curves will be displayed. It is much easier and has a lot more options than the rhythm element.
The syntax of the rhythmzone element is <rhythmzone mirror="" upsidedown="">.
The rhythmzone definitions are:
<size width="" height=""> : Give the width and height of the rhythm window
<pos x="" y=""> : give the position of the rhythm window on the screen
<up x="" y=""> : give the background graphic to be used
<mask x="" y=""> : give the position of the grayscale mask that is used to display the rhythmzone
<colors chanX="" chanX_left="" chanX_right="" chanX_active=""> : give the color in HTML format to be used for each channel, X is the number of the channel. There should be as many chanX parameters as waves you want to display. "black" and "#000000" waves are ignored.
<rhythm y="" height=""> : give the vertical position and height of the waves.
<grid height="" width="" mainwidth=""> : Set up the CBG (computed beat grid) for the all channels. The <grid> element has these sub-elements :
<pos y1="" y2="" yX=""> : give the vertical position of all grids
<cue y="" height=""> : give the vertical position and height of the cue marker. The <cue> element has these sub-elements :
<mask x="" y"" width="" height=""> : give the position and size of the cue mask
<text dx="" dy="" color="" ...> : set the position and color of the cue text (see <textzone>)
发表时间 Mon 17 Oct 11 @ 3:54 am
I'm a day can not understand with this item.
Could you write the code this item: I have a skin on 3 decks and I want them to selected 1-2, 1-3, 2-3 as well and display a track. Enter your coordinates, I'll deal with it himself.
Thank, you.
Could you write the code this item: I have a skin on 3 decks and I want them to selected 1-2, 1-3, 2-3 as well and display a track. Enter your coordinates, I'll deal with it himself.
Thank, you.
发表时间 Mon 17 Oct 11 @ 1:04 pm