Maybe it would be easier to not use an air cannon, and instead use some kind of hammer. You don't need super high velocity, since you're only firing a few feet. Have a motor on a cam charge back a spring and strike the ball as it rests in the back of the cannon.. Either that or something almost like a speaker driver, where a magnetic pulse drives a hammer forward an inch or two at high velocity.