pangoscript for fx flash button

Discussion in 'PangoScript, Universe and Midi Templates' started by Tom, Nov 18, 2016.

  1. How do I use pangoscript so I can make a flash midi button of the FX slider in beyond.
    Have to bring the slider to 100% en then it should bring back to the value that the FX slider had at that moment.

    also for the same but for the fx speed

  2. Bob@Pangolin

    Bob@Pangolin Staff Member

    Go to a Midi button,

    on pangoscript to MIDI on the "note on" tab you set:

    FXClick 1,1
    Where the first 1, is the row, and the second 1 the cue in that row.

    on pangoscript to MIDI on the "note off" tab you set:

    FXClick 1,1
  3. thank you

    I mean:
    I have the FX action fader and want to make a flash button that it just goes to 100% and thereafter returned to the value that the fader is on.
  4. Garrett_502

    Garrett_502 Well-Known Member

    You can make a button that will put the fx action fader to 100%, but i don't think there is a way to return to the previous value. I could be wrong though. That would be a nice feature
    Marnic and Tom like this.
  5. Marnic

    Marnic Member

    I've another question but it's related to the question above, so I will ask it in this topic.
    When I will make a flashbutton for FX Action (for example fader 1) I use the pangoscript:
    Note on: SetFXAction 1, 100
    Note off: SetFXAction 1,0

    This works only in the first tab mode (Master mode) not in the second (Cue mode) or third (Zone mode).
    Is it possible to get it work in the "Zone mode"?
  6. Bob@Pangolin

    Bob@Pangolin Staff Member

    try this placing on the line before setfxaction:

    SetFXAction 1, 100
    This way you only select the current active zones.
    Marnic likes this.
  7. Marnic

    Marnic Member

    Thanks Bob for your fast reply!

    This works!
  8. Paulo Cesar Saito

    Paulo Cesar Saito New Member

    I made that using these script in a midi controller fader to control fx action:
    GLOBALVAR fxa1
    fxa1 = ExtValue(0,100)
    SetFXAction 1, fxa1

    and this script in the midi flash button:
    var bool
    bool = ExtValue(0,1)
    if (bool=1) SetFXAction 1, 100
    if (bool=0) SetFXAction 1, fxa1

    The same is applied for a momentary stop in effect and animation speed :)
    Marnic likes this.
  9. The script for the fader don't work.

    Thanks already
  10. Paulo Cesar Saito

    Paulo Cesar Saito New Member

    You can't have the fader mapped to something, remove the midi mappings for the fx action or change to a unused fader
  11. 14874583297321722013596.jpg
    Last edited by a moderator: Feb 19, 2017
  12. Paulo Cesar Saito

    Paulo Cesar Saito New Member

    Maybe is the GLOBALVAR something new in beyond 3?

    That exact same code is working nice here in version 3.0 build 495, the one avaliable at pangolin website last week :)
  13. I try i't this week.
    I run on the 2.1
    To mutch bugs in the 3.0 in the begining.
    Thank you.
  14. Bob@Pangolin

    Bob@Pangolin Staff Member

    Where do you base the statement of 3.0 having many bugs on?

    Its also easier to use the following script on the slider it self :
    setfxaction 1, extvalue (0,100)