def on_end_practise(self): #Gtk.idle_remove(self.__idle_tag) GObject.source_remove(self.__idle_tag) soundcard.solfege_c_midi.dsp_close()