Previous Thread
Index
Next Thread
Print Thread
Go To
Add-ons and UserTracks for Band-in-a-Box
Joined: Feb 2015
Posts: 7,954
P
Veteran
OP Offline
Veteran
P
Joined: Feb 2015
Posts: 7,954
Download https://www.autohotkey.com/
If you have Biab running As Administrator go to the install folder
C:\Program Files\AutoHotkey and set AutoHotkey.exe to Run As Administrator.
Remove the .mp4 from Random Style Picker.ahk.mp4 unzip and run.
Demo GIF

Attached Files (Click to download or enlarge) (Only available when you are logged in)
Random Style Picker.ahk.mp4 (3.95 KB, 85 downloads)
Random-Style-Picker-AHK.png (9.1 KB, 503 downloads)
Add-ons and UserTracks for Band-in-a-Box
Joined: Feb 2015
Posts: 7,954
P
Veteran
OP Offline
Veteran
P
Joined: Feb 2015
Posts: 7,954
One thing I forgot was Open Style Picker
Actions > Copy List to Clipboard
this will save to "C:\bb\Data\StyleListTabDelimited.Txt"

you can set it to another folder in the script:
txt := "C:\bb\Data\StyleListTabDelimited.Txt"

Also Actions > Set Dialog Options > Show Current Style... Never

Add-ons and UserTracks for Band-in-a-Box
Joined: Feb 2015
Posts: 7,954
P
Veteran
OP Offline
Veteran
P
Joined: Feb 2015
Posts: 7,954
UPDATE: When it the Tempo Range was set to All it would not search.
remove .mp4 Random Style Picker.ahk.mp4


Attached Files (Click to download or enlarge) (Only available when you are logged in)
Random Style Picker.ahk.mp4 (3.98 KB, 65 downloads)
BB21-Style-Picker-Save-List.png (35.72 KB, 173 downloads)
BB21-Style-Picker-Random-Setting.png (33.97 KB, 173 downloads)
Add-ons and UserTracks for Band-in-a-Box
Joined: Jan 2001
Posts: 1,063
Expert
Offline
Expert
Joined: Jan 2001
Posts: 1,063
Had nothing better to do this morning so I installed this and was amazed how well it worked.

Now what would really make this a 5-star addition would be to have the ability to not only pick the type of track, time signature and feeling but if we could choose the Genre of the track as shown in the Category pull-down menu in style picker. For example, if I had a jazz song, we could narrow down the choice to Jazz, Rock song could be narrowed down to Rock and so on.

Attached Files (Click to download or enlarge) (Only available when you are logged in)
catagory.jpg (151.65 KB, 141 downloads)

BIAB2026
Windows 10 Pro (Never Windows 11!)
WA6NCB

Add-ons and UserTracks for Band-in-a-Box
Joined: Feb 2015
Posts: 7,954
P
Veteran
OP Offline
Veteran
P
Joined: Feb 2015
Posts: 7,954
So do you just want a dropdown list with all the names in the Genre column, so the random choice will be from the particular genre ?

Code:
Name	Type	TSig	EvSw	Tempo	Long Name	Genre	Group	Date*	Set#	#Instr	#substyles	Other Genres	->Debug Order	GenScore	Priority	RDsub	RTsub	Fav	Rec	nr	NA	Pack	8/16	Instruments		

Add-ons and UserTracks for Band-in-a-Box
Joined: Feb 2015
Posts: 7,954
P
Veteran
OP Offline
Veteran
P
Joined: Feb 2015
Posts: 7,954
These are the Genre in the list, * only 1 or 2 styles

*Acoustic Guitar Ballad
Ballad
Bluegrass
Blues
Celtic
Classical
Country
Folk
Funk
*Gospel
Heavy Rock
Hip Hop
Jazz
Latin
Lite Pop
Medium Rock
*New Age
Pop
*Power Ballad
R&B
Reggae
*Ska
Soul
Synth Pop
World
*Worship

Add-ons and UserTracks for Band-in-a-Box
Joined: Jan 2001
Posts: 1,063
Expert
Offline
Expert
Joined: Jan 2001
Posts: 1,063
Pipeline:

I the everything BIAB package so I have all existing styles and my style count is 9,451

I ported those over into Excel and sorted by Genre and Group.

Of these, there are only 3 groups listed, Country, Jazz and Pop but those also contain many multiple sub-styles, Groups would not be a good choice to randomly choose from as that would not take into consideration the many sub-styles available.

After sorting the list by Genre, I see the following choices:

Ballads, Bluegrass, Blues, Celtic, Classical, Country, Disco, Doo Wop, Folk, Funk, Heavy Rock, Hip Hop, Jazz, Latin, Lite Pop, Medium Rock, Modern Pop, Pop, R&B, Reggae, Soul, Synth Pop and World.

Those have multiple choices thus there is a large grouping of random styles to choose from.

There are a few other Genre's but the choices are very low and I would not consider them worth doing a random choosing.

My opinion would be to use the following as random choice groups in the Random Style Picker. And those choices would be in a drop down list.

Ballads
Bluegrass
Blues
Celtic
Classical
Country
Disco
Doo Wop
Folk
Funk
Heavy Rock
Hip Hop
Jazz
Latin
Lite Pop
Medium Rock
Modern Pop
Pop
R&B
Reggae
Soul
Synth Pop
World


BIAB2026
Windows 10 Pro (Never Windows 11!)
WA6NCB

Add-ons and UserTracks for Band-in-a-Box
Joined: Feb 2015
Posts: 7,954
P
Veteran
OP Offline
Veteran
P
Joined: Feb 2015
Posts: 7,954
LOL have not got Doo Wop Modern Pop but will add it:

Attached Files (Click to download or enlarge) (Only available when you are logged in)
Random-Style-Choice.png (18.09 KB, 118 downloads)
Add-ons and UserTracks for Band-in-a-Box
Joined: Feb 2015
Posts: 7,954
P
Veteran
OP Offline
Veteran
P
Joined: Feb 2015
Posts: 7,954

Attached Files (Click to download or enlarge) (Only available when you are logged in)
Random Style Picker.ahk.mp4 (7.63 KB, 26 downloads)
Add-ons and UserTracks for Band-in-a-Box
Joined: Jan 2001
Posts: 1,063
Expert
Offline
Expert
Joined: Jan 2001
Posts: 1,063
Pipeline:

Your talents are really shining today.

Tried it the 1st thing in the morning while having coffee and I am amazed how well it worked.

Since it is looking for styles in the generated BIAB text file, for those few odd-ball genres that were not included so I just modified the existing text file to make them more aligned to the existing parameters.

For example, I took my 4 existing styles that had the Genre listing of Acoustic Guitar Ballad and just renamed them to Ballad in the text file to match the other 262 Ballad Genre styles I had.

Did the same for the 4 Country Ballad genre styles and renamed them to Country.

I guess I could take my 3 Folk Rock genre styles and rename them to either Folk or one of the Rock genres. I could even duplicate the 4 styles in the text file and name the other 4 styles to Folk so either genre would be randomly picked for those Folk Rock styles.

The possibilities are endless if someone wants to do the editing.

That way the odd-ball genre styles will be included in the lotto drawing.

The only thing you would have to be aware of is if you regenerated the style list, BIAB will over-write your edited list so I made a directory called AHK Data File in the BB directory and modified the pointer in Random_Style_Picker.ahk to that location. That way the original will not be overwritten.


Last edited by jcland; 01/31/22 03:01 AM.

BIAB2026
Windows 10 Pro (Never Windows 11!)
WA6NCB

Add-ons and UserTracks for Band-in-a-Box
Joined: Feb 2015
Posts: 7,954
P
Veteran
OP Offline
Veteran
P
Joined: Feb 2015
Posts: 7,954
You can add them to the dropdown but if you only have a few it will take a lot longer to find one randomly.
If it's working good for you post it in the main forum as others might find it helpful.

Code:
Gui, Add, DropDownList, gCheck5 vGenreChoice Choose1 x80 y220, All|Ballad|Bluegrass|Blues|Celtic|Classical|Country|Country Ballad|Disco|Doo Wop|Folk|Funk|Hip Hop|Jazz|Latin|Pop|Pop Lite|Pop Modern|Pop Synth|R&B|Reggae|Rock Heavy|Rock Medium|Soul|World

Check5:
........
........
if (GenreChoice = "County Ballad")
{	
    genre := "Country Ballad"
}

Action01:
........
........
else if (var7 = "Country Ballad") and (genre = "Country Ballad")
{
	match := 1
}

Add-ons and UserTracks for Band-in-a-Box
Joined: Jun 2009
Posts: 3,110
M
Veteran
Offline
Veteran
M
Joined: Jun 2009
Posts: 3,110
Here's an updated version:
Biab-Random-Style-Picker.zip (contains script and ReadMe)

Install www.autohotkey.com V1 then set C:\Program Files\AutoHotkey\AutoHotkey.exe to Run As Administrator by right click if you are running Biab As Administrator.

*Before first use, go into The Style Picker, "Clear Filter", then Actions > "Copy List to clipboard" this may take some time. You will then have StyleListTabDelimited.Txt in C:\bb\Data.

Also Actions > Set Dialog Options > Show current style in list even... > "never"


Open the ahk script with NotePad or text editor, set it to your paths then save:

txt := "C:\bb\Data\StyleListTabDelimited.txt"

You can run the script from anywhere or create a folder C:\bb\Scripts

Attached Files (Click to download or enlarge) (Only available when you are logged in)
Biab-Random-Style-Picker.png (10.89 KB, 190 downloads)
Add-ons and UserTracks for Band-in-a-Box
Joined: Jun 2009
Posts: 3,110
M
Veteran
Offline
Veteran
M
Joined: Jun 2009
Posts: 3,110
Updated with Play Stop Inject buttons. Shortcuts Alt+R Alt+P Alt+S Alt+I. Auto Play option added. Added Long Name.
Biab-Random-Style-Picker.zip (contains script and ReadMe)

Install www.autohotkey.com V1 then set C:\Program Files\AutoHotkey\AutoHotkey.exe to Run As Administrator by right click if you are running Biab As Administrator.

*Before first use, go into The Style Picker, "Clear Filter", then Actions > "Copy List to clipboard" this may take some time. You will then have StyleListTabDelimited.Txt in C:\bb\Data.

Also Actions > Set Dialog Options > Show current style in list even... > "never"


Open the ahk script with NotePad or text editor, set it to your paths then save:

txt := "C:\bb\Data\StyleListTabDelimited.txt"
STYdemos := "C:\bb\RealTracks\Data\Style Demos Audio\"


You can run the script from anywhere or create a folder C:\bb\Scripts


Attached Files (Click to download or enlarge) (Only available when you are logged in)
Biab-Random-Style-Picker2.png (13.33 KB, 82 downloads)
Previous Thread
Next Thread
Go To

Moderated by  Andrew - PG Music, PeterGannon 

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
XPro & Xtra Styles PAK Sets On Sale Now - Until May 15, 2026!

All of our XPro Styles PAKs and Xtra Styles PAKs are on sale until May 15th, 2026!

It's the perfect time to expand your Band-in-a-Box® style library with XPro and Xtra Styles PAKs. These additional styles for Band-in-a-Box® offer a wide range of genres designed to fit seamlessly into your projects. Each style is professionally arranged and mixed, helping enhance your songs while saving you time.

What are XPro Styles and Xtra Styles PAKs?

XPro Styles PAKs are styles that work with any version (Pro, MegaPAK, UltraPAK, UltraPAK+, or Audiophile Edition) of Band-in-a-Box® 2025 (or higher). XPro Styles PAKS 1-10 includes 1,000 styles!

Xtra Styles PAKs are styles that work with the UltraPAK, UltraPAK+, or Audiophile Edition of Band-in-a-Box® 2025 (or higher). Xtra Styles PAKs 1-21 includes 3,700 styles (and 35 MIDI styles)!

The XPro & Xtra Styles PAKs are not included in any Band-in-a-Box® package.

The XPro Styles PAKs 1-10 are available for only $29 ea (reg. $49 ea), or get them all in the XPro Styles PAK Bundle for only $149 (reg. $299)! Listen to demos and order now! For Mac or for Windows.

The Xtra Styles PAKs 1-21 are available for only $29 ea (reg. $49 ea), or get them all in the Xtra Styles PAK Bundle for only $199 (reg. $349)! Listen to demos and order now! For Mac or for Windows.

Note: XPro Styles PAKs require Band-in-a-Box® 2025 or higher and are compatible with ANY package, including the Pro, MegaPAK, UltraPAK, UltraPAK+, and Audiophile Edition.

The Xtra Styles require the UltraPAK, UltraPAK+, or Audiophile Edition of Band-in-a-Box®. (Xtra Styles PAK 19 requires the 2025 or higher UltraPAK, UltraPAK+, or Audiophile Edition. They will not work with the Pro or MegaPAK version as they require the RealTracks included in the UltraPAK, UltraPAK+, or Audiophile Edition.

Supercharge your Band-in-a-Box today with XPro Styles PAKs and Xtra Styles PAK Sets!

Band-in-a-Box 2026 for Mac Videos

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

Whether you're exploring new features, checking out the latest RealTracks or Style PAKs, this is your go-to guide for Band-in-a-Box® 2026.

Check out this forum post for "One Stop Shopping" of our Band-in-a-Box® 2026 Mac Videos!

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

Band-in-a-Box® 2026 for Mac is here and it is packed with major new features! There’s a new modern look, a GUI redesign to all areas of the program including toolbars, windows, workflow and more. There’s a Multi-view layout for organizing multiple windows. A standout addition is the powerful AI-Notes feature, which uses AI neural-net technology to transcribe polyphonic audio into MIDI—entire mixes or individual instruments—making it easy to study, view, and play parts from any song. And that’s just the beginning—there are over 100 new features in this exciting release.

Along with version 2026, we've released an incredible lineup of new content! There's 202 new RealTracks, brand-new RealStyles, MIDI SuperTracks, Instrumental Studies, “Songs with Vocals” Artist Performance Sets, Playable RealTracks Set 5, two new RealDrums Stems sets, XPro Styles PAK 10, Xtra Styles PAK 21, and much more!

Special Offers
Upgrade to Band-in-a-Box® 2026 for Mac and save up to 50% on most upgrade packages during our special offer—available until May 15, 2026. Visit our Band-in-a-Box® packages page to explore all available upgrade options.

2026 Free Bonus PAK & 49-PAK Add-ons
Our Free Bonus PAK and 49-PAK are loaded with amazing add-ons! The Free Bonus PAK is included with most Band-in-a-Box® 2026 for Mac packages, but you can unlock even more—including 20 unreleased RealTracks—by upgrading to the 2026 49-PAK for just $49.

Holiday Weekend Hours

As we hop into the Easter weekend, here are our holiday hours:

April 3 (Good Friday): 8:00 AM – 4:00 PM PDT
April 4 (Saturday): Closed
April 5 (Easter Sunday): Closed
April 6 (Easter Monday): Open regular hours

Wishing you an egg-cellent weekend!

— Team PG

Update to Build 10 of RealBand® 2026 for Windows®!

If you're already using RealBand 2026 for Windows, download build 10 to get all the latest additions and enhancements.

Band-in-a-Box® 2025 for Mac® users: Build 904 now available!

If you're already using Band-in-a-Box® 2025 for Mac®, make sure to grab the latest update! Build 904 is now available for download and includes the newest additions and enhancements from our team.

Band-in-a-Box® 2026 for Windows® users: Build 1237 is now available!

Already a Band-in-a-Box 2026 for Windows user? Stay up to date and download the build 1237 to get all the latest additions and enhancements.

Forum Statistics
Forums57
Topics86,200
Posts801,880
Members40,066
Most Online64,515
Apr 8th, 2026
Newest Members
isledge, Gtrplr66, Mando Kat, GlennMans, François Sohm
40,066 Registered Users
Top Posters(30 Days)
MarioD 127
zedd 109
DC Ron 100
rsdean 90
Noel96 89
vicarn 62
Today's Birthdays
Jay Street, JazzLOCO Almenas, smallchamber
Powered by UBB.threads™ PHP Forum Software 7.7.5