View Single Post
Old 12th October 2017, 08:08   #7
hatecubed
Junior Member
 
Join Date: Sep 2016
Posts: 33
Hi Quixote,

Have been busy as usual so haven't had much time to reply or play with any new toys/ideas - but I did (being highly suggestible, as I am), happen to to pick up one of these bulbs! They are leaps and bounds ahead of the cheap version I had previously.

Within an hour I had managed to install the bulb, and get it to react to and change with colours from my PC screen. I was pretty blown away just testing it by comparing a full-screen command window (being black), and a Windows Explorer window. Naturally, Milkdrop followed....

So, not sure of how much of this you already know about, but for yourself or anybody else interested, all you really need in addition to the bulb itself is a little program called MaxLifx - you can get the zip from GitHub at https://github.com/stringandstickyta...ive/master.zip (the link won't appear properly in my post, but a google or GitHub visit is all you need).

While the program seems to do a lot of cool things (waveform/audio input response and so on), I haven't really looked at them yet. So I'll list the simple steps I took to get the bulb to respond to the colours in use by Milkdrop. Note that the program uses the average of the colours on the screen - I can't see any other way this could work at the stage, without going even further down the rabbit hole.
  • Download, extract and launch MaxLifx
  • Select 'Discover' from the Bulbs menu
  • Select the bulb you wish to work with, and click the 'Start Screen Colour Thread' button
  • A new thread should appear in the 'Running Threads' box, select it and press the 'Show Thread Settings' button
  • A new dialog will appear, from there, click 'Set Screen Area'
  • A new window will appear, drag this window to cover the area you wish to capture the colour from (which is most likely the entire milkdrop window)
  • Close the area selection window once you are happy with the selection, and the area will be set

You will likely want to play with the 'delay' ms amount to suit your tastes. I am pleasantly surprised how well it reacts, but you'd need to find a balance between being accurate for beat response vs. not inducing a seizure or migraine.

Another bonus of this program is that it is open source, so things can definitely improve from here!

I notice that the official LIFX app can accept input from a Webcam; this is quite buggy apparently, but it stands to reason that one could use the SPOUT modified version of Milkdrop to setup a virtual webcam and funnel milkdrop to the LIFX via that.

I'll try and upload some pictures when I've got a free moment (and am out of the office...)

I am I'd be interested to see how you go with this, having multiple bulbs or the RGB strip!
hatecubed is offline   Reply With Quote