ERROR MIDI Invalid Address

Hi !

Well, this time... what i wanted to do with a matrix... works fine... :upside_down_face:
insp

I am just wondering why i have this message for each untriggered button :

(ERROR, MIDI) invalid address (/matrix_insp/button_index)

Here is part of the matrix props:

 props.target = 'midi:OSC'
 props.onValue = `

  var lastIndex = getVar('parent', 'Idx') 

  if (lastIndex === undefined)
  {  
    send('/control',1,(114+getIndex('this')),127);    // opens inspector tab
  }
  
  else if (lastIndex !== undefined)
  {
   // opens inspector tab
    send('/control',1,(114+getIndex('this')),127);   

   // closes previouslly opened inspector tab
    send('/control',1,(114+lastIndex),127);    
  }
 
   // "switch mode"   
  set('Insp_*',0,{script:false}) 

  setVar('parent','Idx',getIndex('this'))
  
`

Is there anything to modify ?

Wow, I love the functionality- how did you do that at the cubase end?

The error is due to the widget's default osc message that's sent regardless of what you do with its onValue script. You can add props.bypass = true to avoid it.

@jean-emmanuel : perfect, thank you.

@Sub3OneDay : i just set a generic remote :wink: