I like singing. I'm better at it than playing piano, so I thought it would be sick to use my voice as an audio input device. So that's what I did.

What it does

You sing, then the grape sings the same thing back. Sing with different grapes and listen to their sweet voices.

How I built it

I used a Fourier transform to isolate the individual frequencies in the input sound (microphone). From this, I identified the root note to tell the grapes to sing it using a sine wave synthesizer.

Challenges I ran into

I originally wanted to make it so you could record your song and play it back instead of live singing, but p5.js had trouble properly syncing up time and duration so anything longer than a few seconds sounded pretty bad.

Accomplishments that I'm proud of

Made something fun and easy to use :)

What I learned

I learned how to convert a Fourier transform into usable notes and frequencies.

What's next for Singing Grape

I'm going to put a live demo on my website :D

Built With

Share this project: