Constructing generalized difference sets from frequency sequences