Spotify input for light triggers

Ask a generic question about the usage of QLC+, not related to a particular operating system
Post Reply
josh
Posts: 3
Joined: Thu Jun 23, 2022 5:19 pm
Real Name:

Hello,

I'm new to this, but I got my amateur setup working thanks to the documentation and youtube videos.

I'd like to run a spotify playlist at our wedding, and if possible have the lights adjusting to the sound. I already got it working that the light gets triggered by volume or a freq band.
But what would be even nicer, when I could use spotify meta data from the spotify API to e.g. change the light settings depending on what kind of song etc,

I found this thread viewtopic.php?t=14106 , but I don't quite understand it (not even whether this is a statement or question :P )

I found this (but it's for Freestyler)
https://github.com/walkerasindave/spotmidify
(mentioned here https://www.reddit.com/r/lightingdesign ... matically/)


I'm happy to do some programming myself, but it would be awesome, if I could get some pointers to get started on how one would accomplish that with QLC+

Thank you for your help and this great piece of software :)
User avatar
GGGss
Posts: 3057
Joined: Mon Sep 12, 2016 7:15 pm
Location: Belgium
Real Name: Fredje Gallon

I suspect that the thread is asking for a solution, where in function of the spotify API, a collection (or another function) could be triggered.
Me personally would not tamper with the QLC+ code, but create an add-on and using Artnet packets f.i. to signal QLC+ of what has to happen...
All electric machines work on smoke... when the smoke escapes... they don't work anymore
josh
Posts: 3
Joined: Thu Jun 23, 2022 5:19 pm
Real Name:

Thanks, I was not planning to mess with the QLC+ but I was wondering if it's possible to make a plugin/add-on or whatnot that works as an interface between the Spotify API and QLC+.

I guess that is what you are suggesting if I understand correctly.

What I thought (without any deeper knowledge of QLC+) is that the plugin would get the meta data of the current song playing (e.g. via a push, request, websocket or something else), if that is a slow song, e.g. use slow changing mellow lights, if it's a fast paced song, use strop colorful lights ...

Since it's for a wedding with a precurated playlist (so we kinda know what songs might be played, although not necessarily the order), I could also proxy the request through a database. And categorize the songs in there
User avatar
mcallegari
Posts: 4722
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

If I understand correctly, you want to detect the BPM of a song and set QLC+ timings accordingly.
There are a few thread discussing it and IIRC there are external tools that can detect BPM and send a MIDI clock or a signal in general that QLC+ can understand via the existing plugins.
josh
Posts: 3
Joined: Thu Jun 23, 2022 5:19 pm
Real Name:

I don't only want to detect the BPM, but also make a call to the spotify API and the meta data about the song. For example, there is a `genre` field, which I would like to use to set the "mood" of the lighting
Post Reply