code: def play_note(note):
      
  
      index = None
      if note == Note('B', 2):
          index = 0
      elif note == Note('A', 2):
          index = 1
      elif note == Note('G', 2):
          index = 2
      elif note == Note('E', 2):
          index = 3
      elif note == Note('C', 2):
          index = 4
      elif note == Note('A', 3):
          index = 5
      elif note == Note('B', 3):
          index = 6
      elif note == Note('A#', 2):
          index = 7
      elif note == Note('G#', 2):
          index = 8
      if index != None and status == 'record':
          playing.append([index, tick])
          recorded.append([index, tick, note])
          recorded_buffer.append([index, tick])
      fluidsynth.play_Note(note, 9, 100)
docs: play_note determines which pad was 'hit' and send the
      play request to fluidsynth