Posted on

Reaper, Lua & Function Management

If you’ve never written code before, let me introduce you to a wonderful principle which you should get to know forever.  It goes by the acronym DRY

Don’t Repeat Yourself.

Don’t repeat yourself.

Sounds simple – but how many times have you told a story twice in the same telling of the story?  All the time.

How many times have you written a paragraph for a paper or blog, two different ways because you weren’t quite sure how to say it?

Coding is no different.  You’ll write something twice trying to figure something out.  Perhaps you’ll have forgotten you even wrote a function in the first place!

This is why most programming languages allow you to re-use code – so you don’t have to write it twice!

Thanks to Christian Fillion (author of Reapack), for dropping knowledge on me as to how to do this with Lua and Reaper specifically.

Here’s how to do it:

Continue reading Reaper, Lua & Function Management


Copyright 2016-2021, NIR LLC, all rights reserved.