Visualizing Sound

This project came about after watching this video by a youtuber who described a way to visualize sound with a laser. It works by taking a speaker, stretching a balloon over it, and centering a mirror fragment on the balloon. Sound is played through the speaker and a laser pointer is shined on the mirror. The sound causes the mirror to vibrate, creating a laser show. I designed the speaker above so I can mix frequencies and play with the various shapes. Since I don’t own a speaker, I thought this would also be a good opportunity to learn how sound systems work while making a high quality speaker.


Laser Light Show


Parts


Assembly (case)

  1. Solder wires onto the terminal of the speaker (yellow - positive : green - negative). Screw the speaker onto the top half of the speaker. Push the magnets into place. The magnets are for connecting the top half and bottom half together for upgradability. While it is currently running off a 12v socket, I’m hoping to upgrade it with built in batteries and bluetooth.
  2. Push the amplifier through the front hole. Use the nut that comes with the amplifier to clamp it into place. Insert the speaker wires into either the right or left output ports.
  3. Insert the 1/4” hex nut in the slot on the side of the top half case.

Electronics

  1. Solder four wires to the output of the 12v socket (one pair to power the amplifier, the other for usb output). Solder a positive and negative connection from the 12v socket to the 5v regulator. The ground for the 5v regulator and the 12v socket are shared. Solder the output from the regulator to the usb output.
  2. Solder three wires to the female audio jack. Blue is ground, yellow is left, and green is right audio.

Assembly (wires)

This next step is a little tricky. I used 20 awg wire, but you may want to use a thinner gauge. Make sure you have some needle nose pliers.

  1. Take one wire, tie some string around it and pass it through the base of the speaker. Use pliers to grab the wire and pull it out the other end. This may take some time, so be patient.
  2. With the string poking out from both ends, tie the remaining wires with the string and pull them through the hinge hole.
  3. Place the input sockets into the face of the port cover and hot glue into place. Push into the speaker base and pull the wires taut.

Assembly (finishing the speaker)

  1. Pass the wires through the pin and snap into the hinge hole on the side of the speaker base. Pass the wires through the side of the speaker case.
  2. This next part is a little unsettling, but bear with it. Push the cover into the pin. Angle it so that the case fits in a little better in the base. You might have to bend the base a little for the speaker to fit.
  3. Assemble the knob for clamping the speaker case in place. Push the hex screw into the knob print. This is optional, but it makes the knob look much better. Put hot glue in the remaining space of the knob and place the cover for the knob to hide everything.
  4. Wire everything as shown above. 12v cables into the input for the amplifier board. For the audio; yellow to left, blue to ground, and green to right audio input.
  5. Place magnets on the bottom case and snap the speaker cases together!

Assembly (laser)

  1. Before putting anything together, solder longer wires on the laser diode. Pass the wires from the 3D printed laser head to the arm and down. After getting the wires through, snap the parts together.
  2. Solder the wires onto the li-ion charger. I opted to solder them to the input half of the charger module and not the output. Reason being the module pulsing current for its output. This causes the laser to make dotted lines when pointing it at a wall. I encourage people to try this anyway since it’s pretty fun to visually see how power is outputted from the charger.
  3. I ended up taping the charger module to the side of the kickstand. Plug a micro usb cable to the charger and usb port.
  4. Blow up a balloon to pre-stretch it. Cut off the neck portion to make it easier to wrap around the speaker. Use some double sided tape to stick the mirror to the balloon. When turned on, it should look like the above.

Results: Laser Shapes

As you may have seen in the video above, I tried a slew of pure tones to create different kinds of shapes. I did a bunch of experiments and I found out a ton of cool things about waves and mathematical properties.

By using a frequency generator app on my phone, I started with a general sweep of frequencies from low to high, until I couldn’t see any discernible shapes. The cutout was at around 800 Hz (of course it’s subject to volume and how stretched out the balloon is). I then tried playing two pure tones together; 381 Hz and 326 Hz for the first one. To do this, generate a pure tone from this website (about 10 seconds). Drag and drop your audio files into a sound processing software (I recommend Audacity) and play together.

I tried two more different combinations, and then I noticed something. When the tones played were multiples of 10, they were static. By that I mean the laser travelled the same path over and over again, creating a still image. That’s when I tried the 101 + 200 + 300 Hz combination, with the 101 Hz creating a disturbance. My guess was that the 101 Hz will create a moving pattern compared to the 100 + 200 + 300 Hz combination (which was still). I was right! It was by far my favorite pattern.

This led me to try the simplest combinations only being disturbed by 1 Hz. The three sounds with 1 Hz included created an oscillating motion of a single shape going back and forth.

The last one was piano music I found online. I thought it would be fun to try with regular music. I’ve tried jazz, violin music, pop, dubstep, and other kinds of music. By far the “cleanest” patterns were made by the piano. This is probably due to each key being relatively pure in tone when played. At times, the piano music made patterns that I found looked similar to a Lissajous curve. It’s really pleasing to find mathematical connections like these in my projects, since finding these connections outside of classes is pretty difficult.


Conclusion

I’ve never been an audio person up until now, but I have a newfound appreciation for everything that goes into making speakers work. This all started from a project in my machine learning class where I decided to make a speaker from scratch and try sound analysis. It was a working speaker, not particularly clear sounding. I used an LM386 amplifier and spare parts lying around. Although I’m not using my custom made amp, I will be using it for a project involving making a radio for another course at college.

I’m sure more audio projects are on the horizon seeing that I’m hooked now. It would be great to make it portable, bluetooth connected, and add a second speaker for a stereo version. But in order to do all that, I need funds and time. While winter break will give me time to work on projects, I’ll need the support of the community to keep my projects going. If you think what I do is informational, inspirational, or just plain cool, please support me by using my amazon affiliate link. Do your shopping as usual, but every item you buy I get a little kickback at no extra cost to you.