The Following User Says Thank You to TrueJournals For This Useful Post: | ||
|
2009-06-14
, 18:41
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#22
|
NJoy is the name of the LED controller in the n810. In the NJoy, all three colors are controlled independently, so the last three parameters give the programming for each LED color (with red, green, and blue, it should be possible to make any color).
Here's the tricky part: getting it all to work together. Remember that the colors are controlled INDEPENDENTLY. They all work individually with their separate programming, and don't really interact with each other. Having said that, the programming given to them is just a string of numbers. Each command consists of four digits. From mce.ini, here's a short guide:
I'm not quite sure how the "wait for x trigger" and "send x trigger" works. I'm assuming you can have, for example, the "wait for blue trigger" command in blue, and blue will pause execution until another color gives the "send blue trigger" command, but I can't test this, because I don't have a n810.Code:# 0000 -- Jump to the start of the pattern for the channel # 40xx -- Set channel brightness # xxyy -- Increment/decrement # xx determines the speed; # 01-3f -- short step time (granularity 0.49ms) # 41-7f -- long step time (granularity 15.6ms) # yy determines the increment/decrement steps # 00-7f -- increment steps 00 = 0 steps, 7f = 127 steps # 80-ff -- decrement steps 80 = 0 steps, ff = 127 steps # # Use 0 steps to create pauses # Two consecutive increment/decrement sequences are needed # to cover the entire range from 0-255 # c000 -- End pattern execution # e002 -- Send red trigger # e004 -- Send green trigger # e008 -- Send blue trigger # e080 -- Wait for red trigger # e100 -- Wait for green trigger # e200 -- Wait for blue trigger
PatternError=0;1;0;40002000200040ff200020000000;0000;0000
|
2009-06-14
, 23:26
|
|
Posts: 480 |
Thanked: 378 times |
Joined on Apr 2008
@ Chicago-ish
|
#23
|
|
2009-06-15
, 01:18
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#24
|
The Following User Says Thank You to LABAUDIO For This Useful Post: | ||
|
2010-05-20
, 03:39
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#25
|
Im 'working' on the Synesthesia mp3 player and I put there a fade trough the colors in relation to the song/podcast timing so will be possible to understand approximately the point is playing just watching the led (I just didnt link to the leds but the color generation is there.
I already made some experiment to show the lyrics for a sort of karaoke (generation of the xml and sync to the mp3) and I was thinking to use the leds for timing.
I have to browse zeinternet to see how I can access to the raw mp3 stream and try to sync some led effects to the beat/bass/whatever and then let the user choose between the 3 modes.
@LABAUDIO
the problem is I have no idea how integrate the os functions with the mce.ini led preset. I just set the leds colors in relation of the function I made in my applications (or could be possible, if you are brave enough, try to add the leds event in any existent applications
)
Here's the tricky part: getting it all to work together. Remember that the colors are controlled INDEPENDENTLY. They all work individually with their separate programming, and don't really interact with each other. Having said that, the programming given to them is just a string of numbers. Each command consists of four digits. From mce.ini, here's a short guide:
Disclaimer: If a program I wrote doesn't work/breaks your tablet... It's not my fault
mcedit | Utility Calculators (WIP) | PyRDesktop
My Blog | Twitter