Add onLyricsUpdate() for user-defined actions
Posted: Thu Sep 04, 2014 8:02 am
Hi,
I'd love to display the lyrics (in 2-color text form) on an external LED display module, plus trigger a smoke machine and stage lights off the lyrics. These are all controllable via a HTTP REST interface, for example issuing a call to http://smoke.machine.ip/smoke?duration=2sec
Can you add a onLyricsUpdate(lyrics, position, rate, time) callback to the song where lyrics are the current lyrics displayed (unicode text), position is a character position for the text being displayed where color changes (float OK for intra-character color change), rate is the current rate of characters per second being sung, and time is the current queue time.
The user would supply the behavior for the callback in a text file per song or general per show, where they can match lyrics text pattern or have threshold triggers for position, rate, time, and the action would be to issue a HTTP call at a minimum (or also MIDI show control/DMX command/Insteon/Z-wave/X.10 command - I don't use them but other folks might)
This would basically enable more complex and entertaining shows than just lyrics and images/videos displayed on a TV screen/projector.
I'd love to display the lyrics (in 2-color text form) on an external LED display module, plus trigger a smoke machine and stage lights off the lyrics. These are all controllable via a HTTP REST interface, for example issuing a call to http://smoke.machine.ip/smoke?duration=2sec
Can you add a onLyricsUpdate(lyrics, position, rate, time) callback to the song where lyrics are the current lyrics displayed (unicode text), position is a character position for the text being displayed where color changes (float OK for intra-character color change), rate is the current rate of characters per second being sung, and time is the current queue time.
The user would supply the behavior for the callback in a text file per song or general per show, where they can match lyrics text pattern or have threshold triggers for position, rate, time, and the action would be to issue a HTTP call at a minimum (or also MIDI show control/DMX command/Insteon/Z-wave/X.10 command - I don't use them but other folks might)
This would basically enable more complex and entertaining shows than just lyrics and images/videos displayed on a TV screen/projector.