Previous Thread
Index
Next Thread
Print Thread
Go To
Post your own Tips and Tricks here
Joined: Jun 2009
Posts: 1,697
Expert
OP Offline
Expert
Joined: Jun 2009
Posts: 1,697
This can be used to find the RealDrum you need with Tap 2 Find or a midi reference clip, or you can create up the drum track direct in Toontrack by splitting up the RealDrum MIDI and moving sections around.

This is for AutoHotkey v1 you can convert it to AHK v2
If you are running Biab As Administrator:
To run script only .ahk install https://www.autohotkey.com/ and set AutoHotKey.exe to Run As Administrator

From
58-78Pop^
To
2416Fusion
had the Audio track Soloed, so you can us solo and save all the MGU's in those folder first,
these are some others I found,
JazzBrushesWaltz
Jazz54Even8^
UrbanPop128Shopping^
UrbanPopEv16BrokenWires
UrbanPopEv16SlowHard^
UrbanPopEv16Climbing^
UrbanPopEv16Drama^
TechnoSlimcut^
Jazz54Swing^
TechnoWildnout^

(I've got more to go through, but I got tired of it all)

when they are all done you search for .MID in the Drums folder then change the View to Details and list by size, you will see drums around 1k or 2k you can drop in you DAW and check if they are empty clips if so open those MGU's and check if they have the Audio track soloed if so open all the MGU's in that folder and un solo the Audio tracks then save.
Then File > Save Special > Save Song As MIDI File > Batch Mode > OK
this will overwrite the empty ones.
You can do them ALL manually this way but it would take sooo long !

When all done search for .MID then select all and copy to a new folder.

In the new folder use https://www.bulkrenameutility.co.uk/
to remove ^ from the filename, in the "Replace" put ^ and leave the "With" empty.
In the "Numbering" set it to "Prefix" "Pad" 4 this will keep them in alphabetical order in EZDrummer and won't show line number.
Then you can add them to the User Library or as a Toontrack 3rd party
C:\Program Files (x86)\Common Files\Toontrack\EZDrummer\Midi
or
C:\Program Files\Common Files\Toontrack\EZDrummer\Midi
they could also be in C:\ProgramData\Toontrack\ ?
if you just have Superior Drummer 3 look for Superior3 in path.
You can make folders Toontrack\EZDrummer\Midi\000001@REALDRUMS\010@REAL_DRUMS_MIDI
and put all the PG midi in 010@REAL_DRUMS_MIDI
then start EZDrummer or Superior Drummer 3

If you want to just use the RealDrums MIDI in EZD or SD3 you can as it's so EZ to edit the drum track however you like by cutting the main drum files up and drag around sections, changing all levels easily, adding solo riffs, 4 bar endings, 6 bar endings...

I don't know if you need this, it will convert Gm to EZDrummer
https://github.com/markheath/midifilemapper/wiki
https://github.com/markheath/midifilemapper/releases/download/0.5.36.0/MidiFileMapper0.5.36.0.zip



Copy the text below to notepad and save as Midi Batch RealDrums.ahk
Set to your Drums folder dir:= "X:\bb\Drums"
Run the script it will take some time to go through all the RealDrum folders.
Don't do anything else and leave it run.
It worked for me without issue, so just see how you go.
If you want to exit the script look in the System Tray for "H" and exit it or Task Manager AutoHotkey.exe

Code:
#NoEnv
#SingleInstance Force

dir:= "C:\bb\Drums"

WinClose, ahk_class TMIDIBatchDialog
Sleep, 100
WinClose, ahk_class TMIDIexportDlg
Sleep, 100
WinActivate, ahk_class TBandWindow
WinMenuSelectItem, ahk_class TBandWindow, , File, Save Special, Save Song as MIDI File
WinWait, ahk_class TMIDIexportDlg

WinActivate, ahk_class TMIDIexportDlg
Send, !m
Winwait, ahk_class TMIDIBatchDialog
ControlClick, TButton1, ahk_class TMIDIBatchDialog

Winwait, ahk_class TMIDIexportOpt
WinActivate, ahk_class TMIDIexportOpt
Control, Uncheck ,, TCheckBox1, ahk_class TMIDIexportOpt
Sleep, 100
ControlClick, TButton3, ahk_class TMIDIexportOpt
WinwaitClose, ahk_class TMIDIexportOpt

MsgBox, % list := names(dir)

names(dir) {
 Loop, Files, %dir%\*, D           ; Loop through subdirectories
 {
  n := 0, subdir := A_LoopFilePath
  Loop, Files, %subdir%\*.*        ; See whether subdirectory has files
   n++
  If n                             ; Subdirectory has files
   list .= "`n" subdir             ; Add the subdirectory path
  
  WinActivate, ahk_class TMIDIBatchDialog
  ControlFocus, TEdit2, ahk_class TMIDIBatchDialog
  Send, ^a
  Sleep, 500
  SendRaw, %subdir%
  Sleep, 1000
  Sleep, 50
  WinActivate, ahk_class TMIDIBatchDialog
  Send, !o
  
  Sleep, 500
  WinWait, ahk_class TxForm, ;&OK - Create MIDI Files
  WinActivate, ahk_class TxForm, ;&OK - Create MIDI Files
  ControlClick, TButton1, ahk_class TxForm
  

 }
 Return SubStr(list, 2)
}

GuiClose:
GuiEscape:
ExitApp



Post your own Tips and Tricks here
Joined: Sep 2013
Posts: 178
S
Apprentice
Offline
Apprentice
S
Joined: Sep 2013
Posts: 178
Thanks for the script.
I have tried it out. I have got the script to work but I am not sure weather the midi files will be useful for EZDrummer.

I think I need midi files that only contain the drum track in order for it to be useful in EZDrummer. When I export an MGU as midi from Biab I got a midi for the whole song, all instruments, not only the drum track. And I have not found a way to import only the drum track from the midi to EZDrummer. It seems to import all midi instruments in the file and it makes it a very messy drum track (maybe there is a way I have not found it).

Also when I was inspecting some of the MGU files in BIAB, they have no drum sound on the drum track or other instruments even though they are populated with RD and RTs. All instruments seem to be held in the melody track and the rest of the instrument tracks marked as frozen, so it will not produce any individual instrument midi tracks on export.

(Anyway I got the script to work after some trouble shooting. It did not work as is on my PC, Windows 11, Biab 2023 Build 1013 64B, AutoHot Key 1.1.
Not really sure what I am doing I have never used AutoHotKey before. But the scrip seems to work now (it will break the loop if a style is missing for the MGU but otherwise it seems to work).
I had to make the following changes
Add SetControlDelay -1 before the ControlClick and ControlFocus statements
;SendRaw, %subdir% did not work replaced it with
Send {Text}%subdir%
;Send, !o ; did not work replaced it with
Send, {Enter}
)

I leave this for now , thanks for the script. I have learned a lot and have a skeleton script I might be able to develop further for other things.

Post your own Tips and Tricks here
Joined: Jun 2009
Posts: 1,697
Expert
OP Offline
Expert
Joined: Jun 2009
Posts: 1,697
So it will open each sub folder in the "Drums" Path and in the Batch Converter any MGU in those folders will be rendered to midi and it will just render the Melody track that contains the RealDrumCharts without generating the song up.

Same as doing it manually: Open a RealDrums MGU > File > Save Special > Save Song As MIDI File > Batch Mode > OK
so you should just get a .MID with just the drum midi and same name as the RealDrum .wav or .wma
just make sure the Audio track is not soloed.
If you choose the Piano roll view then select the Melody track you should see the Drum midi. You can Drag to MID and export but this will take too long as you need to rename them to the drum .wma name.

So basically the script makes a list of the sub directories in Drums folder then as it loops through the folders it pastes each path in the the Batch dialog then clicks Ok then Ok for notice dialog.

I did the whole Audiophile Drums folder and I got about 1226 drum midi.

Yes , AutoHotkey is easy to learn and can do so many things that users want Biab to do without waiting years for it to come to Biab. There is so much help and examples to do just about anything in the AutoHotkey forum, way more help than you would get ii the Biab forum.

Post your own Tips and Tricks here
Joined: Sep 2013
Posts: 178
S
Apprentice
Offline
Apprentice
S
Joined: Sep 2013
Posts: 178
The script is working fine.
It generates all the midi.
The problem is that the midi files hold all instruments not only the drums for the song.

Same if I do it manually.

As an example if I manually open the MGU Nashville68^_110_Style.MGU in the drums folder and manually save it, save special midi batch, I will get a midi file Nashville68^_110_Style.MID with 5 instruments; Bass, Piano, Guitar, Strings, and Melody (I can see now that the melody holds the drums).

Same as when I run the script. And similar with the other midis.
It will load and show 5 instrument tracks in reaper as well as GuitarPro. And it seems that I got all those instrument tracks loaded into EZDrummer when I only want the Drum track to be imported

Maybe there is a configuration in Biab that I am missing.




Post your own Tips and Tricks here
Joined: Jun 2009
Posts: 1,697
Expert
OP Offline
Expert
Joined: Jun 2009
Posts: 1,697
Have a look in the midi Options settings and un-check the Midi Drums and RealCharts check boxes.
You could add that to the script to un-check them, I think it's already un-checks the midi chord markers = TCheckBox1
TCheckBox2 = Midi Drums
TCheckBox3 = RealCharts

or just go into midi options and set it, but you need to save a midi first so it will save the settings.




If you download AHK SimpleSpy comes in handy:


Post your own Tips and Tricks here
Joined: Sep 2013
Posts: 178
S
Apprentice
Offline
Apprentice
S
Joined: Sep 2013
Posts: 178
I have just tried it manually with the same MGU as above Nashville68^_110_Style.MGU.

There is no change.
I still got a midi file with 5 instruments.

Post your own Tips and Tricks here
Joined: Jun 2009
Posts: 1,697
Expert
OP Offline
Expert
Joined: Jun 2009
Posts: 1,697
I just tried the Nashville68^_110_Style.MGU and it's using a midi style so yes it's saving all them.
If I solo the track
Alt+2 then Alt+8 Solo the Melody track then
File > Save Special > Save Midi file > Ok Save as file
it will save just that track with the same name as MGU

So will have to script it to go through the folders, list the MGUs then
paste the path in the Open dialog
E:\bb\Drums\Nashville68^\Nashville68^_140_Style.MGU
Enter
solo the melody track
save to midi
then open next MGU in list

Hopefully that should get them all as a single midi drum track.

Post your own Tips and Tricks here
Joined: Sep 2013
Posts: 178
S
Apprentice
Offline
Apprentice
S
Joined: Sep 2013
Posts: 178
It seems to work ok when I test i manually with the same file as above.

However I have 9 tracks in the mixer 1 Bass, 2, Piano, 3 Drums - Alt+5, 4 Guitar 1, 5 strings, 6 Guitar - Alt+8, 7 Soloist, 8 Thru, 9 Audio - Alt???)

I need to mute all and then enable the Drums and the Audio track.
Then I get the single drum track in the midi.

However I can't find any Alt key for the Audio track, the manual for hot keys stops at Alt+9 but that will enable the soloist track, I haven't found any for the Audio track.

I also guess that all MGUs must have the same order of the drum and audio track in order for the script to work if I can find an Alt key for the audio track.

Post your own Tips and Tricks here
Joined: Jun 2009
Posts: 1,697
Expert
OP Offline
Expert
Joined: Jun 2009
Posts: 1,697
If you look at the Melody track in the Piano Roll you will see the RealChart Drum Midi.
If you solo that track then save to midi you should get the midi notes that are the same as the wma file:
Nashville68^_140_Style.mid = Nashville68^_140_Style.wma

There is no shortcut for the Audio track that I can see.

Attached Files (Click to enlarge) (Only available when you are logged in)
BB-RC-DRums-Melody-Track.png (108.75 KB, 53 downloads)
BB23-RC-RealDrums.png (111.62 KB, 53 downloads)
Post your own Tips and Tricks here
Joined: Sep 2013
Posts: 178
S
Apprentice
Offline
Apprentice
S
Joined: Sep 2013
Posts: 178
Thanks for the help it works now.

I was a bit confused since I did not see any melody track only a guitar2 track.
I will try to put it into the script later on, may take a while but I am sure it will work.

Post your own Tips and Tricks here
Joined: Jun 2009
Posts: 1,697
Expert
OP Offline
Expert
Joined: Jun 2009
Posts: 1,697
This seems to work but may need some tweaking with the Sleep, delays

Code:
#NoEnv
#SingleInstance Force

dir:= "E:\bb\Drums2"

Loop Files, %dir%\*.MGU, R  ; Recurse into subfolders.
 {

  WinActivate, ahk_class TBandWindow
  WinMenuSelectItem, ahk_class TBandWindow, , File, Open
  WinWait, ahk_class #32770
  Sleep, 2000
  SendRaw, %A_LoopFileFullPath%
  Sleep, 2000
  Send, {ENTER}
  Sleep, 3000
  Send, !2  : Solo Melody
  Send, !8  : Solo Melody
  Sleep, 1000
  ;MsgBox, Save
  WinActivate, ahk_class TBandWindow
  WinMenuSelectItem, ahk_class TBandWindow, , File, Save Special, Save Song as MIDI File
  WinWait, ahk_class TMIDIexportDlg
  Sleep, 2000
  Send, {ENTER}
  WinWait, ahk_class #32770
  Sleep, 3000
  Send, {ENTER}

  Sleep, 2000


  if WinExist("ahk_class TxForm") or WinExist("ahk_class" Overwrite file?)
  {  
     ;MsgBox, Overwrite?
	 WinActivate, ahk_class Overwrite file? ;TxForm
     ;Sleep, 500
     Send, y
	 ;WinWaitClose, ahk_class TxForm
  }
 

  Sleep, 1000
  Send, !{F4}
  Sleep, 2000

Post your own Tips and Tricks here
Joined: Sep 2013
Posts: 178
S
Apprentice
Offline
Apprentice
S
Joined: Sep 2013
Posts: 178
Thanks for the help. It works fine. I have tested it for a few of the drum folders.

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
Band-in-a-Box® 2023 for Mac is macOS Sonoma Compatible!

We're over the moon to announce that the latest Band-in-a-Box® 2023 for Mac Build 707 is compatible with macOS Sonoma!

Refresh your Band-in-a-Box® 2023 for Mac today with this free update to resolve visibility of notation in the Notation Window, apply smoother use of notation features, update to the Drums VU meter, and add the newest version of the DAW Plugin (5.5.13).

Learn more about Build 707 and download it here.

The Band-in-a-Box® 2023 for Mac German, French, and Italian language patches have also been updated with Build 707! Download your Build 707 language patch here.

Revisit: Eyes on Success featuring PG Music Inc., Band-in-a-Box®, and the Updated JAWS Script

In the past, Eyes on Success featured an episode that discussed our company history and Band-in-a-Box® program with Tobin, our chief development officer, including how Band-in-a-Box® is even more accessible with the help of their JAWS screen reader scripts!

Later on this month, Eyes on Success will be releasing an episode that features Gudrun Brunot talking about her new tutorials about how to use Band-in-a-Box® with JAWS.

It's a great idea to pair the two episodes together!

So, while waiting for their Gudrun Brunot episode, take 30 minutes and to listen to this episode from Eyes on Success. To download and listen to the podcast, use the link www.EyesOnSuccess.net/eos_2344_podcast.mp3

Eyes on Success is a weekly radio show / podcast geared to the visually impaired called "Eyes On Success" and that can be found at www.EyesOnSuccess.net.

Find out more about the show and get links to past episodes at www.EyesOnSuccess.net

Find their podcast on iTunes or use the URL: www.EyesOnSuccess.net/eos_podcast

User Tip: How to add drum fills without changing any other tracks

MarioD has shared some great advice when it comes to adding drum fills without changing any other tracks in your song:

There have been a number of questions asking how to add drum fills without changing any other tracks in a song. This is especially important if one is holding a chord for a few measures and wants to add a drum fill prior to the next chord. The following is how to accomplish that:

1-get the instruments/tracks to play like you want but don't worry about the drums for now.
2-generate the song.
3-freeze all tracks
4-unfreeze the drum track
5-add your fills where you want them
6-generated the song again - note this will only generate the drum track and not the frozen tracks
7- when you get the drums like you want them freeze the track

Have your own program tip to share? Post it on our Tips & Tricks forum!

Review - Band-in-a-Box® 2023 for Windows is Overflowing with Features!

Dennis posted his very thorough Band-in-a-Box® review recently, where he dives into some of the new features added with version 2023: Sound-Guy's Band-in-a-Box Review

Read his thoughts on the Download & Install Manager, partial track regeneration, Playable RealTracks, Audio Editing, the addition of SynthMaster, the VST DAW Plugin, and more!

"Band-in-a-Box continues to be an expansive musical tool-set for both novice and experienced musicians to compose, arrange and mix songs, as well as an extensive educational resource. It is, without negative connotation, a monster of a program. Yet, so is any DAW that I have used. No DAW can do some of the things BIAB does, while BIAB can do a lot that DAWs do."

Band-in-a-Box® Tutorials for Low-vision and Blind Program Users

Our friends at EyesFree_Tutorials have just released their Band-in-a-Box Tutorials, Bundle 2!

Created for low-vision and blind program users, this collection of Band-in-a-Box for Windows tutorials includes 31 audio instruction files and 19 music files for practice, plus help documents. Specific topics include "ABACA, let's make a song form," "Recording melody and lead-in," "Playing and editing: part markers; the handy clipboard. The play function. Search and replace," and more!

Learn more about their new tutorials, and connect with Roy & Gudrun to order the Band-in-a-Box Tutorials, Bundle 2 here.

Introducing... ChatPG!

Looking for answers to your questions about Band-in-a-Box? From "How do I ____?" to "What do I ____?" to "What is ____?" and more, you'll find your answers when you ask ChatPG!

We will be constantly updating the resources for this powerful addition to our website based on suggestions & feedback, as well as all of the questions that have been asked by program users and website visitors.

Videos! Get To Know XPro Styles PAK 5 & Xtra Styles PAK 16 for Band-in-a-Box® 2023

XPro Styles PAK 5 adds 75 new RealStyles for rock, pop, jazz, funk, and country, and 25 styles based around MIDI SuperTracks that utilize the SynthMaster plugin!

Here's just a taste of what XPro Styles PAK 5 has in store: electronic Latin funk, spacey dancehall grooves, soulful Americana ballads, heavy house beats, vibin' cool jazz, rollicking country train beats, playful pop country jams, gritty blues rock, modern disco funk, moody synthwave, subdued bossa nova, lo-fi jazz, and many more! Pick up XPro Styles PAK 5 today!

What are XPro Styles PAKs?
XPro Styles PAKs are styles that work with any version (Pro, MegaPAK, UltraPAK, UltraPAK+, Audiophile Edition) of Band-in-a-Box® 2023 (or higher). Each PAK includes over 100 styles!

XPro Styles PAKs aren't exclusive to Pro users, there's a huge range of RealStyles available for everyone - even Audiophile customers! That's right, XPro Styles PAKs can be used with ANY Band-in-a-Box® 2023 package!

XPro Styles PAK 5: https://youtu.be/QdhS9tc0y_s


Xtra Styles PAK 16 includes an absolute plethora of styles... 200 to be exact! 50 new styles each for Jazz, Country, Rock & Pop, and Praise & Worship!

Take a gander at what you can expect to find: modern disco funk, exciting gospel shout, busy jazz fusion, soulful R&B ballads, various Americana styles, modern pop country, blistering heavy metal, uplifting worship rock, lo-fi hip hop, a plethora of progressive rock, old-timey autoharp, modern surf rock, and many more!

What are Xtra Styles PAKs?
Xtra Styles PAKs are styles that work with the UltraPAK, UltraPAK+, or Audiophile Edition of Band-in-a-Box® 2023 (or higher). With over 2,600 styles included in Xtra Styles PAKs 1-16, the possibilities are endless!

Xtra Styles PAK 16 requires the UltraPAK, UltraPAK+, or Audiophile Edition of Band-in-a-Box® version 2023. They won't work with the Pro or MegaPAK version because they need the RealTracks from the 2023 UltraPAK, UltraPAK+, or Audiophile Edition..

Xtra Styles PAK 16: https://youtu.be/KP1svm_RMfI


How do I know if I have XPro Styles PAKs or Xtra Styles PAKs?
You can find out in Band-in-a-Box® by clicking the "Add-ons" button in the StylePicker. Show me how.

Forum Statistics
Forums67
Topics79,651
Posts712,697
Members38,076
Most Online2,537
Jan 19th, 2020
Newest Members
PeterStyles, Tane Residence, storiessaver, Klemtone, teafbea
38,075 Registered Users
Top Posters(30 Days)
Rob Helms 204
MarioD 191
jpettit 183
DrDan 141
Al-David 108
Today's Birthdays
Mark Roberts
Powered by UBB.threads™ PHP Forum Software 7.7.5