Return value of active cell on Grid2

Discussion in 'PangoScript, Universe and Midi Templates' started by lulighttec, Mar 22, 2017.

  1. lulighttec

    lulighttec Member


    I am trying to write a script that will, in the end, cause a button on a panel to blink representing the currently playing cue in Grid2. My thoughts are to use MidiOut values to oscillate between 00 and 7F for whichever cell is active, but the problem I'm running into is that I don't know how to make the script evaluate each cell in Grid2 (or any grid, for that matter) to see if it is currently playing or not. Eventually I want to get to the point where it looks something like this for each location in Grid2:

    If (CellActive=Yes)
    MidiOut 0x90, 0x00, 0x7F
    Sleep 500
    MidiOut 0x90, 0x00, 0x00
    Sleep 500

    So far I've been basically shooting into the dark. I'm not worried about what happens if the condition is not met, because the other grid output programming takes care of that pretty well. Any thoughts?

  2. lulighttec

    lulighttec Member

    Shameless bump.