def make_formula(formula, labeled):
	"""
	Given a comma-separated interval formula, and a set of labeled
	notes in a key, return the notes of the formula.
	"""
	return [labeled[x] for x in formula.split(',')]