Midi Machine documentation incorrect

I had tried to set up a midi machine which converts Bends into CC range, and found that documentation is misleading.

This is how OnBend is described here MIDI Machine – Jam Origin

function OnBend(channel, bend)
Print(“Channel “, channel, ” was just bended “, bend, ” semitones”)

In reality, this example code does not work. It would print out a note number instead of the pitch bend value.

By trial and error, I found out that it works this way instead:

function OnBend(channel, pitch, bend)


I wonder how much time it can take to edit a couple of lines in the documentation.

And Bend sending function is not documented properly too, by the way.

1 Like

Thanks I corrected it!