All Projects → tudddorrr → spotify-lifx-visualiser

tudddorrr / spotify-lifx-visualiser

Licence: other
Visualising Spotify music with LIFX bulbs

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
Pug
443 projects
HTML
75241 projects

Projects that are alternatives of or similar to spotify-lifx-visualiser

spotify-el
Basic emacs functions to control spotify client.
Stars: ✭ 22 (-21.43%)
Mutual labels:  spotify
SpotifyNoPremium
A cross-platform Spicetify theme which declutters Spotify stock UI and removes all ads.
Stars: ✭ 376 (+1242.86%)
Mutual labels:  spotify
Eolian
Eolian is a Discord music bot that aims to be easy to use and provide a very powerful API for queuing songs from a variety of sources such as entire albums, playlists, artist discography and more.
Stars: ✭ 20 (-28.57%)
Mutual labels:  spotify
SpotifyAdBlocker-Windows
Spotify Adblocker for windows
Stars: ✭ 42 (+50%)
Mutual labels:  spotify
Tweeterify
A Twitter bot which recommends some Spotify top charts songs to people
Stars: ✭ 18 (-35.71%)
Mutual labels:  spotify
mirror
A "Smart Mirror" Android application
Stars: ✭ 53 (+89.29%)
Mutual labels:  spotify
fresh script
Find Spotify tracks posted to the HipHopHeads subreddit and add them to a Spotify playlist.
Stars: ✭ 69 (+146.43%)
Mutual labels:  spotify
discord-lavalink-music-bot
This is music bot for discord made with erelajs, lavalink, discordjs v13-dev
Stars: ✭ 34 (+21.43%)
Mutual labels:  spotify
MySpotify
A website to view your Spotify stats.
Stars: ✭ 38 (+35.71%)
Mutual labels:  spotify
SpotiSharp
Cross-platform music assistant
Stars: ✭ 22 (-21.43%)
Mutual labels:  spotify
SpotifyApi.NetCore
Lightweight .NET Core wrapper for the Spotify Web API
Stars: ✭ 31 (+10.71%)
Mutual labels:  spotify
connectr
A super lightweight Spotify controller
Stars: ✭ 100 (+257.14%)
Mutual labels:  spotify
polybar-now-playing
Script for polybar to display and control media(not only Spotify) using DBus.
Stars: ✭ 34 (+21.43%)
Mutual labels:  spotify
lavamusic
lavalink music bot base in erela.js and discord.js v13
Stars: ✭ 210 (+650%)
Mutual labels:  spotify
spotify-card
Generate spotify embeds using canvas
Stars: ✭ 21 (-25%)
Mutual labels:  spotify
PlaylistParty
📺 Play Spotify Playlists on Youtube.
Stars: ✭ 20 (-28.57%)
Mutual labels:  spotify
plumeria
🤖 A Discord chat bot with rich data piping between commands
Stars: ✭ 35 (+25%)
Mutual labels:  spotify
LIFX-Menu
OSX menu bar app to control LIFX bulbs
Stars: ✭ 24 (-14.29%)
Mutual labels:  lifx
Songify
A simple tool that gets the current track from Spotify, YouTube and Nightbot.
Stars: ✭ 66 (+135.71%)
Mutual labels:  spotify
YoutubeSpotifyDL
Youtube and Spotify music downloader with metadata.
Stars: ✭ 66 (+135.71%)
Mutual labels:  spotify

Spotify LIFX Visualiser

Visualise your Spotify music through your LIFX bulb(s)!

Setup

Clone the repository, register a Spotify app and create a file called ".env" with the following:

CLIENT_ID=yourclientid
CLIENT_SECRET=yourclientsecret
REDIRECT_URI=yourredirecturi
PORT=anyport

You can create a redirect URI by clicking "Edit settings" on the Spotify developer site. Make sure the port of the redirect URI and the port the app runs on are the same (e.g. 8888)

Finally, run npm install

Running

npm start

A browser window will open asking you to authorize your Spotify account

Additional options

-b [mode] or --beatmode [mode]

Modes: 
1: Based on the loudness of the track's current section
2: Based on the difference in loudness from the previous beat to the current beat (recommended)

-c [mode] or --colourmode [mode]

Modes:
1: Cycles through the colour wheel
2: Based off the album artwork's colours
3: Based on the existing colour of the light with slight saturation shifts for variety
4: Purely based on the existing colour of the light

-w or --writeanalysis writes the Spotify song analysis data to a file

-l [lightnames] or --lights [lightnames] choose which lights get used separated by commas e.g. --lights 'Bedroom, Upstairs, Downstairs' (not specifying this will just assume you want to use all your lights)

-t or --threshold number between 0 and 100 controlling what is deemed as a new beat (to change colour) (0 = all beats are new, 100 = barely any beats are new). Recommended is about 30-45.

-m or --maxbrightness number between 0 and 100 controlling the max brightness of your lights

-s or --minsaturation number between 0 and 360 controlling the minimum saturation of your lights in colour mode 3

Example

npm start -- --beatmode 2 --colourmode 1 --writeanalysis --lights 'Bedroom, Upstairs' will start the app in beat mode 2, colour mode 1, will write song analysis data to a file and will use the Bedroom and Upstairs lights

Warning

Depending on the music you use it may be possible to cause seizures. Be careful!

Built with

Node, Express, Pug, Request, Node-LIFX, Nanotimer

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].