making composer for periodic beats