Change tone API: duration comes first.