viz is a music visualiser. It works with Spotify, or though a microphone with SongRec.
viz needs both a client and a server. The server is needed to:
- Authenticate with Spotify, and emit song changes from Spotify to the client
- Or, if SongRec is used, to listen to the microphone and emit song changes to the client
The client is built with r3f and runs the visualization code.
To run viz with Spotify, you need to set up a few things:
- Go to the Spotify Developer Dashboard, and create a new app.
- Add
http://localhost:8888/callback
as a redirect URI. - Create a
.env
file in thebackend
folder with environment variables from the Spotify app.cp backend/.env.example backend/.env
make bootstrap
To start both the server and the client, run:
make start
For the full list of commands, see Makefile.