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: 914
J
Expert
Offline
Expert
J
Joined: Jan 2001
Posts: 914
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: 914
J
Expert
Offline
Expert
J
Joined: Jan 2001
Posts: 914
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: 914
J
Expert
Offline
Expert
J
Joined: Jan 2001
Posts: 914
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,651
Veteran
Offline
Veteran
Joined: Jun 2009
Posts: 2,651
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,651
Veteran
Offline
Veteran
Joined: Jun 2009
Posts: 2,651
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
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

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

Band-in-a-Box® 2024 für Mac 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 & 7, Xtra Styles PAK 17 & 18, und mehr!

Paket | Was ist Neu

Band-in-a-Box® 2024 French for Mac® is Here!

Band-in-a-Box® 2024 apporte plus de 50 fonctions nouvelles ainsi qu'une importante de contenus nouveaux à savoir : 222 RealTracks, des RealStyles nouveaux, des SuperTracks MIDI, des Etudes d'Instruments, des Prestations d'Artistes, des "Morceaux avec Choeurs", un Set 3 de Tracks Jouables, un Set 2 de RealDrums Jouables, deux nouveaux Sets de "RealDrums Stems", des Styles XPro PAK 6 & 7, des Xtra Styles PAK 17 & 18, et bien plus encore!

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

We've just released XPro Styles PAK 7 with 100 brand new RealStyles, plus 50 RealTracks and RealDrums that are sure to delight!

With XPro Styles PAK 7 you can expect 25 rock & pop, 25 jazz, and 25 country styles, as well as 25 of this year's wildcard genre: Celtic!

Here's a small sampling of what XPro Styles PAK 7 has to offer: energetic rock jigs, New Orleans funk, lilting jazz waltzes, fast Celtic punk, uptempo train beats, gritty grunge, intense jazz rock, groovy EDM, soulful R&B, soft singer-songwriter pop, country blues rock, and many more!

Special Pricing! Until September 30, 2024, all the XPro Styles PAKs 1 - 7 are on sale for only $29 ea (Reg. $49 ea)! Supercharge your Band-in-a-Box 2024® with XPro Styles PAK 7! Order now!

Learn more and listen to demos of XPro Styles PAKs.

Watch the XPro Styles PAK 7 Overview & Styles Demos video.

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 18 for Band-in-a-Box 2024 for Mac!

Xtra Styles PAK 18 for Band-in-a-Box version 2024 is here with 200 brand new styles to take for a spin!

Along with 50 new styles each for the rock & pop, jazz, and country genres, we’ve put together a collection of styles using sounds from the SynthMaster plugin!

In this PAK you'll find: dubby reggae grooves, rootsy Americana, LA jazz pop, driving pop rock, mellow electronica, modern jazz fusion, spacey country ballads, Motown shuffles, energetic EDM, and plenty of synth heavy grooves! Xtra Style PAK 18 features these styles and many, many more!

Special Pricing! Until September 30, 2024, all the Xtra Styles PAKs 1 - 18 are on sale for only $29 ea (Reg. $49 ea)! Expand your Band-in-a-Box 2024® library with Xtra Styles PAK 18! Order now!

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

Watch the Xtra Styles PAK 18 Overview & Styles Demos video.

Note: The Xtra Styles require the UltraPAK, UltraPAK+, or Audiophile Edition of Band-in-a-Box®. (Xtra Styles PAK 18 requires the 2024 UltraPAK/UltraPAK+/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! Xtra Styles PAK 18 for Band-in-a-Box 2024 for Windows!

Xtra Styles PAK 18 for Band-in-a-Box version 2024 is here with 200 brand new styles to take for a spin!

Along with 50 new styles each for the rock & pop, jazz, and country genres, we’ve put together a collection of styles using sounds from the SynthMaster plugin!

In this PAK you'll find: dubby reggae grooves, rootsy Americana, LA jazz pop, driving pop rock, mellow electronica, modern jazz fusion, spacey country ballads, Motown shuffles, energetic EDM, and plenty of synth heavy grooves! Xtra Style PAK 18 features these styles and many, many more!

Special Pricing! Until September 30, 2024, all the Xtra Styles PAKs 1 - 18 are on sale for only $29 ea (Reg. $49 ea)! Expand your Band-in-a-Box 2024® library with Xtra Styles PAK 18! Order now!

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

Watch the Xtra Styles PAK 18 Overview & Styles Demos video.

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

Forum Statistics
Forums65
Topics82,896
Posts753,067
Members39,026
Most Online3,932
Nov 19th, 2024
Newest Members
xaos, sfloyd, Jack Peterson, RAB, Uke Berlin
39,025 Registered Users
Top Posters(30 Days)
MarioD 156
DC Ron 104
DrDan 85
dcuny 83
jpettit 82
rsdean 81
Today's Birthdays
Camron, DickR
Powered by UBB.threads™ PHP Forum Software 7.7.5