Encoder hook up Midi Controller design HELP!

Encoder hook up Midi Controller design HELP!

I am building a midi controller and I need help with hooking up an encoder with a switch. I also need to know how many I/O Ports it would take up on my arduino board. Any and all help is greatly appreciated!

Usually 2 digital interrupt inputs, though if it is a push-button type, I think it’s either a 3rd interrupt or a normal digital input pin, though I suspect it’s the latter.

Thank you! I will be sure to give it a whirl