def lily(the_note):
	"""Sets Lilypond accidentals."""
	s = the_note.note.lower()
	if the_note.accidental == '+':
		s += 'qs'
	elif the_note.accidental == '#':
		s += 's'
	elif the_note.accidental == '++':
		s += 'tqs'
	elif the_note.accidental == '-':
		s += 'qf'
	elif the_note.accidental == 'b':
		s += 'b'
	elif the_note.accidental == '--':
		s += 'tqf'
	else:
		pass
	return s