In Cantabile 4.0 Build 4048 (latest), bindings from a route “Enabled” source to an “Indexed Trigger” invoke the wrong trigger number (one lower than specified in the binding). Here are steps to reproduce:
-
Create a new song.
-
Create a route from any input to any output, and give the route a name (by selecting it and pressing F2).
-
Create two “On Specific Trigger” bindings with numbers #100 and #200, where trigger #100 hides the on-screen keyboard (View -> Onscreen Keyboard, Value=Off), and trigger #200 shows the on-screen keyboard (View -> Onscreen Keyboard, Value=On).
-
Create two PC Keyboard bindings so that pressing “Y” invokes Trigger #200 and pressing “N” invokes Trigger #100. Verify that pressing “Y” now shows the onscreen keyboard and pressing “N” hides it again.
-
Create a binding from the route you created in step 2 to an “Indexed Trigger Event” with 100 as the “Off Value” and 200 as the “On Value”.
-
Disable and enable the route you created in step 2. Note that the onscreen keyboard does not show or hide as it should, because triggers #100 and #200 are not being invoked. (Cantabile is actually triggering #99 and #199.)
-
Change the binding you created in step 5 to use 101 as the “Off Value” and 201 as the “On Value”. Observe that disabling and enabling the route you created in step 2 now shows and hides the onscreen keyboard. This is because Cantabile is invoking triggers #100 and #200.