Lightsaber sound synthesis

Here is a little project I've been working on trying to mimic the sound of a lightsaber. Have never been real impressed with most sound options for sabers for the fact that they seem to play a sound file and if you swing longer than the sound file it just sounds cheap.

https://youtu.be/7dpOs_pMsbo

Parts used: -Teensy 3.2 -Propshield -Couple Pots

Now I am trying to decide which route to go on lighting the blade while having it adjustable to any color.

  1. Single RGB source in Handle
  2. RGB LED strips (extra added bonus of having the length of the blade have different intensities/colors of light)

WIP

Nice, i’ve been working on the same using a maple mini board:

now working on upgrading my hardware a bit :).
in my case it’s wav files getting mixed together, in your case i assume your actually generating the sound?

Yes, generating sound. Going to do some more tweaking see if I can get it to sound a bit better.

rebel2234: Yes, generating sound. Going to do some more tweaking see if I can get it to sound a bit better.

i'd love to hear about how you create the sounds :) I'm not sure if it was on this forum, but someone else was also looking into it, and had posted some details about how he synthesized the lightsaber sound :). For now i'm sticking with wav files, it gives you the freedom to take a sample from a saber from a movie/game, and use it for your saber (although you still have to edit it ofcourse). Or do you have a way of imitating sound samples with your generator? :).

And i'm also wondering which algorithms you use for your motion. For now my saber mostly reacts to rotation, and very little to movement since absolute movement data is hard to come by, but haven't spent much time on it yet :).

racemaniac: i'd love to hear about how you create the sounds :) I'm not sure if it was on this forum, but someone else was also looking into it, and had posted some details about how he synthesized the lightsaber sound :). For now i'm sticking with wav files, it gives you the freedom to take a sample from a saber from a movie/game, and use it for your saber (although you still have to edit it ofcourse). Or do you have a way of imitating sound samples with your generator? :).

And i'm also wondering which algorithms you use for your motion. For now my saber mostly reacts to rotation, and very little to movement since absolute movement data is hard to come by, but haven't spent much time on it yet :).

Alot of what I came up with was inspiration from this video. And then using PJRC's Audio System Design Tool to closely match the base sounds as possible then trying to mix them based on IMU movements and get a doppler effect.

Using PJRC's IMU library NXPMotionSense and MadgwickAHRS from Github in various places.

Haven't tried to come up with a way to sample a wav to get the base sounds out of it and try to imitate but may work on that and see what I come up with.

Really interesting. I wonder if there is the potential to create a hybrid approach that generates dynamic swing sounds on top of a pre-recored hum. Or maybe add Doppler shift dynamically to pre-recored sounds.

Amazing project. Saves having to make the sounds yourself :P