I have just finished my first hackathon project and… it was grueling. The official end is tonight.
Pretty much, the project takes an audio file, and allows the user to select a “cut” from it. This cut has it’s amplitude levels taken and used for a secret encryption dictionary.
To decrypt the project, you have to upload the same song and select the same cut from it.
Well I just finished the project last night and I tested it, and it worked!
However, it doesn’t work most of the time. I looked at the data of the amplitudes generated, and it appears that even though I’m getting the same portions of the song - there are different values of data.
What I figure must be going on is that p5 isn’t registering the amplitudes at the same points, so it doesn’t quite work out to be the same.
Is there some sort of way I can normalfy or smooth the data so that the audio comes back consistent?