This project was created as the final assignment for the course "Generative Design Programming" at the Masaryk University, Faculty of Informatics, Brno, Czech Republic.
Spoticar_FinalTrailer.mp4
Spoticar is a web application for visualizing race of cars, that are being synced with audio from Spotify and microphone. Root folder contains backend side, that uses Express.js for providing REST API and serving static files. Frontend side is located in client
folder and is created using React.js and P5.js, with help of more smaller libraries.
I you want to start the application, you need to firstly route audio trough virtual audio devices and maybe tweak it on the way. It needs to go like this:
Browser audio output (Spotify) -> Virtual Audio Cable
-> Microphone that browser can use
-> Your speakers or other output device
Main P5 sketch file is located in client/src/visualizers/audio-racing-p5.ts
- Clone this repository
- Install dependencies using
npm install
in root folder andnpm install
inclient
folder - Build frontend using
npm run build
inclient
folder - Start backend using
npm start
in root folder - Open
localhost:3000
in your browser (or whatever port you specified in.env
file) - Enjoy!