Posts by mokaByls

BECOME PART OF THE COMMUNITY - Sign up here

    thank you for the return but it is not a problem of priority. I have only one sequence running for my test and i already define a HTP priority on it.

    If you try on your side by assigning to a sequence (via recipe) the MA's default "chase" phaser (via the predefined import macro), you will see what i mean. You always have 2 fixtures that light up and not just one as I'm would wait there.

    Hello everyone,


    first of all, i tried to use the default chaser of the predefined phasers provided by MALighting but, this one doesn't correspond to what i want to do. It doesn't make a "real" chaser that switches the other fixture on and off.


    So I tried to make my own chaser. The idea would be to have, for each measure, a single projector on. I've currently tried :


    - Set a phaser to a speed of 60 BPM (to remain consistent with the others already built. All these phasers are then combined in a single sequence called DimFX).

    - Set step 1 with Dimmer attribute to 100.

    - Set the size of step 1 to 50%.

    - Set step 2 with Dimmer attribute to 0.

    - Set step 2 size to 50%.

    - Transition, acceleration and deceleration are set to 0 (square shape).

    - Finally, I set the phaser to a measure of 1.


    However, I don't know why, when I assign this preset to a sequence (via a recipe) and apply a phaser 0 Thru 360, I don't end up with what I want at all.


    I can't see what I'm missing. Is this not possible with phasers? I must admit I'm still having a bit of trouble mastering the notion of width on steps. Maybe I'm missing something? I did see this post, but since then I'm not sure if it's still valid, as phaser has evolved quite a bit since then.


    Width and phases in recipes

    Hello,


    I'm currently using GrandMA3 version 1.9.2.

    I realized that, in a matricks, if I have a decimal number, calling the method: "MATricks:Get('FadeFromX')" for example returns the integer number instead of my decimal number.

    If I dump via the ":dump()" method or via gma3_helpers, I can see my decimal value.

    Is there a way to retrieve this decimal value, or is this a bug? At the moment, I'm working around the problem using a variable, but I was wondering if it's just me who doesn't know lua very well.

    Ctrl+Cee , did you find how to do this ? Or Someone else ?

    Thanks Andreas , this was my starting point to re-write my function !

    After a few hours, here the final version of my function. I written a little "plugin" who extract all FIDs of your selection who supports given attributes :


    Hello,


    once again I ask for your help.


    I am trying to retrieve the list of all the identifiers of the fixtures that the user has selected in order to then apply different operations to their attributes (change color, position, ...) via lua plugin but I'm not sure I'm doing it right. Currently, for my tests, I have two fixture types:


    - Magic Panel (with sub-fixture) [FID 901 Thru 912]

    - MacQuantum [FID 101 Thru 110]


    The code I'm currently using is:



    You will notice that I use :GetClass() at Line 24 to exclude sub fixtures from magic panels. However, I'm not sure I'm doing it right.


    Let me explain :


    If I then want to loop over the fixtureIds and do not filter via :GetClass(), I end up with AND the fixtures' ids (101, 102, ...) AND the sub-fixtures's ids.


    However, for example, if I want to do MATricks afterwards, my selection could be distorted because I only want the Fixtures and not the sub fixtures (example: in the case where I want to do some positions).


    Do you have a solution ? It depends on what I want to do?


    My original idea was to go through the whole selection to find out which fixture or sub-fixture had the attributes I wanted via the GetAttributeIndex and GetUIChannelIndex ("Pan" & "Tilt" for this case).


    This is the way to achieve it ?


    I also tried using the pseudo code from the documentation:

    Code
    local subfixtureIndex = SelectionFirst(true);
    repeat
        Printf("subfixture selected with index: "..subfixtureIndex)
        subfixtureIndex = SelectionNext(subfixtureIndex)
    until not subfixtureIndex;

    but I don't understand what these indexes correspond to. Is there anything that converts them to FID?

    I found the problem on the plugin for macs. It's not the time but the fact of using string formatting with the GrandMA commands (Echo & CMD).

    If I transform these commands:


    Code
    Echo('Too much deviation on last tap (%.3fs), preparing new sampletable', sampletime)
    Echo('Averagetime %.3fs, %.0fBPM (%i samples)', averagetime, 60/averagetime, #sampletable)
    Cmd('FaderMaster Master 3.%i At %.4f', speedmaster, math.sqrt(0.25/averagetime)*100)


    In

    Code
    Echo(string.format("Too much deviation on last tap (%.3fs), preparing new sampletable", sampletime))
    Echo(string.format('Averagetime%.3fs,%.0fBPM (%i samples)', averagetime, 60/averagetime, #sampletable))
    Cmd(string.format('FaderMaster Master 3.%i At %.4f', speedmaster, math.sqrt(0.25/averagetime)*100))

    It works like a charm.


    Attached is the modified version of the plugin. Andreas, Can you review the code and maybe redo a post with this modified version if it doesn't break anything on the other platforms (windows & console) ?

    I understand that if i want to contact my local distributor, I would have to buy GrandMA equipment ? Because I haven't bought GrandMA equipment yet. For the moment, I am training on the OnPC version.

    Thanks Andreas for this plugin ! However, on mac, onPC version 1.8.8.2, if I load it in a show (existing or new) and then "tap" on the plugin, after the 2nd or 3rd time, the software crashes completely. I have to restart it. Is it only me?

    Thank you both for these two approaches but it will not help me in my case.

    The idea was to propose a dialog allowing me to select a preset from the displayed list and then store it in a recipe of a defined sequence.

    The usage would have been as follows:


    - in a layout view, we have a button named color FX which opens a dialog.

    - This dialog proposes the presets of the parameterized color pool (example: AllIn1, predefined phasers imported).

    - when I click on it, I assign it to my sequence and aunch it. This would avoid me to have both a layout view with a color picker and, next to it, 40 Fx button.


    That being said, I'm new to the light operator game so maybe there's another approach so that, in live mode, I can quickly assign a preset to a sequence and then trigger it ?

    Hello to all,


    I was wondering if any of you had managed to make a dialog of this type? Is it possible? I'm looking for examples in the ui.xml, nothing comes out. The idea of this dialog would be twofold:


    1 - Display a preset selector

    2 - Display a group of buttons with an appearance applied to each of them.


    I saw this discussion but nothing helped me about button and preset.


    hello hepi ,


    I'm also developing my first TypeScript plugin for exactly the same reasons as you. I code in lua on small plugins but on bigger ones, I also prefer TypeScript. I also based my types on your "grandma3-ts-types" fork. I hope to soon offer you a pull request with some improvements on types.