Previous Thread
Index
Next Thread
Print Thread
Go To
#672264 09/09/21 08:31 AM
Recording, Mixing, Performance and Production
Joined: Jun 2021
Posts: 1,689
Expert
OP Offline
Expert
Joined: Jun 2021
Posts: 1,689
Does anyone use BIAB to control lighting via MIDI during performances?

I know there's expensive hardware to do like this, but it's possible to intercept a MIDI stream and use it to control Philips Hue lights with some relatively simple scripting and some open source tools.

Here's my Mac doing it, while Logic plays a generative piece by Brian Eno: https://www.youtube.com/watch?v=O5sMaDRqbbE

Recording, Mixing, Performance and Production
Joined: May 2020
Posts: 2,670
Product Manager
Offline
Product Manager
Joined: May 2020
Posts: 2,670
Ok, now that's slick!

This should be possible in BIAB - since it's possible to output MIDI from BIAB to hardware synths, it should be possible to output that MIDI to a MIDI lighting device. As for having a script intercept it, you should be able to use the Mac's Audio/MIDI Setup to create a virtual MIDI device to take MIDI from BIAB and send it to the script app, then have the script output to your lighting hardware. I'm not sure of the specifics as I've never done this before with BIAB, but I'd be glad to try and help!


I work here
Recording, Mixing, Performance and Production
Joined: Jun 2021
Posts: 1,689
Expert
OP Offline
Expert
Joined: Jun 2021
Posts: 1,689
Originally Posted By: Simon - PG Music
As for having a script intercept it, you should be able to use the Mac's Audio/MIDI Setup to create a virtual MIDI device to take MIDI from BIAB and send it to the script app, then have the script output to your lighting hardware. I'm not sure of the specifics as I've never done this before with BIAB, but I'd be glad to try and help!


Yup, that's the ticket, IAC. This guy's tools will read the MIDI stream and let it trigger whatever you want, in this case HTTP requests to a local Hue hub:

https://github.com/gbevin/ReceiveMIDI

I need to figure out how to send MIDI from BIAB. I will probably need to take you up on your offer of help, thanks!

Mark

Recording, Mixing, Performance and Production
Joined: Jun 2021
Posts: 1,689
Expert
OP Offline
Expert
Joined: Jun 2021
Posts: 1,689
Well, figuring that out was a challenge! But I got things set up on the BIAB end. Playing chord sequence C then D with "send chords to external device" sends this out on the IAC bus, as trapped by ReceiveMIDI:

channel 16 note-on C1 1
channel 16 note-on E1 1
channel 16 note-on G1 1
channel 16 note-off C1 64
channel 16 note-off E1 64
channel 16 note-off G1 64
channel 16 note-on D1 1
channel 16 note-on F#1 1
channel 16 note-on A1 1

I'd rather have single events to process than all the component notes of the chords, but that's a lot to ask. Maybe silent MIDI events, easily placed in the chord sheet, that could function as lighting cues?

Recording, Mixing, Performance and Production
Joined: May 2020
Posts: 2,670
Product Manager
Offline
Product Manager
Joined: May 2020
Posts: 2,670
Originally Posted By: Mark Hayes
Well, figuring that out was a challenge! But I got things set up on the BIAB end. Playing chord sequence C then D with "send chords to external device" sends this out on the IAC bus, as trapped by ReceiveMIDI:

channel 16 note-on C1 1
channel 16 note-on E1 1
channel 16 note-on G1 1
channel 16 note-off C1 64
channel 16 note-off E1 64
channel 16 note-off G1 64
channel 16 note-on D1 1
channel 16 note-on F#1 1
channel 16 note-on A1 1

I'd rather have single events to process than all the component notes of the chords, but that's a lot to ask. Maybe silent MIDI events, easily placed in the chord sheet, that could function as lighting cues?

Nice work!

Yeah, silent MIDI events can work too. If you set your Melody channel to output to the IAC device, you can use the Piano Roll in BB to enter in something like a Control Change or Program Change - or even just input some notes, since all the MIDI on that channel will be sent out to the IAC device instead of the Mac DLS synth. There may be a VST plugin you could use for that, to save you from having to change your MIDI output settings for the Melody track - I found one that seems to be part of FL Studio, and another called MidiOut though the website seems to be defunct.


I work here
Recording, Mixing, Performance and Production
Joined: Jun 2021
Posts: 1,689
Expert
OP Offline
Expert
Joined: Jun 2021
Posts: 1,689
Originally Posted By: Simon - PG Music
If you set your Melody channel to output to the IAC device, you can use the Piano Roll in BB to enter in something like a Control Change or Program Change - or even just input some notes


I need to learn how to do that sort of MIDI editing.

Program changes could work for scene cues. Ideally, I'd want to send arbitrary text messages, which I guess would be done via SysEx (?) so I could have BIAB come straight out and tell Hue, "light 5 - hue FFCCCC - brightness 55 - saturation 100 - transitiontime 3" or "scene - tequila sunset".

Controlling Hue lights via HTTP really limits the responsiveness, though, so it's not like I could get 10 lights dancing in perfect sync to 10 different song tracks; the system overloads pretty quickly and winds up lagging the music. (This sort of thing can be done at a lower level using the Zigbee protocol, bypassing the bridge and communicating directlly with the lamps, but that is completely beyond me.)

So, in my little home setup, a separate lighting track in BIAB would really have to be composed, as opposed to having the lights automatically track the music (which works kind of nicely in my example only because the material is so slow and un-rhythmic.)

I would really really like a way to put little blue sticky notes on the chord sheet with my special text messages, how unrealistic is that?

Recording, Mixing, Performance and Production
Joined: Jun 2021
Posts: 1,689
Expert
OP Offline
Expert
Joined: Jun 2021
Posts: 1,689
By the way, the MIDI Show Control spec is fun to read:

http://www.richmondsounddesign.com/docs/midi-show-control-specification.pdf

You can control: machinery, rigging, flys, lifts, turntables, trusses, robots, animation, floats, breakaways... fog, smoke, pyro, fireworks, flames, and explosions!

Recording, Mixing, Performance and Production
Joined: May 2000
Posts: 22,163
Veteran
Offline
Veteran
Joined: May 2000
Posts: 22,163
Yeah, we've used MIDI to DMX for lights and used MIDI for lots of other equipment, but some of those you mention I would never have even thought about .. flames and explosions via MIDI would kinda scare me
We tried Fog machine but never got it to cooperate with the equipment we had at the time so someone had to step on it and trigger it as needed frown


I do not work here, but the benefits are still awesome
Make your sound your own!
Recording, Mixing, Performance and Production
Joined: May 2020
Posts: 2,670
Product Manager
Offline
Product Manager
Joined: May 2020
Posts: 2,670
Sysex would be more complicated, since there's no way to "enter" sysex messages into BIAB directly - you'd have to create a MIDI file with these Sysex messages then import it into BIAB and hope everything lines up, since I believe BB won't even let you edit the sysex after. I'm not even certain if BB will even import the Sysex messages, as I don't have anything to try with at the moment.

Program changes are easy - see my screenshot. Basically, open the Piano Roll, choose your track (Melody is handy since BB doesn't tend to use it), choose Program from the View/Edit menu, then click in the bottom section to add a program change.

Attached Files (Click to download or enlarge) (Only available when you are logged in)
progchg.png (41 KB, 33 downloads)

I work here
Recording, Mixing, Performance and Production
Joined: Jun 2021
Posts: 1,689
Expert
OP Offline
Expert
Joined: Jun 2021
Posts: 1,689
Originally Posted By: Simon - PG Music
Program changes are easy - see my screenshot


Thanks, got 'em!

channel 4 program-change 64
channel 4 program-change 97

Now I need to put together a Javascript to implement a set of program numbers as lighting scene codes.

Let me set this up, get BIAB to switch on the beat, and see how fast I can run it!

Recording, Mixing, Performance and Production
Joined: May 2000
Posts: 22,163
Veteran
Offline
Veteran
Joined: May 2000
Posts: 22,163
FWIW, Realband handles Sysex with ease.
Editing, creating, triggering .. I'd go the RB route for this type of control.

Plus easier MIDI Port control (send what signals you want where you want them) .. just a better solution in my mind.


I do not work here, but the benefits are still awesome
Make your sound your own!
Recording, Mixing, Performance and Production
Joined: Jun 2021
Posts: 1,689
Expert
OP Offline
Expert
Joined: Jun 2021
Posts: 1,689
Originally Posted By: rharv
FWIW, Realband handles Sysex with ease.


Yeah, but I'm a second-class Mac citizen, so no have.

Recording, Mixing, Performance and Production
Joined: May 2020
Posts: 2,670
Product Manager
Offline
Product Manager
Joined: May 2020
Posts: 2,670
Originally Posted By: Mark Hayes
Originally Posted By: Simon - PG Music
Program changes are easy - see my screenshot


Thanks, got 'em!

channel 4 program-change 64
channel 4 program-change 97

Now I need to put together a Javascript to implement a set of program numbers as lighting scene codes.

Let me set this up, get BIAB to switch on the beat, and see how fast I can run it!

Nice work! I'd love to see another video if you manage to get this working from BIAB!


I work here
Previous Thread
Next Thread
Go To

Link Copied to Clipboard
ChatPG

Ask sales and support questions about Band-in-a-Box using natural language.

ChatPG's knowledge base includes the full Band-in-a-Box User Manual and sales information from the website.

PG Music News
Video: Band-in-a-Box® 2025 for Mac®: VST3 Plugin Support

Band-in-a-Box® 2025 for Mac® now includes support for VST3 plugins, alongside VST and AU. Use them with MIDI or audio tracks for even more creative possibilities in your music production.

Band-in-a-Box® 2025 for Macs®: VST3 Plugin Support

Video: Band-in-a-Box® 2025 for Mac®: Using VST3 Plugins

Join the conversation on our forum.

Band-in-a-Box 2025 for Mac Videos

With the release of Band-in-a-Box® 2025 for Mac, we’re rolling out a collection of brand-new videos on our YouTube channel. We’ll also keep this forum post updated so you can easily find all the latest videos in one convenient spot.

From overviews of new features and walkthroughs of the 202 new RealTracks, to highlights of XPro Styles PAK 8, Xtra Styles PAKs 18, the 2025 49-PAK, and in-depth tutorials — you’ll find everything you need to explore what’s new in Band-in-a-Box® 2025.

Reference this forum post for One-Stop Shopping of our Band-in-a-Box® 2025 Mac Videos — we’ll be adding more videos as they’re released!

Band-in-a-Box 2025 for Mac is Here!

Band-in-a-Box® 2025 for Mac is here, packed with major new features and an incredible collection of available new content! This includes 202 RealTracks (in Sets 449-467), plus 20 bonus Unreleased RealTracks in the 2025 49-PAK. There are new RealStyles, MIDI SuperTracks, Instrumental Studies, “Songs with Vocals” Artist Performance Sets, Playable RealTracks Set 4, two new sets of “RealDrums Stems,” XPro Styles PAK 8, Xtra Styles PAK 19, and more!

Special Offers
Upgrade to Band-in-a-Box® 2025 for Mac with savings of up to 50% on most upgrade packages during our special—available until July 31, 2025! Visit our Band-in-a-Box® packages page for all the purchase options available.

2025 Free Bonus PAK & 49-PAK Add-ons
We've packed our Free Bonus PAK & 49-PAK with some incredible Add-ons! The Free Bonus PAK is automatically included with most Band-in-a-Box® for Mac 2025 packages, but for even more Add-ons (including 20 Unreleased RealTracks!) upgrade to the 2025 49-PAK for only $49. You can see the full lists of items in each package, and listen to demos here.

If you have any questions, feel free to connect with us directly—we’re here to help!

Band-in-a-Box 2025 Italian Version is Here!

Cari amici
È stata aggerate la versione in Italiano del programma più amato dagli appassionati di musica, il nostro Band-in-a-Box.
Questo è il link alla nuova versione 2025.

Di seguito i link per scaricare il pacchetti di lingua italiana aggiornati per Band-in-a-Box e RealBand, anche per chi avesse già comprato la nuova versione in inglese.

Band-in-a-Box 2025 - Italiano
RealBand 2025 - Italiano

Band-in-a-Box 2025 French Version is Here!

Bonjour à tous,

Band-in-a-Box® 2025 pour Windows est disponible en Français.
Le téléchargement se fait à partir du site PG Music

Pour ceux qui auraient déjà acheté la version 2025 de Band-in-a-Box (et qui donc ont une version anglaise), il est possible de "franciser" cette version avec les patchs suivants:

BIAB 2025 - francisation
RealBand 2025 - francisation

Voilà, enjoy!

Band-in-a-Box 2025 German Version is Here!

Band-in-a-Box 2025 für Windows Deutsch ist verfügbar!

Die deutsche Version Band-in-a-Box® 2025 für Windows ist ab sofort verfügbar!

Alle die bereits die englische Version von Band-in-a-Box und RealBand 2024 installiert haben, finden hier die Installationsdateien für das Sprachenupdate:

https://nn.pgmusic.com/pgfiles/languagesupport/deutsch2025.exe
https://nn.pgmusic.com/pgfiles/languagesupport/deutsch2025RB.exe

Update Your Band-in-a-Box® 2025 to Build 1128 for Windows Today!

Already using Band-in-a-Box 2025 for Windows®? Download Build 1128 now from our Support Page to enjoy the latest enhancements and improvements from our team.

Stay up to date—get the latest update now!

Forum Statistics
Forums58
Topics84,294
Posts777,361
Members39,611
Most Online25,754
Jan 24th, 2025
Newest Members
bjornen71, CATBELLOU, Banjopotamus, BudLab, ranvidlor
39,611 Registered Users
Top Posters(30 Days)
MarioD 145
zedd 120
DC Ron 106
nonchai 104
WaoBand 96
rsdean 87
Today's Birthdays
earl kirby, Guitarman 2
Powered by UBB.threads™ PHP Forum Software 7.7.5