PG Music Home
Posted By: Pipeline Random Style Picker Tool (Free) - 10/18/21 03:26 AM
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 File
Random Style Picker.ahk.mp4  (79 downloads)
Attached picture Random-Style-Picker-AHK.png
Attached File
BB21-AHK-Random-Style3.gif  (17 downloads)
Posted By: Pipeline Fix: Random Style Picker Tool (Free) - 11/08/21 01:37 AM
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
Posted By: Pipeline Update Fix: Random Style Picker Tool (Free) - 11/08/21 07:54 PM
UPDATE: When it the Tempo Range was set to All it would not search.
remove .mp4 Random Style Picker.ahk.mp4



Attached File
Random Style Picker.ahk.mp4  (59 downloads)
Attached File
BB21-Random-Style-AHK.gif  (230 downloads)
Attached picture BB21-Style-Picker-Save-List.png
Attached picture BB21-Style-Picker-Random-Setting.png
Posted By: Joseph Land Re: Random Style Picker Tool (Free) - 01/30/22 11:59 AM
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 picture catagory.jpg
Posted By: Pipeline Re: Random Style Picker Tool (Free) - 01/30/22 05:08 PM
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		
Posted By: Pipeline Re: Random Style Picker Tool (Free) - 01/30/22 05:31 PM
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
Posted By: Joseph Land Re: Random Style Picker Tool (Free) - 01/30/22 10:05 PM
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
Posted By: Pipeline Re: Random Style Picker Tool (Free) - 01/30/22 10:15 PM
LOL have not got Doo Wop Modern Pop but will add it:

Attached picture Random-Style-Choice.png
Posted By: Pipeline Re: Random Style Picker Tool (Free) - 01/31/22 09:09 AM
Try this, remove .mp4 Random Style Picker.ahk.mp4

Full Screen 4K



Attached File
Random Style Picker.ahk.mp4  (18 downloads)
Attached File
Posted By: Joseph Land Re: Random Style Picker Tool (Free) - 01/31/22 09:53 AM
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.

Posted By: Pipeline Re: Random Style Picker Tool (Free) - 01/31/22 05:01 PM
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
}
Posted By: musocity Random Style Picker Tool (Free) Updated - 08/07/23 08:50 PM
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 picture Biab-Random-Style-Picker.png
Posted By: musocity Re: Random Style Picker Tool (Free) Updated - 08/15/23 07:37 AM
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 picture Biab-Random-Style-Picker2.png
© PG Music Forums