How to Create an Automated Light Show in Sync with Music

Let’s say you have a bunch of songs and for each song, you want to have different colored lights come on and off and/or move around.

In order to do this, you need a few things:

  • Light fixtures
  • DMX Interface
  • DAW (Digital Audio Workstation) software / controller

Light fixtures

There are different types of light fixtures.

Ellipsoidal Reflector Spotlight (ERS)

This type of light is used to highlight certain subjects or stage pieces with a relatively narrow beam angle.

Parabolic reflectors (PAR)

This type of light is used to light up large areas. They come in a variety of lens types to get different beam angles. This light doesn’t have zoom or focus options. This is the most common fixture because it’s the cheapest.

Fresnel

This type of light is a happy medium between a PAR and an ERS. They have a zoom function but not a focus and usually cast a much “softer” light than ERS light fixtures.

Moving Head

This type of light can move. It offers different beam angles for spot (narrow), wash (wide), beam (laser) and hybrid light effects. It is the most versatile stage lighting option.

Above are only some of the more common types of lights.

To hang your lights, you can get a lighting stand with T-Bar.

DMX Interface

DMX (Digital Multiplexing) or, officially, USITT DMX512, is a unidirectional serial data protocol, meaning the signal leaves the controller (computer or lighting board) and travels through all lighting fixtures in a daisy-chain. It was standardized in 1986. DMX networks typically only have one master device on the network, usually the DAW software / controller, and many slave devices — the lights.

DMX Cable

The 5-pin XLR the standard connector.

The reason for five pins is that pin 1 would be the ground, pins 2 and 3 would be data link 1, and pins 4 and 5 were reserved for data link 2 and/or proprietary data. Over the years, the second pair of pins (pins 4 & 5) on the connector stopped being used, since 3-pin DMX proved to be very reliable. This is why you may sometimes see fixtures with a 3-pin, 5-pin, or both connectors on the fixture.

DMX vs Audio/Mic XLR Cables

Some DMX cables are 3-pin cables. Don’t confuse them with 3-pin audio or mic cables. DMX cables use roughly 110-ohms whereas microphone cables are typically around 45 ohms. The different impedance between these cables matters with lighting networks and can cause your lights to either not respond or respond sporadically.

Number of light fixtures per DMX cable

You cannot have more than 32 devices connected on a single chain. If you have more than 32 light fixtures, you would need to use an Opto-Splitter. A splitter like the Chauvet DJ Data Stream 4 will allow you to have 32 devices connected to each DMX output connector. You cannot use Y-cables, as this approach does not electrically isolate the DMX lines and would cause data reflections.

DMX Channels / Universe

A DMX line is limited to a total of 512 channels, which is also called a universe. Each lighting fixture you have uses a number of DMX channels depending on how many parameters the fixture has. Lights can also have multiple personalities, or profiles, depending on how much or how little control you want. Note that the 512-channel limit is independent of the 32-light fixture limit.

Let’s say you have 40 lighting fixtures that use three channels each: you are only using 120 channels total. You can fit these all in the same universe of control, however, if you have more than 32 devices. You would implement an Opto-Splitter and split your devices up among the outputs in whatever configuration you would like, as long as each DMX leg has less than 32 devices on it.

Example

Let’s look at the Chauvet DJ SlimPAR Pro H.

This light has three different personalities, or profiles. It can be used in a 6-, 7-, and 10-channel mode, and again the more channels a fixture uses, the more control you have. Let’s look at 7-channel mode:

  • Channel 1: Dimmer
  • Channel 2: Red
  • Channel 3: Green
  • Channel 4: Blue
  • Channel 5: Amber
  • Channel 6: White
  • Channel 7: UV

Each DMX parameter on a fixture operates independently. Say I was to make this fixture a magenta color. I would turn up channel 2 (Red) and channel 4 (Blue) until I got my desired shade of magenta. However, turning up just these channels on the fixture (2 & 4) would not put out any light. I would also need to turn up channel 1, which is my dimmer that controls the overall intensity. On moving fixtures, this control becomes even more complex, because there are other parameters available, such as Pan and Tilt or gobos, again all independent.

The best way to understand a light’s capabilities is by checking its DMX assignments. For example, the ADJ Starbust’s manual shows this.

Addresses

When setting up a lighting rig, each light fixture needs to be assigned a starting address. If I have four of the same fixture mentioned above in the same personality (7-channel mode), their addresses would be 1, 8, 15, and 22. All 512 channels of data flow through every fixture in a DMX lighting chain so each fixture needs to know which channels control it based on channel addressing.

DAW (Digital Audio Workstation) software / controller

There are many different DAW software, for example, Ableton Live and Pro Tools. They can be used to create music and control lights. This article isn’t about creating music but just controlling lights in sync with existing music. Therefore, the software we’ll use is Show Buddy.

Setup

To sync light effects with music (e.g. an existing mp3 file), we’ll use this setup.

Terminate the DMX cable chain by inserting a DMX terminator into the DMX Out port of the last light fixture.

DMXIS Software

Important terminology

  • Show (group of songs)
    You can create multiple shows. A show typically is the name of a list of songs, e.g. Yanni Concert
  • Bank (a song)
    You can create multiple banks per show. A bank can be the name of a song, e.g. Santorini
  • Preset (a light effect)
    You can create multiple presets per bank. A preset can be the name of a light effect. You can create multiple presets (light effects) for a bank (song) in order of when you want the preset (light effect) to occur during song playback. You can drag presets up and down to order them.

Workflow

  1. Add a light fixture
    If the light fixture you want to add isn’t in the DMXIS library, you can search for it at http://fixtures.dmxis.com/ where you can download user-uploaded DMX light fixes for importing into DMXIS. If you don’t find your fixture there, you can create and upload DMX light specs for your particular fixture. It is just a text file defining channel.
  2. Assign each light fixture to a starting address, e.g.
    • PAR light 1 (3 channels) starts at DMX address 1 (channels 1-3)
    • PAR light 2 (3 channels) starts at DMX address 4 (channels 4-6)
    • PAR light 3 (3 channels) starts at DMX address 7 (channels 7-9)
    • PAR light 4 (3 channels) starts at DMX address 10 (channels 10-12)
  3. Create a “show”, e.g. “Instrumental Songs”
  4. Create a “bank”, e.g. “Santorini”
  5. Create a preset, e.g. “Red”
  6. Adjust the sliders for one or more light fixtures, e.g. by making them show red light
  7. Save (overwrite) the “Red” preset
  8. Repeat steps 4-6 as much as needed

Resources

ShowBuddy Software

This software allows you to load audio files (e.g. mp3s) and for each song, place a preset (light effect) created in DMXIS at certain points in the song. Light effects can fade out over a specified amount of time.

Workflow

  1. Add audio files (songs / mp3s) to the Track Library
  2. Choose the DMXIS show to use in the DMXIS show dropdown
  3. Choose a DMXIS bank to use in the list of banks
  4. Choose a DMXIS preset to use in the list of presets
  5. Drag the preset to the wave form at the point you want the preset (light effect) to run
  6. Repeat steps 2-5 as much as needed

Resources

Capture Software

This software allows you to preview light effects.

Workflow

  1. Create a 3D stage
  2. Add one or more light fixtures to the 3D stage
  3. Patch light fixtures (assign them to DMX addresses)
  4. If the light fixture address assignment in Capture matches that in DMXIS, then DMXIS can control the light visualizations in Capture

Resources

  1. Manual (HTML)
  2. Create a stage and add a light fixture (Video)
  3. Patch and control light fixtures (Video)

Some Neat DMX Light Fixtures

Magic Ball

Simulate a magic ball with these lights:

Chauvet DJ Rotosphere Q3. $300

  • Size: 11 x 13 x 17 in
  • Weight: 8.6 lb
  • # of LEDs: 5
  • Watt per LED: 7
  • Color: RGBW (Red, Green, Blue, White)
  • DMX channels: 3, 9, or 19
  • Strobe Rate: 0 to 20 Hz
  • Rotation Speed: 2 – 19 RPM
  • Colors at a time: 3

ADJ Starburst RGBWA+UV LED Sphere Effect – $300

  • Size: 12.5” x 12.5” x 16.25”
  • Weight: 8 lbs
  • # of LEDs: 5
  • Watt per LED: 15
  • Color: RGBWY+UV (Red, Green, Blue, White, Yellow & Purple)
  • DMX channels: 12
  • Strobe Rate: slow to fast
  • Rotation Speed: slow to fast
  • Colors at a time: 1

Moving Light Beams

Create a moving beam with these lights:

Lixada Moving Head – $71

  • Size: 6.88 * 6.69 * 9.64in
  • Weight: 6 lbs
  • # of LEDs: 7
  • Watt per LED: 10
  • Color: RGBW (Red, Green, Blue, White)
  • DMX channels: 9 or 14
  • Pan/tilt: 540° / 270°
  • Strobe Rate: adjustable
  • Beam angle: adjustable
  • Rotation Speed: slow to fast
  • Colors at a time: 1

Wash

Wash walls or a stage with these lights:

Chauvet SlimPAR Pro.

Kebert Par Lights – $20

Blinders / Strobe Light

Create very bright white flashes of light with these lights

Blizzard SnowBlind™ and SnowBlind™ FX strobe fixtures. – $119

MFL S100 132LED White bright Stage Lighting Strobe Blinder and Wash Light – $88

Cost Breakdown

Light Fixtures

  • 1 magic ball – $300
  • 2 moving heads – $66 x 2 = $132
  • 1 blinder – $88
  • 4 PAR cans – $20 x 8 = $160

Subtotal: $680

Hardware / Software

  • DMXIS – $300
  • Show Buddy – $119

Subtotal: $419

Cables

  • DMX 3 pin cables – 10 pack – $26
  • 1 x DMX terminator – $10

Subtotal: $36

Total: $1135

Different Light Effects

Wall Wash

Regular

Laser / Pin Spot

Beam

Magic Ball / Disco

Moving / Scan

Blinder (super bright light)

Chase (lights turn on and off sequentially like dominos)

Strobe / Flash

Alternative Setup

If you’re on a Mac, an alternative setup is to use LightKey coupled with Ableton Live.

or SoundSwitch.

Quick Intro to SketchUp 3D Modeling

Here’s a quick intro to 3d modeling using SketchUp in the browser.

Note: you can use SketchUp online or using the downloaded app. The free version of SketchUp doesn’t support creating Bezier curves. For that and other features, you’ll have to upgrade to SketchUp Pro.

When we create a new SketchUp sketch, we see this screen.

Let’s say we want to make four posts for a pergola. The posts are 6″x6″x10′ tall (actual dimensions are 5.5″x5.5″x10′).

First, under Model Info, we set the length format and precision.

To create our first post, we choose the Rectangle tool.

We click once in the 3D space and drag to create a rectangle which is 5.5″ x 5.5″. When dragging, we see in the bottom right corner the dimensions of the rectangle.

Instead of dragging until you get the right rectangle dimensions, just type 5.5,5.5 and then hit Enter.

Now, to complete making the first post, we need to “pull” the rectangle (actually, it’s a square) up 10 feet. Click the “pull” button.

Then click the square and drag up.

Again, to simplify getting the right dimensions, just type 120 and hit Enter to make the post 10 feet tall. Since all measurements are in inches, we type 120 instead of 10. SketchUp then converts the 120 to 10′ in the Dimensions box in the bottom right corner.

To verify the dimensions of any side of the object, click the Select tool.

and then click a side, e.g. a long side of the post, and in the Entity Info panel, we see that the length of that side is 10′.

Now, we’ll copy and paste that post by selecting the entire post, hitting Ctrl+C and Ctrl-V, and clicking where we want the other posts to be.

Now, the 2nd post is clearly not lined up with the first so we have to move it. Moving objects in SketchUp can be confusing to new users. Here are some ways to move an object.

Moving an object against another object

Let’s say we want to move the 2nd post flush against the first post. First, we orbit the view, if necessary, and select all of the 2nd post.

Then, we click the Move button.

and click on one corner of the 2nd post that we want to touch a corner on the first post.

Then, we click on the corner of the first post where we want that corner to touch. Now, the posts are flush and lined up together with each other.

Moving an object along an axis to line up with another object

Let’s say the 2nd post is higher up than the first post. We want to lower it so that both are on the ground, so to speak. We want to move the 2nd post vertically along the Z axis down until its bottom is on the same plane as the bottom of the first post. To do this,

  1. select the 2nd post
  2. click the Move button and click the bottom left corner of the 2nd post
  3. drag up and down until you see “On Blue Axis” which is the Z axis
  4. hold the Shift key – you will see the tip “Constrained on line from point” which means your movements are constrained to the axis you were on (blue / vertical / Z)
  5. while holding Shift, drag and click on the bottom right corner of the first post.

You can also constrain movements to other axes as well.

Moving by Coordinates

Using the dimensions tool, we mark the distance between the two posts along the green axis. We get 12′.

Let’s say we want the distance between them to be 10′ instead.

Relative coordinates in SketchUp are indicated as <r,g,b> or <red,green,blue> (the colors of the axes). So, if we want to move 2′ (24″) towards the first post (towards [0,0,0]), we can do this

  1. select all of the 2nd post
  2. click the Move tool and click the bottom left corner
  3. drag a little anywhere to begin movement
  4. type <,-24,> and hit Enter

Now, the distance between the two posts along the green axis is 10′.

Absolute coordinates in SketchUp are indicated as [r,g,b] or [red,green,blue]. So, if we want to move to the center of the coordinate system, we do the same as above except we enter [0,0,0].

Using the techniques above, we can make 4 posts that are exactly 10′ apart and all on the same red-green plane.

Interior and Exterior Wood Stains

Following is a comparison of exterior wood stains on expensive redwood and cheap douglas fir.

Exterior Stains and Sealers

  • Olympic WaterGuard Sequoia Red Transparent Wood Stain and Sealer
  • BEHR Premium Clear Transparent Waterproofing Exterior Wood Finish
  • Varathane Clear Gloss Oil-Based Exterior Spar Urethane

For the redwood, I didn’t want to change the color of the wood so I went with a transparent solution. However, I did want to accentuate the natural color and the grain. I also wanted a glossy look. Of all the sealers tested, the Varathane sealer looked the best to me. It also looked good on Douglas fir (cheap construction wood) as it also brought out the grain lines.

Here’s another look at the Varathane oil-based stain on redwood and douglas fir. Of course, the vibrancy of the color will differ in different lighting.

For interior wood, I find that the Minwax oil-based stain in the Gunstock color produces nice red results with clear grain lines followed by triple-thick glossy polyurethane.

As you can see in the photo below, water doesn’t penetrate the wood because the sealer adds a protective layer on it.

Create a Time Lapse Video Using Smartphone (Android)

Creating a time lapse video is great for quickly showing changes that happen over a long period of time, e.g. the sky changing from day to night. I recently made a time lapse video of a pergola construction project using an Android app called Framelapse. It’s a very simple app which takes pictures at a user-specified interval over a set period of time or until you stop recording. What’s great is this method doesn’t fill up your phone by taking an actual video at the normal frame rate of 30 frames per second. For my first timelapse video, I chose a frame interval of 4 seconds. When I stopped recording, the timelapse video was instantly done and available in my Google Photos app and backed up to Google Photos in the cloud. I added some background music and I was done. Here’s the final video.

How to Install 4 Posts Square and Plumb (like for a pergola)

This weekend I built the frame of a pergola. The posts are 6x6x10 Redwood posts and they’re heavy. We had the posts go 15″ in the ground but before pouring cement, we wanted to make sure the posts were level and plumb.

To hold the posts in place while we measured, we filled buckets with dirt and temporarily secured each posts to them using either screws or clamps.

Once the posts were held in place, we installed the headers on top. This would hold the posts in place and, theoretically, help ensure the posts are plumb.

We then measured for level and plumb using straight levels and post levels.

We also measured the distance between posts to ensure corresponding sides were the same length. We could have also measure the two diagonal distances but we didn’t. We measured using a laser measure and a tape measure. Unfortunately, these can give inaccurate readings if, for example, the laser or tape measure isn’t perfectly level when taking measurements.

Despite measuring using levels and checking distances, we still found some posts were not lined up perfectly with other posts.

To make measurements easier, stick a nail near the top and bottom of each post at the same vertical position.

Then, hook the end of your tape measure to the nail head and pull to measure the distance to the corresponding nail on other posts.

Another, albeit extreme, way to ensure all posts are plumb and positioned perfectly is to use scrap 2x4s to temporarily secure all sides at the top and bottom. If you don’t have any 2x4s, you can use 2x3s. They are cheap at the Home Depot. If your 2x4s are not long enough, you can join / splice them together using metal plates or scrap plywood.

Again, you can temporarily secure the 2x4s to the posts with either screws or clamps. By securing these 2x4s around the top and bottom of the posts, and ensuring they are level, there’s no way the posts could end up being offset from each other or not plumb.

Make a rectangular hole in cement with clean edges

I wanted to build a pergola in my backyard. The patio is a cement slab. I could fasten post bases to it for the posts but I felt that that wasn’t as safe as having the posts sit 1.5′ in the ground. The control lines of the cement slab are just bricks with mortar. I figured I could just remove 3 bricks and dig to 1.5′ for each post hole. The concern was to not crack neighboring bricks and cement. Here’s how I managed to make rectangular holes with clean edges.

Drill

First, I drilled into a brick until I reached the dirt. This gave me an idea of how deep the slab was.

It wasn’t too deep.

Cut

I then used a cordless angle grinder with a diamond blade to score the perimeter of my desired hole. This was especially important so as to not crack the brick next to the hole.

You could also use a circular saw with a diamond blade.

Demolish

I used a jack hammer to demolish the bricks.

I have the XtremepowerUS 2200Watt Heavy Duty Electric Demolition Jack Hammer Concrete Breaker which I got on Amazon.

It easily broke up the bricks into nice big chucks.

Below the brick was a layer of cement.

I broke that up, too, with the jackhammer.

The next layer was dirt.

I dug into the dirt using the Bosch Bulldog Extreme jack hammer and a heavy duty drill with an auger drill bit.

Result: nice clean hole. I’ll have to put back two bricks for each hole but that’s easy.

Easily Find and Remove Duplicate Files in Windows 10

I’ve decided to move move and back up files files in the cloud. This includes moving all photos to Google Photos. Apparently, I had many duplicate photos in different folders that needed to be reorganized and deduped. Fortunately, CCCleaner makes finding and duplicating files of any time free, safe and easy. As you can see in the screenshot below, you can compare files and mark which ones to remove before removing them. There are many filters and controls so you can customize the search.

Secure Heavy Bags with Rebar Wire Ties

If you need to securely close a really heavy bag, one option is to use rebar wire ties.

You can buy a pack of 100 rebar wire tires at the Home Depot.

Grip-Rite 67/100 ft. 16-Gauge Rebar Tie Wire (100-Piece/Bag)

To secure, make a neck out of the plastic bag, fold the rebar wire tie around the neck, insert the screw end of a hook into a drill, insert the hook end of the hook into both loops of the wire tie, pull the trigger on the drill to twist the wire until it secures (chokes) the neck of the plastic bag.

How To Prevent Weeds From Growing Under and Around Weed Fabric

Weeds are a nuisance. The grow quickly, often can penetrate thin layers of weed fabric, and definitely can pop up along perimeters where weed fabric meets a cement patio, for example. After losing a battle with weeds, I decided to take somewhat extreme but necessary measure to never have to deal with weeds again.

1. Remove dirt

If you don’t remove enough dirt, then your mulch will not be deep and if the top of the mulch is level with the surrounding area – in my case, cement patio – then the mulch will easily spill over and make a mess. I decided to remove 5 inches of dirt. This was a lot of work so I rented a heavy duty hydraulic tiller, a mini excavator and a mini skid steer.

2. Secure weed fabric to perimeter

Weeds will most definitely grow along the perimeter of your mulch area. For my mulch area, there’s a fence on three sides and a cement patio on one side.

For the fence sides, the weed fabric will be stapled to bottom 2×4 horizontal fence rail. Then, a fence board will be screwed horizontally over the 2×4 rail thereby sandwiching the weed fabric.

For the cement patio side, I wrapped weed fabric 3 times over a long piece of PVC moulding and screwed it into the cement using concrete anchor screws.

The concrete screws / anchors I used was Tapcon 3/16 in. x 1-1/4 in. Phillips-Flat-Head Concrete Anchors (225-Pack).

The PVC moulding I used was PVC moulding (5534 5/32 in. x 1-1/8 in. x 8 ft. PVC White Lattice Moulding). Unlike wood, PVC is inorganic so it won’t break down over time.

I first folded the edge of the weed fabric over the PVC moulding and stapled the two together over a piece of scrap wood (soft corkboard is better since it’s easier to remove staples from it). Then I flipped the moulding over and hammered the staple ends down to secure the staple in place.

After doing that along the 8′ length of the PVC moulding, I wrapped the weed fabric twice over the moulding and stapled it again to further secure it to the moulding.

Then I predrilled holes in the moulding every 1 foot.

Then, using the special drill bits that came with the screws, I drilled holes in the cement through the predrilled holes in the moulding. When doing this, I used the hammer drill setting with high torque. Then I screwed the anchors through stainless steel washers.

The weed fabric is now secure and flush against the concrete.

Now, there’s no way any weeds could sneak their way up along this edge.

Note about drill/drive options

The drill I use is the Ridgid 18-Volt Lithium-Ion Cordless Brushless 1/2 in. Compact Hammer Drill. As you can see in the picture below, the

  • Drilling in hard materials such as brick, concrete, etc.
    use carbide-tipped bits and select hammer mode and use LO (1) speed
  • Drilling in materials with hard, brittle surfaces such as tile, etc.
    use carbide-tipped bits and select drilling mode
  • Drilling in soft materials such as wood, etc.
    use twist drills bits, hole saws, etc. and select drilling mode
  • Driving screws
    choose speed (LO – 1 or HI – 2), adjust torque ring, select driving mode

Torque Ring

When driving screws, increase or decrease the torque to help prevent the possibility of damaging screw heads, threads, workpiece, etc. In general, torque intensity should correspond to the screw diameter. If the torque is too high or the screws too small, the screws may be damaged or broken.
The torque is greater when the torque adjustment ring is set on a higher setting. The torque is less when the torque adjustment ring is set on a lower setting.

NOTE: The torque adjustment ring only functions in drive mode.

When drilling or driving into a hard material, attach the auxiliary handle for more leverage.

Update:

Instead of using a regular drill with the hammer drill mode, use a heavy duty hammer drill like the Bosch Bulldog Xtreme. It’s takes an SDS plus drill bit which are available in 5/32 shaft diameters for 3/16″ screws.

This makes drill holes in concrete super easy. But, don’t drill in brick. Brick is too soft and screws will be loose.

Tapcon 5/32 in. x 7 in. Steel SDS Carbide Masonry Drill Bit

Update Aug 17, 2021

The PVC moulding is good in that it is waterproof but it is flexible which means weeds could slip their way behind it unless you use many, many screws fasten it to concrete. Therefore, I decided to use pressure-treated 2×4 wood which is rigid and only requires 3 or 5 screws per 8 foot length. If you use 2×4 wood, then I found the best screw to use is Tapcon 1/4″ thick x 3-3/4″ long screws with 1/4″ washers. Driving these screws in with washers really pull and secure the wood against the concrete edge. Another option is to use Steelworks 1-1/2-in x 4-ft Interior/Exterior Mill Finished Aluminum Solid bar but they are $7 per 4 ft length.

3. Overlap weed fabric by 50%

Lay down weed fabric overlapping each strip by 50%. Use landscape staples to secure fabric to ground.

When picking weed fabric, I find this matrix grid style to be good. Unlike the one pictured above, which I got at Costco, the one pictured below doesn’t have fine hairs that stick to things like mulch.

Vigoro 4 ft. x 50 ft. Matrix Grid Landscape Fabric

4. Place cement boards on top of weed fabric

Cement boards are non-organic so they will not break down. I know this is extreme but it’s better than having to pull weeds every month or two. I used the thinnest and lightest cement board. To allow for water drainage, I placed each cement board a few inches apart. Since the cement board is heavy, there’s no need to secure it to the ground.

5. Add rubber mulch

I don’t want to have to keep adding mulch every year or two and I don’t want the color of the mulch to fade away so I chose to use rubber mulch.

Update Jan 25, 2022

So, the cement board worked to prevent weed growth but the weed fabric was mostly useless. Just use weed fabric along edges and everywhere else, overlap cement board.