schematic for midi circuit