Sound frequency modification with javascript
About 3 months ago, I was listening to a podcast by Tariq Nasheed on the concept of sound frequency, and I hadn’t noticed till now, but I my mood is definetely affected by certain sounds and bases…(probably why I am very much attracted to trap music)
While studying for my certification, I revisited one of my favorite songs from one of the OG hip hop korean groups “Epic High” called Ignition. Funny thing is, I don’t remember the tempo being so fast. Though it was just as beautiful as I heard it the first time, I knew something was off. Scouting around the big Y web, all I could find was the same videos with the same tempo. Maybe my brain interpreted it a whole different way, or maybe I so badly wanted it to soothe my already hectic life and needed it to be slower. On youtube you have the option to slow down or speed up your desired video, but what happens when your desired speed falls between the listed speed?
So, with the power of javascript here is what I did:
On chrome, I loaded up the video page, opened up the Dev console and threw the following code in
document.getElementsByTagName(“video”)[0].playbackRate = x
My chosen variable for x is .875.
It only works for that particular video in that session. So if you refresh it, it will return back to normal.
