You need to be logged in to post
Options
Index
#771190 - 07/15/23 06:15 PM [Post your own Tips and Tricks here] RealDrums MIDI to EZDrummer Superior Drummer 3 (Search for a RealDrum)
Registered: 06/30/09
Posts: 1543
musocity Offline
Expert

Registered: 06/30/09
Posts: 1543
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


_________________________
https://stash.reaper.fm/u/ReaTrak

Top
#772234 - 07/28/23 07:21 AM [Post your own Tips and Tricks here] Re: RealDrums MIDI to EZDrummer Superior Drummer 3 (Search for a RealDrum) [Re: musocity]
Registered: 09/10/13
Posts: 167
shlind Offline
Apprentice

Registered: 09/10/13
Posts: 167
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.

Top
#772276 - 07/28/23 05:59 PM [Post your own Tips and Tricks here] Re: RealDrums MIDI to EZDrummer Superior Drummer 3 (Search for a RealDrum) [Re: shlind]
Registered: 06/30/09
Posts: 1543
musocity Offline
Expert

Registered: 06/30/09
Posts: 1543
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.
_________________________
https://stash.reaper.fm/u/ReaTrak

Top
#772288 - 07/29/23 01:07 AM [Post your own Tips and Tricks here] Re: RealDrums MIDI to EZDrummer Superior Drummer 3 (Search for a RealDrum) [Re: musocity]
Registered: 09/10/13
Posts: 167
shlind Offline
Apprentice

Registered: 09/10/13
Posts: 167
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.




Top
#772359 - 07/29/23 02:37 PM [Post your own Tips and Tricks here] Re: RealDrums MIDI to EZDrummer Superior Drummer 3 (Search for a RealDrum) [Re: shlind]
Registered: 06/30/09
Posts: 1543
musocity Offline
Expert

Registered: 06/30/09
Posts: 1543
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:

_________________________
https://stash.reaper.fm/u/ReaTrak

Top
#772372 - 07/29/23 04:09 PM [Post your own Tips and Tricks here] Re: RealDrums MIDI to EZDrummer Superior Drummer 3 (Search for a RealDrum) [Re: musocity]
Registered: 09/10/13
Posts: 167
shlind Offline
Apprentice

Registered: 09/10/13
Posts: 167
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.

Top
#772387 - 07/29/23 11:10 PM [Post your own Tips and Tricks here] Re: RealDrums MIDI to EZDrummer Superior Drummer 3 (Search for a RealDrum) [Re: shlind]
Registered: 06/30/09
Posts: 1543
musocity Offline
Expert

Registered: 06/30/09
Posts: 1543
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.
_________________________
https://stash.reaper.fm/u/ReaTrak

Top
#772410 - 07/30/23 03:09 AM [Post your own Tips and Tricks here] Re: RealDrums MIDI to EZDrummer Superior Drummer 3 (Search for a RealDrum) [Re: musocity]
Registered: 09/10/13
Posts: 167
shlind Offline
Apprentice

Registered: 09/10/13
Posts: 167
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.

Top
#772412 - 07/30/23 03:34 AM [Post your own Tips and Tricks here] Re: RealDrums MIDI to EZDrummer Superior Drummer 3 (Search for a RealDrum) [Re: shlind]
Registered: 06/30/09
Posts: 1543
musocity Offline
Expert

Registered: 06/30/09
Posts: 1543
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.


Attachments
Post attachments only available when logged in
_________________________
https://stash.reaper.fm/u/ReaTrak

Top
#772425 - 07/30/23 05:21 AM [Post your own Tips and Tricks here] Re: RealDrums MIDI to EZDrummer Superior Drummer 3 (Search for a RealDrum) [Re: musocity]
Registered: 09/10/13
Posts: 167
shlind Offline
Apprentice

Registered: 09/10/13
Posts: 167
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.

Top
#772480 - 07/30/23 03:59 PM [Post your own Tips and Tricks here] Re: RealDrums MIDI to EZDrummer Superior Drummer 3 (Search for a RealDrum) [Re: shlind]
Registered: 06/30/09
Posts: 1543
musocity Offline
Expert

Registered: 06/30/09
Posts: 1543
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
_________________________
https://stash.reaper.fm/u/ReaTrak

Top
#772562 - 07/31/23 09:20 AM [Post your own Tips and Tricks here] Re: RealDrums MIDI to EZDrummer Superior Drummer 3 (Search for a RealDrum) [Re: musocity]
Registered: 09/10/13
Posts: 167
shlind Offline
Apprentice

Registered: 09/10/13
Posts: 167
Thanks for the help. It works fine. I have tested it for a few of the drum folders.

Top


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
National Day for Truth and Reconciliation - Holiday Hours

Saturday, September 30th is National Day for Truth and Reconciliation in Canada. This day is also being recognized by employers on Monday, October 2nd.

We will have limited hours this weekend:

Saturday, Sept 30: 8am PDT - 4pm PDT
Sunday, Oct 1: closed
Monday, Oct 2: 8am PDT - 4pm PDT

Regular hours resume on Tuesday, October 3rd.

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.

Just Released - XPro PAK 5 & Xtra Styles PAK 16 for Band-in-a-Box® 2023!

We're back with 300 new RealStyles included in XPro Styles PAK 5 & Xtra Styles PAK 16!

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!

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!

Amp up your Band-in-a-Box® 2023 experience when you add XPro and Xtra Styles PAKs!

Each PAK can be purchased for $49... Order XPro Styles PAKS | Order Xtra Styles PAKs

Mac User? Click here for your OS specific announcement.

Band-in-a-Box® 2023 for Mac - Translations Available!

The Band-in-a-Box® 2023 for Mac German, French, and Italian translations are complete!

Already using the English version? Download a language patch here.

Have you been waiting to order a translated version? Here are some handy links for you:
German: www.bandinabox.com/bb.php?os=mac&lang=de
French: www.bandinabox.com/bb.php?os=mac&lang=fr
Italian: www.bandinabox.com/bb.php?os=mac&lang=it

Forum Stats
37912 Members
67 Forums
79219 Topics
706572 Posts

Max Online: 2537 @ 01/19/20 07:09 AM
Newest Members
jakabasej, cleacullen, Jazzmatz, JohnyKK, HOMBRE

37912 Registered Users
Top Posters (30 Days)
MarioD 117
Janice & Bud 82
Rob Helms 81
rsdean 80
rayc 79
Rustyspoon# 64
BabuMusic 63
musocity 61
Bass Thumper 55
floyd jane 52
Today's Birthdays
Crooner, krooner