implement basic functionality for building and playing drum loops