BECOME PART OF THE COMMUNITY - Sign up here
  • dot2akaifire

    Nodejs code to control dot2 wia akai fire midi controller

    This is the very early version of the code to control dot2 using the Akai Fire controller.

    It's quite an interesting controller because, apart from many RGB buttons, it also has encoders. Although we don't have the ability to control the encoders in dot2 as in MA2, I managed to work around it somehow.

    The code, just like in my previous projects, is based on web remote communication. Therefore, to make it work, you need to enable web remote and set the password to "remote".

    To run the code, you will need to have Node.js installed, specifically version 14.17.0, which this package was prepared for.

    How to run:

    Download and install Node.js 14.17.0 from this link --> https://nodejs.org/dist/v14.17.0/node-v14.17.0-x64.msi Download my code. Run dot2 and enable web remote. Run my code (execute dot2akaifire.js using node.exe from the Node.js package - you can do this by right-clicking, selecting "Run with" or "Open with," and choosing node.exe - make sure to set it as the default program for this type of file) That's it. If the command prompt window is open, the program is running correctly. However, if the window closes, it means an error occurred. In that case, it's best to run my code in the command prompt (CMD) and see what error message is displayed in the window.

    Remember not to have the MIDI controller used by another program or set as "in" or "out" in dot2 MIDI settings!

    This is a very early version of the code for Fire, but it's stable enough and works quite well.

    Configuration - open the dot2akaifire.js file in Notepad and find the line //CONFIG

    //CONFIG midi_in = 'FL STUDIO FIRE'; //set correct MIDI in device name midi_out = 'FL STUDIO FIRE'; //set correct MIDI out device name colors = 1; //auto color 0 = off, 1 = on blink = 0; //blin executor 0 = off, 1 = on (blink work only when colors mode is on) //------------------

    Here, you can choose whether the controls automatically change color and whether the running executors should blink.

    Below are the encoder attributes for User1 and User2, as well as the XY coordinates for mouse emulation. The current coordinates are calculated for a full HD resolution of 1920x1080.

    Usage:

    The first button on the left allows you to select the encoder mode.

    If you choose Channel (default), the encoders control our speed master 1 - 4.

    In Mixer mode, the encoders work as a mouse - touching them moves the cursor to XY, and rotating them controls a parameter. Unfortunately, this functionality is not good and can be frustrating, but I left it in case someone finds it useful.

    In User1 mode, the encoders control the attributes defined in the configuration below (you can, of course, change them). By default, they are set to PAN, TILT, FOCUS, and ZOOM.

    For User2, the attributes are:

    RED, GREEN, BLUE, and WHITE.

    The Patter buttons allow you to change the brightness of the keys.

    The Browser button - B.O.

    Encoder Select - Grand Master + toggle B.O.

    The Grid buttons are toggles for ProgTime and ExecTime (they don't have feedback from the program, they simply switch on/off).

    The Mute/Solo buttons (green dots) are used to select the PAGE (1 - 4). The controls display the current selection state.

    The main RGB buttons are, of course, the upper part of B-Wing2 and B-Wing1.

    They light up automatically.

    A button is dimmed if the corresponding executor is empty. Amber color indicates a saved executor. Green color indicates a running executor.

    If the colors option is enabled, the buttons will change color if the executor name is in the color database.

    Change the executor name to Red, Orange, Sea Green, White, or Black, and you will see that the MIDI buttons automatically change color.

    If the blink option is enabled, the running controls will blink.

    The lower buttons have not been programmed yet.

    ArtGateOne/dot2akaifire: Nodejs code to control dot2 wia akai fire midi controller (github.com)

  • v 1.4.48

    #Akai #Fire - a controller designed specifically for FL.
    The code created for controlling #dot2 with this controller is highly advanced and includes many new features and interesting additions compared to previous controller codes.

    We have 4 available encoders for parameter control:
    CHANNEL mode: Control Speed Master
    MIXER mode: Emulate mouse on screen and real encoders like in dot2
    USER1 mode: Control PAN TILT ZOOM FOCUS
    USER2 mode: Control RED GREEN BLUE WHITE
    For USER1 and USER2 modes, we can control any parameter such as GOBO or Strobe - each attribute can be customized in the code.
    The PATTERN keys are used to select the brightness of the key backlighting.
    The BROWSER key and Select encoder control the Grand Master and B.O.
    The GRID keys toggle between ProgTime and ExecTime (they work independently without feedback).
    The MUTE/SOLO keys select PAGE 1-4.
    In the middle, all keys display the status of B-wing 2 and B-wing 1 (first four rows from the top).
    Display of dot2 working status - basic mode: unsaved executor -> key is off, saved executor -> key is orange, running executor -> key is green.
    NEW FEATURES
    Auto-color mode can be enabled, which displays colors saved in the executor names. (Basic palette includes Orange, Red, White, Sea Green, CTO, CTB)
    The option to enable blinking indicators for running executors.
    Executors can be stored and deleted directly from the MIDI controller.
    STORE - Hold REC key and select any executor key. If the executor is already saved, the [METRONOME, WAIT, COUNTDOWN, and LOOP REC] indicators will light up to confirm MERGE, REMOVE, OVERWRITE, and Create second Cue operations.
    StoreLook - Press ACCENT + REC, then while holding REC, select the executor to save. If the indicators light up, select the appropriate one to confirm the operation.
    DELETE - Press ACCENT + ALT, then while holding both keys, select the executor to delete. If the executor is running, confirmation indicators will appear - click COUNTDOWN to confirm deletion.
    The latest functionality!
    The [SNAP, TAP, OVERVIEW, and SHIFT] keys control the Speed Master.
    The keys can also blink at the BPM of the Speed Master - for this purpose, the corresponding Speed Master should be assigned to executors 716 to 713 in dot2.
    By clicking the [SNAP, TAP, OVERVIEW, and SHIFT] keys, we adjust the BPM tempo [Learn Speed Master x].
    By clicking the [SNAP, TAP, OVERVIEW, and SHIFT] keys while holding [ACCENT] beforehand, we reset the Speed Master to the default value of 60 BPM [Rate 1 Speed Master x].
    By clicking the [SNAP, TAP, OVERVIEW, and SHIFT] keys while holding [ALT] beforehand, we stop the Speed Master [Speed Master x At 0].


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!