--------------------------------------------------------------------------------
--! @example "InvertPitch.lua"
--------------------------------------------------------------------------------
CenterPitch =
Knob(
"Center_Pitch", 60, 0, 127,
true)
local center = CenterPitch.value
local delta = e.note-center
local note = center - delta
if note>=0 and note<=127 then
end
end
-- eat event
end