Play Random Column Command

Is there a way I can get a randomised column to play? Either via MIDI or OSC natively, or via Bitfocus Companion?

I am essentially trying to use Millumin as a poor man's Resolume Arena and have over 150 columns each with an ISF shader in it and want to be able to just press a button and have a random column fire.

Ideally I would even be able to fire a column in a specific range IE a column between 1-50 which are my "low" shaders, 51-100 which are my "Medium" shaders and 101-150 which are my "high" shaders.

I can't seem to work out if it is possible in the Interactions menu

Comments

  • Hello @TVP,

    You could write a script to do so. More info in this article.

    For example :

    Parameter.createButton("Random Low", function() {launchRandomColumn(0)} )
    Parameter.createButton("Random Medium", function() {launchRandomColumn(1)} )
    Parameter.createButton("Random High", function() {launchRandomColumn(2)} )
    
    function launchRandomColumn(level)
    {
      index = 1 + Math.floor(Math.random()*50)
      index += 50*level
      log("launch column #"+index)
      Millumin.launchColumn(index)
    }
    

    Best. Philippe

Sign In or Register to comment.