Page 7 of 10
Re: User colors on your Push!!!
Posted: Sun Jul 28, 2013 4:09 pm
by DRTYWRKS
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!!
Re: User colors on your Push!!!
Posted: Sun Jul 28, 2013 4:14 pm
by triant
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.
Re: User colors on your Push!!!
Posted: Sun Jul 28, 2013 4:17 pm
by triant
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!!
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...
Re: User colors on your Push!!!
Posted: Sun Jul 28, 2013 4:20 pm
by thekillingtree
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.
Re: User colors on your Push!!!
Posted: Sun Jul 28, 2013 4:20 pm
by DRTYWRKS
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"
Re: User colors on your Push!!!
Posted: Sun Jul 28, 2013 4:25 pm
by thekillingtree
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
Re: User colors on your Push!!!
Posted: Sun Jul 28, 2013 4:29 pm
by DRTYWRKS
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.
Re: User colors on your Push!!!
Posted: Sun Jul 28, 2013 4:35 pm
by thekillingtree
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.
Re: User colors on your Push!!!
Posted: Sun Jul 28, 2013 4:42 pm
by triant
awesomeness all around!
just use the color names listed earlier in this thread as a starting point.
i noticed in your code you had something like
- i'm not sure what that means. you either want it to just be
or else
or
or
(substituting any other valid color keyword for 'LIME' of course).
good luck! show us your final product!
Re: User colors on your Push!!!
Posted: Sun Jul 28, 2013 4:54 pm
by DRTYWRKS
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.
Thanks again guys!
Re: User colors on your Push!!!
Posted: Mon Jul 29, 2013 7:09 pm
by drez
WISH1:
Can you try doing this the way DRTYWRKS did? Download as a zip, extract, and dump it into the folder?
Re: User colors on your Push!!!
Posted: Wed Jul 31, 2013 10:50 am
by lodott0
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
Re: User colors on your Push!!!
Posted: Wed Jul 31, 2013 10:54 am
by fishmonkey
did you restore the original SkinDefault.pyc file?
if you need copies, you can get them straight from the Live installer...
Re: User colors on your Push!!!
Posted: Wed Jul 31, 2013 12:12 pm
by lodott0
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
Re: User colors on your Push!!!
Posted: Thu Aug 01, 2013 10:50 pm
by molefonken
anyone knows the code for dark orange?