Tuner broadcast via OSC?

GP doesn’t send the cents offset, but you can convert the tuning value (which is between 0.0 and 1.0) into the cents offset by using TouchOSC’s scripting.

GP-iPad with Cents.tosc (5.9 KB)

gp-osc-cents

function onReceiveOSC(message, connections)
  local value = message[2][1].value
  local cents = math.floor((value*100-50)+0.5)
  local centsText = tostring(cents)
  if cents > 0 then centsText = "+" .. centsText end
  self.values.text = centsText
end
6 Likes