PG Music Home
Posted By: musocity Anyone Using EZDrummer Superior Drummer - 07/15/23 10:24 PM
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


Posted By: musocity Re: Anyone Using EZDrummer Superior Drummer - 07/30/23 08:18 PM
Updated info here
© PG Music Forums