Posts

Showing posts from January, 2025

Lua for GrandMA3 Episode 6 - Generic For Loops

Hey lighting folks! The following is the transcript from my YouTube video,  Lua for MA3 Ep 6 - Generic For Loops This video is part of my  Lua for GrandMA3 Tutorial  series. Please check out my channel,  From Dark To Light , on YouTube, and you can find the code to go along with my tutorials here on  GitHub . Hello lighting people! Welcome back to my Lua for GrandMA3 tutorial series. Today we're going to be jumping through all kinds of hoops. Hoops? Wait, loops! Oh and there's no jumping involved actually, we're just talking about loops; by continuing on the topic of tables, which I've been talking about for the last two videos, and specifically I'm going to explain how the generic for loop works. Note that I specified “generic” for loop; the reason is because there are two types of for loops, “numeric” and “generic.” Generic for loops are the only ones that are specific to use with tables, so we're going to focus on these today. Basically a generic for loop ...

Lua for GrandMA3 Episode 5 - UI Elements and MessageBox

Hey lighting folks! The following is the transcript from my YouTube video,  Lua for MA3 Ep 5 - UI Elements and MessageBox This video is part of my  Lua for GrandMA3 Tutorial  series. Please check out my channel,  From Dark To Light , on YouTube, and you can find the code to go along with my tutorials here on  GitHub . Hello lighting people, welcome back to my Lua for GrandMA3 tutorial series. In this episode we're going to talk about what has to be my single favorite thing about Lua – UI elements – and my absolute favorite MA3 function, MessageBox, which quickly and easily makes a UI element. Now in case you don't know, or don't remember, what “UI” means, it just stands for “User Interface;” in other words, a UI element is anything the user can see and interact with rather than something that just happens in the background in 1s and 0s. UI elements allow you to take input from the user and use it to make different things happen based on their choice. This is the...

Lua for GrandMA3 Episode 4 - Building Tables in Lua

 Hey lighting folks! The following is the transcript from my YouTube video,  Lua for MA3 Ep 4 - Building Tables in Lua This video is part of my  Lua for GrandMA3 Tutorial  series. Please check out my channel,  From Dark To Light , on YouTube, and you can find the code to go along with my tutorials here on  GitHub . Hello lighting people! Welcome back to my Lua for GrandMA3 tutorial series. Time to make a trip to the hardware store ‘cuz we're going to be building tables today! Wait – whoops. Wrong kind of table. These ones are not made with a hammer and nails, and you can't eat, do crafts, or set your lighting console on them either. Instead we're going to be talking about a Lua tool called a table that is one of the most powerful tools in Lua and it can be used to sort, organize, label, and retrieve data really easily. If you've used other programming languages you may think of them similarly to arrays; but the concept is more similar to the arrays of Ja...

Lua for GrandMA3 Episode 3 - Command Line Interaction

 Hey lighting folks! The following is the transcript from my YouTube video,  Lua for MA3 Ep 3 - Command Line Interaction This video is part of my  Lua for GrandMA3 Tutorial  series. Please check out my channel,  From Dark To Light , on YouTube, and you can find the code to go along with my tutorials here on  GitHub . Hello lighting people! Welcome back to my Lua for GrandMA3 tutorial series! While I do need to continue explaining how Lua works, I decided for today to take a break from that and show you an important, simple MA3 function and just explain some things about the MA3 system and how it uses code. I may or may not use this information a ton in examples in the next few videos, but I do know that having this knowledge will help you start putting things together to build your own plugins as soon as I give you the concepts in the next few videos. So what are we actually talking about today? We're actually talking about how to do major normal functio...

Lua for GrandMA3 Episode 2 - If Statements, Value Comparisons, and Local Variables

Hey lighting folks! The following is the transcript from my YouTube video,  Lua for MA3 Ep 2 - If Statements, Value Comparisons, and Local Variables This video is part of my  Lua for GrandMA3 Tutorial  series. Please check out my channel,  From Dark To Light , on YouTube, and you can find the code to go along with my tutorials here on  GitHub . Hello lighting people! Welcome back to my Lua for GrandMA3 tutorial series. In this episode we are going to talk about if statements and value comparison, and I'm also going to tell you about local variables while we're at it. Let's jump in! I'm going to start by making a new file here in Visual Studio Code. Always name your file “.lua” at the end… And I'm going to create a main function as a starting point. I usually start by making this sort of code, just function and return, just to start off with, and then I click back into it to continue making whatever I'm making. So I'm going to start by creating example...

Lua for GrandMA3 Episode 1 - Functions and Data Types

 Hey lighting folks! The following is the transcript from my YouTube video,  Lua for MA3 Ep 1 - Functions and Data Types This is the first video in my  Lua for GrandMA3 Tutorial  series. Please check out my channel,  From Dark To Light , on YouTube, and you can find the code to go along with my tutorials here on  GitHub . Hello lighting people, welcome back to my Lua for GrandMA3 tutorial series! In this episode we're going to be talking about Lua functions because functions are the backbone of code; you cannot have readable code without a function, so let's dive in. I'm going to open up Visual Studio Code and make sure I'm in my folder, create a new file. This file is going to be called Ep 1 - Functions and Data Types, because that's what we're talking about today, and always put “.lua” at the end of your file name. I'm going to start by making a main function; so the way you make a function is, type “function” and give it a name. I'm just going to ca...

Intro to Lua for GrandMA3

Hey lighting folks! The following is the transcript from my YouTube video, Intro to Lua for GrandMA3 This is the introduction video for my  Lua for GrandMA3 Tutorial  series. Please check out my channel,  From Dark To Light , on YouTube, and you can find the code to go along with my tutorials here on  GitHub . Hello lighting people, welcome to my Lua for G randMA3 tutorial series! MA3 is a powerful software and one of the greatest things about it is the ability to run Lua scripts. Unfortunately there aren't any real resources for learning Lua for MA3, so after going to the trouble to learn it the hard way I decided it would be helpful to make these tutorials to make it easier for those coming after me. Before diving into Lua coding I wanted to make a quick intro video to show the plugin interface in GrandMA3 and introduce some other applications and workflows. Also, just get this out of the way, Lua is a word, not an acronym. D on't write it in all caps. I t's Po...