2 Questions: calcModulation and Osc sync / Boolean in onNote

Hi AposMus,

regarding the boolean parameter, unfortunately, this is a bug. I created a bug report, so it gets fixed.

Here, is a workaround.

defineParameter("Play",nil,true)
function onNote(event)
    if Play and Play ~= 0 then
        postEvent(event)
    end
end

The workaround from misohoza is fine, too. Thanks @misohoza for posting this.

After the fix Play will keep its boolean values. The workarounds above should still work after we have fixed this problem.

You should not use this statement:

    if Play == 1 then
       postEvent(event)
    end

This will not work anymore after our fix.

Sorry, for the inconvenience this might cause.

Best,

Matthias