music – E.B.'s Lab http://wp.ebislab.com Beautiful strange experiments Tue, 06 Nov 2018 09:59:35 +0000 en-US hourly 1 https://wordpress.org/?v=5.4.15 Sound frequency modification with javascript http://wp.ebislab.com/soundfrequencywithjavascript/ Sun, 21 Oct 2018 14:18:43 +0000 https://themify.me/demo/themes/ultra-portfolio/?p=28

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.

]]>