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, 79 downloads)
Random-Style-Picker-AHK.png (9.1 KB, 235 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, 59 downloads)
BB21-Style-Picker-Save-List.png (35.72 KB, 163 downloads)
BB21-Style-Picker-Random-Setting.png (33.97 KB, 163 downloads)
Add-ons and UserTracks for Band-in-a-Box
Joined: Jan 2001
Posts: 918
J
Expert
Offline
Expert
J
Joined: Jan 2001
Posts: 918
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, 131 downloads)

BIAB2024
Windows 10 Pro
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: 918
J
Expert
Offline
Expert
J
Joined: Jan 2001
Posts: 918
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


BIAB2024
Windows 10 Pro
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, 108 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, 18 downloads)
Add-ons and UserTracks for Band-in-a-Box
Joined: Jan 2001
Posts: 918
J
Expert
Offline
Expert
J
Joined: Jan 2001
Posts: 918
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 02:01 AM.

BIAB2024
Windows 10 Pro
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: 2,683
Veteran
Offline
Veteran
Joined: Jun 2009
Posts: 2,683
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, 181 downloads)
Add-ons and UserTracks for Band-in-a-Box
Joined: Jun 2009
Posts: 2,683
Veteran
Offline
Veteran
Joined: Jun 2009
Posts: 2,683
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, 72 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
Band-in-a-Box 2025 for Windows is Here!

Band-in-a-Box® 2025 for Windows 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 with savings of up to 50% on most upgrade packages during our special—available until December 31, 2024! 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 Windows 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!

New! Xtra Styles PAK 19 for Band-in-a-Box 2024 and Higher for Windows!

Xtra Styles PAK 19 for Windows & Mac Band-in-a-Box version 2024 (and higher) is here with 200 brand new RealStyles!

We’ve got 200 new styles coming your way spread across the rock & pop, jazz, and country genres as well as the second iteration of our Blues volume!

In this PAK you'll find: soft singer-songwriter pop, New Orleans grooves, lilting country waltzes, tight ‘n’ groovy funk, garage punk, smooth soul, gospel jazz, up-tempo train grooves, and more variations on the blues than you’ll know what to do with! Xtra Style PAK 19 features these styles and many, many more!

All the Xtra Styles PAKs 1 - 19 are on special for only $29 each (reg $49), or get all 19 PAKs for $199 (reg $399)! Order now!

Learn more and listen to demos of the Xtra Styles PAK 19.

Video: Xtra Styles PAK 19 Overview & Styles Demos: Watch now!

Note: The Xtra Styles require the UltraPAK, UltraPAK+, or Audiophile Edition of Band-in-a-Box®. (Xtra Styles PAK 19 requires the 2024 or higher UltraPAK, UltraPAK+, or Audiophile Edition. They will not work with the Pro or MegaPAK version because they need the RealTracks from the UltraPAK, UltraPAK+, or Audiophile Edition.

New! XPro Styles PAK 8 for Band-in-a-Box 2024 and higher for Windows!

We've just released XPro Styles PAK 8 for Windows & Mac Band-in-a-Box version 2024 (and higher) with 100 brand new RealStyles, plus 32 RealTracks/RealDrums!

With XPro Styles PAK 8 there are the usual 75 styles spread across the rock & pop, jazz, and country genres (25 styles each), as well as 25 styles utilizing world music instruments, bringing the total to an even 100.

Here’s a sample of what XPro Styles PAK 8 has to offer: 12-8 country-rock ballads, cool soul-jazz, easy listening Americana, hip-hop beats, Latin jazz-fusion, classic rock, electronic dance music, heavy modern-jazz, charming indie-folk, and even some experimental ‘60s rock! Order’s up and hot to go!

Special Pricing! Until December 31, 2024, all the XPro Styles PAKs 1 - 8 are on sale for only $29 ea (Reg. $49 ea), or get them all in the XPro Styles PAK Bundle for only $149 (reg. $299)! Order now!

Learn more and listen to demos of XPro Styles PAKs.

Video: XPro Styles PAK 8 Overview & Styles Demos: Watch now!

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

New! Xtra Styles PAK 19 for Band-in-a-Box 2024 for Mac!

Xtra Styles PAK 19 for Mac & Windows Band-in-a-Box version 2024 (and higher) is here with 200 brand new RealStyles!

We’ve got 200 new styles coming your way spread across the rock & pop, jazz, and country genres as well as the second iteration of our Blues volume!

In this PAK you'll find: soft singer-songwriter pop, New Orleans grooves, lilting country waltzes, tight ‘n’ groovy funk, garage punk, smooth soul, gospel jazz, up-tempo train grooves, and more variations on the blues than you’ll know what to do with! Xtra Style PAK 19 features these styles and many, many more!

All the Xtra Styles PAKs 1 - 19 are on special for only $29 each (reg $49), or get all 19 PAKs for $199 (reg $399)! Order now!

Learn more and listen to demos of Xtra Styles PAK 19

Video: Xtra Styles PAK 19 Overview & Styles Demos: Watch now!

Note: The Xtra Styles require the UltraPAK, UltraPAK+, or Audiophile Edition of Band-in-a-Box®. (Xtra Styles PAK 19 requires the 2024 or higher UltraPAK, UltraPAK+, or Audiophile Edition. They will not work with the Pro or MegaPAK version because they need the RealTracks from the UltraPAK, UltraPAK+, or Audiophile Edition.

New! XPro Styles PAK 8 for Band-in-a-Box 2024 for Mac!

We've just released XPro Styles PAK 8 for Mac & Windows Band-in-a-Box version 2024 (and higher) with 100 brand new RealStyles, plus 32 RealTracks/RealDrums!

With XPro Styles PAK 8 there are the usual 75 styles spread across the rock & pop, jazz, and country genres (25 styles each), as well as 25 styles utilizing world music instruments, bringing the total to an even 100.

Here’s a sample of what XPro Styles PAK 8 has to offer: 12-8 country-rock ballads, cool soul-jazz, easy listening Americana, hip-hop beats, Latin jazz-fusion, classic rock, electronic dance music, heavy modern-jazz, charming indie-folk, and even some experimental ‘60s rock! Order’s up and hot to go!

Special Pricing! Until December 31, 2024, all the XPro Styles PAKs 1 - 8 are on sale for only $29 ea (Reg. $49 ea), or get them all in the XPro Styles PAK Bundle for only $149 (reg. $299)! Order now!

Learn more and listen to demos of XPro Styles PAKs.

Video: XPro Styles PAK 8 Overview & Styles Demos: Watch now!

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

Generate Lyrics for your Band-in-a-Box songs with LyricLab!

Need some lyrics to complete your Band-in-a-Box song? LyricLab is here to help!

LyricLab (by Joanne Cooper) is an AI-powered tool designed to quickly create lyrics and chords to fit your music. Just enter a rough idea of your lyrics, and let the AI bring them to life. Once you're happy with the results, simply import the LyricLab file into Band-in-a-Box® 2024 or newer. From there, you can pick your style and generate melodies to match your song’s chords!

Learn more about LyricLab here!

Watch the video.


Band-in-a-Box 2024 Italian for Mac is Here!

Ci siamo dati da fare e abbiamo aggiunto oltre 50 nuove funzionalità e una straordinaria raccolta di nuovi contenuti, tra cui 222 RealTracks, nuovi RealStyles, MIDI SuperTracks, Instrumental Studies, "Songs with Vocals" Artist Performance Sets, Playable RealTracks Set 3, Playable RealDrums Set 2, due nuovi set di "RealDrums Stems", XPro Styles PAK 6, Xtra Styles PAK 17 e altro ancora!

Tutti Pacchetti | Nuove Caratteristiche

Forum Statistics
Forums65
Topics83,270
Posts756,102
Members39,081
Most Online3,932
Nov 19th, 2024
Newest Members
lalo, NunoFerrao, Mikey20485, TomfromNJ, Melchisedeck
39,080 Registered Users
Top Posters(30 Days)
jpettit 284
DrDan 184
Rob Helms 157
MarioD 139
Noel96 124
rharv 115
DC Ron 113
Today's Birthdays
There are no members with birthdays on this day.
Powered by UBB.threads™ PHP Forum Software 7.7.5