Skip to content

Repository aimed at entertaining crowds by pushing colors to phones on detecting beats of music.

Notifications You must be signed in to change notification settings

Technites-NITK/TJNite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TJ Nite

This is a project for Engineer 2014, the Technical Fest of NITK Surathkal, as a part of Technites. The code is written with the aim of detecting beats on the music being played, and then pushing colors for the clients, mobile phones of the audience, to display.

For music processing, phosphene is being used, a python library authored by Shashi Gowda. Websockets are being used for the connection between the clients and the server. A node.js server is used to broadcast the data to the clients.

Usage :

Set up server :

cd server
npm install
npm start

This will set up a server on localhost:5000.

Play the music :

Run the demo.py file in phosphene/src.

python demo.py <pathToSong>

Head over to localhost:5000 on a browser!

RealTime Broadcast :

Run the liveDemo.py file in phosphene/src.

python liveDemo.py

Dependencies :

  • For Phosphene

    • numpy
    • scipy
    • pygame
    • lame
  • Additional python dependencies

    • websocket-client
  • Node.js

    • ws
    • express

About

Repository aimed at entertaining crowds by pushing colors to phones on detecting beats of music.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.6%
  • HTML 4.0%
  • JavaScript 3.4%