Arduino UNO As A MIDI Keyboard

You're not using the transposer anywhere, you have to define your buttons as instances of the Bankable::NoteButton class, and initialize them with a reference to the transposer, a pin number, and a base note number, as shown in the transposer example. In other words, delete the old NoteButton buttons[] array and replace it with an array of type Bankable::NoteButton, with the correct arguments.