Inspiration
After tinkering around with Garageband, we realized that something really cool happened if you overlaid an audio with its inverse phase. If you just combine the two audios without any manipulation, the resulting product is silent, because the two audios cancel each other out. But we found that if you pan the original audio all the way to the right and the inverse all the way to the left, the resulting audio has a 3D nature to it which is able to make it seem like you are listening to the audio on headphones even when you are just using the built in speakers on your computer.
What it does
It asks the user to input an audio file (.wav) and it outputs two audio files: the inverse of the original audio and an overlay of the inverse and the original. In the second file (the combination), the two audio files are panned such that one of the plays out of your left speaker or headphone and the other plays out of your right. If you play the second file (the combination) out of two speakers, the spot where the audio would normally be the loudest, right between the two speakers, is actually where the most noise cancelling is taking place. This makes it hard to pinpoint exactly where the audio is coming from when you position yourself in between the two speakers.
How we built it
We used the pydub library in order to edit sounds within the program. We used Flask in order to allocate audio files, organize html files within the website, and to create a website. HTML was used in order for the user to input the audio file and play the outputted audio files. While CSS was used to make the website look nice.
Challenges we ran into
As it was our second time creating a website we had to figure out how to connect the HTML code to the Flask code. Other challenges include allocating files to places where the program could find it later. As well as correctly importing libraries and correctly using GitHub.
Accomplishments that we're proud of
That we have succeeded in making the website which we had envisioned. As well as how well out team worked together in order to accomplish our goal.
What we learned
We learned many things such as how a website works, how the inverse of audio cancels out with the original piece of audio, and the relationship between HTML and Flask. Also, we learned to use github and how to properly allocate files within a project.
What's next for White Noise
Using this newly obtained knowledge of how sounds can cancel each other we can work on future projects that consist of a device canceling out surrounding sound-waves by playing the inverse of the surrounding sound-waves.

Log in or sign up for Devpost to join the conversation.