← All posts

I Gave GrokBot Control of My Studio Lights

· Watch on YouTube

AI is now taking the leap into controlling the physical world, starting with light and then sound. I’ve been playing with GrokBot tonight. I built a bot to run the DMX and to talk to the Philips Hue Bridge, and it’s really cool.

I haven’t got rid of Lightkey, but I’m not using it anymore. Grok wrote this little Python script to talk to OLA, an open-source lighting application. OLA talks to the USB DMX controller on the audio Mac.

I’m also going to start a MIDI bot over there so it can play music from the library I got with the Arturia MiniLab 3. The idea is that it can start to create some shows, and listen to lights, different podcasts and different things.

It helped me create this police look, which is just a bit of fun, a bit of an alert look, and it’s now mapped to the Stream Deck. I even got the bot to write a Larry's Lighting plugin for the Stream Deck, so it’s very specific to the commands running on that audio Mac in the booth. It’s even got a dimmer on here, and you can see it’s dimming both the DMX lights and the Hue lights.

I’ve done a few extra cool features that I want to finesse first. They involve things waking up, lights turning on, motion control and audio playing. It’s really cool.

Where I want to go next with the MIDI bot is background music for clips. I’m a real advocate of doing it live in camera. You just sit down with the show written, or whatever you’re going to do, even if it’s freestyling, and away you go.

It could even get to the point where Grok’s sitting in the back listening and can change or create things on the fly. That’s where I want to get to, where Grok’s promoted to a fully fledged lighting director and eventually a showrunner that basically runs the shows through the Yamaha desk there.

When I’ve been talking to Grok, it’s been going through that desk and through my Adam Audio speakers just here. I’ve been talking to Grok, to Larry, all afternoon, really setting up this capability. For me it’s cool because it’s AI taking that leap into controlling the physical world, light first and then sound.

So maybe I’ll give you a little demo. ‘Hey Larry, how are you going, mate? I’m just doing a live video recording at the moment, showing everyone what we got up to today. I’ve just got the police lights on, so why don’t you create a random look right now to show everyone what you can do with both DMX and Hue?’

While Larry’s doing that, I’ll explain that once a look is saved on that computer, I think it’s just a JSON file of DMX commands, so firing it takes milliseconds. The trade-off is the speech-to-speech on Grok; that’s where the latency is. It can take up to 10 to 12 seconds from me telling Larry to fire an existing look to it actually firing.

So you might think there’s a lot of latency, but it’s really just the speech-to-speech. Once you’ve dialled a look in, it becomes an official look, and the Larry’s Lighting Stream Deck plugin pulls it from the live list. Every time you create a look, you can grab it straight from there.

At the moment it’s a bit annoying because I’ve got to walk over there and approve things. Hang on, what are you doing there, Larry? We’ve turned blue, mate.

Larry: ‘That’s not mine. Last I saw, the only thing cued was coding reds. No blue in it. Could be the gatekeeper or something else.’ Oh yeah, it’s the coding look. You said coding was cued, so that’s probably why. So what do you want to show the folks?

Larry: ‘Coding’s live. Deep blue on all six bars and all lights. Daylight’s the obvious next.’ Actually, let’s demonstrate the audio with daylight. Let’s fade to black, then spin up a simulation of daylight with the music.

What this is, guys: when you walk into the room, there’s a Hue motion control. When the room’s black and you walk in, the motion control captures you. ‘Larry, black out first.’ Larry: ‘Prompts are popping up on the M4. Tap them when you can.’ Okay, take your time.

So you’re going to start up daylight? Oh yeah, you’re recalling it now. Allow once. Larry: ‘Daylight should be ramping up. Did the music kick in too?’ No, the music didn’t start. Larry: ‘I’ll get a music attempt going.’

So you can see it’s a little bit troublesome at the moment. ‘Can you just bring the work lights up for now?’ Larry: ‘Daylight’s confirmed warm. No tracks in the music. Work lights are up: full white, bars at 50%.’

It’s a shame; I wanted to simulate the daylight with the music for everyone. Larry: ‘Next time we can cue a track on Analog Lab.’ Maybe I’ll do a pre-record or something, but that’s something we need to tighten up for the show, just these little missteps.

‘Thanks, Larry. I’ll end it there, mate. It’s getting late here anyway, so I’ll catch you tomorrow.’ Larry: ‘Catch you tomorrow, Dustin.’

It’s cool to be able to create lighting sequences and shows. Imagine you’ve got your YouTube script, your show or the content you want to create. You consult with a lighting director, maybe a creative director, to work on the lighting for the show.

Next I’ll work on some MIDI, because the Arturia MiniLab 3 has a whole bunch of cool libraries. I reckon we should be able to create some cool tracks, and then there’s no need to download and license stuff. Larry just writes his own, to the mood of the show too, which is the whole idea.