Phonological grammar and frequency door