All times are UTC

 
 



Post new topic Reply to topic  [ 136 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10  Next
Author Message
 Post subject: Re: User colors on your Push!!!
PostPosted: Sun Jul 28, 2013 4:09 pm 

Joined: Fri Dec 09, 2011 10:09 pm
Posts: 14
I started to get really excited about learning python better so I could do more with my push, but having this much trouble doing simple color changes has somewhat discouraged me... I'm usually pretty good at this sort of thing. What am I doing wrong!! :oops: :cry:


Top
 Profile  
 
 Post subject: Re: User colors on your Push!!!
PostPosted: Sun Jul 28, 2013 4:14 pm 

Joined: Wed Sep 09, 2009 6:05 pm
Posts: 73
thekillingtree wrote:
DRTYWRKS wrote:
I can't seem to get the file to work either. I placed it in the correct directory and then restarted live without success. My push just remains on the screen "Please start live to play..."


same here.

this is a fresh 9.05 install, btw.


have either of you tried different SkinDefault.py customizations with any success? i doublechecked and the file in the git repository is identical to the one i'm using in my Remote Scripts > Push directory.

you might try working stepwise - fresh install > make sure push works normally > download the decompiled python script with default colors (found HERE) > put it in the Push directory and make sure it works > replace with my file and see if it works. and be sure at all times never to mess with any of the .pyc files in the Remote Scripts > Push directory, or add anything to it besides the SkinDefault.py file.

let me know if you make any headway, or not.


Top
 Profile  
 
 Post subject: Re: User colors on your Push!!!
PostPosted: Sun Jul 28, 2013 4:17 pm 

Joined: Wed Sep 09, 2009 6:05 pm
Posts: 73
DRTYWRKS wrote:
I started to get really excited about learning python better so I could do more with my push, but having this much trouble doing simple color changes has somewhat discouraged me... I'm usually pretty good at this sort of thing. What am I doing wrong!! :oops: :cry:


if you think it's a problem with the code you're inserting, maybe you could post your file here so we could take a look? make sure to put it inside the "code" BBCode tags to preserve formatting...


Top
 Profile  
 
 Post subject: Re: User colors on your Push!!!
PostPosted: Sun Jul 28, 2013 4:20 pm 

Joined: Wed Apr 11, 2007 1:04 am
Posts: 85
Location: nyc.
actually, i just got it to work.

i downloaded the files as a zip from github (had individually downloaded the python script), restarted live and boom it worked.

i don't know why that distinction would make a difference but that's literally the only change i did after trying half a dozen times with the individually downloaded python file.

edit: just realized i didn't actually delete the .pyc file.


Last edited by thekillingtree on Sun Jul 28, 2013 4:30 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: User colors on your Push!!!
PostPosted: Sun Jul 28, 2013 4:20 pm 

Joined: Fri Dec 09, 2011 10:09 pm
Posts: 14
Code:
from Colors import Basic, Rgb, Pulse, Blink, BiLed

class Colors:

    class Option:
        Selected = BiLed.YELLOW
        Unselected = BiLed.YELLOW_HALF
        On = BiLed.YELLOW
        Off = BiLed.OFF
        Unused = BiLed.OFF

    class List:
        ScrollerOn = BiLed.AMBER
        ScrollerOff = BiLed.AMBER_HALF

    class DefaultButton:
        On = Basic.FULL
        Off = Basic.HALF
        Disabled = Basic.OFF
        Alert = Basic.FULL_BLINK_SLOW

    class DefaultMatrix:
        On = Rgb.WHITE
        Off = Rgb.BLACK

    class Scales:
        Selected = BiLed.YELLOW
        Unselected = BiLed.GREEN_HALF
        FixedOn = BiLed.AMBER
        FixedOff = BiLed.YELLOW_HALF
        Diatonic = BiLed.AMBER
        Chromatic = BiLed.YELLOW_HALF

    class Instrument:
        NoteBase = Rgb.LIME(17)
        NoteScale = Rgb.ORCHID(49)
        NoteForeign = Rgb.MAGENTA
        NoteInvalid = Rgb.BLACK
        NoteInactive = Rgb.BLACK
        NoteOff = Rgb.BLACK
        Feedback = Rgb.SKY(37)
        FeedbackRecord = Rgb.RED.shade(1)

    class Recording:
        On = Basic.FULL
        Off = Basic.HALF
        Transition = Basic.FULL_BLINK_FAST

    class Session:
        SceneSelected = BiLed.GREEN
        SceneUnselected = BiLed.OFF
        SceneTriggered = BiLed.GREEN_BLINK
        ClipStopped = Rgb.AMBER
        ClipStarted = Pulse(Rgb.GREEN.shade(1), Rgb.GREEN, 48)
        ClipRecording = Pulse(Rgb.BLACK, Rgb.RED, 48)
        ClipTriggeredPlay = Blink(Rgb.GREEN, Rgb.BLACK, 24)
        ClipTriggeredRecord = Blink(Rgb.RED, Rgb.BLACK, 24)
        ClipEmpty = Rgb.BLACK
        RecordButton = Rgb.RED.shade(2)

    class Zooming:
        Selected = Rgb.AMBER
        Stopped = Rgb.RED
        Playing = Rgb.GREEN
        Empty = Rgb.BLACK

    class TrackState:
        Common = Rgb.BLACK
        Stopped = Rgb.RED
        Disabled = Basic.OFF

    class DrumGroup:
        PadSelected = Rgb.OCEAN
        PadSelectedNotSoloed = Rgb.OCEAN
        PadFilled = Rgb.YELLOW
        PadEmpty = Rgb.YELLOW.shade(2)
        PadMuted = Rgb.AMBER.shade(1)
        PadMutedSelected = Rgb.OCEAN.shade(1)
        PadSoloed = Rgb.BLUE
        PadSoloedSelected = Rgb.OCEAN.highlight()
        PadInvisible = Rgb.BLACK

    class LoopSelector:
        Playhead = Rgb.GREEN
        PlayheadRecord = Rgb.RED
        SelectedPage = Rgb.OCEAN
        InsideLoop = Rgb.WHITE
        OutsideLoop = Rgb.DARK_GREY

    class NoteEditor:
        Step = Rgb.SKY.highlight()
        StepHighVelocity = Rgb.OCEAN
        StepFullVelocity = Rgb.BLUE
        StepMuted = Rgb.AMBER.shade(2)
        StepEmpty = Rgb.BLACK
        StepDisabled = Rgb.RED.shade(2)
        Playhead = Rgb.GREEN
        PlayheadRecord = Rgb.RED
        QuantizationSelected = BiLed.GREEN
        QuantizationUnselected = BiLed.YELLOW

    class NoteRepeat:
        RateSelected = BiLed.RED
        RateUnselected = BiLed.YELLOW

    class Mixer:
        SoloOn = Rgb.BLUE
        SoloOff = Rgb.DARK_GREY
        MuteOn = Rgb.DARK_GREY
        MuteOff = BiLed.YELLOW
        StopTrack = Rgb.RED
        StoppingTrack = Blink(Rgb.RED, Rgb.BLACK, 24)
        ArmSelected = BiLed.RED
        ArmUnselected = BiLed.RED_HALF

    class Browser:
        Load = BiLed.GREEN
        LoadNext = BiLed.YELLOW
        LoadNotPossible = BiLed.OFF
        Loading = BiLed.OFF

    class MessageBox:
        Cancel = BiLed.GREEN


However I did also try your file posted above. So it doesnt work either way. The only section I changed here was the class instrument. Did I code it right? Syntax wise that is. Also I edited this in notepad.. Does this method work? I saved the file as "SkinDefault.py"


Top
 Profile  
 
 Post subject: Re: User colors on your Push!!!
PostPosted: Sun Jul 28, 2013 4:25 pm 

Joined: Wed Apr 11, 2007 1:04 am
Posts: 85
Location: nyc.
are you on a windows machine?

this was the link i used that worked (the same seapush files): https://github.com/mrk/seapush/archive/master.zip


Top
 Profile  
 
 Post subject: Re: User colors on your Push!!!
PostPosted: Sun Jul 28, 2013 4:29 pm 

Joined: Fri Dec 09, 2011 10:09 pm
Posts: 14
using Thekillingtree's method I got it to work. Like him I too was just saving the link as rather than downloading the zip.. This now works... My next question is, how I can I edit this file to worth with the colors I choose. What editor should I be using. Thanks for the solution! 'Preesh.

Also bravo beautiful color choice. So much more relaxing, but alas I must have lime green.

edit. I am on a windows machine.


Top
 Profile  
 
 Post subject: Re: User colors on your Push!!!
PostPosted: Sun Jul 28, 2013 4:35 pm 

Joined: Wed Apr 11, 2007 1:04 am
Posts: 85
Location: nyc.
DRTYWRKS wrote:
using Thekillingtree's method I got it to work. Like him I too was just saving the link as rather than downloading the zip.. This now works... My next question is, how I can I edit this file to worth with the colors I choose. What editor should I be using. Thanks for the solution! 'Preesh.

Also bravo beautiful color choice. So much more relaxing, but alas I must have lime green.

edit. I am on a windows machine.



awesome, i'm glad it worked for you! i had remembered having this issue before downloading from github.

you should be able to just edit the skindefault.py file in notepad (if you're on pc) or textwrangler if you're on a mac.


Last edited by thekillingtree on Sun Jul 28, 2013 5:20 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: User colors on your Push!!!
PostPosted: Sun Jul 28, 2013 4:42 pm 

Joined: Wed Sep 09, 2009 6:05 pm
Posts: 73
8) awesomeness all around! 8)

just use the color names listed earlier in this thread as a starting point.

i noticed in your code you had something like
Code:
... = Rgb.LIME(17)
- i'm not sure what that means. you either want it to just be
Code:
Rgb.LIME
or else
Code:
Rgb.LIME.highlight()
or
Code:
RGB.LIME.shade(1)
or
Code:
Rgb.LIME.shade(2)
(substituting any other valid color keyword for 'LIME' of course).

good luck! show us your final product!


Top
 Profile  
 
 Post subject: Re: User colors on your Push!!!
PostPosted: Sun Jul 28, 2013 4:54 pm 

Joined: Fri Dec 09, 2011 10:09 pm
Posts: 14
http://instagram.com/p/cUR3p8Pxsu/
Got it to work and I've begun customization, I copied the code in a post from the first page, but I understand why my files weren't compiling before. I was using those invalid numbers inside the parenthesis. :mrgreen:

Thanks again guys!


Top
 Profile  
 
 Post subject: Re: User colors on your Push!!!
PostPosted: Mon Jul 29, 2013 7:09 pm 

Joined: Tue Oct 28, 2003 10:23 pm
Posts: 497
Location: Dallas, TX
WISH1:

Can you try doing this the way DRTYWRKS did? Download as a zip, extract, and dump it into the folder?

_________________
http://www.twitter.com/dreznicek
http://www.soundcloud.com/dreznicek
MacBook Pro Retina Laptop, 2.7Ghz i7, 16Gig RAM, 500G SSD, Live 9, Push, Novation SL25 Mk2, iPad (TouchOSC, Lemur, Touch-Able), Reason


Top
 Profile  
 
 Post subject: Re: User colors on your Push!!!
PostPosted: Wed Jul 31, 2013 10:50 am 

Joined: Fri May 24, 2013 9:59 pm
Posts: 21
Having some trouble now. I have been using user colors since i got my push, but now it says "please start live to play..." even when I deleted the skindefault.py (custom colors). Does anyone think it might help to restore the midi remote script folder and start fresh? If so, does anyone have the default files? I might have failed taking backup when i originally started playing around with user colors..

edit: I am on mac. If that has any impact on anything


Top
 Profile  
 
 Post subject: Re: User colors on your Push!!!
PostPosted: Wed Jul 31, 2013 10:54 am 

Joined: Wed Oct 24, 2007 4:50 am
Posts: 3971
did you restore the original SkinDefault.pyc file?

if you need copies, you can get them straight from the Live installer...


Top
 Profile  
 
 Post subject: Re: User colors on your Push!!!
PostPosted: Wed Jul 31, 2013 12:12 pm 

Joined: Fri May 24, 2013 9:59 pm
Posts: 21
fishmonkey wrote:
did you restore the original SkinDefault.pyc file?

if you need copies, you can get them straight from the Live installer...



as far as i am aware it was there all the time. Both the original and the user one. But thanks, i will get the live installer once the internet is up and running in my apartment :)


Top
 Profile  
 
 Post subject: Re: User colors on your Push!!!
PostPosted: Thu Aug 01, 2013 10:50 pm 

Joined: Mon Jul 09, 2012 10:19 am
Posts: 60
anyone knows the code for dark orange?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 136 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10  Next

All times are UTC

 
 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group