Interfacing with GarageBand

I suggest you start with the example programs in the Arduino IDE and learn how they make things work.

Paul