C library to produce TAP13 output