[PD] making scales from frequency values