A Macro Player That Fixes Broken Macros
Posted: Mon Mar 01, 2021 1:35 am
Hello!
I wanted to share my first attempt at a macro player that (mostly) fixes any broken macro. Unfortunately, this isn't even close to perfect and the fixes will make many songs have a more erratic tempo.
Similarly to my Mixed Macro Program, this features a "Delay" variable, which by default is set to 80, but you can increase or decrease the delay based on how high/low your ping is. To change the Delay, simply open the file in notepad, located "Delay = 80" Increase the Delay if you are experiencing skipped octaves, decrease the delay if you aren't. You'll likely end up with a Delay between 25-200. I highly recommend you tweak the Delay until you have it at the absolute lowest value that doesn't cause octave skips.
How to use:
Put the Macro Player script in the same folder that you keep all of your macro .ahk files. If it isn't it the same folder it won't work.
Type the name of the macro you'd like to play into the "Song Name" box. You must type the name exactly how the original ahk file is named otherwise it won't work.
Press F1 to play, F2 to pause, F3 to exit the script
*Note* The only way to "fix" a macro is to change the original Abc code so that it doesn't require excessive octave swapping. This script simply shuffles around the sleep durations/octave swaps slightly to optimize their order of execution, while also setting a hard limit for the minimum time between octave swaps. The ideal solution to fixing macros would involve a much more in depth. If people are interested in a macro player that does this, then leave some feedback in the comments. Something like this would likely take me quite a while, so I'm not going to spend the time on it unless there's enough interest for it.
Link for macro player:
http://www.mediafire.com/file/9seg1fm9505w5zr/Macro_Player.ahk/file
I wanted to share my first attempt at a macro player that (mostly) fixes any broken macro. Unfortunately, this isn't even close to perfect and the fixes will make many songs have a more erratic tempo.
Similarly to my Mixed Macro Program, this features a "Delay" variable, which by default is set to 80, but you can increase or decrease the delay based on how high/low your ping is. To change the Delay, simply open the file in notepad, located "Delay = 80" Increase the Delay if you are experiencing skipped octaves, decrease the delay if you aren't. You'll likely end up with a Delay between 25-200. I highly recommend you tweak the Delay until you have it at the absolute lowest value that doesn't cause octave skips.
How to use:
Put the Macro Player script in the same folder that you keep all of your macro .ahk files. If it isn't it the same folder it won't work.
Type the name of the macro you'd like to play into the "Song Name" box. You must type the name exactly how the original ahk file is named otherwise it won't work.
Press F1 to play, F2 to pause, F3 to exit the script
*Note* The only way to "fix" a macro is to change the original Abc code so that it doesn't require excessive octave swapping. This script simply shuffles around the sleep durations/octave swaps slightly to optimize their order of execution, while also setting a hard limit for the minimum time between octave swaps. The ideal solution to fixing macros would involve a much more in depth. If people are interested in a macro player that does this, then leave some feedback in the comments. Something like this would likely take me quite a while, so I'm not going to spend the time on it unless there's enough interest for it.
Link for macro player:
http://www.mediafire.com/file/9seg1fm9505w5zr/Macro_Player.ahk/file