+ action_descriptions = [action.description() for action in key.actions]
+
+ for index, description in enumerate(action_descriptions):
+ if index < int(action_number):
+ icon = "✓"
+ elif index + 0.5 == action_number:
+ icon = "✅"
+ else:
+ icon = " "
+
+ self.action_list.append([icon, description])
+
+class Screen(FloatLayout):
+ pass
+
+class MusicSamplerApp(App):
+ def build(self):
+ Window.size = (913, 563)
+
+ return Screen()
+
+if __name__ == '__main__':
+ Builder.load_file(helpers.path() + "/music_sampler.kv")
+ MusicSamplerApp().run()