How to audition chords in bitwig

Discussion in 'BitWig' started by Atlantis84, Jan 11, 2023.

  1. Atlantis84

    Atlantis84 Platinum Record

    Joined:
    Nov 26, 2021
    Messages:
    679
    Likes Received:
    293
    Does anybody know any computer keyboard software that lets me create a macro hitting 2 buttons but then it lets me create a shortcut with one button from the combination
     
  2.  
  3. Glass

    Glass Noisemaker

    Joined:
    May 3, 2020
    Messages:
    14
    Likes Received:
    5
    You might wanna rephrase a bit because it's not 100% clear what you want to do exactly, to me at least. Nevertheless, it sounds like a simple task for Autohotkey (Windows only). Pressing a key or a key combination to execute several actions in order (macro) is a pretty simple script you can put together in less than 20-30 minutes, even if you haven't written a single line of code before. And then a vast ocean of things you can achieve on your DAW (or any other program) opens up.
     
    • Agree Agree x 3
    • Like Like x 1
    • List
  4. Atlantis84

    Atlantis84 Platinum Record

    Joined:
    Nov 26, 2021
    Messages:
    679
    Likes Received:
    293
    for a good example what is the autohotkey code for hitting the combination of the up and down arrow keys at the same exact time no delay just both keys at the same exact time and then assigning it to one key command
     
    Last edited: Jan 11, 2023
  5. Glass

    Glass Noisemaker

    Joined:
    May 3, 2020
    Messages:
    14
    Likes Received:
    5
    Well, pressing up & down simultaneously to execute Control & S (Save) for example would be:

    Up & Down::^s (control,alt,shift keys etc. use special symbols, in this case Control=^)
    return

    It is as simple as downloading Autohotkey and run it, create a text file with the code above, save it with the .ahk extrension (to create an Autohotkey script instead of a text file) and run that too. That's it.

    If you want to do something as simple as that, let me know what you want, the program you want it to work in (I suppose you don't want it for every program) and I'll put it together for you. As a standalone .exe file even without installing Autohotkey. But I HIGHLY recommended to dive into it, a little more than a year ago I wasn't able to comprehend a single line of code, I had no previous programming experience at all and today I can do all kinds of cool stuff on my DAWs and Windows on general. Of course, I still have trouble understanding some complex next level stuff people with advanced programming skills pull together on AHK forums, but writing simple macro scripts like that is super easy and barely scraping the bottom of the barrel.

    You can create your own menus, your own GUIS, attach all kinds of shortcuts and macros to keys and mouse buttons and coming up with your own shortcuts even if the program doesn't have them - you can set a key or key combination to click a specific button on a VST instrument by having AHK searching for the image. You can even convert key/mouse commands to midi messages, I really can't stress enough how amazing it is and how much it can help a computer musician.

    https://www.autohotkey.com/docs/v1/Tutorial.htm
     
    Last edited: Jan 11, 2023
    • Like Like x 3
    • Agree Agree x 1
    • List
  6. Atlantis84

    Atlantis84 Platinum Record

    Joined:
    Nov 26, 2021
    Messages:
    679
    Likes Received:
    293
    thanks man you been a great help when i get home ima try this and if i run into any issues i will return
     
  7. Haliax

    Haliax Guest

    Keyboards like Steel series, Logitech carbon, Ducky or other gaming type keyboards allow macros to be assigned to any key. I have both Steel series apex and Logitech and the software lets me create macros
     
    • Like Like x 2
    • Agree Agree x 1
    • List
  8. Atlantis84

    Atlantis84 Platinum Record

    Joined:
    Nov 26, 2021
    Messages:
    679
    Likes Received:
    293
    yeah i was trying to get it to work in bitwig just wanting to create a macro so i can audition my chords in bitwig because it doesn't have chord auditioning in bitwig but if u select a chord and hit the up and down arrows at the same time it will audition the chord in bitwig but i was trying to create a macro that will do that by allowing me to hit one key such as X or Z on the keyboard
     
  9. Anubhav Ukil

    Anubhav Ukil Producer

    Joined:
    Nov 22, 2019
    Messages:
    300
    Likes Received:
    144
    Location:
    World
    I use HIDMacros.
    You can use LuaMacros as well.

    This is my stacked Macro keyboards (DIY).
    I am using HIDMacros.
     
  10. Anubhav Ukil

    Anubhav Ukil Producer

    Joined:
    Nov 22, 2019
    Messages:
    300
    Likes Received:
    144
    Location:
    World
    upload_2023-1-11_19-42-56.png

    Exclamation Mark = HIDMacros can't map those (CTRL, SHIFT, ALT etc. Also, Both the Enter Keys have same value in ASCII. So, you cannot map them exclusively).
    Basically, every keyboard has an HID and a PID. So, 'a' from device 1 and 'a' from device 2 is different but Windows and Mac, by default, disregard the HID-PID value and takes, just the 'a'.
    Using HIDMacros, you can differentiate 'a' of device 1 from that of device 2.
    So it adds HID-PID values to the ASCII value to differentiate every keyboard's keys from one another. Windows can only differentiate based on ASCII values and that's it. HIDMacros just add another layer to it.

    Plus you can create Macros as well.

    upload_2023-1-11_19-49-34.png
    Here, look.
    I named this function 'Add mono Audio Track'
    This basically simulates Pressing Ctrl+Shift+Alt+t but there's a 20ms gap between each keystroke. Kind of like the Guitar strumming.

    Now, this macro is triggered when I press F9 on the Aeres Keyboard (the Backlit one. F9 corresponds to 120 in ASCII).

    Here's the link to HIDMacros.
    https://www.hidmacros.eu/
     
    Last edited: Jan 11, 2023
  11. Glass

    Glass Noisemaker

    Joined:
    May 3, 2020
    Messages:
    14
    Likes Received:
    5
    There you go. No running Autohotkey required, just let this run in background while using Bitwig. Pressing the X button will audition the selected chord, works fine on my end.

    Someone else on KVR Forum had the same idea
    https://www.kvraudio.com/forum/viewtopic.php?f=259&t=565907

    Not sure what else he tries to do exactly, since I don't really use Bitwig (reminds me I finally should) but maybe you wanna give it a go if/once you get accustomed to Autohotkey, because his script is a bit more complicated than mine, maybe he auditions the chords without having to select them first or something? Again, can't really tell, since I don't use it, but I guess my script would do for now.
     

    Attached Files:

  12. Atlantis84

    Atlantis84 Platinum Record

    Joined:
    Nov 26, 2021
    Messages:
    679
    Likes Received:
    293
    dam it works woo thanks bro how did you do it so fast ima look inside the script and look and see what you did lol......but thanks my workflow is way easier.....i just looked at that KVR Forum link that guy is actually on this forum as well he goes by the same name his name is Xbitz on here too he comments on people post every now and then he helps a lot of people as well but like i said i appreciate it man it works perfectly
     
  13. Atlantis84

    Atlantis84 Platinum Record

    Joined:
    Nov 26, 2021
    Messages:
    679
    Likes Received:
    293
    i could probably get this Post to be transferred to the Bitwig section on this forum on here this script would help a lot of people that uses bitwig on here maybe one of the mods could do it i would probably also have to rename the title of the thread '' how to audition chords in bitwig''
     
Loading...
Loading...