Guitar Fret Board - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Guitar Fret Board (/showthread.php?tid=25817) |
Guitar Fret Board - ocwasere - 2007-04-14 I'm trying to code a fret board and i'm stuck I need to order key[1] with key[0] EFGABCD BCDEFGA GABCDEF DEFGABC ABCDEFG EFGABCD any help please Code: key = ('EBGDAE','EFGABCD','1221222') debug output E F # G # A # B C # D # E F # G # A # B C # D # E F # G # A # B C # D # E F # G # A # B C # D # E F # G # A # B C # D # E F # G # A # B C # D # >>> i need this E F # G # A # B C # D # B C # D # E F # G # A # G # A # B C # D # E F # D # E F # G # A # B C # A # B C # D # E F # G # E F # G # A # B C # D # don't need C # D # E F # G # A # B F # G # A # B C # D # E Thanks sorry couldn't edit "it didn't read right" - ocwasere - 2007-04-14 I'm trying to code a fret board and i'm stuck I need to order key[1] with key[0][i] EFGABCD BCDEFGA GABCDEF DEFGABC ABCDEFG EFGABCD any help please Code: key = ('EBGDAE','EFGABCD','1221222') debug output E F # G # A # B C # D # E F # G # A # B C # D # E F # G # A # B C # D # E F # G # A # B C # D # E F # G # A # B C # D # E F # G # A # B C # D # >>> i need this E F # G # A # B C # D # B C # D # E F # G # A # G # A # B C # D # E F # D # E F # G # A # B C # A # B C # D # E F # G # E F # G # A # B C # D # don't need C # D # E F # G # A # B F # G # A # B C # D # E Thanks got the check part - ocwasere - 2007-04-15 Code: key = ('EBGDAE','EFGABCD','1221222') debug output key[0][i] = E key[1][s] = E key[0][i] = B key[1][s] = B key[0][i] = G key[1][s] = G key[0][i] = D key[1][s] = D key[0][i] = A key[1][s] = A key[0][i] = E key[1][s] = E >>> I have managed to do it THANKS - ocwasere - 2007-04-15 Code: for i in range(len(key[0])): >>> E F # G # A # B C # D # B C # D # E F # G # A # G # A # B C # D # E F # D # E F # G # A # B C # A # B C # D # E F # G # E F # G # A # B C # D # >>> whats wrong here - ocwasere - 2007-04-15 can someone take a look at these pictures Please and tell me whats happening 25 ControlImage(x,y,1,60, RootDir + 'fill.png')" 'fill.png'=1x1 white pixel screenshot in xbmc_pc note fret 8 13 20 width should be 1 "ControlImage(x,y,1,60, RootDir + 'fill.png')" 'fill.png'=1x1 white pixel screenshot in xbmc here the width looks right but it fades to the bottom picture from my phone of the tv picture is poor quality but it shows what is wronge plus the lines look way to thick thanks - ocwasere - 2007-04-16 # ControlImage(x, y, width, height, filename[, colorKey, aspectRatio]) can some one tell me why aspectRatio default stretch fill.png produces colour bleeding when aspectRatio default stretch fill.gif doesn't is it do with colorKey 0x??FFFFFF if so how do i stop a 1x1 white pixel from bleeding the colour i whan to use png's but i need strait lines # fill.png = 181 bytes (1x1 white pixel) look here fill png ControlImage(x,y,1,60, RootDir + 'fill.png')) # fill.gif = 807 bytes (1x1 white pixel) look here fill gif ControlImage(x,y,1,60, RootDir + 'fill.gif')) thanks - Nuka1195 - 2007-04-16 it depends on how you create the png. In photoshop, I notice if I change the opacity for the level it screws up, but if i create the level with fill at the opacity I want it works fine. I'm no photoshop expert, so I hope that helps. - ocwasere - 2007-04-16 thanks Nuka1195 for you reply it works well with a 1 pixel gif but not with a 1 pixel png png seems to render half white half transparent even if the png is set to no transparency if i use a png with 2 white pixels it works thanks |