Musical Intrument Octave Changer (AHK)

Musical Intrument Octave Changer (AHK)

in Players Helping Players

Posted by: DancinPuppeh.8421

DancinPuppeh.8421

This is a VERY simple Auto Hot Key macro I made that’s for all the legit music players. What it does is simply changes your keys on your keyboard to all corospond to a note. So pressing Q will go into up octave, then press 1, then back to mid octave in one key press. this way Q-I will play high notes, A-K will play mid notes and Z-< will play low notes. So you’re able to play all notes without that awkward switching of Octaves.

This is a very simple script as I said, I don’t know much at all about AHK so it doesn’t have a toggle function or anything fancy like that. All your AHK scripters can feel free to advancify it. But as it is now it works for what it is. I use this to bind my Piano Keyboard to be able to play notes in game via my Piano Keyboard


#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir A_ScriptDir ; Ensures a consistent starting directory.

A::
Send 1
Return
S::
Send 2
Return
D::
Send 3
Return
F::
Send 4
Return
G::
Send 5
Return
H::
Send 6
Return
J::
Send 7
Return
K::
Send 8
Return

Z::
Send 9
Send 1
Send 0
Return
X::
Send 9
Send 2
Send 0
Return
C::
Send 9
Send 3
Send 0
Return
V::
Send 9
Send 4
Send 0
Return
B::
Send 9
Send 5
Send 0
Return
N::
Send 9
Send 6
Send 0
Return
M::
Send 9
Send 7
Send 0
Return
,::
Send 9
Send 8
Send 0
Return

Q::
Send 0
Send 1
Send 9
Return
W::
Send 0
Send 2
Send 9
Return
E::
Send 0
Send 3
Send 9
Return
R::
Send 0
Send 4
Send 9
Return
T::
Send 0
Send 5
Send 9
Return
Y::
Send 0
Send 6
Send 9
Return
U::
Send 0
Send 7
Send 9
Return
I::
Send 0
Send 8
Send 9
Return

Edit: Your skillbar must be 1-9 in your hotkeys, if you use other keys for your skills add 1-9 as your secondary key binding. Also as you might have guessed you have to disable the macro if you want to type, or it’ll be encrypted typing :P

(edited by DancinPuppeh.8421)