E.B.'s Lab
Beautiful strange experiments
  • Home
  • About Me
Beautiful strange experiments
Screen Shot 2018-11-06 at 3.53.20 AM
October 21 2018

Sound frequency modification with javascript

admin Coding javascript, music

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.

Expanding on my passions Helpful Git Commands

Related Posts

pankaj-patel-515219-unsplash

Coding

Helpful Git Commands

nghia-le-57365-unsplash

Coding

Expanding on my passions

HEROKU

Coding

How to deploy static site in Heroku

Recent Posts

  • nahel-abdul-hadi-1226210-unsplashWhy it’s a bad Idea to host your WP site locally
    May 9, 2019
  • IMG_20190120_0219392018 Gadgets win
    January 16, 2019
  • sticker-mule-199224-unsplashCurrent Interests
    December 5, 2018

Latest Tweets

→ Follow me
E.B.'s Lab
© E.B.'s Lab 2023