/digitalchirp

Digital chirp plays notes based on tweets posted in real time

Primary LanguageJavaScriptMIT LicenseMIT

Digital Chirp

Digital chirp plays notes based on tweets posted in real time.

It reads tweets and looks for the following content:

  • Notes (do, , mi, fa, sol, la, si) to be played
  • Numbers (1 to 7) for the octave
  • The character # to decide if the note is sharp or not
  • The length of the tweet to decide how long the note is played

If a tweet contains multiple matches, multiple notes are played.

Tweets are displayed in realtime, and elements considered are highlighted

Installation

It uses the twitter API, so you need to create an App and add your token as an env variable

export twitterToken="<TOKEN>"

Then installation can be done

npm install

It runs on a express server, serving files on port 3000, start it with

npm run start