-- PitchBend.rgtest.nwcuser.lua Version 1.00
local method = {}
method.spec = {
{ id='v', type='int', default=0, min=-8192, max=8191 },
}
method.play = function(t)
local b14 = t.v + 8192
local midiData1 = bit32.extract(b14, 0, 7)
local midiData2 = bit32.extract(b14, 7, 7)
nwcplay.midi(0, 'pitchBend', midiData1, midiData2)
end
return method