Working toward midi impl with duration and pitch
Encoder for note + duration preliminary work