Group sonorities by measure