I'm having an issue with drawing scratchwaves. The wave itself is showing and working fine, but I can't get the overlay/background marker to show.
I've drawn a thin white line in the PNG and specified size/width/position/background but nothing shows. Instead I'm getting inverted coloured triangles (cue markers).
What gives?
I've drawn a thin white line in the PNG and specified size/width/position/background but nothing shows. Instead I'm getting inverted coloured triangles (cue markers).
What gives?
Inviato Wed 21 Jan 15 @ 12:39 pm
How thin ?
If you don't have a 1920x1080 screen, and your line is 1px width, then mostly you won't ever see it.
If you don't have a 1920x1080 screen, and your line is 1px width, then mostly you won't ever see it.
Inviato Wed 21 Jan 15 @ 12:49 pm
It's 2 pixels wide and 68 high. I used your skin as an example and made my line the same transparency.
The skin itself is 1280x800 but no matter what size I make it on the screen (my screen is HD) there's no line.
Where are these cue triangles coming from? The scratchwaves on your skin don't have them.
Ah, I notice that yours are hidden (black) on the horizontal wave.
The skin itself is 1280x800 but no matter what size I make it on the screen (my screen is HD) there's no line.
Where are these cue triangles coming from? The scratchwaves on your skin don't have them.
Ah, I notice that yours are hidden (black) on the horizontal wave.
Inviato Wed 21 Jan 15 @ 1:05 pm
Code pls :)
Inviato Wed 21 Jan 15 @ 1:53 pm
groovindj wrote :
Where are these cue triangles coming from?
Dunno, I think it's hardcoded, but I may be wrong...
Inviato Wed 21 Jan 15 @ 1:55 pm
<dropzone chan="1">
<size width="370" height="68"></size>
<pos x="59" y="255"></pos>
</dropzone>
<dropzone chan="2">
<size width="370" height="68"></size>
<pos x="850" y="255"></pos>
</dropzone>
<scratchwave chan="1" orientation="horizontal">
<pos x="59" y="255"/>
<size width="370" height="68"/>
<overlay>
<size width="2" height="68"/>
<pos x="+185" y="+0"/>
<background x="13" y="1639"/> white line
</overlay>
</scratchwave>
<scratchwave chan="2" orientation="horizontal">
<pos x="850" y="255"/>
<size width="370" height="68"/>
<overlay>
<size width="2" height="68"/>
<pos x="+185" y="+0"/>
<background x="13" y="1939"/> white line
</overlay>
</scratchwave>
I included the dropzones too because it's the same area - not that it matters, but....
Also I notice in scratchwave code the use of center="+100" or similar. Center of what?
<size width="370" height="68"></size>
<pos x="59" y="255"></pos>
</dropzone>
<dropzone chan="2">
<size width="370" height="68"></size>
<pos x="850" y="255"></pos>
</dropzone>
<scratchwave chan="1" orientation="horizontal">
<pos x="59" y="255"/>
<size width="370" height="68"/>
<overlay>
<size width="2" height="68"/>
<pos x="+185" y="+0"/>
<background x="13" y="1639"/> white line
</overlay>
</scratchwave>
<scratchwave chan="2" orientation="horizontal">
<pos x="850" y="255"/>
<size width="370" height="68"/>
<overlay>
<size width="2" height="68"/>
<pos x="+185" y="+0"/>
<background x="13" y="1939"/> white line
</overlay>
</scratchwave>
I included the dropzones too because it's the same area - not that it matters, but....
Also I notice in scratchwave code the use of center="+100" or similar. Center of what?
Inviato Wed 21 Jan 15 @ 2:04 pm
I would advice to :
- make sure you saved the png, AND added it to zip (I very often make one of those two mistakes)
- try to give an absolute pos to your <overlay/>
Otherwise I don't see any flaw... Stills, maybe you should replace chan="1" with deck="left".
AFAIK, this doesn't work with scratchwaves, but only with rhythmzones. The purpose is to set a "not straight-middle centered" ear-line. For instance, see in my skin in the waveview menu one of the 'per deck' waves, the ear-line is decayed to the left it is not centered.
- make sure you saved the png, AND added it to zip (I very often make one of those two mistakes)
- try to give an absolute pos to your <overlay/>
Otherwise I don't see any flaw... Stills, maybe you should replace chan="1" with deck="left".
groovindj wrote :
Also I notice in scratchwave code the use of center="+100" or similar. Center of what?
AFAIK, this doesn't work with scratchwaves, but only with rhythmzones. The purpose is to set a "not straight-middle centered" ear-line. For instance, see in my skin in the waveview menu one of the 'per deck' waves, the ear-line is decayed to the left it is not centered.
Inviato Wed 21 Jan 15 @ 2:23 pm
Panic over - I fixed it.
I'd typed in the wrong number for the position of the line :-)
It was 1369 and not 1639 or 1939 (see code above). Too much skinning in one day!
I'd typed in the wrong number for the position of the line :-)
It was 1369 and not 1639 or 1939 (see code above). Too much skinning in one day!
Inviato Wed 21 Jan 15 @ 2:34 pm
Lol, glad you sorted it out :)
Inviato Wed 21 Jan 15 @ 2:49 pm
Cue markers (triangles) for horizontal scratchwaves are indeed hardcoded for now.
Inviato Wed 21 Jan 15 @ 6:32 pm