Initial attempt at tonegen COT in wpcard.