miker2049 / midigrid

A helper library for midi grids and monome norns
GNU General Public License v3.0
63 stars 36 forks source link

Not in view! #22

Open jjshaeffer opened 4 years ago

jjshaeffer commented 4 years ago

Thanks for the update.

I get a repeating not in view! error even though code runs and works. Using an apc mini the error seems to stem from line 122-32 in mg_128 and similar with mg_256

function midigrid:led(x, y, brightness) grid_buf[x][y] = brightness local index =16*y+x local note = views[curr_view][index] if note ~= nil then local vel = brightness_handler(brightness) _brightness_to_buffer(note, vel, config:led_sysex(note, vel)) else print("not in view!") end end

I am too much of a newbe to figure it out.