# Close Encounters lights

**URL:** <https://forum.electromage.com/t/close-encounters-lights/807>\
**Category:** Patterns and Code\
**Created:** [December 10, 2020, 4:00am UTC](https://forum.electromage.com/t/close-encounters-lights/807 "2020-12-10T04:00:19Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mebejedi](https://forum.electromage.com/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@Mebejedi](https://forum.electromage.com/u/Mebejedi)\
**Post date:** [December 10, 2020, 4:00am UTC](https://forum.electromage.com/t/close-encounters-lights/807/1 "2020-12-10T04:00:19Z")

</div>

I was just thinking the other day how cool it would be to re-enact the Close Encounters “Communicating” segment: Have a general background motion, and among that, bursts of random-colored lights in random spots in response to music (or certain colors for certain frequencies.) Is something like this possible?

[![](https://img.youtube.com/vi/S4PYI6TzqYk/maxresdefault.jpg "Close Encounters of the Third Kind (6/8) Movie CLIP - Communicating with the Mothership (1977) HD") ](https://www.youtube.com/watch?v=S4PYI6TzqYk)

---

<div class="post-metadata">

**Author:** ![Scruffynerf](https://forum.electromage.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@Scruffynerf](https://forum.electromage.com/u/Scruffynerf)\
**Post date:** [December 10, 2020, 10:46am UTC](https://forum.electromage.com/t/close-encounters-lights/807/2 "2020-12-10T10:46:02Z")

</div>

Totally possible. In fact, I’ll tackle that as my first sound responsive project. It’ll be perfect for a tutorial.

---

<div class="post-metadata">

**Author:** ![Mebejedi](https://forum.electromage.com/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@Mebejedi](https://forum.electromage.com/u/Mebejedi)\
**Post date:** [December 10, 2020, 2:27pm UTC](https://forum.electromage.com/t/close-encounters-lights/807/3 "2020-12-10T14:27:23Z")

</div>

If I may ask, please place comments in your coding so I can learn how it’s done. Thanks! 😃

---

<div class="post-metadata">

**Author:** ![Scruffynerf](https://forum.electromage.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@Scruffynerf](https://forum.electromage.com/u/Scruffynerf)\
**Post date:** [December 11, 2020, 12:30am UTC](https://forum.electromage.com/t/close-encounters-lights/807/4 "2020-12-11T00:30:04Z")

</div>

Yes, I’ll make a tutorial, documented code, etc.

Notes for the project will go here:

From [The Meaning of the Five Music Tones [Close Encounters of the Third Kind] – did you blank it?](https://didyoublankit.com/2020/05/04/the-meaning-of-the-five-music-tones-close-encounters-of-the-third-kind/)

Start with the tone. (Pinkish-red) – D

Up a full tone. (Orange) – E

Down a major third. (Purple) – C

Down an octave. (Yellow) – C (an octave lower)

Up a perfect fifth. (White) – G

So I already had a discussion with Ben about how the frequency bins work, so we’ll see if I can make it do this. If not, it’ll be a guide for how to approximate it, and “Look like it”

I’ll build the code soon, and likely will turn it into a full project. Either a UFO (of course), or maybe they’ll be in the cloud I’m building. The cloud will definitely be big enough to hide a UFO.

After looking at the detail of the original model

[![](https://img.youtube.com/vi/r3S0i4Ankgk/maxresdefault.jpg "Adam Savage Examines the Mother Ship Model from Close Encounters of the Third Kind!") ](https://www.youtube.com/watch?v=r3S0i4Ankgk)

I don’t think I want to build that UFO, I wouldn’t do it justice. So the cloud approach is going to work for me. (Trying to envision the project helps me)

The ship lights up mostly in the bottom but also elsewhere. And it’s got nifty KITT style drifty bits when it’s not getting sound.

The scientist built sound board is also interesting but it’s just a color sound board, the UFO side is more visually interesting. I suspect I’ll implement both, as I can see someone might want to build a Devil’s tower UFO landing zone, right?

---

<div class="post-metadata">

**Author:** ![Mebejedi](https://forum.electromage.com/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@Mebejedi](https://forum.electromage.com/u/Mebejedi)\
**Post date:** [December 11, 2020, 7:10am UTC](https://forum.electromage.com/t/close-encounters-lights/807/5 "2020-12-11T07:10:19Z")

</div>

Wow, I’ve created a monster, haven’t I? LOL

I just thought it would be cool to have the strip going around my back patio, or along a wall, and reacting to music much like the strip did so in the film. But it sounds like you’re going to knock this sucker out of the park!

---

<div class="post-metadata">

**Author:** ![Scruffynerf](https://forum.electromage.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@Scruffynerf](https://forum.electromage.com/u/Scruffynerf)\
**Post date:** [December 11, 2020, 11:22am UTC](https://forum.electromage.com/t/close-encounters-lights/807/6 "2020-12-11T11:22:24Z")

</div>

To be fair, I was already planning the cloud, and a variety of patterns for it, including weather reporting, and sound responsiveness was already planned. So adding a pattern that emulates Close Encounters as if a UFO were inside the cloud is just a good idea.

I actually have a lot of plans for projects, many started, and this winter I plan on doing a lot of LED stuff. Thanks for the inspiration though.

---

<div class="post-metadata">

**Author:** ![Mebejedi](https://forum.electromage.com/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@Mebejedi](https://forum.electromage.com/u/Mebejedi)\
**Post date:** [December 11, 2020, 6:01pm UTC](https://forum.electromage.com/t/close-encounters-lights/807/7 "2020-12-11T18:01:51Z")

</div>

This sounds like a really cool idea. Is this going to be in your house?

---

<div class="post-metadata">

**Author:** ![Scruffynerf](https://forum.electromage.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@Scruffynerf](https://forum.electromage.com/u/Scruffynerf)\
**Post date:** [December 11, 2020, 7:03pm UTC](https://forum.electromage.com/t/close-encounters-lights/807/8 "2020-12-11T19:03:51Z")

</div>

Yeah, I have the sort of home where big LED art pieces fit in well.

---

<div class="post-metadata">

**Author:** ![wizard](https://forum.electromage.com/user_avatar/forum.electromage.com/wizard/32/4_2.png) [@wizard](https://forum.electromage.com/u/wizard)\
**Post date:** [December 11, 2020, 7:04pm UTC](https://forum.electromage.com/t/close-encounters-lights/807/9 "2020-12-11T19:04:49Z")

</div>

Cool!!! BTW you also have high res info on the loudest detected frequency.  
`maxFrequency` and `maxFrequencyMagnitude` - detects the strongest tones with resolution of about 39Hz

It only detects one note at a time, so if you need parallel notes the frequency data is the best bet, though may not have the resolution to get specific notes (its meant more for a band of frequencies).

I haven’t had time to make it, but I though it would be cool to make a game where you had to sing or whistle at specific tones to unlock something.

---

<div class="post-metadata">

**Author:** ![devoh](https://forum.electromage.com/letter_avatar_proxy/v4/letter/d/c5a1d2/32.png) [@devoh](https://forum.electromage.com/u/devoh)\
**Post date:** [December 12, 2020, 1:09am UTC](https://forum.electromage.com/t/close-encounters-lights/807/10 "2020-12-12T01:09:05Z")

</div>

I’ve been wanting to make a “weather” cloud… thunder cloud… react to weather, time of day, etc… so many project ideas 🙂 instead I started with an infinity cube… really should ahve started with the cloud idea 🙂

---

<div class="post-metadata">

**Author:** ![Scruffynerf](https://forum.electromage.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@Scruffynerf](https://forum.electromage.com/u/Scruffynerf)\
**Post date:** [December 12, 2020, 1:13am UTC](https://forum.electromage.com/t/close-encounters-lights/807/11 "2020-12-12T01:13:22Z")

</div>

I already have the paper lanterns, and the lights, and so on… and I started some infinity shapes too 🙂

---

<div class="post-metadata">

**Author:** ![Mebejedi](https://forum.electromage.com/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@Mebejedi](https://forum.electromage.com/u/Mebejedi)\
**Post date:** [December 12, 2020, 1:56am UTC](https://forum.electromage.com/t/close-encounters-lights/807/12 "2020-12-12T01:56:12Z")

</div>

> [@wizard](#):
>
> I though it would be cool to make a game where you had to sing or whistle at specific tones to unlock something.

or maybe…

![](https://forum.electromage.com/uploads/default/original/1X/7b5258aae429e2fe30e9d4902e7a7a9c881f7021.gif)

---

<div class="post-metadata">

**Author:** ![Mebejedi](https://forum.electromage.com/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@Mebejedi](https://forum.electromage.com/u/Mebejedi)\
**Post date:** [December 27, 2020, 9:03am UTC](https://forum.electromage.com/t/close-encounters-lights/807/13 "2020-12-27T09:03:28Z")

</div>

I don’t know how far you’ve gotten on this, but as I’ve been going through the patterns, I noticed that “Rainbow Melt” gives a nice background similar to the mother ship.

---

<div class="post-metadata">

**Author:** ![wizard](https://forum.electromage.com/user_avatar/forum.electromage.com/wizard/32/4_2.png) [@wizard](https://forum.electromage.com/u/wizard)\
**Post date:** [April 9, 2024, 11:05pm UTC](https://forum.electromage.com/t/close-encounters-lights/807/14 "2024-04-09T23:05:17Z")

</div>

A post was merged into an existing topic: [Lights with piano keyboard like close encounters](https://forum.electromage.com/t/lights-with-piano-keyboard-like-close-encounters/3482/4)

---

<div class="post-metadata">

**Author:** ![wizard](https://forum.electromage.com/user_avatar/forum.electromage.com/wizard/32/4_2.png) [@wizard](https://forum.electromage.com/u/wizard)\
**Post date:** [April 9, 2024, 11:05pm UTC](https://forum.electromage.com/t/close-encounters-lights/807/15 "2024-04-09T23:05:37Z")

</div>


