add amplitude control and arbritrary baud rates