Using the RealWordlExample, I reproduced an issue I see in my script where mOnTitleChange is not triggered for empty channels that occupy a bank. For example, you have a project with twelve tracks titled a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12. The initial bank displays the titles correctly of the first eight channels. Then when you bank ‘next,’ the first four channels display a9,a10,a11,a12. But the last four channels still display a5,a6,a7,a8 because mOnTitleChange is not triggered for them.
In RealWorld Example, you can simply add a “console.log()” and see it is not called.
faderStrip.fader.mSurfaceValue.mOnTitleChange = function (context, objectTitle, valueTitle) {
console.log(“mOnTitleChange:”+objectTitle);
…
}