API: on the fly frequency setting