Skip to content

Instantly share code, notes, and snippets.

@willrjmarshall
Created September 30, 2014 23:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save willrjmarshall/4bf9cce0b463ffc55fd3 to your computer and use it in GitHub Desktop.
Save willrjmarshall/4bf9cce0b463ffc55fd3 to your computer and use it in GitHub Desktop.
def _stepper_buttons(self):
buttons = []
mutes = self._mute_buttons.submatrix[4:8, :1]
assigns = self._crossfade_buttons.submatrix[4:8, :1]
for mute, assign in izip(mutes, assigns):
buttons.extend([mute, assign])
return buttons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment