User colors on your Push!!!

Come here to discuss Push with other users.
For tech support, please head to http://www.ableton.com/help
DRTYWRKS
Posts: 14
Joined: Fri Dec 09, 2011 10:09 pm

Re: User colors on your Push!!!

Post by DRTYWRKS » Sun Jul 28, 2013 4:09 pm

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:

triant
Posts: 74
Joined: Wed Sep 09, 2009 6:05 pm

Re: User colors on your Push!!!

Post by triant » Sun Jul 28, 2013 4:14 pm

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.

triant
Posts: 74
Joined: Wed Sep 09, 2009 6:05 pm

Re: User colors on your Push!!!

Post by triant » Sun Jul 28, 2013 4:17 pm

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...

thekillingtree
Posts: 81
Joined: Wed Apr 11, 2007 1:04 am
Location: nyc.

Re: User colors on your Push!!!

Post by thekillingtree » Sun Jul 28, 2013 4:20 pm

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.

DRTYWRKS
Posts: 14
Joined: Fri Dec 09, 2011 10:09 pm

Re: User colors on your Push!!!

Post by DRTYWRKS » Sun Jul 28, 2013 4:20 pm

Code: Select all

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"

thekillingtree
Posts: 81
Joined: Wed Apr 11, 2007 1:04 am
Location: nyc.

Re: User colors on your Push!!!

Post by thekillingtree » Sun Jul 28, 2013 4:25 pm

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

DRTYWRKS
Posts: 14
Joined: Fri Dec 09, 2011 10:09 pm

Re: User colors on your Push!!!

Post by DRTYWRKS » Sun Jul 28, 2013 4:29 pm

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.

thekillingtree
Posts: 81
Joined: Wed Apr 11, 2007 1:04 am
Location: nyc.

Re: User colors on your Push!!!

Post by thekillingtree » Sun Jul 28, 2013 4:35 pm

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.

triant
Posts: 74
Joined: Wed Sep 09, 2009 6:05 pm

Re: User colors on your Push!!!

Post by triant » Sun Jul 28, 2013 4:42 pm

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: Select all

... = Rgb.LIME(17)
- i'm not sure what that means. you either want it to just be

Code: Select all

Rgb.LIME
or else

Code: Select all

Rgb.LIME.highlight()
or

Code: Select all

RGB.LIME.shade(1)
or

Code: Select all

Rgb.LIME.shade(2)
(substituting any other valid color keyword for 'LIME' of course).

good luck! show us your final product!

DRTYWRKS
Posts: 14
Joined: Fri Dec 09, 2011 10:09 pm

Re: User colors on your Push!!!

Post by DRTYWRKS » Sun Jul 28, 2013 4:54 pm

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!

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

Re: User colors on your Push!!!

Post by drez » Mon Jul 29, 2013 7:09 pm

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

lodott0
Posts: 21
Joined: Fri May 24, 2013 9:59 pm

Re: User colors on your Push!!!

Post by lodott0 » Wed Jul 31, 2013 10:50 am

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

fishmonkey
Posts: 4103
Joined: Wed Oct 24, 2007 4:50 am

Re: User colors on your Push!!!

Post by fishmonkey » Wed Jul 31, 2013 10:54 am

did you restore the original SkinDefault.pyc file?

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

lodott0
Posts: 21
Joined: Fri May 24, 2013 9:59 pm

Re: User colors on your Push!!!

Post by lodott0 » Wed Jul 31, 2013 12:12 pm

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 :)

molefonken
Posts: 60
Joined: Mon Jul 09, 2012 10:19 am

Re: User colors on your Push!!!

Post by molefonken » Thu Aug 01, 2013 10:50 pm

anyone knows the code for dark orange?

Post Reply