edited machine.py to be more consistent with drummachine.csd