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,688
Expert
OP Offline
Expert
Joined: Jun 2021
Posts: 1,688
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: 1,629
PG Music Staff
Offline
PG Music Staff
Joined: May 2020
Posts: 1,629
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,688
Expert
OP Offline
Expert
Joined: Jun 2021
Posts: 1,688
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,688
Expert
OP Offline
Expert
Joined: Jun 2021
Posts: 1,688
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: 1,629
PG Music Staff
Offline
PG Music Staff
Joined: May 2020
Posts: 1,629
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,688
Expert
OP Offline
Expert
Joined: Jun 2021
Posts: 1,688
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,688
Expert
OP Offline
Expert
Joined: Jun 2021
Posts: 1,688
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: 21,636
Veteran
Offline
Veteran
Joined: May 2000
Posts: 21,636
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


Make your sound your own!
.. I do not work here, but the benefits are still awesome
Recording, Mixing, Performance and Production
Joined: May 2020
Posts: 1,629
PG Music Staff
Offline
PG Music Staff
Joined: May 2020
Posts: 1,629
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,688
Expert
OP Offline
Expert
Joined: Jun 2021
Posts: 1,688
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: 21,636
Veteran
Offline
Veteran
Joined: May 2000
Posts: 21,636
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.


Make your sound your own!
.. I do not work here, but the benefits are still awesome
Recording, Mixing, Performance and Production
Joined: Jun 2021
Posts: 1,688
Expert
OP Offline
Expert
Joined: Jun 2021
Posts: 1,688
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: 1,629
PG Music Staff
Offline
PG Music Staff
Joined: May 2020
Posts: 1,629
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
User Video: Next-Level AI Music Editing with ACE Studio and Band-in-a-Box®

The Bob Doyle Media YouTube channel is known for demonstrating how you can creatively incorporate AI into your projects - from your song projects to avatar building to face swapping, and more!

His latest video, Next-Level AI Music Editing with ACE Studio and Band-in-a-Box, he explains in detail how you can use the Melodist feature in Band-in-a-Box with ACE Studio. Follow along as he goes from "nothing" to "something" with his Band-in-a-Box MIDI Melodist track, using ACE Studio to turn it into a vocal track (or tracks, you'll see) by adding lyrics for those notes that will trigger some amazing AI vocals!

Watch: Next-Level AI Music Editing with ACE Studio and Band-in-a-Box


Band-in-a-Box® 2024 German for Windows is Here!

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

Wir waren fleißig und haben über 50 neue Funktionen und eine erstaunliche Sammlung neuer Inhalte hinzugefügt, darunter 222 RealTracks, neue RealStyles, MIDI SuperTracks, Instrumental Studies, "Songs with Vocals" Artist Performance Sets, abspielbare RealTracks Set 3, abspielbare RealDrums Set 2, zwei neue Sets von "RealDrums Stems", XPro Styles PAK 6, Xtra Styles PAK 17 und mehr!

Paket | Was ist Neu

Update Your PowerTracks Pro Audio 2024 Today!

Add updated printing options, enhanced tracks settings, smoother use of MGU and SGU (BB files) within PowerTracks, and more with the latest PowerTracks Pro Audio 2024 update!

Learn more about this free update for PowerTracks Pro Audio & download it at www.pgmusic.com/support_windows_pt.htm#2024_5

The Newest RealBand 2024 Update is Here!

The newest RealBand 2024 Build 5 update is now available!

Download and install this to your RealBand 2024 for updated print options, streamlined loading and saving of .SGU & MGU (BB) files, and to add a number of program adjustments that address user-reported bugs and concerns.

This free update is available to all RealBand 2024 users. To learn more about this update and download it, head to www.pgmusic.com/support.realband.htm#20245

The Band-in-a-Box® Flash Drive Backup Option

Today (April 5) is National Flash Drive Day!

Did you know... not only can you download your Band-in-a-Box® Pro, MegaPAK, or PlusPAK purchase - you can also choose to add a flash drive backup copy with the installation files for only $15? It even comes with a Band-in-a-Box® keychain!

For the larger Band-in-a-Box® packages (UltraPAK, UltraPAK+, Audiophile Edition), the hard drive backup copy is available for only $25. This will include a preinstalled and ready to use program, along with your installation files.

Backup copies are offered during the checkout process on our website.

Already purchased your e-delivery version, and now you wish you had a backup copy? It's not too late! If your purchase was for the current version of Band-in-a-Box®, you can still reach out to our team directly to place your backup copy order!

Note: the Band-in-a-Box® keychain is only included with flash drive backup copies, and cannot be purchased separately.

Handy flash drive tip: Always try plugging in a USB device the wrong way first? If your flash drive (or other USB plug) doesn't have a symbol to indicate which way is up, look for the side with a seam on the metal connector (it only has a line across one side) - that's the side that either faces down or to the left, depending on your port placement.

Update your Band-in-a-Box® 2024 for Windows® Today!

Update your Band-in-a-Box® 2024 for Windows for free with build 1111!

With this update, there's more control when saving images from the Print Preview window, we've added defaults to the MultiPicker for sorting and font size, updated printing options, updated RealTracks and other content, and addressed user-reported issues with the StylePicker, MIDI Soloists, key signature changes, and more!

Learn more about this free update for Band-in-a-Box® 2024 for Windows at www.pgmusic.com/support_windowsupdates.htm#1111

Band-in-a-Box® 2024 Review: 4.75 out of 5 Stars!

If you're looking for a in-depth review of the newest Band-in-a-Box® 2024 for Windows version, you'll definitely find it with Sound-Guy's latest review, Band-in-a-Box® 2024 for Windows Review: Incredible new capabilities to experiment, compose, arrange and mix songs.

A few excerpts:
"The Tracks view is possibly the single most powerful addition in 2024 and opens up a new way to edit and generate accompaniments. Combined with the new MultiPicker Library Window, it makes BIAB nearly perfect as an 'intelligent' composer/arranger program."

"MIDI SuperTracks partial generation showing six variations – each time the section is generated it can be instantly auditioned, re-generated or backed out to a previous generation – and you can do this with any track type. This is MAJOR! This takes musical experimentation and honing an arrangement to a new level, and faster than ever."

"Band in a Box continues to be an expansive musical tool-set for both novice and experienced musicians to experiment, compose, arrange and mix songs, as well as an extensive educational resource. It is huge, with hundreds of functions, more than any one person is likely to ever use. Yet, so is any DAW that I have used. BIAB can do some things that no DAW does, and this year BIAB has more DAW-like functions than ever."

Forum Statistics
Forums66
Topics81,638
Posts735,345
Members38,524
Most Online2,537
Jan 19th, 2020
Newest Members
OlvaJownDay, Tranner Track, Ely Bass, Barking, SYOTR
38,524 Registered Users
Top Posters(30 Days)
MarioD 182
DC Ron 96
dcuny 89
rsdean 70
Today's Birthdays
govinspector
Powered by UBB.threads™ PHP Forum Software 7.7.5